/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck()
var mDebugging=2
oCMenu=new makeCoolMenu("oCMenu")
oCMenu.useframes=0
oCMenu.frame=""
oCMenu.useclick=0
oCMenu.useNS4links=1  
oCMenu.NS4padding=2 
oCMenu.checkselect=0
oCMenu.offlineUrl="file:///c|/DevSites/autotrim/utils/" 
oCMenu.onlineUrl="http://www.autotrim-md.com/utils/"
oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=650

//Background bar properties
oCMenu.usebar=0
oCMenu.barcolor="#cc6666"
oCMenu.barwidth="menu"
oCMenu.barheight="100%"
oCMenu.barx="menu"
oCMenu.bary=0
oCMenu.barinheritborder=0

//Placement properties
oCMenu.rows=0
oCMenu.fromleft=0
oCMenu.fromtop=117
oCMenu.pxbetween=3 //How much space you want between each of the top items. - Value: px || "%"

/*You have several different ways to place the top items. 
You can have them right beside eachother (only adding the pxbetween variable)
oCMenu.menuplacement=0
oCMenu.menuplacement="center"
oCMenu.menuplacement=new Array(10,200,400,600)

Or you can place in percentage: (remember to use the ' ' around the numbers)


Choose one of those options to get the desired results.
*/
oCMenu.menuplacement=0



//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array()
oCMenu.level[0].width=160
oCMenu.level[0].height=18
oCMenu.level[0].bgcoloroff="#c9c9c9"
oCMenu.level[0].bgcoloron="#ffffff"
oCMenu.level[0].textcolor="Black"
oCMenu.level[0].hovercolor="red"
oCMenu.level[0].style=""
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor="red"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0 
oCMenu.level[0].NS4font="tahoma,arial,helvetica"
oCMenu.level[0].NS4fontSize="2"

/*New: Added animation features that can be controlled on each level.*/
oCMenu.level[0].clip=1
oCMenu.level[0].clippx=10
oCMenu.level[0].cliptim=50
oCMenu.level[0].filter=0 //VALUE: 0 || "filter specs"
oCMenu.level[0].align="right"


//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=120
oCMenu.level[1].height=20
oCMenu.level[1].style="padding-top:2px; padding-left:10px; font-family:tahoma, arial,helvetica; font-size:11px;" 
oCMenu.level[1].align="bottom" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=1
oCMenu.level[1].bordercolor="#808080"

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new Array() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=140
oCMenu.level[2].height=20
oCMenu.level[2].bgcoloroff="#eaeaea"
oCMenu.level[2].bgcoloron="#989898"
oCMenu.level[2].hovercolor="white"
oCMenu.level[2].style="padding:2px; padding-left:10px; font-family:tahoma,arial,helvetica; font-size:11px;"
oCMenu.level[2].align="bottom" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].border=1 
oCMenu.level[2].bordercolor="red"
oCMenu.level[2].NS4font="tahoma,arial,helvetica"
oCMenu.level[2].NS4fontSize="1"


oCMenu.makeMenu('top0','','','','',0,0,'images/me_off.gif','images/me_on.gif')
oCMenu.makeMenu('sub00','top0','Alarm Systems','alarms.html','',0,0,'','')
oCMenu.makeMenu('sub01','top0','Audio Systems','audio.html','',0,0,'','')
oCMenu.makeMenu('sub02','top0','XM Radio','xmradio.html','',0,0,'','')
oCMenu.makeMenu('sub03','top0','Mobile DVD &amp; Video','video.html','',0,0,'','')
oCMenu.makeMenu('sub04','top0','Navigation Systems','navsyst.html','',0,0,'','')
oCMenu.makeMenu('sub05','top0','Electronic Upgrades','eupgrade.html','',0,0,'','')
oCMenu.makeMenu('sub001','sub05','Cruise Control','eupgrade.html','',0,0,'','')
oCMenu.makeMenu('sub002','sub05','Heated Seats','eupgrade.html','',0,0,'','')
oCMenu.makeMenu('sub003','sub05','Power Locks','eupgrade.html','',0,0,'','')
oCMenu.makeMenu('sub004','sub05','Power Mirrors','eupgrade.html','',0,0,'','')
oCMenu.makeMenu('sub005','sub05','Remote/Keyless Start','eupgrade.html','',0,0,'','')

oCMenu.makeMenu('top1','','','','',0,0,'images/rp_off.gif','images/rp_on.gif')
oCMenu.makeMenu('sub10','top1','24 K Gold Trim','24kgold.html','',0,0,'','')	
oCMenu.makeMenu('sub11','top1','Leather Interiors','leather.html','',0,0,'','')	
oCMenu.makeMenu('sub12','top1','Molding &amp; Trim','molding.html','',0,0,'','')	
oCMenu.makeMenu('sub13','top1','Pinstripes &amp; Graphics','pinns.html','',0,0,'','')	
oCMenu.makeMenu('sub14','top1','Roof Treatments','rooftreat.html','',0,0,'','')	
oCMenu.makeMenu('sub15','top1','Sun Roofs','sunroofs.html','',0,0,'','')
oCMenu.makeMenu('sub16','top1','Wood Dashes','wooddash.html','',0,0,'','')	

oCMenu.makeMenu('top2','','','','',0,0,'images/at_off.gif','images/at_on.gif')
oCMenu.makeMenu('sub20','top2','3M Paint Protection','3mpaint.html','',0,0,'','')	
oCMenu.makeMenu('sub21','top2','Lighting','lighting.html','',0,0,'','')	
oCMenu.makeMenu('sub23','top2','Rear Wings/Spoilers','wings.html','',0,0,'','')	
oCMenu.makeMenu('sub24','top2','Roof Racks','racks.html','',0,0,'','')	
oCMenu.makeMenu('sub25','top2','Window Tinting','tinting.html','',0,0,'','')	

oCMenu.makeMenu('top3','','','','',0,0,'images/ta_off.gif','images/ta_on.gif')
oCMenu.makeMenu('sub30','top3','Bedliners','beds.html','',0,0,'','')
oCMenu.makeMenu('sub31','top3','PT Cruiser','ptcruiser.html','',0,0,'','')
oCMenu.makeMenu('sub32','top3','Running Boards','rboards.html','',0,0,'','')
oCMenu.makeMenu('sub33','top3','Tonneau Covers','toncovr.html','',0,0,'','')
oCMenu.makeMenu('sub34','top3','Trailer Hitches','hitches.html','',0,0,'','')
oCMenu.makeMenu('sub35','top3','More Truck Access','truckaccess.html','',0,0,'','')


oCMenu.makeMenu('top5','','','','',0,0,'images/menu_spacer.gif','images/menu_spacer.gif')
oCMenu.makeMenu('top6','','','giftcert.html','',0,0,'images/gc_off.gif','images/gc_on.gif')
oCMenu.makeMenu('top7','','','relsites.html','',0,0,'images/rs_off.gif','images/rs_on.gif')
oCMenu.makeMenu('top8','','','employ.html','',0,0,'images/emp_off.gif','images/emp_on.gif')
oCMenu.makeMenu('top9','','','findus.html','',0,0,'images/find_off.gif','images/find_on.gif')
oCMenu.makeMenu('top10','','','email_form.html','',0,0,'images/contact_off.gif','images/contact_on.gif')
oCMenu.makeMenu('top11','','','index.html','',0,0,'images/home_off.gif','images/home_on.gif')


//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()