/*function checkmail()
{
  if (frm1.email_txt.value == "")
  {
    alert("You must include an accurate email address for a response. ");
  }
  if ((frm1.email_txt.value.indexOf ('@',0) == -1 ||frm1.email_txt.value.indexOf ('.',0) == -1) && frm1.email_txt.value != "")
  {
    alert("Please verify that your email address is valid.");
  }

}*/
var a,b

function check1(a,b)
{
if(a==b)
{
}
else
{
alert("Password not Matching");
document.getElementById("password1").value=""
document.getElementById("password2").value=""
document.getElementById("password1").focus();
}
}

function checknumber1(no)
{
if(no=="")
{
alert("You are required to enter the value. ");

}
if (isNaN(no))
{
alert("The Value must be a number. ");
document.getElementById("Text33").focus();
}
}

function checknumber2(no)
{
if(no=="")
{
alert("You are required to enter the value. ");

}
if (isNaN(no))
{
alert("The numerical text must be a number. ");
document.getElementById("Text36").focus();
}
}


function checknumber3(no)
{
if (isNaN(no))
{
alert("The numerical text must be a number. ");
document.getElementById("Text39").focus();
}
}

function checknumber4(no)
{
if (isNaN(no))
{
alert("The numerical text must be a number. ");
document.getElementById("Text40").focus();
}
}

function checknumber5(no)
{
if (isNaN(no))
{
alert("The Value must be a number. ");
document.getElementById("Text18").focus();
}
}

function checknumber6(no)
{
if (isNaN(no))
{
alert("The numerical text must be a number. ");
document.getElementById("Text19").focus();
}
}



function checknumber7(no)
{
if (isNaN(no))
{
alert("The numerical text must be a number. ");
document.getElementById("Text2").focus();
}
}

function checknumber8(no)
{
if (isNaN(no))
{
alert("The numerical text must be a number. ");
document.getElementById("Text4").focus();
}
}

function checknull(no)
{
if(no=="")
{
alert("You are required to enter the value. ");

}
}


function checkmail(no)
{
    //Validating the email field
    var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
    if (! no.match(re))
    {
        alert("Invalid email address");
       //document.getElementById("Text10").focus();

        //return (false);
    }
    return(true);
}
