/*****************************************************************************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|/Inetpub/wwwroot/dhtmlcentral/" //Value: "path_to_menu_file_offline/"oCMenu.onlineUrl="http://www.dhtmlcentral.com/coolmenus/examples/withframes/" //Value: "path_to_menu_file_online/"oCMenu.pagecheck=1 oCMenu.checkscroll=0oCMenu.resizecheck=1 oCMenu.wait=1000 //Background bar propertiesoCMenu.usebar=0 oCMenu.barcolor="#003366" oCMenu.barwidth="100" oCMenu.barheight="21"oCMenu.barx=0 //oCMenu.bary="menu" oCMenu.bary="45" oCMenu.barinheritborder=0//Placement propertiesoCMenu.rows=1 oCMenu.fromleft=0 oCMenu.fromtop=45 oCMenu.pxbetween="0" oCMenu.menuplacement=new Array('0','44','111','155','228','264',"312","380","439")oCMenu.level[0]=new Array() oCMenu.level[0].width=105 oCMenu.level[0].height=30 oCMenu.level[0].bgcoloroff="silver" oCMenu.level[0].bgcoloron="#336699" oCMenu.level[0].textcolor="#336699" oCMenu.level[0].hovercolor="#FF9900" oCMenu.level[0].style="font-family:verdana,tahoma,arial,helvetica; font-size:10px; font-weight:regular" oCMenu.level[0].border=0 oCMenu.level[0].bordercolor="#333366"oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=-8oCMenu.level[0].NS4font="tahoma,arial,helvetica"oCMenu.level[0].NS4fontSize="2"oCMenu.level[0].clip=0 oCMenu.level[0].clippx=15 oCMenu.level[0].cliptim=50 oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" //VALUE: 0 || "filter specs"oCMenu.level[0].align="bottom" //Value: "top" || "bottom" || "left" || "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=160oCMenu.level[1].height=15oCMenu.level[1].bgcoloroff="#CCCCCC"oCMenu.level[1].bgcoloron="#999999"oCMenu.level[1].textcolor="#333333"oCMenu.level[1].hovercolor="#FFFFFF"oCMenu.level[1].style="padding:2px; font-family:verdana,tahoma,arial,helvetica; font-size:10px; font-weight:regular"oCMenu.level[1].align="top" oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20oCMenu.level[1].offsetY=0oCMenu.level[1].border=1 oCMenu.level[1].bordercolor="#999999"//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=150oCMenu.level[2].height=15oCMenu.level[2].bgcoloroff="#333366"oCMenu.level[2].bgcoloron="#CCCCCC"oCMenu.level[2].textcolor="33999999"oCMenu.level[2].style="padding:2px; font-family:tahoma,arial,helvetica; font-size:10px; font-weight:bold"oCMenu.level[2].align="top" oCMenu.level[2].offsetX=0oCMenu.level[2].offsetY=0oCMenu.level[2].border=1 oCMenu.level[2].bordercolor="#006699"oCMenu.level[2].NS4font="tahoma,arial,helvetica"oCMenu.level[2].NS4fontSize="1"oCMenu.makeMenu('Home','','','http://www.densocorp-na.com/default.php','','44','','http://www.densocorp-na.com/images/home1.gif','http://www.densocorp-na.com/images/home2.gif')oCMenu.makeMenu('About','','','http://www.densocorp-na.com/corporate/philosophy.html','','67','','http://www.densocorp-na.com/images/aboutus1.gif','http://www.densocorp-na.com/images/aboutus2.gif')	oCMenu.makeMenu('About1','About','&nbsp;Fast Facts','http://www.densocorp-na.com/corporate/philosophy.html')	oCMenu.makeMenu('About2','About','&nbsp;Locations', 'http://www.densocorp-na.com/locations/locations.html')	oCMenu.makeMenu('About3','About','&nbsp;History', 'http://www.densocorp-na.com/corporate/history.html')	oCMenu.makeMenu('About4','About','&nbsp;Customers', 'http://www.densocorp-na.com/corporate/customers.html')	oCMenu.makeMenu('About5','About','&nbsp;Finance', 'http://www.densocorp-na.com/corporate/Finance.html')	oCMenu.makeMenu('About6','About','&nbsp;Awards', 'http://www.densocorp-na.com/corporate/awards.html')oCMenu.makeMenu('Focus','','','http://www.densocorp-na.com/corporate/vision.html','','44','','http://www.densocorp-na.com/images/focus1.gif','http://www.densocorp-na.com/images/focus2.gif')	oCMenu.makeMenu('Focus1','Focus','&nbsp;Vision 2015', 'http://www.densocorp-na.com/corporate/vision.html')	oCMenu.makeMenu('Focus2','Focus','&nbsp;Environment', 'http://environment.densocorp-na.com/index.html')	oCMenu.makeMenu('Focus3','Focus','&nbsp;Advanced Technology', 'http://www.densocorp-na.com/corporate/advanced.html')	oCMenu.makeMenu('Focus4','Focus','&nbsp;Research &amp; Development', 'http://www.densocorp-na.com/corporate/research.html')	oCMenu.makeMenu('Focus5','Focus','&nbsp;Community', 'http://www.densocorp-na.com/corporate/community.html')	oCMenu.makeMenu('Focus6','Focus','&nbsp;Manufacturing', 'http://www.densocorp-na.com/corporate/manufacturing.html')	oCMenu.makeMenu('Focus7','Focus','&nbsp;Industry Tradeshows', 'http://www.densocorp-na.com/corporate/industry.php')	oCMenu.makeMenu('Focus8','Focus','&nbsp;Motorsports','http://www.globaldenso.com/motorsports')oCMenu.makeMenu('Tech','','','http://www.globaldensoproducts.com','','73','','http://www.densocorp-na.com/images/technology1.gif','http://www.densocorp-na.com/images/technology2.gif')	oCMenu.makeMenu('Tech11','Tech','&nbsp;globalDENSOproducts.com', 'http://www.globaldensoproducts.com', '')oCMenu.makeMenu('News','','','http://www.densocorp-na.com/news/pr.php','','42','','http://www.densocorp-na.com/images/news1.gif','http://www.densocorp-na.com/images/news2.gif')	oCMenu.makeMenu('News1','News','&nbsp;News Releases', 'http://www.densocorp-na.com/news/pr.php', '')	oCMenu.makeMenu('News3','News','&nbsp;Vision Online Magazine', 'http://www.densocorp-na.com/VisionOnline/index.html', '_blank')	oCMenu.makeMenu('Careers','','','http://www.densocorp-na.com/careers/c01.php','','52','','http://www.densocorp-na.com/images/careers1.gif','http://www.densocorp-na.com/images/careers2.gif')	oCMenu.makeMenu('Careers1','Careers','&nbsp;Current Openings', 'http://www.densocorp-na.com/careers/c01.php', '')	oCMenu.makeMenu('Careers2','Careers','&nbsp;Co-op Program', 'http://www.densocorp-na.com/careers/program.html', '')	oCMenu.makeMenu('Careers3','Careers','&nbsp;Apply Now', 'http://www.densocorp-na.com/careers/apply.html', '')	oCMenu.makeMenu('Careers4','Careers','&nbsp;Excellent People', 'http://www.densocorp-na.com/careers/excellent.html', '')	oCMenu.makeMenu('Careers5','Careers','&nbsp;Corporate Culture', 'http://www.densocorp-na.com/careers/culture.html', '')	oCMenu.makeMenu('Careers6','Careers','&nbsp;Recruiting Calendar', 'http://www.densocorp-na.com/careers/crc.php', '')	oCMenu.makeMenu('Careers7','Careers','&nbsp;Brochure', 'http://www.densocorp-na.com/careers/brochure.html', '')	/*oCMenu.makeMenu('Careers8','Careers','&nbsp;Benefits & Compensation', 'http://www.densocorp-na.com/careers/benefits.html', '')*/oCMenu.makeMenu('Contact','','','http://www.densocorp-na.com/contact/contact2.html','','68','','http://www.densocorp-na.com/images/contactus1.gif', 'http://www.densocorp-na.com/images/contactus2.gif')	oCMenu.makeMenu('Contact1','Contact','&nbsp;General Information', 'http://www.densocorp-na.com/contact/contact2.html','')	oCMenu.makeMenu('Contact2','Contact','&nbsp;Human Resources', 'http://www.densocorp-na.com/contact/hr.html','')oCMenu.makeMenu('Sitemap','','','http://www.densocorp-na.com/sitemap/sitemapa.html','','59','','http://www.densocorp-na.com/images/sitemap1.gif', 'http://www.densocorp-na.com/images/sitemap2.gif')	//Leave these two lines! Making the styles and then constructing the menuoCMenu.makeStyle(); oCMenu.construct()	oCMenu.m['About'].img3 = 'http://www.densocorp-na.com/images/aboutus3.gif'oCMenu.m['Focus'].img3 = 'http://www.densocorp-na.com/images/focus3.gif'oCMenu.m['Tech'].img3 = 'http://www.densocorp-na.com/images/technology3.gif'oCMenu.m['News'].img3 = 'http://www.densocorp-na.com/images/news3.gif'oCMenu.m['Careers'].img3 = 'http://www.densocorp-na.com/images/careers3.gif'oCMenu.m['Contact'].img3 = 'http://www.densocorp-na.com/images/contacust3.gif'oCMenu.m['Sitemap'].img3 = 'http://www.densocorp-na.com/images/sitemap3.gif'function openAWindow(URLtoOpen, windowName, windowFeatures) {	newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
