sniffBrowsers();

itemBullet = new bulletPoint("/spn/bullets/one/product_menu_off.gif","/spn/bullets/one/product_menu_on.gif");
onBullet = new bulletPoint("/spn/bullets/one/product_on.gif","/spn/bullets/one/product_on.gif");
offBullet = new bulletPoint("/spn/bullets/one/product_off.gif","/spn/bullets/one/product_on.gif");


myTest = new menuBar('myTest',758, 'horizontal', '#ffffff', '#ffffff');

	

if(currentHeading!=null && currentHeading==1){

	myTest.addLabel('onBullet', 'News', 1, 191, '#666666', '#666666', '/spn/index.html', 'left', '_self');
}
else{
	myTest.addLabel('offBullet', 'News', 1, 191, '#005AA8', '#666666', '/spn/index.html', 'left', '_self');
}

if(currentHeading!=null && currentHeading==2){
	myTest.addLabel('onBullet', 'About Us', 2, 200, '#666666', '#666666', '/spn/about_us.html', 'left', '_self');
}else{
	myTest.addLabel('offBullet', 'About Us', 2, 200, '#005AA8', '#666666', '/spn/about_us.html', 'left', '_self');
}

if(currentHeading!=null && currentHeading==3){
        myTest.addLabel('onBullet', 'Subscribe', 3, 150, '#666666', '#666666', '/spn/subscription/index.html', 'left', '_self');
}else{
        myTest.addLabel('offBullet', 'Subscribe', 3, 150, '#005AA8', '#666666', '/spn/subscription/index.html', 'left', '_self');
}



if(currentHeading!=null && currentHeading==4){
	myTest.addLabel('onBullet', 'Auto Remarketing  ', 4, 217, '#666666', '#666666', 'http://www.autoremarketing.com', 'left', '_blank');
}else{
	myTest.addLabel('offBullet', 'Auto Remarketing  ', 4, 217, '#005AA8', '#666666', 'http://www.autoremarketing.com', 'left', '_blank');
}


myTest.height = 18;

menus[1] = new menu(191, 'vertical', '#ffffff', '#ffffff');
menus[1].height = 16;
menus[1].addItem('itemBullet', 'Latest News', null, 191, '#005AA8', '#666666', '/spn/index.html','left', '_self');
menus[1].addItem('itemBullet', 'Lender Directory', null, 191, '#005AA8', '#666666', '/spn/lender-directory.html', 'left', '_self');
menus[1].addItem('itemBullet', 'Industry News', null, 191, '#005AA8', '#666666', '/spn/industry.html', 'left', '_self');
menus[1].addItem('itemBullet', 'Legal/Financial', null, 191, '#005AA8', '#666666', '/spn/legal.html', 'left', '_self');
menus[1].addItem('itemBullet', 'People', null, 191, '#005AA8', '#666666', '/spn/people.html', 'left', '_self');
menus[1].addItem('itemBullet', 'Archives', null, 191, '#005AA8', '#666666', '/spn/archives.html', 'left', '_self');

menus[1].writeMenu();

menus[2] = new menu(200, 'vertical', '#ffffff', '#ffffff');
menus[2].height = 16;
menus[2].addItem('itemBullet', 'SubPrime Auto Finance News', null, 200, '#005AA8', '#666666', '/spn/about_us.html', 'left', '_self');
menus[2].addItem('itemBullet', 'Cherokee Publishing Company', null, 200, '#005AA8', '#666666', 'http://www.cherokeepublishing.com', 'left', '_blank');
menus[2].addItem('itemBullet', 'Ron Smith, Executive Publisher', null, 200, '#005AA8', '#666666', '/spn/smith.html', 'left', '_self');
menus[2].addItem('itemBullet', 'Bill Zadeits, Publisher', null, 200, '#005AA8', '#666666', '/spn/zadeits.html', 'left', '_self');
menus[2].addItem('itemBullet', 'Jennifer Reed, Automotive Group Editor', null, 200, '#005AA8', '#666666', '/spn/reed.html', 'left', '_self');
menus[2].addItem('itemBullet', 'Contributors', null, 200, '#005AA8', '#666666', '/spn/contributors.html', 'left', '_self');
menus[2].addItem('itemBullet', 'Advertising', null, 200, '#005AA8', '#666666', '/spn/advertising/index.html', 'left', '_self');
menus[2].writeMenu();

menus[3] = new menu(150, 'vertical', '#ffffff', '#ffffff');
menus[3].height = 16;

menus[3].writeMenu();


menus[4] = new menu(217, 'vertical', '#ffffff', '#ffffff');
menus[4].height = 16;

menus[4].writeMenu();

menus[1].align='left';
menus[2].align='left';
menus[3].align='left';
menus[4].align='right';


myTest.writeMenuBar();
