function checkResPrint() {
	var strMessage = "" ;
	try
	{
	if( document.all.resPrintForm.visaNo )
	{
		var visaNoVal = Trim( document.all.resPrintForm.visaNo.value) ;
		if( visaNoVal == "" )
		{
			strMessage = LanguageType.toUpperCase() == "ENG" ? "Please,Enter the visa Number" : "الرجاء ادخال رقم التأشيرة بشكل صحيح" ;
			alert(strMessage) ;
			 document.all.resPrintForm.visaNo.focus();
			return false;		
		}
		else if( visaNoVal.length != 12 )
		{
			strMessage = LanguageType.toUpperCase() == "ENG" ? "Please Enter 12 digit for Visa No." : "الرجاء ادخال رقم التأشيرة بشكل صحيح" ;
			alert(strMessage) ;
			 document.all.resPrintForm.visaNo.focus();
			return false;			
		}
			
	}
	if( document.all.resPrintForm.qidNo )
	{
		var qidNoVal = Trim(document.all.resPrintForm.qidNo.value) ;
		if( qidNoVal == "" )
		{
			strMessage = LanguageType.toUpperCase() == "ENG" ? "Please Enter the ID No." : "الرجاء ادخال الرقم الشخصي بشكل صحيح" ;
			alert(strMessage) ;
			document.all.resPrintForm.qidNo.focus();
			return false;		
		}
		else if( qidNoVal.length != 11 )
		{
			strMessage = LanguageType.toUpperCase() == "ENG" ? "Please Enter 11 digit for ID No." : "الرجاء ادخال الرقم الشخصي بشكل صحيح" ;
			alert(strMessage) ;
			document.all.resPrintForm.qidNo.focus();
			return false;			
		}
			
	}	
	
		if( document.getElementById("btnSubmit") && typeof showToolTipL == "function" )
		{
			document.getElementById("btnSubmit").disabled = true ;
			showToolTipL(document.getElementById("btnSubmit"));	
		}	
	}
	catch(e){}		
	
	
	
	return true ;
}
