// 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     = '#d8d8d8';
	var btnColorRoll = '#cc0000';
	var txtColor     = '#222222';
	var txtColorRoll = '#ffffff';
	//New Cars
  if (window.mm_menu_0017181934_0) return;
  window.mm_menu_0017181934_0 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",10,txtColor,txtColorRoll,btnColor,btnColorRoll,"left","middle",3,0,200,-5,7,true,true,true,6,false,false);
  mm_menu_0017181934_0.addMenuItem("Search&nbsp;Our&nbsp;Inventory","location='http://tempedodge.com/vehicle/search/new/'");
  mm_menu_0017181934_0.addMenuItem("EBrochures","location='http://tempedodge.com/ebrochures/'");
  mm_menu_0017181934_0.addMenuItem("New&nbsp;Vehicle&nbsp;Specials","location='http://tempedodge.com/vehicle/search/specials/new/'");
  mm_menu_0017181934_0.addMenuItem("Schedule&nbsp;a&nbsp;Test&nbsp;Drive","location='http://tempedodge.com/request/testdrive/'");
  mm_menu_0017181934_0.addMenuItem("Refer&nbsp;A&nbsp;Friend","location='http://tempedodge.com/request/referral/'");
  
   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",140,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;Our&nbsp;Inventory","location='http://tempedodge.com/vehicle/search/preowned/'");
  mm_menu_0017182708_1.addMenuItem("PreOwned&nbsp;Specials","location='http://tempedodge.com/vehicle/search/specials/preowned/'");
  mm_menu_0017182708_1.addMenuItem("Schedule&nbsp;a&nbsp;Test&nbsp;Drive","location='http://tempedodge.com/request/testdrive/'");
  mm_menu_0017182708_1.addMenuItem("Refer&nbsp;A&nbsp;Friend","location='http://tempedodge.com/request/referral/'");
  
   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",185,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;A&nbsp;Service&nbsp;Appointment","location='http://tempedodge.com/request/appointment/'");
  mm_menu_0017183437_2.addMenuItem("Ask&nbsp;A&nbsp;Technician","location='http://tempedodge.com/request/technician/'");
  
   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='http://tempedodge.com/dealership/about/'");
   mm_menu_0017184257_4.addMenuItem("Management&nbsp;Directory","location='http://tempedodge.com/dealership/staff/'");
   mm_menu_0017184257_4.addMenuItem("Map&nbsp;and&nbsp;Directions","location='http://tempedodge.com/dealership/location/'");
   mm_menu_0017184257_4.addMenuItem("Employment&nbsp;Opportunities","location='http://tempedodge.com/request/employment/'"); 
   mm_menu_0017184257_4.addMenuItem("Website&nbsp;Feedback","location='http://tempedodge.com/request/feedback/'"); 
  
   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';
   
   //Finance
   window.mm_menu_finance = new Menu("root",170,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("30&nbsp;Second&nbsp;Credit&nbsp;Approval", "window.open('https://extranet.dealercentric.com/app-templates/LoanApplication/QuickApplication.aspx?AssociateID=745&AssociateTypeID=4000&htm=1', '_blank');");
  mm_menu_finance.addMenuItem("Extend&nbsp;Your&nbsp;Warranty","location='http://tempedodge.com/request/extendedwarranty/'");
  mm_menu_finance.addMenuItem("Finance&nbsp;Specials","location='http://tempedodge.com/specials/finance/'");
  mm_menu_finance.addMenuItem("Contact&nbsp;Us","location='http://tempedodge.com/request/contact/'");
  
   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';
   
   //Commercial
   window.mm_menu_commercial = new Menu("root",170,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_commercial.addMenuItem("Why&nbsp;BusinessLink","location='/dealershipInfo/advan.php'");
  mm_menu_commercial.addMenuItem("Product&nbsp;Videos","location='/newVehicles/productVideos.php'");
  mm_menu_commercial.addMenuItem("EBrochures","location='/newVehicles/eBrochures.php'");
  mm_menu_commercial.addMenuItem("Schedule&nbsp;a&nbsp;Test&nbsp;Drive","location='/newVehicles/scheduleTestDrive.php?vStatus=1'");
  
   mm_menu_commercial.hideOnMouseOut=true;
   mm_menu_commercial.menuBorder=0;
   mm_menu_commercial.menuLiteBgColor='#2d3641';
   mm_menu_commercial.menuBorderBgColor='#2d3641';
   mm_menu_commercial.bgColor='#787878';
   
   //Feedback
   window.mm_menu_feedback = new Menu("root",120,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_feedback.addMenuItem("Customer&nbsp;Service","location='http://tempedodge.com/request/feedback/'");
  
   mm_menu_feedback.hideOnMouseOut=true;
   mm_menu_feedback.menuBorder=0;
   mm_menu_feedback.menuLiteBgColor='#2d3641';
   mm_menu_feedback.menuBorderBgColor='#2d3641';
   mm_menu_feedback.bgColor='#787878';
   
      //viewSpecials
  window.mm_menu_viewSpecials = new Menu("root",185,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_viewSpecials.addMenuItem("New&nbsp;Vehicle&nbsp;Specials","location='http://tempedodge.com/vehicle/search/specials/new/'");
  mm_menu_viewSpecials.addMenuItem("Commercial&nbsp;Fleet&nbsp;Specials","location='/newVehicles/commercialSpecials.php'");
  mm_menu_viewSpecials.addMenuItem("PreOwned&nbsp;Vehicle&nbsp;Specials","location='http://tempedodge.com/vehicle/search/specials/preowned/'");
  mm_menu_viewSpecials.addMenuItem("Finance&nbsp;&&nbsp;Warranty&nbsp;Specials","location='http://tempedodge.com/specials/finance/'");
  mm_menu_viewSpecials.addMenuItem("Parts&nbsp;and&nbsp;Accessories&nbsp;Specials","location='http://tempedodge.com/specials/parts/'");
  mm_menu_viewSpecials.addMenuItem("Service&nbsp;Specials","location='http://tempedodge.com/specials/parts/'");
  mm_menu_viewSpecials.addMenuItem("eNewsletter","location='/dealershipInfo/eNewsletter.php'");
  
   mm_menu_viewSpecials.hideOnMouseOut=true;
   mm_menu_viewSpecials.menuBorder=0;
   mm_menu_viewSpecials.menuLiteBgColor='#2d3641';
   mm_menu_viewSpecials.menuBorderBgColor='#2d3641';
   mm_menu_viewSpecials.bgColor='#787878';
  
  //parts
   window.mm_menu_parts = new Menu("root",120,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("Parts", "window.open('http://www.billkayparts.com/partlocator/index.cfm?siteid=215494&catalogid=0', '_blank');"); 
  mm_menu_parts.addMenuItem("Accessories", "location='http://tempedodge.com/parts/accessories/'"); 
  
   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';
   
  //mobility
   window.mm_menu_mobility = new Menu("root",120,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_mobility.addMenuItem("TBD","#'");
  
   mm_menu_mobility.hideOnMouseOut=true;
   mm_menu_mobility.menuBorder=0;
   mm_menu_mobility.menuLiteBgColor='#2d3641';
   mm_menu_mobility.menuBorderBgColor='#2d3641';
   mm_menu_mobility.bgColor='#787878';


  mm_menu_0017184257_4.writeMenus();
} // mmLoadMenus()
