/*** 
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=10
oCMenu.fromTop=110
oCMenu.rows=1
oCMenu.menuPlacement="left"

oCMenu.offlineRoot=""
oCMenu.onlineRoot="http://www.timetronics.be"
oCMenu.resizeCheck=1
oCMenu.wait=500
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=85
oCMenu.level[0].height=25 
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=-1
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"


oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[1].width=90
oCMenu.level[1].height=21
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].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('top1','','TimeTronics','/index.php','',90)
	oCMenu.makeMenu('sub10','top1','Home','/index.php')
	oCMenu.makeMenu('sub11','top1','About Us','/aboutus/aboutus.php')
	oCMenu.makeMenu('sub12','top1','Contact Us','/contact/contact.php')
	oCMenu.makeMenu('sub13','top1','Links','/references/links.php')
oCMenu.makeMenu('top2','','News','/news/news.php','',73)
oCMenu.makeMenu('top3','','Sports','/index.php')
	oCMenu.makeMenu('sub30','top3','Athletics','/products/athletics.php','',120)
	oCMenu.makeMenu('sub31','top3','Cycling','/products/cycling.php','',120)
	oCMenu.makeMenu('sub32','top3','Horse races','/products/horseraces.php','',120)
	oCMenu.makeMenu('sub33','top3','Greyhound races','/products/greyhoundraces.php','',120)
	oCMenu.makeMenu('sub34','top3','Regatta','/products/regatta.php','',120)
	oCMenu.makeMenu('sub35','top3','Other sports','/products/othersports.php','',120)
oCMenu.makeMenu('top4','','Products','/products/products_overview.php')
	oCMenu.makeMenu('sub40','top4','Photo-finish','/products/macfinish.php','',185)
	oCMenu.makeMenu('sub410','top4','VideoID','/products/videoid.php','',185)
	oCMenu.makeMenu('sub41','top4','ScoreBoards','/products/scoreboards.php','',185)
	oCMenu.makeMenu('sub42','top4','FalseStart','/products/falsestart.php','',185)
	oCMenu.makeMenu('sub43','top4','WindSpeed','/products/windspeed.php','',185)
	oCMenu.makeMenu('sub44','top4','Laser Distance Measurement','/products/laser.php','',185)
	oCMenu.makeMenu('sub45','top4','FieldTerminal','/products/fieldterminal.php','',185)
	oCMenu.makeMenu('sub46','top4','Athletics Manager','/products/athleticsmanager.php','',185)
	oCMenu.makeMenu('sub47','top4','Regatta Split Timing','/products/regatta.php#splittiming','',185)
	oCMenu.makeMenu('sub48','top4','Velodrome timing','/products/cycling.php#velodrometiming','',185)
	oCMenu.makeMenu('sub49','top4','TimeTrial','/products/cycling.php#timetrial','',185)
oCMenu.makeMenu('top5','','References','/references/references.php')
oCMenu.makeMenu('top6','','Distributors','/distributors/distributors.php')
oCMenu.makeMenu('top7','','Shop','/shop/shop.php','',73)
oCMenu.makeMenu('top8','','Promotions','/promotions/promotions.php')
oCMenu.makeMenu('top9','','Support','/support/support.php','',73)
	oCMenu.makeMenu('sub90','top9','FAQ','/support/faq.php','',73)
	oCMenu.makeMenu('sub91','top9','Manuals','/support/manuals.php','',73)
	oCMenu.makeMenu('sub92','top9','Downloads','/support/downloads.php','',73)
	oCMenu.makeMenu('sub94','top9','Brochures','/support/brochures.php','',73)
	oCMenu.makeMenu('sub93','top9','Catalogue','/support/catalogue.php','',73)
oCMenu.makeMenu('top10','','Jobs','/jobs/jobs.php','',73)

//Leave this line - it constructs the menu
if(!(bw.ie5&&bw.mac)) oCMenu.construct()