

function chksubmitfrm(){

	var strOrg  = document.frmSub.txtOrg;
	var strName = document.frmSub.txtUserID;
		
	if (trim(strOrg.value) == ""){
		alert("Please enter your organisation name!");
		strName.focus();
		return false;
	}	
		
	else if (trim(strName.value) == ""){
		alert("Please enter your user ID!");
		strName.focus();
		return false;
	}	
		
	else{
		
		document.frmSub.target ="_top";
		document.frmSub.action = "default.asp";
		document.frmSub.submit();
						
	}	
		
	
}