\n');
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i"
arr[13]="="
arr[14]="<"
arr[15]=","
arr[16]=":"
arr[17]="'\'"
arr[18]="\\"
arr[19]=' '
arr[20]="`"
arr[21]="~"
//checking for illegal characters
//alert(atindex1)
for(j=0;j < ? / not allowed in E-mail address")
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
}
}
//checking for null
if(UsrEmail=="")
{
alert("E-mail field should not be left blank")
document.forms[0].Email.focus()
return false
}
else
{
//checking for length
if(UsrEmail.length<5)
{
alert("Please enter E-mail properly ")
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
//checking for dot
if(dotindex < 0)
{
alert("E-mail field should have alteast one .(dot)")
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
//checking for @
if(atindex < 0)
{
alert("E-mail field should have alteast one @")
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
//checking for @ before dot
if( atindex >dotindex )
{
alert("@ should be before . in E-mail")
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
//checking for two @
if(atindex != atindex1)
{
alert("E-mail field should have only one @")
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
if(atindex == 0 )
{
alert("Check your E-mail name"+atindex);
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
//checking for domain name
if(domain<=1)
{
alert("Check your domain name");
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
//checking for domain name
if(leng<=1)
{
alert("Check your domain name");
document.forms[0].Email.focus()
document.forms[0].Email.select()
return false
}
}
if(UsrQuery=="")
{
alert("Comments field should not be left blank")
document.forms[0].comments.focus()
return false
}
document.forms[0].submit()
return true;
}
//-->
Fields marked with an asterisk ( * ) are mandatory fields.