/*** 
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

//Menu properties   
oCMenu.pxBetween=10
oCMenu.fromLeft=10 
oCMenu.fromTop=80
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file:///C|/Documents and Settings/Administrator/Desktop/Clients/Birchfield/pressnet/pressnet/" 
oCMenu.onlineRoot="/" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="105%"
oCMenu.barHeight="20" 
oCMenu.barClass="cl2Bar"
oCMenu.barX=0 
oCMenu.barY=80
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=0
oCMenu.level[0].height=16
oCMenu.level[0].regClass="cl2Level0"
oCMenu.level[0].overClass="cl2Level0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="cl2Level0border"
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="top"


//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=oCMenu.level[0].width-2
oCMenu.level[1].height=16
oCMenu.level[1].regClass="cl2Level1"
oCMenu.level[1].overClass="cl2Level1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="cl2Level1border"
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].rows=0
oCMenu.level[1].arrow=0
oCMenu.level[1].arrowWidth=0
oCMenu.level[1].arrowHeight=0
oCMenu.level[1].align="right"

//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[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=oCMenu.level[1].width-2
oCMenu.level[2].height=16
oCMenu.level[2].regClass="cl2Level1"
oCMenu.level[2].overClass="cl2Level1over"
oCMenu.level[2].borderX=1
oCMenu.level[2].borderY=1
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=-(oCMenu.level[1].width-2)/2+10
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderClass="cl2Level1border"
oCMenu.level[2].offsetX=1
oCMenu.level[2].offsetY=-2
oCMenu.level[2].rows=0
oCMenu.level[2].arrow=0
oCMenu.level[2].arrowWidth=0
oCMenu.level[2].arrowHeight=0
oCMenu.level[2].align="right"


/******************************************
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','home.html','content','70')

oCMenu.makeMenu('top1','','ABOUT US','contact.html','content','90')

oCMenu.makeMenu('top2','','PRE-PRESS','new-prepress.html','content','90')
		oCMenu.makeMenu('sub22','top2','Colenta CtP','Colenta/Colenta.htm','content','125')
		oCMenu.makeMenu('sub24','top2','Video Platepunch','new-prepress.html#Tarngyun-start','content','125')
		oCMenu.makeMenu('sub25','top2','INK PROFILER CIP3','new-prepress.html#ink-start','content','125')
		  		
oCMenu.makeMenu('top3','','PRESS','new-sales.html','content','60')
		oCMenu.makeMenu('sub28','top3','HANS GRONHI','new-sales.html#Hansgronhi-start','content','110')
		oCMenu.makeMenu('sub29','top3','SAKURAI Presses','new-sales.html#Sakurai-start','content','110')
		oCMenu.makeMenu('sub30','top3','Rotek-pile turner','Rotek/Rotek.htm','content','110')
		
oCMenu.makeMenu('top4','','POST-PRESS','new-postsales.html','content','90')
		oCMenu.makeMenu('sub32','top4','MAGNA Folders','new-postsales.html#Magna-start','content','125')
		oCMenu.makeMenu('sub33','top4','HPM Guillotines','new-postsales.html#HPM-start','content','125')
		oCMenu.makeMenu('sub34','top4','JMD Binders','new-postsales.html#JMD-start','content','125')
		oCMenu.makeMenu('sub35','top4','BEIREN Saddlebind','BEIREN/Beiren LQD10.pdf','content','125')

oCMenu.makeMenu('top5','','PACKAGING','new-packaging.html','content','90')
		oCMenu.makeMenu('sub40','top5','Guangming Cello','new-packaging.html#Guangming-start','content','120')
		oCMenu.makeMenu('sub41','top5','MK Die, Foil, Fold','www.yuheng.com.cn/en/index.asp','content','120')
		oCMenu.makeMenu('sub42','top5','PETRATTO Fold & Glue','new-packaging.html#Petratto-start','content','120')
		oCMenu.makeMenu('sub43','top5','SLG 80cm Diecutter','new-packaging.html#SLG-start','content','120')

oCMenu.makeMenu('top6','centre','WEB','new-web.html','content','60')
		oCMenu.makeMenu('sub45','top6','ZIRKON','http://www.zirkon-leipzig.com/engl/home.htm','content','120')
		
oCMenu.makeMenu('top7','','MAILING','new-mailing.html','content','90')
		oCMenu.makeMenu('sub47','top7','Belca Polywrapper','http://www.belca.es/producto.php?id=105&lang=2','content','120')
		oCMenu.makeMenu('sub48','top7','KAS Inserters','http://www.kaspapersystems.com/Products.aspx','content','120')
		
oCMenu.makeMenu('top8','','Used Machines','used-machine-list.html','content','900')
	    oCMenu.makeMenu('sub50','top8','Used 52cm','used-machine-list.html#uft','content','100')
		oCMenu.makeMenu('sub51','top8','Used 66 & 75cm','used-machine-list.html#usf','content','100')
		oCMenu.makeMenu('sub52','top8','Used 91 & 102cm','used-machine-list.html#uwot','content','100')
		oCMenu.makeMenu('sub53','top8','Used Bindery','used-machine-list.html#ub','content','100')
		oCMenu.makeMenu('sub54','top8','Used Web Offset','used-machine-list.html#uwo','content','100')

oCMenu.makeMenu('top9','','3 BANANAS','bananas/bananas.htm','content','90')


//Leave this line - it constructs the menu
oCMenu.construct()