//<!-- #include file="../../common/vb_functions.asa" -->
oCMenu=new makeCM("oCMenu") 	//Making the menu object. Argument: menuname
oCMenu.frames=0 			//Do you want to use the menus as coolframemenu or not? (in frames or not) - Value: 0 || 1
//oCMenu.frame="frmMain" 			//The name of your main frame (where the menus should appear). Leave empty if you're not using frames - Value: "main_frame_name"

//oCMenu.useclick=0 			//If you want the menu to be activated and deactivated onclick only set this to 1. - Value: 0 || 1

oCMenu.useNS4links=1  

oCMenu.NS4padding=2 

//oCMenu.checkselect=0


//oCMenu.offlineUrl="file:///d|/Inetpub/wwwroot/publicsite/ludlum/"         		//Value: "path_to_menu_file_offline/"
//oCMenu.onlineRoot="http://dev.alleghenyludlum.com/"        //Dev1 location          //Value: "path_to_menu_file_online/"   
oCMenu.onlineRoot=webServer +"alleghenyludlum.com/"		   //Assuming webServer would be http:// dev. or test. or www. depending on current location			

//oCMenu.pagecheck=0 		//Do you want the menu to check whether any of the subitems are out of the bouderies of the page and move them in again (this is not perfect but it hould work) - Value: 0 || 1

//oCMenu.checkscroll=0 		//Do you want the menu to check whether the page have scrolled or not? For frames you should always set this to 1. You can set this to 2 if you want this feature only on explorer since netscape doesn't support the window.onscroll this will make netscape slower (only if not using frames) - Value: 0 || 1 || 2
oCMenu.resizecheck=1 		//Do you want the page to reload if it's resized (This should be on or the menu will crash in Netscape4) - Value: 0 || 1
oCMenu.wait=300 		//How long to wait before hiding the menu on mouseout. Netscape 6 is a lot slower then Explorer, so to be sure that it works good enough there you should not have this lower then 500 - Value: milliseconds

//Background bar properties
oCMenu.usebar=1 		//If you want to use a background-bar for the top items set this on - Value: 1 || 0
oCMenu.barcolor="#cc3300" 	//The color of the background bar - Value: "color"
oCMenu.barwidth="760" 		//The width of the background bar. Set this to "menu" if you want it to be the same width as the menu. (this will change to match the border if you have one) - Value: px || "%" || "menu"
oCMenu.barheight=16	 	//The height of the background bar. Set this to "menu" if you want it to be the same height as the menu. (this will change to match the border if you have one) - Value: px || "%" || "menu"
oCMenu.barx=0	 		//The left position of the bar. Set this to "menu" if you want it be the same as the left position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
oCMenu.bary=61			//The top position of the bar Set this to "menu" if you want it be the same as the top position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
oCMenu.barinheritborder=0 	//Set this to 1 if you want the bar to have the same border as the top menus - Value: 0 || 1

//Placement properties
oCMenu.rows=1 			//This controls whether the top items is supposed to be laid out in rows or columns. Set to 0 for columns and 1 for row - Value 0 || 1
oCMenu.fromleft=0 		//This is the left position of the menu. (Only in use if menuplacement below is 0 or aligned) (will change to adapt any borders) - Value: px || "%"
oCMenu.fromtop=60 		//This is the left position of the menu. (Only in use if menuplacement below is 0 or aligned) (will change to adapt any borders) - Value: px || "%"
oCMenu.pxbetween=30 		//How much space you want between each of the top items. - Value: px || "%"

//oCMenu.menuplacement=new Array(10,160,310,460)
//oCMenu.menuplacement=new Array('2%','20%','36%','57%','70%','80%') 

//AEK - 2006-03-03 - oCMenu.menuplacement= new Array(0,100,200,300,450,550,650)
//AEK - 2007-08-29 - oCMenu.menuplacement= new Array(0,100,200,300,400,550,650,750)
oCMenu.menuplacement= new Array(0,100,200,300,400,550,650,750,850)

//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=160
oCMenu.level[0].height=16
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=0
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=215//oCMenu.level[0].width-2
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[0].width
oCMenu.level[1].offsetY=0//(oCMenu.leve1[1].height)/2
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow="/images/arrow.gif"
oCMenu.level[1].arrowWidth=6
oCMenu.level[1].arrowHeight=6


//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=225
oCMenu.level[2].height=20
oCMenu.level[2].offsetX=1
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"

/*Variables for each menu item: (** means that they have to be spesified!)
name: The name of the item. This must be unique for each item. Do not use spaces or strange charachters in this one! **
parent: The name of the menuitem you want this to "connect" to. This will be a submenu of the item that have the name you place in here. ** for all other then the topitems
text: The text you want in the item. ** (except if you use images) 
link: The page you want this item to link to.
target: The target window or frame you want the link to go to (Default is same window if you're not using frames, and the mainframe if you're using frames)
width: The width of the element. If not spesified it will get the default width spesified above.
height: The height of the element. If not spesified it will get the default height spesified above.
img1: The "off" image for element if you want to use images.
img2: The image that appears onmouseover if using images.
bgcoloroff: The background color for this item. If not spesified it will get the default background color spesified above.
bgcoloron: The "on" background color for this item. If not spesified it will get the default "on" background color spesified above.
textcolor: The text color for this item. If not spesified it will get the default text color spesified above.
hovercolor: The "on" text color for this item. If not spesified it will get the default "on" text color spesified above. Netscape4 ignores this
onclick: If you want something to happen when the element is clicked (different from going to a link) spesifiy it here.
onmouseover: This will happen when you mouseover the element. Could be status text, another imageswap or whatever.
onmouseout: This will happen when you mouseout the element.

Remember you can have as many levels/sublevels as you want. Just make sure you spesify the correct "parent" for each item.
To set styles for each level see above.
*/
////////////////
//Make the menus
////////////////

//Products
oCMenu.makeMenu('top0','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Products','pages/products/products.asp','','125')

//Markets - AEK - 03-03-2006
oCMenu.makeMenu('top7','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Markets','pages/products/markets.asp')
	