// JavaScript Document
function hadermenu()
{
headtxt='';
headtxt='<ul>';
headtxt+='<li><a href="about-us.html" id="g3about" class="selected">About Us</a></li>';
headtxt+='<li><a href="newscars.html" id="g3ncars" class="selected">New Cars</a></li>';
headtxt+='<li><a href="used-cars.html" id="g3ucar" class="selected">Pre-Owned Cars</a></li>';
headtxt+='<li><a href="gallery.html" id="g3glry" class="selected">Gallery</a></li>';
headtxt+='<li><a href="services.html" id="g3serv" class="selected">Services</a></li>';
/*headtxt+='<li class="finance"><a href="finance-option.html" id="g3fo" class="selected">FINANCE OPTION</a></li>';*/
headtxt+='<li><a href="Test-Drive.html" id="g3td" class="selected">Test Drive</a></li>';
headtxt+='<li class="contactus"><a href="contact_us.html" id="g3cu" class="selected">Contact Us</a></li>';
headtxt+='</ul>';
document.getElementById('g3Headmnu').innerHTML=headtxt;

}


function submenu()
{
menutxt='';
menutxt='<ul id="jsddm">';
menutxt+='<li><a href="verito.html" id="Cars">Cars</a>';
menutxt+='<ul>'
menutxt+='<li ><a href="verito.html" id="VERITO">VERITO</a></li>';
menutxt+='</ul></li>';

menutxt+='<li><a href="XUV500.html" id="SUVs">SUVs</a>';
menutxt+='<ul>'
menutxt+='<li><a href="XUV500.html" title="XUV500">XUV500</a></li>';
menutxt+='<li><a href="thar.html" title="THAR" >THAR</a></li>';
menutxt+='<li><a href="scorpio.html"title="SCORPIO" >SCORPIO</a></li>';
menutxt+='</ul></li>';

menutxt+='<li><a href="bolero.html" id="UVs">UVs</a>';
menutxt+='<ul>'
menutxt+='<li><a href="bolero.html" id="BOLERO">BOLERO</a></li>';
menutxt+='<li><a href="maxx.html">Bolero Max</a></li>'
menutxt+='</ul></li>';

menutxt+='<li ><a href="xylo.html" id="MPVs">MPVs</a>';
menutxt+='<ul>'
menutxt+='<li><a href="xylo.html " id="XYLO">XYLO</a></li>';
menutxt+='</ul></li>';

menutxt+='<li><a href="bolero-camper.html" id="pickups">PICKUPS</a>';
menutxt+='<ul>'
menutxt+='<li><a href="bolero-camper.html">Bolero Camper</a></li>'
menutxt+='<li><a href="scorpio-getaway.html">Scorpio Getaway</a></li>'
menutxt+='<li><a href="Maxx-Pick-Up-Chassis.html">MaxxPick-Up Chassis</a></li>'
menutxt+='<li><a href="bmaxtruck.html">Bolero Maxitruck</a></li>'
menutxt+='<li><a href="bolero-pickup.html">Bolero Pick Up</a></li>'
menutxt+='<li><a href="pickups.html">Bolero Maxx Pickup</a></li>'
menutxt+='</ul></li>';
menutxt+='<li><a href="gio.html " id="GIO">GIO</a></li>';
menutxt+='<li><a href="alfa.html" id="ALFA">ALFA</a></li>';
menutxt+='<li><a href="revo.html" id="REVO">REVA</a></li>';
menutxt+='</ul>';

document.getElementById('g3navmenu').innerHTML=menutxt;
}


function allfooter()
{
footxt=''
footxt='<div class="footer-menu">';
/*footxt+='<div class="footer-about">';
footxt+='<p class="footer-head"> About Us</p>';
footxt+='<ul>';
footxt+='<li><a href="about-us.html">About Us</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='<div class="footer-newcar">';
 footxt+='<p class="footer-head">New Cars</p>';
 footxt+='<ul>';
 footxt+='<li><a href="xylo.html">Xylo</a></li>';
 footxt+='<li><a href="scorpio.html">Scorpio</a></li>';
 footxt+='<li><a href="verito.html">Verito</a></li>';
 footxt+='<li><a href="gio.html">Gio</a></li>';
 footxt+='<li><a href="thar.html">Thar</a></li>';
 footxt+='<li><a href="bolero-camper.html"> Bolero</a></li>';
 footxt+='<li><a href="alfa.html"> Alfa</a></li>';
 footxt+='<li><a href="revo.html"> Reva</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='<div class="footer-usedcar">';
 footxt+='<p class="footer-head">Used Cars</p>';
 footxt+='<ul>';
 footxt+='<li><a href="used-cars.html">Info</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='<div class="footer-gallery">';
 footxt+='<p class="footer-head">Gallery</p>';
 footxt+='<ul>';
 footxt+='<li><a href="gallery.html">Gallery</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='<div class="footer-services">';
 footxt+='<p class="footer-head">Services</p>';
 footxt+='<ul>';
 footxt+='<li><a href="services.html">Mechanical Services</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='<div class="footer-finance">';
 footxt+='<p class="footer-head">Finance</p>';
 footxt+='<ul>';
 footxt+='<li><a href="finance-option.html">Tie-up Financiers</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='<div class="footer-testimonials">';
 footxt+='<p class="footer-head">Test Drive</p>';
 footxt+='<ul>';
 footxt+='<li><a href="Test-Drive.html">Test drive Form</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='<div class="footer-contact">';
 footxt+='<p class="footer-head">Contact Us</p>';
 footxt+='<ul>';
 footxt+='<li><a href="contact_us.html">Email</a></li>';
 footxt+='<li><a href="contact_us.html">Google Map</a></li>';
 footxt+='<li><a href="contact_us.html">Address,Tel No.</a></li>';
 footxt+='<li><a href="contact_us.html">Feedback Form</a></li>';
 footxt+='</ul>';
 footxt+='</div>';
 footxt+='</div>';
 */
 footxt+='<div class="copy">';
 footxt+='<p class="all-content">All Contents @2010 G3 Motors Ltd. All rights reserved.</p>';
 footxt+='<a href="#" class="sitemap">Site Map</a>';
 footxt+='<p class="tonic-media">Made by <a href="http://www.tonicmedia.in"><img src="images/tonic.png" alt="Tonic Media"  /> </a></p>';
 footxt+='</div>';
 document.getElementById('g3footer').innerHTML=footxt;
}
