function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function callsubmit()
{

if (document.frm2.password.value==document.frm2.passwordc.value) {
frm2.submit();
}
else
{
alert("Password does not match. Re-enter the password");
}

}