function validateThis(){msg="";//alert(document.cadmin.usid.value.length)if (document.cadmin.usid.value.length == 0 ||document.cadmin.usid.value == undefined ) { msg = "User id is required \n";}if (document.cadmin.pword.value.length == 0 || document.cadmin.pword.value == undefined) { msg += "Password is required \n";} if (document.cadmin.kpwd.value.length == 0 || document.cadmin.kpwd.value ==undefined) { msg += "Admin password is required \n";}if (document.cadmin.burl.value.length == 0 || document.cadmin.burl.value == undefined){ 	msg+="Begin URL cannot be blank";}else{	x=burlCheck(document.cadmin.burl.value)	if (x == false)	{		msg+="Please enter the correct form of the begin link (without http://)"	}}if(msg.length > 0 ){	alert(msg)} else{	//alert(msg+" "+msg.length)toLowerCase())	document.cadmin.usid.value=document.cadmin.usid.value.toLowerCase()	document.cadmin.pword.value=document.cadmin.pword.value.toLowerCase()	document.cadmin.submit()}}function burlCheck(vburl){if ((vburl.search("http://") == -1) && (vburl.search("http:") == -1) )        return true;    else        return false;}function validateAuthenticate(){//alert("this is 2")msg="";msg1=""msg2=""//	alert(document.cauthenticate.usid.value)//alert("comes here")//	if (documet.cauthenticate.usid.value.length == 0 || document.cauthenticate.usid.value == undefined ) 	{msg = "User id is required \n";}//alert(document.cauthenticate.pword.value.length)//alert(document.cauthenticate.pword.value.length)//if (document.cauthenticate.pword.value.length == 0 || document.cauthenticate.pword.value == 	undefined){ msg += "Password is required \n";} if (document.cauthenticate.usid.value.length == 0 ) 	{msg1 = "User id is required \n";}if (document.cauthenticate.pword.value.length == 0 ){ msg2 = "Password is required \n";} msg=msg1+msg2//alert(msg.length)	if(msg.length > 0 )	{		alert(msg)	} else	{	document.cauthenticate.usid.value=document.cauthenticate.usid.value.toLowerCase()	document.cauthenticate.pword.value=document.cauthenticate.pword.value.toLowerCase()	document.cauthenticate.submit()	}}