/*****************************************************************************
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','','','/default.php','','44','','/images/home2.gif','/images/home2.gif')
oCMenu.makeMenu('About','','','corporate/philosophy.html','','67','','images/aboutus1.gif','images/aboutus2.gif')
	oCMenu.makeMenu('About1','About','&nbsp;Fast Facts','corporate/philosophy.html')
	oCMenu.makeMenu('About2','About','&nbsp;Locations', 'locations/locations.html')
	oCMenu.makeMenu('About3','About','&nbsp;History', 'corporate/history.html')
		oCMenu.makeMenu('About7','About','&nbsp;Suppliers', 'corporate/supplier.html')
	oCMenu.makeMenu('About4','About','&nbsp;Customers', 'corporate/customers.html')
	oCMenu.makeMenu('About5','About','&nbsp;Finance', 'corporate/finance.html')
	oCMenu.makeMenu('About6','About','&nbsp;Awards', 'corporate/awards.html')

oCMenu.makeMenu('Focus','','','corporate/vision.html','','44','','images/focus1.gif','images/focus2.gif')
	oCMenu.makeMenu('Focus1','Focus','&nbsp;Vision 2015', 'corporate/vision.html')
	oCMenu.makeMenu('Focus2','Focus','&nbsp;CSR', 'http://csr.densocorp-na.com')
	oCMenu.makeMenu('Focus3','Focus','&nbsp;Advanced Technology', 'corporate/advanced.html')
	oCMenu.makeMenu('Focus4','Focus','&nbsp;Research &amp; Development', 'corporate/research.html')
	oCMenu.makeMenu('Focus5','Focus','&nbsp;Community', 'corporate/community.html')
	oCMenu.makeMenu('Focus6','Focus','&nbsp;Manufacturing', 'corporate/manufacturing.html')
	oCMenu.makeMenu('Focus7','Focus','&nbsp;Industry Tradeshows', 'corporate/industry.php')
	oCMenu.makeMenu('Focus8','Focus','&nbsp;Motorsports','http://www.globaldenso.com/motorsports')

oCMenu.makeMenu('Tech','','','http://www.globaldensoproducts.com','','73','','images/technology1.gif','images/technology2.gif')
	oCMenu.makeMenu('Tech11','Tech','&nbsp;globalDENSOproducts.com', 'http://www.globaldensoproducts.com', '')

oCMenu.makeMenu('News','','','news/pr.php','','42','','images/news1.gif','images/news2.gif')
	oCMenu.makeMenu('News1','News','&nbsp;News Releases', 'news/pr.php', '')
	
oCMenu.makeMenu('Careers','','','careers/c01.php','','52','','images/careers1.gif','images/careers2.gif')
	oCMenu.makeMenu('Careers1','Careers','&nbsp;Current Openings', 'careers/c01.php', '')
	oCMenu.makeMenu('Careers2','Careers','&nbsp;Co-op Program', 'careers/program.html', '')
	oCMenu.makeMenu('Careers3','Careers','&nbsp;Apply Now', 'careers/apply.html', '')
	oCMenu.makeMenu('Careers4','Careers','&nbsp;Excellent People', 'careers/excellent.html', '')
	oCMenu.makeMenu('Careers5','Careers','&nbsp;Corporate Culture', 'careers/culture.html', '')
	oCMenu.makeMenu('Careers6','Careers','&nbsp;Recruiting Calendar', 'careers/crc.php', '')
	oCMenu.makeMenu('Careers7','Careers','&nbsp;Brochure', 'careers/brochure.html', '')
	/*oCMenu.makeMenu('Careers8','Careers','&nbsp;Benefits & Compensation', 'careers/benefits.html', '')*/

oCMenu.makeMenu('Contact','','','contact/contact2.html','','68','','images/contactus1.gif', 'images/contactus2.gif')
	oCMenu.makeMenu('Contact1','Contact','&nbsp;General Information', 'contact/contact2.html','')
	oCMenu.makeMenu('Contact2','Contact','&nbsp;Human Resources', 'contact/hr.html','')

oCMenu.makeMenu('Sitemap','','','sitemap/sitemapa.html','','59','','images/sitemap1.gif', 'images/sitemap2.gif')
	
//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()	

oCMenu.m['About'].img3 = 'images/aboutus3.gif'
oCMenu.m['Focus'].img3 = 'images/focus3.gif'
oCMenu.m['Tech'].img3 = 'images/technology3.gif'
oCMenu.m['News'].img3 = 'images/news3.gif'
oCMenu.m['Careers'].img3 = 'images/careers3.gif'
oCMenu.m['Contact'].img3 = 'images/contacust3.gif'
oCMenu.m['Sitemap'].img3 = 'images/sitemap3.gif'

function openAWindow(URLtoOpen, windowName, windowFeatures) 
{
	newWindow=window.open(URLtoOpen, windowName, windowFeatures); 
}
