// 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=139 
oCMenu.fromTop=50   
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
oCMenu.offlineRoot="file://localhost/G:/catalogpool.com/"
//oCMenu.offlineRoot="file://localhost/I:/websites/catalogpool.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=180
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=200
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','','','http://www.catalogpool.com/index.html','','54','21','/images/menu/home.gif','/images/menu/home1.gif')
// homepage in various languages
//  oCMenu.makeMenu('sub00','top0','Deutsch','/de/index.html')
//  oCMenu.makeMenu('sub01','top0','English','index.html')
//  oCMenu.makeMenu('sub02','top0','Espanol','index_espanol.html')
//  oCMenu.makeMenu('sub03','top0','Francais','index_francais.html')
//  oCMenu.makeMenu('sub04','top0','Portugues','index_portugues.html')
//  oCMenu.makeMenu('sub05','top0','Italiano','index_italiano.html')
//  oCMenu.makeMenu('sub06','top0','Russkiy','index_russkiy.html')
//  oCMenu.makeMenu('sub07','top0','Magyar','index_magyar.html')
//  oCMenu.makeMenu('sub08','top0','Slovensky','index_slovensky.html')
//  oCMenu.makeMenu('sub09','top0','Srpskohrvatski','index_srpskohrvatski.html')

oCMenu.makeMenu('top1','','','','','79','21','/images/menu/what.gif','/images/menu/what1.gif')
  oCMenu.makeMenu('sub10','top1','What is CATpool?','1_001_What_is_CATpool.html')
  oCMenu.makeMenu('sub11','top1','Goals and purpose','1_011_Goals_and_purpose.html')
  oCMenu.makeMenu('sub12','top1','What is the software for?','1_002_What_Is_the_software.html')
  oCMenu.makeMenu('sub13','top1','What is the data?','1_003_what_is_the_data.html')
  oCMenu.makeMenu('sub14','top1','What are the services?','1_004_what_are_the_services.html')
  oCMenu.makeMenu('sub15','top1','Who is CATpool for?','1_006_who_is_CATpool_for.html')
  oCMenu.makeMenu('sub16','top1','Differences to other systems','1_007_Differences.html')
  oCMenu.makeMenu('sub17','top1','Why is CATpool free for all?','1_015_why_free.html')

oCMenu.makeMenu('top2','','','','','76','21','/images/menu/prod.gif','/images/menu/prod1.gif')
	oCMenu.makeMenu('sub20','top2','CATpool-Base<br />Product Database Management','3_003_CP_PCM.html','','','35')
	oCMenu.makeMenu('sub21','top2','CATpool-AIS<br/>Article Information System','3_003_CP_AIS.html','','','35')
	oCMenu.makeMenu('sub22','top2','CATpool-COM Communication','3_003_CP_COM.html')
	oCMenu.makeMenu('sub24','top2','CATpool-Q Quotes generator','3_003_CP_Q.html')
	oCMenu.makeMenu('sub25','top2','Your private CATpool','3_020_Your_private_CATpool.html')
	oCMenu.makeMenu('sub27','top2','CATpool versions and B2C','4_100_CP_Varianten.html')
	oCMenu.makeMenu('sub26','top2','CATpool-Enterprise','4_021_Enterprise.html')

oCMenu.makeMenu('top3','','','','','65','21','/images/menu/det.gif','/images/menu/det1.gif')
	oCMenu.makeMenu('sub30','top3','Benefits for data users','3_001_Benefits_for_consumers.html')
	oCMenu.makeMenu('sub31','top3','Benefits for data vendors','3_002_Benefits_for_vendors.html')
	oCMenu.makeMenu('sub32','top3','eCl@ss','3_074_eclass.html')
//	oCMenu.makeMenu('sub33','top3','Special benefits for dealers','4_003_Dealers_as_data_vendors.html')	open up later
	oCMenu.makeMenu('sub34','top3','Public, private data etc','4_005_Public_Data.html')		
	oCMenu.makeMenu('sub35','top3','Confidential data','4_008_Confidential_data.html')			
	oCMenu.makeMenu('sub36','top3','CATpool portal','4_012_CP-Portal.html')
	oCMenu.makeMenu('sub37','top3','YellowParts portal','4_013_YP-Portal.html')
	oCMenu.makeMenu('sub38','top3','What are SME?','4_015_SME.html')
	oCMenu.makeMenu('sub39','top3','Definitions','4_016_Definitions.html')
	oCMenu.makeMenu('sub81','top3','Become our distribution partner','http://www.yellowparts.com/4020.html')	
	oCMenu.makeMenu('sub82','top3','Add your software/technical partner','http://www.yellowparts.com/4023.html')	
	oCMenu.makeMenu('sub83','top3','Your software as part of CATpool','4_021_Othersw.html')	


oCMenu.makeMenu('top4','','','','','87','21','/images/menu/downloads1.gif','/images/menu/downloads.gif')
	oCMenu.makeMenu('sub40','top4','Join CATpool','5_009_Join_CATpool.html')
	oCMenu.makeMenu('sub41','top4','Your usage rights','5_050_CPProducts.html')
	oCMenu.makeMenu('sub42','top4','Download','5_001_Download_CATpool.html')
//	oCMenu.makeMenu('sub43','top4','Prices','5_006_Pricing.html')		nur im Mitglieder-Bereich


//Leave this line - it constructs the menu
oCMenu.construct()		


