			
	var strUserAgent = navigator.userAgent.toLowerCase();
	var isIE = strUserAgent.indexOf("msie") > -1;
	var isNS6 = strUserAgent.indexOf("netscape6") > -1;
	var isNS4 = !isIE && !isNS6  && parseFloat(navigator.appVersion) < 5;
	var iKeyCode, strKey;
	
			function maskKeyPress(objEvent,strType) {
				switch (strType)
	{
				case "username":
				var reValidChars = /[a-zA-Z0-9]/;
				break;  
				case "password":
				var reValidChars = /[a-zA-Z0-9]/;
			break;
	}
			if (isIE) {
				    iKeyCode = objEvent.keyCode;
				} else {
				    iKeyCode = objEvent.which;
				}
				strKey = String.fromCharCode(iKeyCode);
				if (!reValidChars.test(strKey) && (iKeyCode!=8) && (iKeyCode!=9) && (iKeyCode!=32) ) 
				{
				alert("Alphanumeric Characters are allowed ");
					return false;
				}
			}
function ds1(level){	
	var prefix = "../"
	if (level == 0) prefix = ""
	mywin=window.open(prefix+"html/disclaimer.htm","popup","width=300,height=200,screenX=100,screenY=0,scrollbars=yes,resizable=yes,status=yes,directories=no");
	//setTimeout("mywin.location.href='"+requrl+"';mywin.focus();",2000);
	//mywin.focus();
}
function ds2(level){
var prefix = "../"
	if (level == 0) prefix = ""
	mywin=window.open(prefix+"html/copyrights.htm","popup","width=300,height=200,screenX=100,screenY=0,scrollbars=yes,resizable=yes,status=yes,directories=no");
	//setTimeout("mywin.location.href='"+requrl+"';mywin.focus();",2000);
	//mywin.focus();
}
function ds3(level){
var prefix = "../"
	if (level == 0) prefix = ""
	mywin=window.open(prefix+"html/private.htm","popup","width=300,height=200,screenX=100,screenY=0,scrollbars=yes,resizable=yes,status=yes,directories=no");
	//setTimeout("mywin.location.href='"+requrl+"';mywin.focus();",2000);
	//mywin.focus();
}

function GoToPAge()
{
location.replace(this.href);
event.returnValue=false;
event.cancelBubble=true;
}


