

/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0

var browserName=navigator.appName; 

if(browserName.indexOf("Netscape") >= 0)
{
	if(navigator.userAgent.indexOf("Safari") >= 0){
		oCMenu.fromLeft=0
		oCMenu.fromTop=143
		
		}
	else
		{
		oCMenu.fromLeft=0 
		oCMenu.fromTop=138
		
		}

}
else if(browserName.indexOf("Microsoft") >= 0)
{
	if (navigator.userAgent.indexOf("Mac") >= 0){
		oCMenu.fromLeft=0 
		oCMenu.fromTop=133
	}
	else
	{
		oCMenu.fromLeft=0 
		oCMenu.fromTop=138
	}

}
else
	{
		oCMenu.fromLeft=0 
		oCMenu.fromTop=138
	}

oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=100 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="770"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=10 
oCMenu.barY="menu"
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=200
oCMenu.level[0].height=22 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=-1
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=210
oCMenu.level[1].height=20
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//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 cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=220
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu.makeMenu('top0','','Home','http:\/\/www.marlocoil.com/INDEX.HTM','',66,28,'images/home.jpg','images/home.jpg') <!--//// HOME MENU//-->
oCMenu.makeMenu('top1','','company information','http:\/\/www.marlocoil.com/CoInfo_index.HTM','',66,28,'images/buttons/co_button1.gif','images/buttons/co_button2.gif') 
	<!--//// COMPANY INFO MENU //-->
    if (!bw.aol){
	oCMenu.makeMenu('sub100','top1','&nbsp;&nbsp;History','http:\/\/www.marlocoil.com/CoInfo_index.HTM')
	oCMenu.makeMenu('sub101','top1','&nbsp;&nbsp;Experience ','http:\/\/www.marlocoil.com/CoInfo_experience.HTM')   
	oCMenu.makeMenu('sub104','top1','&nbsp;&nbsp;Quality','http:\/\/www.marlocoil.com/CoInfo_quality.HTM')
	oCMenu.makeMenu('sub105','top1','&nbsp;&nbsp;Support Flexibility','http:\/\/www.marlocoil.com/CoInfo_support.HTM')
	}

oCMenu.makeMenu('top2','','Products','http:\/\/www.marlocoil.com/product.HTM','',66,28,'images/buttons/prod_button1.gif','images/buttons/prod_button2.gif')
	if (!bw.aol){
     
	 oCMenu.makeMenu('_11', 'top2', '&nbsp;&nbsp;Industrial / Commercial Coil Products<IMG SRC="images/arrows.gif" BORDER="0">','http:\/\/www.marlocoil.com/coil_index.HTM')   
     oCMenu.makeMenu('_1114', '_11', '&nbsp;&nbsp;Industrial Process Coils','http:\/\/www.marlocoil.com/coil_ind_process.HTM')
     oCMenu.makeMenu('_1138', '_11', '&nbsp;&nbsp;Stratomizer Dampered Face & Bypass Coil','http:\/\/www.marlocoil.com/coil_stratomizer.HTM')
     oCMenu.makeMenu('_1147', '_11', '&nbsp;&nbsp;ARI Certified Coils','http:\/\/www.marlocoil.com/coil_ari_cert.HTM')
    
	oCMenu.makeMenu('_12', 'top2', '&nbsp;&nbsp;Navy Standard Products<IMG SRC="images/arrows.gif" BORDER="0">','http:\/\/www.marlocoil.com/navy_index.HTM')  
     oCMenu.makeMenu('_1260', '_12', '&nbsp;&nbsp;Coils','http:\/\/www.marlocoil.com/navy_coil.HTM')
     oCMenu.makeMenu('_1264', '_12', '&nbsp;&nbsp;Air Handling Units','http:\/\/www.marlocoil.com/navy_ahu.HTM')
	 oCMenu.makeMenu('_1268', '_12', '&nbsp;&nbsp;Air Conditioning and Refrigeration','http:\/\/www.marlocoil.com/navy_aircond_frig.HTM') 
	 
	 oCMenu.makeMenu('_13', 'top2', '&nbsp;&nbsp;Marine Standard Products<IMG SRC="images/arrows.gif" BORDER="0">','http:\/\/www.marlocoil.com/marine_index.HTM')     
	 oCMenu.makeMenu('_1381', '_13', '&nbsp;&nbsp;Coils','http:\/\/www.marlocoil.com/marine_coils.HTM')
     oCMenu.makeMenu('_1385', '_13', '&nbsp;&nbsp;Air Handling Units','http:\/\/www.marlocoil.com/marine_ahu.HTM')
	 }
	oCMenu.makeMenu('top3','','Parts','http:\/\/www.marlocoil.com/asp/SerReq.asp','',66,28,'images/buttons/parts_button1.gif','images/buttons/parts_button2.gif')	
	oCMenu.makeMenu('top4','','Literature','http:\/\/www.marlocoil.com/litLib_Index.HTM','',66,28,'images/buttons/lit_button1.gif','images/buttons/lit_button2.gif')
	if (!bw.aol){
    oCMenu.makeMenu('sub401','top4','&nbsp;&nbsp;Technical Articles','http:\/\/www.marlocoil.com/litLib_TecArtIndex.HTM')
    oCMenu.makeMenu('sub402','top4','&nbsp;&nbsp;Case Studies','http:\/\/www.marlocoil.com/litLib_caseStudIndex.HTM')
    oCMenu.makeMenu('sub403','top4','&nbsp;&nbsp;Operation Manuals','http:\/\/www.marlocoil.com/litLib_opManualindex.HTM')
	oCMenu.makeMenu('sub404','top4','&nbsp;&nbsp;Catalogs','http:\/\/www.marlocoil.com/litLib_catalogsindex.HTM')
	oCMenu.makeMenu('sub405','top4','&nbsp;&nbsp;Replacement Coil Order Forms','http:\/\/www.marlocoil.com/catalog_replace_forms2.html')
 	}
	oCMenu.makeMenu('top5','','Software','http:\/\/www.marlocoil.com/software.htm','',66,28,'images/buttons/software_button1.gif','images/buttons/software_button2.gif')
	oCMenu.makeMenu('top6','','Employment','http:\/\/www.marlocoil.com/employment.HTM','',66,28,'images/buttons/employ_button1.gif','images/buttons/employ_button2.gif')
	oCMenu.makeMenu('top7','','Contact Us','http:\/\/www.marlocoil.com/contacts_index.htm','',66,28,'images/contact.jpg','images/contact_.jpg')
	if (!bw.aol){
    oCMenu.makeMenu('sub705','top7','&nbsp;&nbsp;Contact List','http:\/\/www.marlocoil.com/contacts_index.htm')
    oCMenu.makeMenu('sub706','top7','&nbsp;&nbsp;Directions','http:\/\/www.marlocoil.com/contacts_directions.htm')
    oCMenu.makeMenu('sub707','top7','&nbsp;&nbsp;Sales Representation','http:\/\/www.marlocoil.com/asp/SalesRepApp_a.asp')
	}
oCMenu.construct()		



