// JavaScript Document
	
	function frm_QuickQuote_()
	{
		if (document.frm_QuickQuote.Lst_Services.value=="" )
		{ 
			alert ("Please Select Service Type...!");
			document.frm_QuickQuote.Lst_Services.focus();
			return false;
		}
		if (document.frm_QuickQuote.Txt_ContactName.value=="" )
		{ 
			alert ("Du må skrive inn navn...!");
			document.frm_QuickQuote.Txt_ContactName.focus();
			return false;
		}
		
		if (document.frm_QuickQuote.Txt_EmailID.value=="" )
		{ 
			alert ("Du må skrive inn kontakt email...!");
			document.frm_QuickQuote.Txt_EmailID.focus();
			return false;
		}
		if ((document.frm_QuickQuote.Txt_EmailID.value.length > 0 && (document.frm_QuickQuote.Txt_EmailID.value.indexOf("@",0) == - 1 || document.frm_QuickQuote.Txt_EmailID.value.indexOf(".",0) == - 1)))  
		{
			alert("Email adressen er ikke gyldig. Skriv gyldig email adresse...!");
			document.frm_QuickQuote.Txt_EmailID.focus();
			return false;
		}
			emailval=document.frm_QuickQuote.Txt_EmailID.value
			apos=emailval.indexOf("@");
			dotpos=emailval.lastIndexOf(".");
			lastpos=emailval.length-1;
		if (apos<1 || dotpos-apos<2 || lastpos-dotpos>3 || lastpos-dotpos<2) 
		{
			alert("Legg til din email(ie. .com or .org or .in)");
			document.frm_QuickQuote.Txt_EmailID.focus();
			return false;
		}
		if (document.frm_QuickQuote.Txt_MobileNo.value=="" )
		{ 
			alert ("Du må skrive inn kontakt nr...!");
			document.frm_QuickQuote.Txt_MobileNo.focus();
			return false;
		}
		if (document.frm_QuickQuote.Txt_EnteredSecKey.value==document.frm_QuickQuote.Txt_SecKey.value)
		{ 
			return true;
		}
		else
		{
			alert ("Du har glemt å skrive inn sikkerhetskoden...!");
			document.frm_QuickQuote.Txt_EnteredSecKey.focus();
			return false;
		}
		if (document.frm_QuickQuote.Txt_Comments.value=="" )
		{ 
			alert ("Du må skrive forklaring/hva det gjelder...!");
			document.frm_QuickQuote.Txt_Comments.focus();
			return false;
		}
		
		return true;
	}
	
	
	
	