var hBar = new ItemStyle(95, 5, '', 25, 4, '', '#', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(26, 0, '&gt;', -15, 4, '#a7bbc2', '#007bbf', '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)', '87', 30, hBar); // Centres & floats.

addItem('<a href=/default.asp><img src=/images/spacer.gif width=77 height=30 border=0></a>', 'mHome', 'sm:',hBar,77,0,'',0,0,'/images/navHome.gif','/images/navHome_over.gif');
addItem('<a href=/results.asp?newused=3><img src=/images/spacer.gif width=110 height=30 border=0></a>', 'mInventory', 'sm:','hBar',110,0,'',0,0,'/images/navInventory.gif','/images/navInventory_over.gif');
addItem('<a href=/coupons.asp?keywords=specials><img src=/images/spacer.gif width=96 height=30 border=0></a>', 'mSpecials', 'sm:','hBar',96,0,'',0,0,'/images/navSpecials.gif','/images/navSpecials_over.gif');
addItem('<a href=/displayContent.asp?keywords=printads><img src=/images/spacer.gif width=63 height=30 border=0></a>', 'mAds', 'sm:','hBar',63,0,'',0,0,'/images/navAds.gif','/images/navAds_over.gif');
addItem('<a href=http://www.mahoningvalleycredit.com target=blank><img src=/images/spacer.gif width=95 height=30 border=0></a>', 'mFinance', 'sm:','hBar',95,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=75 height=30 border=0></a>', 'mParts', 'sm:','hBar',75,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=89 height=30 border=0></a>', 'mService', 'sm:','hBar',89,0,'',0,0,'/images/navService.gif','/images/navService_over.gif');
addItem('<a href=/displayContent.asp?keywords=aboutus><img src=/images/spacer.gif width=124 height=30 border=0></a>', 'mDealer', 'sm:','hBar',124,0,'',0,0,'/images/navDealer.gif','/images/navDealer_over.gif');
addItem('<a href=/meetthestaff.asp><img src=/images/spacer.gif width=145 height=30 border=0></a>', 'mStaff', 'sm:',hBar,145,0,'',0,0,'/images/navStaff.gif','/images/navStaff_over.gif');
addItem('<a href=/displayMultiple.asp?keywords=CommercialSpecials><img src=/images/spacer.gif width=200 height=30 border=0></a>', 'mCommercial', 'sm:',hBar,200,0,'',0,0,'/images/navCommercial.gif','/images/navCommercial_over.gif');

startMenu('mHome', true, 0, 30, 170, subM);

startMenu('mAds', true, 0, 30, 160, subM);
addItem('print ads', '/displayContent.asp?keywords=printads', 'top');
addItem('radio ads', '/ads.asp?media=radio', 'top');
addItem('tv ads', '/ads.asp?media=video', 'top');

startMenu('mInventory', true, 0, 30, 210, subM);
addItem('new inventory discounted prices', '/results.asp?NewUsed=0','top');
addItem('new inventory', 'window.open("http://apps.dealerconnection.com/dealers/donnellfordonline/new-inventory?lang=en")','js:');
addItem('pre-owned inventory', '/results.asp?NewUsed=1','top');
addItem('commercial vehicles', '/displayMultiple.asp?keywords=CommercialSpecials','top');
addItem('vehicle comparison', '/compTool', 'top');
addItem('quick quote', '/displayForm.asp?id=10&keywords=quickquote', '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');
//addItem('concept vehicles', '/displayContent.asp?keywords=conceptvehicle', 'top');

startMenu('mSpecials', true, 0, 30, 160, subM);
addItem('rebates & incentives', '/displayForm.asp?id=10&keywords=quickquote', '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, 30, 140, subM);
addItem('get pre-approved', 'window.open("http://www.mahoningvalleycredit.com")', 'js:');
addItem('second chance credit', 'window.open("http://www.mahoningvalleycredit.com")', 'js:');
addItem('payment calculator', '/calc.asp', 'top');
addItem('privacy statement', '/displayContent.asp?keywords=privacypolicy', 'top');

startMenu('mParts', true, 0, 30, 140, subM);
addItem('parts news', '/displayMultiple.asp?keywords=partsNews', 'top');
addItem('parts specials', '/coupons.asp?type=p&keywords=specials', 'top');
addItem('parts request', '/displayForm.asp?id=5&keywords=parts', 'top');

startMenu('mService', true, 0, 30, 140, subM);
addItem('service news', '/displayMultiple.asp?keywords=serviceNews', 'top');
addItem('service specials', '/coupons.asp?type=s&keywords=specials', 'top');
addItem('make an appointment', '/displayForm.asp?id=8&keywords=service', '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('detail service', '/displayContent.asp?keywords=detailService', 'top');

startMenu('mDealer', true, 0, 30, 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('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);