
function mov()
{


if (document.form.r_name.value=="")
{
alert("Name field Could not be blank.");
document.form.r_name.focus();
return false;
}

if (document.form.r_cname.value=="")
{
alert("Company Name field Could not be blank.");
document.form.r_cname.focus();
return false;
}


if (document.form.r_address.value=="")
{
alert("Address field Could not be blank.");
document.form.r_address.focus();
return false;
}

if (document.form.r_phone.value=="")
{
alert("Phone field Could not be blank.");
document.form.r_phone.focus();
return false;
}

at=document.form.r_email.value.indexOf("@")
dot=document.form.r_email.value.indexOf(".")
if (document.form.r_email.value=="")
{
alert("Email field Could not be blank.");
document.form.r_email.focus();
return false;
}
if(at== -1)
{
alert("Not a valid Email.");
document.form.r_email.focus();
return false;
}

if(dot== -1)
{
alert("Not a valid Email.");
document.form.r_email.focus();
return false;
}
if (document.form.r_country.value=="")
{
alert("Please fill country name");
document.form.r_country.focus();
return false;
}

if (document.form.r_products.value=="")
{
alert("Please fill product field");
document.form.r_products.focus();
return false;
}
return jcap();

}

