function checkform()
{
contactperson=document.f1.contactperson.value;
yourmobile=document.f1.yourmobile.value;
youremail=document.f1.youremail.value;
yourcity=document.f1.yourcity.value;
add_details=document.f1.add_details.value;

if (contactperson=="")
{
alert("Contact Person cannot be empty");
document.f1.contactperson.focus();
return;
}
if (yourmobile=="")
{
alert("Mobile Number cannot be empty");
document.f1.yourmobile.focus();
return;
}
if (youremail=="")
{
alert("Please type your email addresss");
document.f1.youremail.focus();
return;
}
if (yourcity=="")
{
alert("Enter your city");
document.f1.yourcity.focus();
return;
}
if (add_details=="")
{
alert("Enter your query");
document.f1.add_details.focus();
return;
}
document.f1.submit();
}
document.write('<script type="text/javascript" src="jquery.easing-1.3.pack.js"></script>');
document.write('<link href="menu-link.css" rel="stylesheet" type="text/css">');
document.write('<script type="text/javascript" src="accordion-menu.js"></script>');
document.write('<table cellpadding="0" cellspacing="0" width="196" border="0" id="master">');

document.write('<tr><td><a class="hlink" href="project-nbr-homes-overview.html">Overview</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');


document.write('<tr><td><a class="hlink" href="project-nbr-homes-layout-plan.html">Layout Plan</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-aerial-view.html">Aerial View</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-route-map.html">Route Map</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-availability.html">Availability</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td ><a class="hlink" href="project-nbr-homes-amenities.html">Amenities </a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-about-hosur.html">About Hosur</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-why-hosur.html">Why Hosur</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');

document.write('<tr><td><a class="hlink" href="project-nbr-homes-villas.html">Villas</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-nri-info.html">NRI Information</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');


document.write('<tr><td><a  class="hlink" href="project-nbr-homes-pricing.html">Pricing</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-flash-news.html">Flash News</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<tr><td><a class="hlink" href="project-nbr-homes-currency-calculator.html">Currency Calculator</a></td></tr>');
document.write('<tr><td height="8"></td></tr>');
document.write('<table cellpadding="0" cellspacing="0" width="196" border="0" bgcolor="#91A1AC">');
document.write('<tr><td><img src="images/blank.gif" width="1" height="20" border="0"></td></tr>');
document.write('<tr><td align="center"><a href="nbr-online-booking-form.html"><img src="images/online-booking-meadows.gif" width="151" height="38" border="0"></a></td></tr>');
document.write('<tr><td><img src="images/blank.gif" width="1" height="10" border="0"></td></tr>');
document.write('<tr><td align="center"><a href="nbrhomes.pdf" target="_blank"><img src="images/download-brochure-meadows.gif" width="160" height="54" border="0"></a></td></tr>');
document.write('<form name=f1 method=post action="enquiry-homes.php"><table width="184" border="0" cellspacing="0" cellpadding="0" bgcolor="#91A1AC">');
document.write('<tr><td colspan="3" align="center"><div style="color: Black; font-family: Verdana; font-size: 12px; font-weight: bold;">Have an enquiry please fill in the following details</div></td></tr>');
document.write('<tr><td colspan="3" align="center" valign="top"><img src="images/blank.gif" width="1" height="15" alt="" border="0"></td></tr>');
document.write('<tr><td width="84" height="28"><div class="enqnames">Name:</div></td><td width="100"><input size="18" name="contactperson" value="" class="txtTextbox" type="text" /></td></tr>');
document.write('<tr><td colspan="3"><img src="images/blank.gif" width="1" height="10" alt="" border="0"></td></tr>');
document.write('<tr><td width="84"><div class="enqnames">Mobile:</div></td><td width="100"><input size="18" name="yourmobile" value="" class="txtTextbox" type="text" /></td></tr>');
document.write('<tr><td colspan="3"><img src="images/blank.gif" width="1" height="10" alt="" border="0"></td></tr>');
document.write('<tr><td width="84"><div class="enqnames">Emailid:</div></td><td width="100"><input name="youremail" value="" size="18" class="txtTextbox" type="text" /></td></tr>');
document.write('<tr><td colspan="3"><img src="images/blank.gif" width="1" height="10" alt="" border="0"></td></tr>');
document.write('<tr><td width="84"><div class="enqnames">City:</div></td><td width="100"><input name="yourcity" value="" size="18" class="txtTextbox" type="text" /></td></tr>');
document.write('<tr><td colspan="3"><img src="images/blank.gif" width="1" height="10" alt="" border="0"></td></tr>');
document.write('<tr><td width="84"><div class="enqnames">Enquiry Details:</div></td><td width="100"><textarea cols="15" rows="2" name="add_details" class="txtTextarea" value=""></textarea></td></tr>');
document.write('<tr><td colspan="3"><img src="images/blank.gif" width="1" height="10" alt="" border="0"></td></tr>');
document.write('<tr><td align="center" colspan="3"><input type="button" name="nbr" value="submit" class="txtTextbox" onClick="checkform()"></td></tr></table></form>');
