// JavaScript Document
/*** 
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
oCMenu.fromLeft=198 
oCMenu.fromTop=44   
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file://localhost/G:/EP/EP_EN_elepub.com/"
oCMenu.onlineRoot="/"
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="100%"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=0
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=190
oCMenu.level[0].height=20 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
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=oCMenu.level[0].width-2
oCMenu.level[1].height=22
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=-(oCMenu.level[0].width-2)/2+20
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=210
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','','','','','62','34','images/menu/whatIsIt.gif')
  oCMenu.makeMenu('sub00','top0','Overview','1_001.html')
  oCMenu.makeMenu('sub01','top0','What is so special?','1_002.html')
  oCMenu.makeMenu('sub02','top0','What is database publishing?','1_003.html')
  oCMenu.makeMenu('sub03','top0','What is object publishing?','1_004.html')
  oCMenu.makeMenu('sub04','top0','What is so different?','1_005.html')
  oCMenu.makeMenu('sub08','top0','What is cross-media publishing?','1_006.html')
	
oCMenu.makeMenu('top1','','','','','55','34','images/menu/benefits.gif')
	oCMenu.makeMenu('sub10','top1','Overview','2_001.html')
	oCMenu.makeMenu('sub11','top1','Publication types','2_002.html')
//	    oCMenu.makeMenu('sub110','sub11','Publishing for applications','2_002_01.html')
//		oCMenu.makeMenu('sub111','sub11','Online systems','2_002_02.html')
//		oCMenu.makeMenu('sub112','sub11','Offline and hybrid systems','2_002_03.html')
	oCMenu.makeMenu('sub12','top1','Application types >','')
		oCMenu.makeMenu('sub120','sub12','Why publishing for applications?','2_003_01.html')
		oCMenu.makeMenu('sub121','sub12','Online systems','2_003_02.html')
		oCMenu.makeMenu('sub122','sub12','Offline and hybrid systems','2_003_03.html')
		oCMenu.makeMenu('sub123','sub12','E-paper','2_003_04.html')
		oCMenu.makeMenu('sub124','sub12','Elecat electronic product catalog','2_003_05.html')
		oCMenu.makeMenu('sub125','sub12','Elecat automatic update system','2_003_06.html')
		oCMenu.makeMenu('sub126','sub12','CD-ROM based systems','2_003_07.html')		
//	oCMenu.makeMenu('sub13','top1','Benefits for print output','2_004.html')
//	oCMenu.makeMenu('sub14','top1','Benefits for HTML output','2_005.html')
//	oCMenu.makeMenu('sub15','top1','Benefits for electronic catalog','2_006.html')
//	oCMenu.makeMenu('sub16','top1','Multi-lingual output','2_007.html')
//	oCMenu.makeMenu('sub17','top1','Price lists','2_008.html')
//	oCMenu.makeMenu('sub18','top1','Practice','2_009.html')

oCMenu.makeMenu('top2','','','','','46','34','images/menu/details.gif')
	oCMenu.makeMenu('sub21','top2','Overview','3_001.html')
	oCMenu.makeMenu('sub22','top2','Product details','3_002.html')
	oCMenu.makeMenu('sub23','top2','The object publishing differences >','')
		oCMenu.makeMenu('sub230','sub23','Overview','3_003_01.html')
		oCMenu.makeMenu('sub231','sub23','Formatted database content','3_003_02.html')
		oCMenu.makeMenu('sub232','sub23','Rules and conditional publishing','3_003_03.html')
		oCMenu.makeMenu('sub233','sub23','Inheriting from ancesters','3_003_05.html')
		oCMenu.makeMenu('sub234','sub23','Pages are 3D container hierarchies','3_003_04.html')
		oCMenu.makeMenu('sub235','sub23','Pages from re-used objects','3_003_06.html')
		oCMenu.makeMenu('sub236','sub23','Object repository','3_003_07.html')
		oCMenu.makeMenu('sub237','sub23','Re-using content','3_003_08.html')
		oCMenu.makeMenu('sub238','sub23','About mothers and owners','3_003_09.html')
		oCMenu.makeMenu('sub239','sub23','Objects with content, format and behavior','3_003_10.html')
		oCMenu.makeMenu('sub2310','sub23','What are Elepub objects?','3_003_11.html')
		oCMenu.makeMenu('sub2311','sub23','Background of Elepub','3_003_12.html')
//	oCMenu.makeMenu('sub24','top2','Technology','3_004.html')
//		oCMenu.makeMenu('sub240','sub24','What are Elepub objects?','3_004_01.html')
//		oCMenu.makeMenu('sub241','sub24','History of Elepub','3_004_02.html')
	oCMenu.makeMenu('sub25','top2','CMS content management','3_005.html')
	oCMenu.makeMenu('sub26','top2','XML >','3_009.html')
		oCMenu.makeMenu('sub260','sub26','XML in Elepub','3_009_01.html')
		oCMenu.makeMenu('sub261','sub26','CARpub via XML','3_009_02.html')
		oCMenu.makeMenu('sub262','sub26','Via XML to and from DTP','3_009_03.html')
		oCMenu.makeMenu('sub263','sub26','Importance of XML','3_009_04.html')
	oCMenu.makeMenu('sub27','top2','Terminology','3_010.html')

oCMenu.makeMenu('top3','','','','','92','34','images/menu/products.gif')
//	oCMenu.makeMenu('sub30','top3','Overview','4_001.html')			//
	oCMenu.makeMenu('sub31','top3','The family','4_002.html')
	oCMenu.makeMenu('sub32','top3','For catalog publishers','4_003.html')
	oCMenu.makeMenu('sub33','top3','For service companies','4_004.html')
//	oCMenu.makeMenu('sub34','top3','For electronic catalogs','4_005.html')     //
	oCMenu.makeMenu('sub35','top3','Export to InDesign','4_006.html')
	oCMenu.makeMenu('sub36','top3','Catalog implementation services','4_008.html')
	oCMenu.makeMenu('sub37','top3','Requirements','4_009.html')

// oCMenu.makeMenu('top5','','','','','71','34','images/menu/pricesOrder.gif')
//	oCMenu.makeMenu('sub50','top5','End users','5_001.html')
//	oCMenu.makeMenu('sub51','top5','Catalog publishers','5_002.html')
//	oCMenu.makeMenu('sub52','top5','Graphics industry','5_003.html')
//	oCMenu.makeMenu('sub53','top5','Technology licenses','5_004.html')


//Leave this line - it constructs the menu
oCMenu.construct()		


