function checkForm()
{
   ok=1;
   var itemname = document.form1.fname.value;
   
   if (itemname == "")
   {
   	alert("Please type in your Name");
   	document.form1.fname.focus();
   	ok=0;
   	return (false);
   }
   
   
   var itemname = document.form1.contactno.value;
   
    if (itemname == "" && ok==1)
    {
        alert("Please type in your Contact Number");
	document.form1.contactno.focus();
	ok=0;
	return (false);
    }
    
    
       
}

