function checkfield(loginform)
{
	var validate =document.loginform.validation.value;
	var chek=validate.toUpperCase();
	ok=true
	var test=document.getElementById("hiddenvalue").value;
	if(loginform.name.value=="")
	{
		alert("Please Enter Your Name.")
		loginform.name.focus()
		ok=false
	}
	       else if((loginform.email.value.indexOf('@') == -1) || (loginform.email.value.indexOf('.') == -1))
	    {
	 	alert("please enter valid email address")
	 	loginform.email.value='';
		 loginform.email.focus();
		 ok=false
		 }
		 else if(loginform.mobile.value=="")
	{
		alert("Please Enter contact Number.")
		loginform.mobile.focus()
		ok=false
	}
	else if(loginform.movingf.value=="")
	{
		alert("Please Enter Moving from where.")
		loginform.movingf.focus()
		ok=false
	}
	else if(loginform.movingt.value=="")
	{
		alert("Please Enter moving from to.")
		loginform.movingt.focus()
		ok=false
	}
      else if(loginform.date.value=="")
	{
		alert("Please Enter Travel Date.")
		loginform.date.focus()
		ok=false
	}
	   
	  
	else if (loginform.requirement.value == "")
	{
		alert("Please specify your requirements.");
		loginform.requirement.focus();
		ok=false
	}
	else if(loginform.validation.value=="")
	{
		alert("Please Enter The Validation Code");
		loginform.validation.focus();
		ok=false
	}
	else if(chek!=test)
	{
		alert("Please Enter Correct Validation Code.");
		loginform.validation.focus();
		ok=false;
	}
	return ok
}


////////////////////////////////////////////////////////////////////////////////////

function get_random()
{

    var xx=null;
	var yy='xzc';
	
	xx=Math.floor(Math.random()*9);
	return xx;
	
}

function lockcode()
{
var zz=new Array();
			
			 zz[0]='WORK';
			 zz[1]='56H8';
			 zz[2]='EAPN';
			 zz[3]='4HM8';
			 zz[4]='JUMP';
			 zz[5]='NFAS';
			 zz[6]='PJBT';
			 zz[7]='SH8E';
			 zz[8]='ULKT';
			
			        var xx=get_random();
			
			document.write('<input type=hidden  name=hiddenvalue id=hiddenvalue value='+zz[xx]+' />');
			document.write('<img border=0 src=../gifs/'+zz[xx]+'.gif />');
			
}

