/*** 
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=0
oCMenu.fromLeft=0 
oCMenu.fromTop=36   
oCMenu.rows=1 
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=800 
oCMenu.fillImg="../cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth="760"
oCMenu.barHeight="20" 
oCMenu.barClass="clBar"
oCMenu.barX="menu"
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=113
oCMenu.level[0].height=20
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=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=17
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"

/******************************************
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('stats','','','','',124,'',"../V2_HEADER_SPORTSDATA_OFF.gif","../V2_HEADER_SPORTSDATA_ON.gif")
	oCMenu.makeMenu('stats0','stats','american football','http://biz.stats.com/americanfootball.asp','',120)
	oCMenu.makeMenu('stats1','stats','baseball','http://biz.stats.com/baseball.asp','',120)
	oCMenu.makeMenu('stats2','stats','basketball','http://biz.stats.com/basketball.asp','',120)
	oCMenu.makeMenu('stats3','stats','boxing','http://biz.stats.com/boxing.asp','',120)
	oCMenu.makeMenu('stats4','stats','canadian football','http://biz.stats.com/canadianfootball.asp','',120)
	oCMenu.makeMenu('stats5','stats','cricket','http://biz.stats.com/cricket.asp','',120)
	oCMenu.makeMenu('stats6','stats','cycling','http://biz.stats.com/cycling.asp','',120)
	oCMenu.makeMenu('stats7','stats','football/soccer','http://biz.stats.com/fb.asp','',120)
	oCMenu.makeMenu('stats8','stats','golf','http://biz.stats.com/golf.asp','',120)
	oCMenu.makeMenu('stats9','stats','hockey','http://biz.stats.com/hockey.asp','',120)
	oCMenu.makeMenu('stats10','stats','lacrosse','http://biz.stats.com/lacrosse.asp','',120)
	oCMenu.makeMenu('stats11','stats','mixed martial arts','http://biz.stats.com/mma.asp','',120)
	oCMenu.makeMenu('stats12','stats','motorsports','http://biz.stats.com/motorsport.asp','',120)
	oCMenu.makeMenu('stats13','stats','olympics','http://biz.stats.com/olympics.asp','',120)
	oCMenu.makeMenu('stats14','stats','poker','http://biz.stats.com/poker.asp','',120)
	oCMenu.makeMenu('stats15','stats','rugby','http://biz.stats.com/rugby.asp','',120)
	oCMenu.makeMenu('stats16','stats','tennis','http://biz.stats.com/tennis.asp','',120)
	
oCMenu.makeMenu('top1','','SECTORS','','',124,'',"../V2_HEADER_SECTORS_OFF.gif","../V2_HEADER_SECTORS_ON.gif")
	oCMenu.makeMenu('sub10','top1','real-time data','http://biz.stats.com/realtime.asp','',120)
	oCMenu.makeMenu('sub11','top1','historical data','http://biz.stats.com/historicaldata.asp','',120)	
	oCMenu.makeMenu('sub12','top1','tv','http://biz.stats.com/broadcast.asp','',120)
	oCMenu.makeMenu('sub13','top1','interactive tv','http://biz.stats.com/interactive_tv.asp','',120)
	oCMenu.makeMenu('sub14','top1','branding','http://biz.stats.com/branding.asp','',120)
	oCMenu.makeMenu('sub15','top1','web','http://biz.stats.com/web.asp','',120)
	oCMenu.makeMenu('sub16','top1','teams','http://biz.stats.com/teams.asp','',120)
	oCMenu.makeMenu('sub17','top1','agents','http://biz.stats.com/player_agents.asp','',120)
	oCMenu.makeMenu('sub18','top1','leagues','http://biz.stats.com/leagues.asp','',120)
	oCMenu.makeMenu('sub19','top1','conferences','http://biz.stats.com/conferences.asp','',120)
	oCMenu.makeMenu('sub191','top1','print','http://biz.stats.com/newspapers_mag.asp','',120)
	oCMenu.makeMenu('sub192','top1','trading cards','http://biz.stats.com/tradingcards.asp','',120)
	oCMenu.makeMenu('sub193','top1','wireless','http://biz.stats.com/wireless.asp','',120)
	oCMenu.makeMenu('sub194','top1','gaming','http://biz.stats.com/video_games.asp','',120)
	
oCMenu.makeMenu('top2','','AP SPORTS','','',124,'',"../V2_HEADER_APSPORTS_OFF.gif","../V2_HEADER_APSPORTS_ON.gif")
	oCMenu.makeMenu('sub20','top2','editorial','http://biz.stats.com/ap_content.asp','',120)
	oCMenu.makeMenu('sub21','top2','photos','http://biz.stats.com/ap_photos.asp','',120)
	oCMenu.makeMenu('sub22','top2','video','http://biz.stats.com/ap_video.asp','',120)
	oCMenu.makeMenu('sub23','top2','interactives','http://biz.stats.com/ap_interactive.asp','',120)
	
oCMenu.makeMenu('top4','','FANTASY','','',124,'',"http://biz.stats.com/V2_HEADER_FANTASY_OFF.gif","../V2_HEADER_FANTASY_ON.gif")
	oCMenu.makeMenu('sub40','top4','game management','http://biz.stats.com/game_management.asp','',120)
	oCMenu.makeMenu('sub41','top4','fantasy statistics','http://biz.stats.com/stats_fantasy_statistics.asp','',120)
	oCMenu.makeMenu('sub42','top4','fantasy products','http://biz.stats.com/stats_fantasy_games.asp','',120)
	oCMenu.makeMenu('sub43','top4','news & notes','http://biz.stats.com/stats_fantasy_news_notes.asp','',120)

oCMenu.makeMenu('top5','','SOLUTIONS','','',124,'',"../V2_HEADER_SOLUTIONS_OFF.gif","../V2_HEADER_SOLUTIONS_ON.gif")
	oCMenu.makeMenu('sub50','top5','hosted solution', 'http://biz.stats.com/hoss.asp','',120)
	oCMenu.makeMenu('sub51','top5','stats pass', 'http://biz.stats.com/stats_pass.asp','',120)
	oCMenu.makeMenu('sub52','top5','wap', 'http://biz.stats.com/wap.asp','',120)
	oCMenu.makeMenu('sub53','top5','custom applications', 'http://biz.stats.com/customapp.asp','',120)
	
oCMenu.makeMenu('top6','','&nbsp;&nbsp;ABOUT US','','',124,'',"http://biz.stats.com/V2_HEADER_ABOUT_OFF.gif","../V2_HEADER_ABOUT_ON.gif")
	oCMenu.makeMenu('sub60','top6','history', 'http://biz.stats.com/history.asp','',120)
	oCMenu.makeMenu('sub61','top6','mission', 'http://biz.stats.com/mission.asp','',120)
	oCMenu.makeMenu('sub62','top6','management', 'http://biz.stats.com/management.asp','',120)
	oCMenu.makeMenu('sub63','top6','clients', 'http://biz.stats.com/client.asp','',120)
	oCMenu.makeMenu('sub64','top6','board of directors', 'http://biz.stats.com/board.asp','',120)
	oCMenu.makeMenu('sub65','top6','news', 'http://biz.stats.com/news.asp','',120)
	oCMenu.makeMenu('sub66','top6','jobs', 'http://biz.stats.com/jobs.asp','',120)	
	oCMenu.makeMenu('sub67','top6','testimonials', 'http://biz.stats.com/testimonials.asp','',120)
	oCMenu.makeMenu('sub68','top6','contact us', 'http://biz.stats.com/help/contact_us.asp','',120)
	oCMenu.makeMenu('sub69','top6','sports we cover', 'http://biz.stats.com/sportswecover.asp','',120)
	oCMenu.makeMenu('sub70','top6','samples', 'http://biz.stats.com/samples.asp','',120)	
	oCMenu.makeMenu('sub71','top6','media', 'http://biz.stats.com/media.asp','',120)	
	oCMenu.makeMenu('sub72','top6','style guide', 'http://biz.stats.com/style_sheet.asp','',120)	
	oCMenu.makeMenu('sub73','top6','site index', 'http://biz.stats.com/site_index.asp','',120)	
		
oCMenu.construct()


