// JavaScript Document
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function mmLoadMenus() {
	
	var btnColor     = '#3c3c3c';
	var btnColorRoll = '#666666';
	var txtColor     = '#ffffff';
	var txtColorRoll = '#ffffff';
	//New Cars
  if (window.mm_menu_0017181934_0) return;
  window.mm_menu_0017181934_0 = new Menu("root",132,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,200,-5,10,true,true,true,6,false,false);
 mm_menu_0017181934_0.addMenuItem("Search&nbsp;Inventory","location='/inv_new.php?vStatus=1'");
 mm_menu_0017181934_0.addMenuItem("New&nbsp;Car&nbsp;Research","location='/newVehicles/newCarReview.php'");
 mm_menu_0017181934_0.addMenuItem("New&nbsp;Vehicle&nbsp;Specials","location='/inv_new.php?specials=1&vStatus=1'");
 mm_menu_0017181934_0.addMenuItem("Trade&nbsp;In&nbsp;Value","window.open('http://tradein.autotrader.com/atpages/tradeinmarketplace.aspx?Dlr=GreeneFC&SiteRef=b01d6bc2-87dc-4d8c-89c8-7b1d7398311f&OfferCode=W&Lp=433ca046-cce9-4bd9-afe4-76c4449db980', '_blank');");
 mm_menu_0017181934_0.addMenuItem("Contact&nbsp;Us","location='/newVehicles/quickContact.php'");
 mm_menu_0017181934_0.addMenuItem("Payment&nbsp;Calculator","location='/newVehicles/paymentCalc.php'");
 mm_menu_0017181934_0.addMenuItem("2010&nbsp;Flex","location='/newVehicles/2009Flex.php'");
 mm_menu_0017181934_0.addMenuItem("Current&nbsp;Ad","location='/newVehicles/current_ad.php'");
 mm_menu_0017181934_0.addMenuItem("Hybrid","location='/newVehicles/hybrid.php'");
 mm_menu_0017181934_0.addMenuItem("MPG&nbsp;Savings","location='/newVehicles/mpg.php'");
   mm_menu_0017181934_0.hideOnMouseOut=true;
   mm_menu_0017181934_0.menuBorder=0;
   mm_menu_0017181934_0.menuLiteBgColor='#2d3641';
   mm_menu_0017181934_0.menuBorderBgColor='#2d3641';
   mm_menu_0017181934_0.bgColor='#787878';
   
   //Used Cars
  window.mm_menu_0017182708_1 = new Menu("root",132,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_0017182708_1.addMenuItem("Search&nbsp;Inventory","location='/inv.php?vStatus=2'");
  mm_menu_0017182708_1.addMenuItem("Used&nbsp;Car&nbsp;Special","location='/preownedSpecials.php'");
  mm_menu_0017182708_1.addMenuItem("Payment&nbsp;Calculator","location='/preownedVehicles/paymentCalc.php'");
  mm_menu_0017182708_1.addMenuItem("Trade&nbsp;In&nbsp;Value","window.open('http://tradein.autotrader.com/atpages/tradeinmarketplace.aspx?Dlr=GreeneFC&SiteRef=b01d6bc2-87dc-4d8c-89c8-7b1d7398311f&OfferCode=W&Lp=433ca046-cce9-4bd9-afe4-76c4449db980', '_blank');");
  mm_menu_0017182708_1.addMenuItem("Cars&nbsp;Under&nbsp;$10,000","location='/preownedVehicles/under10k.php'");
   mm_menu_0017182708_1.hideOnMouseOut=true;
   mm_menu_0017182708_1.menuBorder=0;
   mm_menu_0017182708_1.menuLiteBgColor='#2d3641';
   mm_menu_0017182708_1.menuBorderBgColor='#2d3641';
   mm_menu_0017182708_1.bgColor='#787878';
   
   //Service
  window.mm_menu_0017183437_2 = new Menu("root",187,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_0017183437_2.addMenuItem("Book&nbsp;an&nbsp;Appointment","location='/services/bookServiceAppointment.php'");
   mm_menu_0017183437_2.addMenuItem("Service&nbsp;Coupons&nbsp;and&nbsp;Discounts","location='/services/serviceSpecials.php'");
  mm_menu_0017183437_2.addMenuItem("Service&nbsp;Tips","location='/services/tips.php'");
   mm_menu_0017183437_2.addMenuItem("Why&nbsp;Choose&nbsp;Us","location='/services/whyUs.php'");
      mm_menu_0017183437_2.addMenuItem("Shuttle&nbsp;Van","location='/services/shuttleVan.php'");
   mm_menu_0017183437_2.addMenuItem("Service&nbsp;Staff","location='/services/staffPage.php'");

  
   mm_menu_0017183437_2.hideOnMouseOut=true;
   mm_menu_0017183437_2.menuBorder=0;
   mm_menu_0017183437_2.menuLiteBgColor='#2d3641';
   mm_menu_0017183437_2.menuBorderBgColor='#2d3641';
   mm_menu_0017183437_2.bgColor='#787878';
   
   //Misc
  window.mm_menu_0017183859_3 = new Menu("root",225,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_0017183859_3.addMenuItem("Collision&nbsp;Center","location='/services/bodyShop.php'");
  mm_menu_0017183859_3.addMenuItem("Book&nbsp;a&nbsp;Collision&nbsp;Center&nbsp;Appointment","location='/services/bookAppointment.php'");
   mm_menu_0017183859_3.hideOnMouseOut=true;
   mm_menu_0017183859_3.menuBorder=0;
   mm_menu_0017183859_3.menuLiteBgColor='#2d3641';
   mm_menu_0017183859_3.menuBorderBgColor='#2d3641';
   mm_menu_0017183859_3.bgColor='#787878';
   
   //Dealership
  window.mm_menu_0017184257_4 = new Menu("root",190,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_0017184257_4.addMenuItem("About&nbsp;Us","location='/dealershipInfo/aboutUs.php'");
  mm_menu_0017184257_4.addMenuItem("Map&nbsp;and&nbsp;Directions","location='../hours_n_map.php'");
  mm_menu_0017184257_4.addMenuItem("Contact/Hours","location='/dealershipInfo/contact_hours.php'");
  mm_menu_0017184257_4.addMenuItem("Awards&nbsp;and&nbsp;Accolades","location='/dealershipInfo/awards_n_accolades.php'");
  mm_menu_0017184257_4.addMenuItem("Community&nbsp;Involvement","location='/dealershipInfo/community_involvement.php'");
  mm_menu_0017184257_4.addMenuItem("Employment&nbsp;Opportunities","location='/dealershipInfo/employment.php'");
  mm_menu_0017184257_4.addMenuItem("Customer&nbsp;Feedback","location='/dealershipInfo/feedback.php'");

 
   mm_menu_0017184257_4.hideOnMouseOut=true;
   mm_menu_0017184257_4.menuBorder=0;
   mm_menu_0017184257_4.menuLiteBgColor='#2d3641';
   mm_menu_0017184257_4.menuBorderBgColor='#2d3641';
   mm_menu_0017184257_4.bgColor='#787878';
   
   //Specials
   window.mm_menu_specials = new Menu("root",173,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
   mm_menu_specials.addMenuItem("Specials","location='/services/specials.php'");
   mm_menu_specials.addMenuItem("$250&nbsp;Coupon&nbsp;For&nbsp;Used&nbsp;Car!","location='/dealershipInfo/enchancer.php'");
  
   mm_menu_specials.hideOnMouseOut=true;
   mm_menu_specials.menuBorder=0;
   mm_menu_specials.menuLiteBgColor='#2d3641';
   mm_menu_specials.menuBorderBgColor='#2d3641';
   mm_menu_specials.bgColor='#787878';
   
   //Green
   window.mm_menu_green = new Menu("root",200,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_green.addMenuItem("Hybrid&nbsp;Car","location='/dealershipInfo/hybridCar.php'");
  mm_menu_green.addMenuItem("Natural&nbsp;Gas&nbsp;Car","location='/dealershipInfo/naturalgasCar.php'");
  mm_menu_green.addMenuItem("Mileage&nbsp;Listing&nbsp;For&nbsp;All&nbsp;New&nbsp;Cars","location='/dealershipInfo/milegeListing.php'");
  
   mm_menu_green.hideOnMouseOut=true;
   mm_menu_green.menuBorder=0;
   mm_menu_green.menuLiteBgColor='#2d3641';
   mm_menu_green.menuBorderBgColor='#2d3641';
   mm_menu_green.bgColor='#787878';
    
   
   //Internet
   window.mm_menu_fleet = new Menu("root",145,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_fleet.addMenuItem("Quote&nbsp;Request","location='/newVehicles/certificateQuoterequest.php'");
  mm_menu_fleet.addMenuItem("Why&nbsp;We&nbsp;Are&nbsp;Different","location='/dealershipInfo/fleetStaff.php'");
  mm_menu_fleet.addMenuItem("Internet&nbsp;Special","location='/dealershipInfo/internetSpecial.php'");
  mm_menu_fleet.addMenuItem("Schedule&nbsp;A&nbsp;Test&nbsp;Drive","location='/newVehicles/scheduleTestDrive.php'");
  
   mm_menu_fleet.hideOnMouseOut=true;
   mm_menu_fleet.menuBorder=0;
   mm_menu_fleet.menuLiteBgColor='#2d3641';
   mm_menu_fleet.menuBorderBgColor='#2d3641';
   mm_menu_fleet.bgColor='#787878';
   
     //Parts
   window.mm_menu_parts = new Menu("root",200,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_parts.addMenuItem("Accessories","location='/services/accessories.php'");
  mm_menu_parts.addMenuItem("Coupons&nbsp;and&nbsp;Discounts","location='/services/specials.php'");
  mm_menu_parts.addMenuItem("Parts&nbsp;Quote&nbsp;Form","location='/services/parts-quote.php'");
  mm_menu_parts.addMenuItem("Parts&nbsp;Staff","location='/services/staffPage.php'");
  
   mm_menu_parts.hideOnMouseOut=true;
   mm_menu_parts.menuBorder=0;
   mm_menu_parts.menuLiteBgColor='#2d3641';
   mm_menu_parts.menuBorderBgColor='#2d3641';
   mm_menu_parts.bgColor='#787878';
   
 //Finance
   window.mm_menu_finance = new Menu("root",200,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,500,-5,7,true,true,true,6,false,false);
  mm_menu_finance.addMenuItem("Get&nbsp;PreApproved","location='/newVehicles/preApproved.php'");
  mm_menu_finance.addMenuItem("Payment&nbsp;Calculator","location='/newVehicles/paymentCalc.php'");
  mm_menu_finance.addMenuItem("Special&nbsp;Offers","location='/newVehicles/financeOffers.php'");

  
   mm_menu_finance.hideOnMouseOut=true;
   mm_menu_finance.menuBorder=0;
   mm_menu_finance.menuLiteBgColor='#2d3641';
   mm_menu_finance.menuBorderBgColor='#2d3641';
   mm_menu_finance.bgColor='#787878';

  mm_menu_0017184257_4.writeMenus();
} // mmLoadMenus()
