var hBar = new ItemStyle(95, 5, '', 25, 4, '', '#', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(26, 0, '&gt;', -15, 4, '#000000', '#6c6c6c', 'lowText', 'highText',
 'itemBorder', 'itemBorder', 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)', '137', 19, hBar); // Centres & floats.

addItem('<a href=/search.asp?newused=0><img src=/images/spacer.gif width=103 height=19 border=0></a>', 'mInventory', 'sm:','hBar',103,0,'',0,0,'/images/navinventory.gif','/images/navinventory_over.gif');
addItem('<a href=/displayForm.asp?id=10&keywords=quickquote><img src=/images/spacer.gif width=117 height=19 border=0></a>', '', '','hBar',117,0,'',0,0,'/images/navQuickQuote.gif','/images/navQuickQuote_over.gif');
addItem('<a href=/coupons.asp?keywords=specials><img src=/images/spacer.gif width=93 height=19 border=0></a>', 'mSpecials', 'sm:','hBar',93,0,'',0,0,'/images/navspecials.gif','/images/navspecials_over.gif');
addItem('<a href=/calc.asp><img src=/images/spacer.gif width=91 height=19 border=0></a>', 'mFinance', 'sm:','hBar',91,0,'',0,0,'/images/navfinance.gif','/images/navfinance_over.gif');
addItem('<a href=/displayForm.asp?id=5&keywords=parts><img src=/images/spacer.gif width=69 height=19 border=0></a>', 'mParts', 'sm:','hBar',69,0,'',0,0,'/images/navparts.gif','/images/navparts_over.gif');
addItem('<a href=/displayForm.asp?id=8&keywords=service><img src=/images/spacer.gif width=83 height=19 border=0></a>', 'mService', 'sm:','hBar',83,0,'',0,0,'/images/navservice.gif','/images/navservice_over.gif');
addItem('<a href=/displayContent.asp?keywords=aboutus><img src=/images/spacer.gif width=120 height=19 border=0></a>', 'mDealer', 'sm:','hBar',120,0,'',0,0,'/images/navdealer.gif','/images/navdealer_over.gif');
addItem('<a href=/meetthestaff.asp><img src=/images/spacer.gif width=136 height=19 border=0></a>', '', '','hBar',136,0,'',0,0,'/images/navstaff.gif','/images/navstaff_over.gif');
addItem('<a href=/default.asp><img src=/images/spacer.gif width=72 height=19 border=0></a>', '', '','hBar',72,0,'',0,0,'/images/navHome.gif','/images/navHome_over.gif');


startMenu('mInventory', true, 0, 19, 160, subM);
//addItem('new inventory', '/search.asp?newused=0','top');
//addItem('certified inventory', '/search.asp?newused=2','top');
addItem('pre-owned inventory', '/search.asp?NewUsed=1','top');
addItem('commercial inventory', '/iframe.asp','top');
//addItem('vehicle comparison', '/compTool', 'top');
//addItem('toyota showroom', '/showroom.asp', 'top');
//addItem('toyota.com', 'window.open("http://www.toyota.com")', 'js:');
addItem('vehicle specials', '/coupons.asp?type=v&keywords=specials', 'top');

startMenu('mSpecials', true, 0, 19, 140, 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('video 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, 19, 140, subM);
addItem('credit application', 'window.open("https://www.xigroup.com/secureforms/finance/displayForm.asp?id=7&siteid=" + iSiteID + "&siteURL=" + sSiteURL + "&folder=" + FolderName,"finance","width=550,height=600,scrollbars=yes,resizable=yes,location=yes,status=yes")', 'js:');
addItem('second chance credit', 'window.open("https://www.xigroup.com/secureforms/finance/displayForm.asp?id=11&siteid=" + iSiteID + "&siteURL=" + sSiteURL + "&folder=" + FolderName,"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, 19, 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, 19, 140, 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('mDealer', true, 0, 19, 140, 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('customer comments', '/displayForm.asp?id=17&keywords=CustomerComments', 'top');
addItem('map & directions', '/directions.asp?keywords=directions', 'top');
//addItem('calendar', '/calendar.asp?keywords=calendar', 'top');
//addItem('careers', '/displayForm.asp?id=12&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);