var hBar = new ItemStyle(95, 5, '', 25, 4, '', '#', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(26, 0, '&gt;', -15, 4, '#234c77', '#537598', '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)', '30', 27, hBar); // Centres & floats.

addItem('<div class="navText"><a href=/coupons.asp>Specials</a></div>', 'mSpecials', 'sm:','hBar',87,0,'',0,0,'','');
addItem('<div class="navText"><a href=/search.asp?newused=0>Inventory</a></div>', 'mInventory', 'sm:','hBar',95,0,'',0,0,'','');
addItem('<div class="navText"><a href=/calc.asp>Finance</a></div>', 'mFinance', 'sm:','hBar',85,0,'',0,0,'','');
addItem('<div class="navText"><a href=/displayForm.asp?id=5&keywords=parts>Parts</a></div>', 'mParts', 'sm:','hBar',67,0,'',0,0,'','');
addItem('<div class="navText"><a href=/displayForm.asp?id=8&keywords=service>Service</a></div>', 'mService', 'sm:','hBar',81,0,'',0,0,'','');
addItem('<div class="navText"><a href=/displayContent.asp?keywords=aboutus>Dealer Info</a></div>', 'mDealer', 'sm:','hBar',109,0,'',0,0,'','');
addItem('<div class="navText"><a href=http://www.rkautogroup.net/chevrolet.htm>Home</a></div>', '/default.asp', 'sm:','hBar',40,0,'',0,0,'','');


startMenu('mInventory', true, 0, 27, 160, subM);
addItem('new inventory', '/search.asp?NewUsed=0','top');
addItem('pre-owned inventory', '/search.asp?NewUsed=1','top');
addItem('certified inventory', '/search.asp?NewUsed=2&filtermake=1&xMake=CHEVROLET','top');
addItem('vehicle comparison', '/compTool', 'top');
//addItem('build a car', '/buildacar.asp', 'top');
addItem('quick quote', '/displayForm.asp?id=10&keywords=quickquote', 'top');
addItem('value your trade', '/iframe.asp?page=BLACKBOOK', 'top');
addItem('avaluo para reventa', '/iframe.asp?page=BLACKBOOKSPANISH', 'top');
addItem('showroom trade in', '/iframe.asp?page=BLACKBOOKSHOWROOM', 'top');

startMenu('mSpecials', true, 0, 27, 120, subM);
addItem('tv ads', '/ads.asp?media=video', 'top');
addItem('internet specials', '/coupons.asp', 'top');

startMenu('mFinance', true, 0, 27, 160, 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('payment calculator', '/calc.asp', 'top');
addItem('value your trade', '/iframe.asp?page=BLACKBOOK', 'top');
addItem('avaluo para reventa', '/iframe.asp?page=BLACKBOOKSPANISH', 'top');
addItem('showroom trade in', '/iframe.asp?page=BLACKBOOKSHOWROOM', 'top');

startMenu('mParts', true, 0, 27, 140, subM);
addItem('parts request', '/displayForm.asp?id=5&keywords=parts', 'top');
addItem('accessories', 'window.open("http://www.rkchevrolet-gm.com/GMAccessories?siteMapItemName=117201239987541464")', 'js:');
addItem('value your trade', '/iframe.asp?page=BLACKBOOK', 'top');
addItem('avaluo para reventa', '/iframe.asp?page=BLACKBOOKSPANISH', 'top');
addItem('showroom trade in', '/iframe.asp?page=BLACKBOOKSHOWROOM', 'top');

startMenu('mService', true, 0, 27, 140, subM);
addItem('make an appointment', '/displayForm.asp?id=8&keywords=service', 'top');
addItem('body shop', '/displayContent.asp?keywords=bodyshop', 'top');
addItem('maintenance', '/displayContent.asp?keywords=maintenance', 'top');
addItem('coupons', '/displayContent.asp?keywords=Coupons', 'top');
addItem('tire finder', 'window.open("http://www.rkchevrolet-gm.com/TireFinder")', 'js:');
addItem('faq', '/displayContent.asp?keywords=FAQ', 'top');
addItem('ask an rk tech', '/displayForm.asp?id=12&keywords=AskAnRkTech', 'top');
addItem('rk bonus bucks', '/displayContent.asp?keywords=RKBonusBucks', 'top');
addItem('testimonials', '/displayContent.asp?keywords=Testimonials', 'top');
addItem('value your trade', '/iframe.asp?page=BLACKBOOK', 'top');
addItem('avaluo para reventa', '/iframe.asp?page=BLACKBOOKSPANISH', 'top');
addItem('showroom trade in', '/iframe.asp?page=BLACKBOOKSHOWROOM', 'top');

startMenu('mDealer', true, 0, 27, 120, subM);
addItem('about us', '/displayContent.asp?keywords=aboutus', 'top');
addItem('press', '/displayContent.asp?keywords=press', 'top');
addItem('contact us', '/displayForm.asp?id=4&keywords=contact', 'top');
addItem('directions', '/directions.asp?keywords=directions', 'top');
addItem('careers', '/displayMultiple.asp?keywords=careers', '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);