var hBar = new ItemStyle(95, 5, '', 25, 4, '', '#', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(26, 0, '&gt;', -15, 4, '#242f45', '#96adbb', '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=http://bayshoreford.com><img src=/images/spacer.gif width=76 height=30 border=0></a>', 'mHome', 'sm:',hBar,76,0,'',0,0,'/images/navHome.gif','/images/navHome_over.gif');
addItem('<img src=/images/spacer.gif width=101 height=30 border=0>', 'mInventory', 'sm:','hBar',101,0,'',0,0,'/images/navInventory.gif','/images/navInventory_over.gif');
addItem('<img src=/images/spacer.gif width=98 height=30 border=0>', 'mSpecials', 'sm:','hBar',98,0,'',0,0,'/images/navSpecials.gif','/images/navSpecials_over.gif');
addItem('<img src=/images/spacer.gif width=93 height=30 border=0>', 'mFinance', 'sm:','hBar',93,0,'',0,0,'/images/navFinance.gif','/images/navFinance_over.gif');
addItem('<img src=/images/spacer.gif width=73 height=30 border=0>', 'mParts', 'sm:','hBar',73,0,'',0,0,'/images/navParts.gif','/images/navParts_over.gif');
//addItem('<a href=/displayContent.asp?keywords=bodyshop><img src=/images/spacer.gif width=104 height=30 border=0></a>', 'mBodyshop', 'sm:','hBar',104,0,'',0,0,'/images/navBodyshop.gif','/images/navBodyshop_over.gif');
addItem('<img src=/images/spacer.gif width=89 height=30 border=0>', 'mService', 'sm:','hBar',89,0,'',0,0,'/images/navService.gif','/images/navService_over.gif');
addItem('<img src=/images/spacer.gif width=160 height=30 border=0>', '/displayForm.asp?id=12&keywords=rentacar', '',hBar,160,0,'',0,0,'/images/navRental.gif','/images/navRental_over.gif');
addItem('<img src=/images/spacer.gif width=117 height=30 border=0>', 'mDealer', 'sm:','hBar',117,0,'',0,0,'/images/navDealer.gif','/images/navDealer_over.gif');
//addItem('<a href=/meetthestaff.asp><img src=/images/spacer.gif width=143 height=30 border=0></a>', 'mStaff', 'sm:',hBar,143,0,'',0,0,'/images/navStaff.gif','/images/navStaff_over.gif');
//addItem('<a href=/default.asp><img src=/images/spacer.gif width=74 height=30 border=0></a>', '/default.asp', '',hBar,74,0,'',0,0,'/images/navHome.gif','/images/navHome_over.gif');


startMenu('mHome', true, 0, 30, 220, subM);
addItem('Light Trucks & Cars - New & Used', 'http://vehicles.bayshoreford.com','top');
addItem('Commercial Trucks - New & Used', 'http://bayshoretrucks.com','top');
 
startMenu('mInventory', true, 0, 30, 160, subM);
addItem('new inventory', '/search.asp?NewUsed=0','top');
addItem('used inventory', '/search.asp?NewUsed=1','top');
addItem('wholesale dealers', '/wholesaleInventory.asp','top');
//addItem('certified inventory', '/search.asp?NewUsed=2','top');
//addItem('new vehicle comparison', 'window.open("http://comparisons.advantastar.com")', 'js:');
//addItem('used vehicle comparison', 'window.open("http://www.autocinsumernet.com/preowned/1196/Ford1196.html")', 'js:');
addItem('vehicle locator', '/displayForm.asp?id=10&keywords=quickquote', 'top');
//addItem('toyota showroom', '/showroom.asp', 'top');
//addItem('rebates & incentives', '/displayMultiple.asp?keywords=incentives', 'top');
addItem('vehicle specials', '/coupons.asp?type=v&keywords=specials', 'top');
 
startMenu('mSpecials', true, 0, 30, 160, subM);
//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', '/displayMultiple.asp?keywords=ServiceSpecials', 'top');
addItem('parts specials', '/displayMultiple.asp?keywords=PartsSpecials', 'top');

startMenu('mFinance', true, 0, 30, 140, subM);
with(addItem('credit application', 'mCreditApp', 'sm:'));
//addItem('second chance credit', 'window.open("http://www.xigroup.com/secureforms/ToyotaOfBowie/privacy.asp?formtype=Second%20Chance%20Financing&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('mCreditApp', true, 140, 0, 120, subM);
addItem('personal', '/displayContent.asp?keywords=financePrivacy', 'top');
addItem('business', '/displayContent.asp?keywords=financePrivacy', 'top');

startMenu('mParts', true, 0, 30, 160, subM);
addItem('Parts Home Page', '/displayForm.asp?id=5&keywords=parts', 'top');
//addItem('parts request', '/displayForm.asp?id=5&keywords=parts', 'top');
addItem('accessories', '/displayContent.asp?keywords=accessoriesinfo', 'top');
//addItem('parts news', '/displayMultiple.asp?keywords=partsNews', 'top');
addItem('parts specials', '/displayMultiple.asp?keywords=PartsSpecials', 'top');

startMenu('mService', true, 0, 30, 160, subM);
addItem('make an appointment', '/displayForm.asp?id=8&keywords=service', 'top');
addItem('maintenance', '/displayContent.asp?keywords=maintenance', '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('service specials', '/displayMultiple.asp?keywords=ServiceSpecials', 'top');
 
startMenu('mDealer', true, 0, 30, 140, subM);
addItem('directory / hours', '/displayContent.asp?keywords=ContactInfo', 'top');
addItem('directions', '/directions.asp', 'top');
addItem('send us a comment', '/displayForm.asp?id=4&keywords=contact', 'top');
//addItem('meet the staff', '/meetthestaff.asp', 'top');
addItem('careers', '/displayMultiple.asp?keywords=careers', 'top');
addItem('about us', '/displayContent.asp?keywords=aboutus', 'top');
//addItem('calendar', '/calendar.asp?keywords=calendar', '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);