// JavaScript Document
function validate()
{
var alertMsg = "Pls. fill up the following field(s):\n";

object = document.form1;

if(object.fname.value=="" || object.fname.value == null)
{
alertMsg+="* Specify Firstname!\n";
}

if(object.lname.value=="" || object.lname.value == null)
{
alertMsg+="* Specify Lastname!\n";
}

if(object.address.value=="" || object.address.value == null)
{
alertMsg+="* Specify Address!\n";
}

if(object.city.value=="" || object.city.value == null)
{
alertMsg+="* Specify City!\n";
}

if(object.country.value=="" || object.country.value == null)
{
alertMsg+="* Specify Country!\n";
}

if(object.email.value=="" || object.email.value == null)
{
alertMsg+="* Specify Email!\n";
}

if(object.option.value=="" || object.option.value == "")
{
alertMsg+="* Specify Accomodation!";
}
			
if(alertMsg != "Pls. fill up the following field(s):\n")
{
alert(alertMsg);
return false;
} else
return true;
}
