/*** 
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=5
oCMenu.fromLeft=38
oCMenu.fromTop=93
oCMenu.rows=1 
oCMenu.menuPlacement=0
                                                             
oCMenu.offlineRoot="../" 
oCMenu.onlineRoot="../" 
oCMenu.resizeCheck=1 
oCMenu.wait=250 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Netscape 4 and Opera form work-around !! !! !! !! !!
if(bw.ns4 || bw.op5 || bw.op6){
  oCMenu.onshow="document.layers?document.layers.formLayer.visibility='hidden':document.getElementById('formDiv').style.visibility='hidden';"
  oCMenu.onhide="document.layers?document.layers.formLayer.visibility='visible':document.getElementById('formDiv').style.visibility='visible';"
}

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="800"
oCMenu.barHeight="23" 
oCMenu.barClass="clBar"
oCMenu.barX=35 
oCMenu.barY=100
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=90
oCMenu.level[0].height=15 
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=-4
oCMenu.level[0].offsetY=5
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=23
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=3
oCMenu.level[1].borderClass="clLevel1border"


/******************************************
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','index.html','','70')
	
oCMenu.makeMenu('top1','','Pictures','','','85')
   oCMenu.makeMenu('sub010','top1','John Vito & Jill','jvandjpics.html','','130')
	oCMenu.makeMenu('sub11','top1','Amazing Race','amazingracepics.html','','130')
	oCMenu.makeMenu('sub12','top1','New Race Photos!','newracephotos.html','','130')
	oCMenu.makeMenu('sub13','top1','Souvenirs From The Race','souvenirs.html','','130')
	oCMenu.makeMenu('sub14','top1','TAR3 Premiere Party','ar3premierepartypics.html','','130')
	oCMenu.makeMenu('sub15','top1','TAR3 Finale Party','tar3finaleparty.html','','130')
	oCMenu.makeMenu('sub16','top1','Amazing Racers','amazingracerpics.html','','130')
	oCMenu.makeMenu('sub17','top1','Singapore','singaporepics.html','','130')
	oCMenu.makeMenu('sub18','top1','Reality4Diabetes','reality4diabetes.html','','130')
	oCMenu.makeMenu('sub19','top1','TAR4 Finale Party','tar4finaleparty.html','','130')
	
oCMenu.makeMenu('top2','','Biographies','','','100')
	oCMenu.makeMenu('sub20','top2','John Vito\'s Bio','jvbio.html','','110')
	oCMenu.makeMenu('sub21','top2','Jill\'s Bio','jillbio.html','','110')
	
oCMenu.makeMenu('top3','','News & Appearances','','','150')
	oCMenu.makeMenu('sub30','top3','News','news.html','','110')
	oCMenu.makeMenu('sub31','top3','Appearances','appearances.html','','110')
	
 oCMenu.makeMenu('top4','','Behind The Scenes','','','135')
	oCMenu.makeMenu('sub40','top4','Episode 1','comingsoon.html','','110')
	oCMenu.makeMenu('sub41','top4','Episode 2','comingsoon.html','','110')
	oCMenu.makeMenu('sub42','top4','Episode 3','comingsoon.html','','110')

		
oCMenu.makeMenu('top5','','FAQs','','','65')
	oCMenu.makeMenu('sub50','top5','Frequently Asked Questions','faqs.html','','110','40')
		
oCMenu.makeMenu('top6','','Links','','','73')
	oCMenu.makeMenu('sub60','top6','CBS The Amazing Race 3','http://www.cbs.com/primetime/amazing_race3/','_blank','134')
	oCMenu.makeMenu('sub61','top6','AaronandArianne.com','http://www.aaronandarianne.com','_blank','134')
	oCMenu.makeMenu('sub64','top6','FloZach.com','http://www.flozach.com','_blank','134')
	oCMenu.makeMenu('sub62','top6','KenandGerard.com','http://www.kenandgerard.com','_blank','134')
	oCMenu.makeMenu('sub67','top6','KyAndrew.com','http://www.kentuckyandrew.com','_blank','134')
	oCMenu.makeMenu('sub63','top6','MichaelandKathyTAR3.com','http://www.michaelandkathytar3.com','_blank','134')
	oCMenu.makeMenu('sub66','top6','Soccer Moms','http://www.ginaandsylvia.com','_blank','134')
	oCMenu.makeMenu('sub65','top6','TeriIan.com','http://www.teriian.com/','_blank','134')
	oCMenu.makeMenu('sub68','top6','KevinandDrew.com','http://www.kevinanddrew.com','_blank','134')
	oCMenu.makeMenu('sub69','top6','UBetWhat.com','http://www.ubetwhat.com/welcome/?source=JJV','_blank','134')
	oCMenu.makeMenu('sub610','top6','CouponPages.com','http://www.couponpages.com','_blank','134')
	oCMenu.makeMenu('sub611','top6','Daszign.com','http://www.daszign.com','_blank','134')
	oCMenu.makeMenu('sub612','top6','BondTalk.com','http://www.bondtalk.com','_blank','134')
	oCMenu.makeMenu('sub613','top6','ConExchange.com','http://www.conexchange.com','_blank','134')

oCMenu.makeMenu('top7','','Email','mailto:jvandj@johnvitoandjill.com','','85','','','','','','')
//	oCMenu.makeMenu('sub70','top7','JVandJ@johnvitoandjill.com','mailto:jvandj@johnvitoandjill.com','','145')
//Leave this line - it constructs the menu
oCMenu.construct()