/*** 
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 NUMBER 1 **********************************/

//Menu object creation
oCMenu1=new makeCM("oCMenu1") //Making the menu object. Argument: menuname

//Menu properties   
oCMenu1.pxBetween=-1
oCMenu1.fromLeft=12
oCMenu1.fromTop=280
oCMenu1.rows=0
oCMenu1.menuPlacement="left"

oCMenu1.offlineRoot="" 
oCMenu1.onlineRoot="" 
oCMenu1.resizeCheck=1
oCMenu1.wait=500 
oCMenu1.zIndex=0

//Level properties - ALL properties have to be spesified in level 0
oCMenu1.level[0]=new cm_makeLevel() //Add this for each new level

oCMenu1.level[0].width=130
oCMenu1.level[0].height=40 
oCMenu1.level[0].regClass="cl2Level0"
oCMenu1.level[0].overClass="cl2Level0over"
oCMenu1.level[0].borderX=0
oCMenu1.level[0].borderY=1
oCMenu1.level[0].borderClass="cl2Level0border"
oCMenu1.level[0].offsetX=-10
oCMenu1.level[0].offsetY=5
oCMenu1.level[0].arrow="images/arrow_menu.gif"
oCMenu1.level[0].arrowWidth=8
oCMenu1.level[0].arrowHeight=7
oCMenu1.level[0].align="top"


//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
oCMenu1.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)

//oCMenu1.level[1].clippx=15

oCMenu1.level[1].width=150
oCMenu1.level[1].height=35
oCMenu1.level[1].regClass="cl2Level1"
oCMenu1.level[1].overClass="cl2Level1over"
oCMenu1.level[1].borderX=0
oCMenu1.level[1].borderY=1
oCMenu1.level[1].align=""
oCMenu1.level[1].offsetX=-1
oCMenu1.level[1].offsetY=1
//oCMenu1.level[1].borderClass="cl2Level1border"
oCMenu1.level[1].arrow=""
oCMenu1.level[0].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) 
*************************************/

oCMenu1.makeMenu('top1','','SWSCHP','','','','25')
	oCMenu1.makeMenu('sub00','top1','About Us','content/about_us.html','','','25')
	oCMenu1.makeMenu('sub01','top1','Mission Statement','content/miss_state.html','','','25')
	oCMenu1.makeMenu('sub02','top1','SWSCHP Alerts','content/alerts.html','','','25')
	oCMenu1.makeMenu('sub03','top1','Committees','content/committees.html','','','25')
	oCMenu1.makeMenu('sub04','top1','Participating Districts','content/part_dist.html','','','25')
	oCMenu1.makeMenu('sub05','top1','Participating Providers','content/part_providers.html','','','25')

oCMenu1.makeMenu('top2','','Member Services','content/memb_services.html','','','25')
	oCMenu1.makeMenu('sub06','top2','How To Submit a Claim','content/submit_claim.html','','','25')
	oCMenu1.makeMenu('sub07','top2','Prescription Drugs','content/pres_drugs.html','','','25')
	oCMenu1.makeMenu('sub08','top2','Formulary Member <br>Guide (Acrobat)','pdf/preferred_presc_guide.pdf','_blank')
	
oCMenu1.makeMenu('top3','','Information Services','')
	oCMenu1.makeMenu('sub09','top3','For Providers','content/for_prov.html','','','25')
	oCMenu1.makeMenu('sub10','top3','For Benefit Administrators','content/for_admin.html')
	oCMenu1.makeMenu('sub11','top3','Latest Administrators News','content/admin_news.html')

oCMenu1.makeMenu('top4','','Coverages','content/coverages.html','','','25')
	oCMenu1.makeMenu('sub12','top4','Eligibility','content/eligibility.html','','','25')
	oCMenu1.makeMenu('sub13','top4','Medical Management Program','content/med_man_prog.html')
	oCMenu1.makeMenu('sub14','top4','Extended Expense <br>Benefit','content/ext_exp_ben.html')
	oCMenu1.makeMenu('sub15','top4','Whats Covered','content/whats_cov.html','','','25')
	oCMenu1.makeMenu('sub16','top4','Whats Not Covered','content/whats_not_cov.html','','','25')
	oCMenu1.makeMenu('sub17','top4','Having Other Insurance ','content/having_ins.html','','','25')
	oCMenu1.makeMenu('sub18','top4','Benefit Termination','content/ben_term.html','','','25')
	oCMenu1.makeMenu('sub19','top4','Benefit Continuation','content/ben_cont.html','','','25')
	oCMenu1.makeMenu('sub20','top4','The Appeal Process','content/app_proc.html','','','25')

oCMenu1.makeMenu('top5','','Forms & Publications','content/forms_pubs.html','','','')
oCMenu1.makeMenu('top6','','Contact Us','content/contact.html','','','25')
	
//Leave this line - it constructs the menu
oCMenu1.construct()	
	
//Extra test code to customize the CoolMenus.
var xx,yy

function getCoords(e){
	xx=(bw.ns4 || bw.ns6)?e.pageX:event.x||event.clientX
  yy=(bw.ns4 || bw.ns6)?e.pageY:event.y||event.clientY
}

//Capturing onmousemove event
if(bw.ns4) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove=getCoords;	
