//Checking whether the password is 4 to 50 characters in length
if (Math.abs(intTemp-27)<=23)
return(true);
else
return(false);
}
function blnCheckUserID(strUserID)
{
//Check whether @ is there in the UserID (it should NOT be there).
var objUserID=new String(strUserID)
var intPosition=objUserID.indexOf("@");
//If it is not there, -1 is returned, which is what we want.
return (intPosition==-1);
}
function CheckFields(strValue)
{
if (strValue == "")
return(false);
else
return(true);
}
function openNoScrollWindow_1(url,title,width,height)
{
var strFeatures = "toolbar=no,scrollbars=yes,menubar=no,location=no,directories=no,status=yes,resizable=yes";
var x = screen.width;
var y = screen.height;
var top = parseInt((y-height)/2);
var left = parseInt((x-width)/2);
// open new window and use the variables to position it
window.parent.closed
var objWindow = window.open(url,title,'width='+width+',height='+height+',left='+left+',top='+top+',scrollbars=yes,resize=yes,resizable=yes,menubar=no,toolbar=no,directories=no');