var hBar = new ItemStyle(95, 5, '', 24, 4, '', '#', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(22, 0, '&gt;', 15, 4, '#151775', '#73a2e3', 'lowText', 'highText',
 '', '', null, null, 'hand', 'default');

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{

startMenu('root', false,'Math.max(0,page.winW()/2 - pMenu.menu.root[0].menuW/2)', '108',24, hBar); // Centres & floats.

addItem('<a href=/default.asp><img src=/images/spacer.gif width=55 height=24 border=0></a>', '/home.asp', '','hBar',55,24,'',0,0,'/images/nav_home.gif','/images/nav_home_over.gif');
addItem('<a href=/results.asp><img src=/images/spacer.gif width=81 height=24 border=0></a>', 'mInventory', 'sm:','hBar',81,24,'',0,0,'/images/nav_inventory.gif','/images/nav_inventory_over.gif');
addItem('<a href=/displayContent.asp?keywords=sales><img src=/images/spacer.gif width=53 height=24 border=0></a>', 'mSales', 'sm:','hBar',53,24,'',0,0,'/images/nav_sales.gif','/images/nav_sales_over.gif');
addItem('<a href=/displayForm.asp?id=8&keywords=service><img src=/images/spacer.gif width=67 height=24 border=0></a>', 'mService', 'sm:','hBar',67,24,'',0,0,'/images/nav_service.gif','/images/nav_service_over.gif');
addItem('<a href=/coupons.asp?keywords=specials><img src=/images/spacer.gif width=74 height=24 border=0></a>', 'mSpecials', 'sm:','hBar',74,24,'',0,0,'/images/nav_specials.gif','/images/nav_specials_over.gif');
addItem('<a href=/displayContent.asp?keywords=aboutus><img src=/images/spacer.gif width=76 height=24 border=0></a>', 'mAboutUs', 'sm:','hBar',76,24,'',0,0,'/images/nav_aboutUs.gif','/images/nav_aboutUs_over.gif');
addItem('<a href=/displayContent.asp?keywords=kudos><img src=/images/spacer.gif width=57 height=24 border=0></a>', 'mKudos', 'sm:','hBar',57,24,'',0,0,'/images/nav_kudos.gif','/images/nav_kudos_over.gif');
addItem('<a href=/displayContent.asp?keywords=employment><img src=/images/spacer.gif width=101 height=24 border=0></a>', 'mEmployment', 'sm:','hBar',101,24,'',0,0,'/images/nav_employment.gif','/images/nav_employment_over.gif');
addItem('<a href=/displayContent.asp?keywords=askapro><img src=/images/spacer.gif width=81 height=24 border=0></a>', 'mAskAPro', 'sm:','hBar',81,24,'',0,0,'/images/nav_askAPro.gif','/images/nav_askAPro_over.gif');
addItem('<a href=/displayContent.asp?keywords=fleetService><img src=/images/spacer.gif width=101 height=24 border=0></a>', 'mFleetService', 'sm:','hBar',101,24,'',0,0,'/images/nav_fleetService.gif','/images/nav_fleetService_over.gif');

startMenu('mInventory', true, 0, 24, 150, subM);
//addItem('new inventory', '/search.asp?NewUsed=0','top');
//addItem('pre-owned inventory', '/search.asp?NewUsed=1','top');
//addItem('vehicle comparison', '/compTool', 'top');
addItem('quick quote', '/displayForm.asp?id=10&keywords=quickquote', 'top');
//addItem('toyota showroom', '/showroom.asp', 'top');
//addItem('vehicle specials', '/coupons.asp?type=v&keywords=specials', 'top');

startMenu('mSpecials', true, 0, 24, 150, subM);
//addItem('rebates & incentives', '/displayMultiple.asp?keywords=incentives', 'top');
//addItem('print ads', '/ads.asp?media=print', 'top');
//addItem('radio ads', '/ads.asp?media=radio', 'top');
//addItem('tv ads', '/ads.asp?media=video', 'top');
addItem('vehicle specials', '/coupons.asp?type=v&keywords=specials', 'top');
addItem('service specials', '/coupons.asp?type=s&keywords=specials', 'top');
//addItem('parts specials', '/coupons.asp?type=p&keywords=specials', 'top');

//startMenu('mFinance', true, 0, 24, 140, subM);
//addItem('credit application', 'window.open("http://www.xigroup.com/secureforms/finance/privacy.asp?keywords=privacy&surveyID=7&siteid=" + iSiteID + "&siteURL=" + sSiteURL,"finance","width=550,height=600,scrollbars=yes,status=yes,resizable=yes,location=yes")', 'js:');
//addItem('second chance credit', 'window.open("http://www.xigroup.com/secureforms/finance/privacy.asp?keywords=privacy&surveyID=11&siteid=" + iSiteID + "&siteURL=" + sSiteURL,"finance","width=550,height=600,scrollbars=yes,status=yes,resizable=yes,location=yes")', 'js:');
//addItem('payment calculator', '/calc.asp', 'top');
//addItem('privacy statement', '/displayContent.asp?keywords=privacypolicy', 'top');

//startMenu('mParts', true, 0, 24, 140, subM);
//addItem('parts request', '/displayForm.asp?id=5&keywords=parts', 'top');
//addItem('parts news', '/displayMultiple.asp?keywords=partsNews', 'top');
//addItem('parts specials', '/coupons.asp?type=p&keywords=specials', 'top');

startMenu('mService', true, 0, 24, 150, subM);
addItem('make an appointment', '/displayForm.asp?id=8&keywords=service', 'top');
addItem('service news', '/displayMultiple.asp?keywords=serviceNews', 'top');
//addItem('body shop', '/displayContent.asp?keywords=bodyshop', 'top');
//addItem('rental cars', '/displayContent.asp?keywords=rentacar', 'top');
addItem('maintenance', '/displayContent.asp?keywords=maintenance', 'top');
addItem('service specials', '/coupons.asp?type=s&keywords=specials', 'top');

startMenu('mAboutUs', true, 0, 24, 130, subM);
//addItem('dealership news', '/displayMultiple.asp?keywords=news', 'top');
addItem('about us', '/displayContent.asp?keywords=aboutus', 'top');
addItem('contact us', '/displayForm.asp?id=4&keywords=contact', 'top');
addItem('map & directions', '/directions.asp?keywords=directions', 'top');
addItem('calendar', '/calendar.asp?keywords=calendar', 'top');
addItem('careers', '/displayMultiple.asp?keywords=careers', 'top');
addItem('privacy statement', '/displayContent.asp?keywords=privacypolicy', 'top');

}

function IE55SelectBoxFix(menuObj) { with (menuObj)
{
 if (window.createPopup) for (var mN in menu) with (menu[mN][0])
 {
  extraHTML += '<iframe src="about:blank" style="position: absolute; left: 0px; top: 0px; width: ' +
   menuW + 'px; height: ' + menuH + 'px; z-index: 0; border: none; ' +
   'filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"></iframe>';
 }
}};
IE55SelectBoxFix(pMenu);