/*Browsercheck object - we have to move this into the page to prevent an error in NS4*/
function cm_bwcheck(){
	//In theory we should use object detection, but this script needs work-arounds for almost every browser...
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent.toLowerCase()
	this.dom=document.getElementById?1:0
	this.ns4=(!this.dom && document.layers)?1:0;
	this.op=window.opera 
	this.moz=(this.agent.indexOf("gecko")>-1 || window.sidebar)
	this.ie=this.agent.indexOf("msie")>-1 && !this.op
	if(this.op){
		this.op5=(this.agent.indexOf("opera 5")>-1 || this.agent.indexOf("opera/5")>-1)
		this.op6=(this.agent.indexOf("opera 6")>-1 || this.agent.indexOf("opera/6")>-1)
		this.op7=this.dom&&!this.op5&&!this.op6 //So all higher opera versions will use it
	}else if(this.moz) this.ns6 = 1
	else if(this.ie){
		this.ie4 = !this.dom && document.all
  	this.ie5 = (this.agent.indexOf("msie 5")>-1)
  	this.ie55 = (this.ie5 && this.agent.indexOf("msie 5.5")>-1)
  	this.ie6 = this.dom && !this.ie4 && !this.ie5 && ! this.ie55
	}
	this.mac=(this.agent.indexOf("mac")>-1)
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.op5 || this.op6 || this.op7)
  this.usedom= this.ns6||this.op7//Use dom creation
  this.reuse = this.ie||this.op7||this.usedom //Reuse layers
  this.px=this.dom&&!this.op5?"px":""
	return this
}

var bw=new cm_bwcheck()

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

if(bw.ns4) if(!oCMenu["makeMenu"] || !bw["ns4"]) self.location.reload()

//Frame properties
oCMenu.frames = 1

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=5 
oCMenu.fromTop=165  
oCMenu.rows=1
oCMenu.menuPlacement="center"
                                                             
oCMenu.offlineRoot=""
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg=""
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=150
oCMenu.level[0].height=20 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=2
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=-2
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=145
oCMenu.level[1].height=20
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=-2
oCMenu.level[1].rows=0
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderClass="clLevel1border"
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('top0','','FSA Education','','',90,35)
	oCMenu.makeMenu('sub00','top0','2012 English FSA Education','','','','30')
		oCMenu.makeMenu('sub100','sub00','General Enrollment','docs/webinar/Increasing FSA Enrollment.ppsx','_blank')
		oCMenu.makeMenu('sub101','sub00','20 Something Enrollment','docs/webinar/Increasing FSA Enrollment Lifestyle-20 Something.ppsx','_blank')
		oCMenu.makeMenu('sub102','sub00','Family Enrollment','docs/webinar/Increasing FSA Enrollment Lifestyle-Family.ppsx','_blank')
		oCMenu.makeMenu('sub103','sub00','Orthodontia Enrollment','docs/webinar/Increasing FSA Enrollment-Braces.ppsx','_blank')
	oCMenu.makeMenu('sub01','top0','FSA Educaci&oacute;n Espa&ntilde;ola del A&ntilde;o 2012','','','','30')
		oCMenu.makeMenu('sub104','sub01','Inscripti&oacute;n General','docs/webinar/Increasing FSA Enrollment Spanish.ppsx','_blank')
		oCMenu.makeMenu('sub105','sub01','Ve&iacute;nte Algo','docs/webinar/Increasing FSA Enrollment Lifestyle-20 Something Spanish.ppsx','_blank')
		oCMenu.makeMenu('sub106','sub01','Inscripti&oacute;n de Fam&iacute;l&iacute;a','docs/webinar/Increasing FSA Enrollment Lifestyle-Family Spanish.ppsx','_blank')
		oCMenu.makeMenu('sub107','sub01','Inscripti&oacute;n de Orthodonc&iacute;a','docs/webinar/Increasing FSA Enrollment-Braces Spanish.ppsx','_blank','','30')
	oCMenu.makeMenu('sub02','top0','FSA Powerpoint')
		oCMenu.makeMenu('sub108','sub02','with Benny with Text','docs/webinar/PowerPoint - FSA w - Benny 2011 - with Text (Rev06072011).ppsx','_blank')
		oCMenu.makeMenu('sub109','sub02','without Benny with Text','docs/webinar/PowerPoint - FSA Without Benny with Text (Rev06072011).ppsx','_blank')
	oCMenu.makeMenu('sub03','top0','Benny FSA Video')
		oCMenu.makeMenu('sub110','sub03','with Text','docs/webinar/BeneFlex-FSA.html','_blank')
		oCMenu.makeMenu('sub111','sub03','with Narration','http://www.evolutionbenefits.com/FSA_Program/FSA.html','_blank')
	oCMenu.makeMenu('sub04','top0','Frequently Asked Questions','','','','30')
		oCMenu.makeMenu('sub010','sub04','Dependent Care','http://www.beneflexhr.com/docs/webinar/FAQ_DCAP_1120.pdf','_blank')
		oCMenu.makeMenu('sub020','sub04','COBRA FAQs','http://www.beneflexhr.com/docs/webinar/FAQS for BeneFLEX (COBRA).pdf','_blank')
		oCMenu.makeMenu('sub030','sub04','FSA FAQs','http://www.beneflexhr.com/docs/webinar/Limited Purpose Medical FSA FAQs.pdf','_blank')
		oCMenu.makeMenu('sub040','sub04','LFSA FAQs','http://www.beneflexhr.com/docs/webinar/LFSA FAQ.pdf','_blank')
		
oCMenu.makeMenu('top1','','EMPLOYER SERVICES','','',75,35)
	oCMenu.makeMenu('sub10','top1','Section 125','docs/service/svc_125.html')
	oCMenu.makeMenu('sub11','top1','Employer Enrollment Tools','','','','30')
		oCMenu.makeMenu('sub200','sub11','Enrollment Brochure','http://www.beneflexhr.com/pdf/beneflex_enrollment_brochure.pdf','_blank','250')
		oCMenu.makeMenu('sub201','sub11','Employee Communication on Enrollment','http://www.beneflexhr.com/pdf/Letter for Clients to send EES.docx','_blank','250')
		oCMenu.makeMenu('sub202','sub11','FSA Payroll Stuffer','http://www.beneflexhr.com/pdf/payroll_stuffer_2012.pdf','_blank','250')
		oCMenu.makeMenu('sub203','sub11','FSA Payroll - Spanish','http://www.beneflexhr.com/pdf/payroll_stuffer_2012_spanish.pdf','_blank','250')
		oCMenu.makeMenu('sub204','sub11','Posters','','','250')
			oCMenu.makeMenu('sub218','sub204','FSA Poster','http://www.beneflexhr.com/pdf/fsa poster_2012.pdf','_blank','250')
			oCMenu.makeMenu('sub219','sub204','Drugstore.com','http://www.beneflexhr.com/pdf/BeneFlex Poster - online only.pdf','_blank','250')
		oCMenu.makeMenu('sub205','sub11','Receipt Reminder Envelope','http://www.beneflexhr.com/pdf/receipt_envelope.pdf','_blank','250')
		oCMenu.makeMenu('sub206','sub11','Employee Online Enrollment Tutorial','http://www.beneflexhr.com/pdf/employee_online_enrollment.pdf','_blank','250')
		oCMenu.makeMenu('sub207','sub11','Employer Online Enrollment Tutorial','http://www.beneflexhr.com/pdf/employer_online_enrollment.pdf','_blank','250')
		oCMenu.makeMenu('sub208','sub11','2012 English FSA Education','','','250')
			oCMenu.makeMenu('sub209','sub208','General Enrollment','docs/webinar/Increasing FSA Enrollment.ppsx','_blank')
			oCMenu.makeMenu('sub210','sub208','20 Something Enrollment','docs/webinar/Increasing FSA Enrollment Lifestyle-20 Something.ppsx','_blank')
			oCMenu.makeMenu('sub211','sub208','Family Enrollment','docs/webinar/Increasing FSA Enrollment Lifestyle-Family.ppsx','_blank')
			oCMenu.makeMenu('sub212','sub208','Orthodontia Enrollment','docs/webinar/Increasing FSA Enrollment-Braces.ppsx','_blank')
		oCMenu.makeMenu('sub213','sub11','FSA Educaci&oacute;n Espa&ntilde;ola del A&ntilde;o 2012','','','250')			
			oCMenu.makeMenu('sub214','sub213','Inscripti&oacute;n General','docs/webinar/Increasing FSA Enrollment Spanish.ppsx','_blank','160')
			oCMenu.makeMenu('sub215','sub213','Ve&iacute;nte Algo','docs/webinar/Increasing FSA Enrollment Lifestyle-20 Something Spanish.ppsx','_blank','160')
			oCMenu.makeMenu('sub216','sub213','Inscripti&oacute;n de Fam&iacute;l&iacute;a','docs/webinar/Increasing FSA Enrollment Lifestyle-Family Spanish.ppsx','_blank','160')
			oCMenu.makeMenu('sub217','sub213','Inscripti&oacute;n de Orthodonc&iacute;a','docs/webinar/Increasing FSA Enrollment-Braces Spanish.ppsx','_blank','160')
	oCMenu.makeMenu('sub12','top1','Employer Printable Marketing','docs/service/Marketing Brochure-A.pdf#page=1','_blank','','35')
	oCMenu.makeMenu('sub13','top1','COBRA Administration','docs/service/svc_cobranew.html')
	oCMenu.makeMenu('sub14','top1','Online Enrollment','docs/service/svc_online.html')
	oCMenu.makeMenu('sub15','top1','Employee Benefit Database Management','docs/service/svc_database.html')
	oCMenu.makeMenu('sub17','top1','Retiree Billing','docs/service/svc_retiree.html')
	oCMenu.makeMenu('sub18','top1','Other HR Services','docs/service/svc_other.html')	
oCMenu.makeMenu('top2','','SECTION 125, HRA & HSA','','',95,35)
	oCMenu.makeMenu('sub30','top2','FSA & HRA Employee Account Information','http://www.myflexonline.com','_blank','',35)
	oCMenu.makeMenu('sub31','top2','General Section 125 Information','http://www.ezflexplan.com/beneflex','_blank','',35)
	oCMenu.makeMenu('sub32','top2','Debit Card','docs/125/Important Information for Cardholders Rev06082011.pdf','_blank')
	oCMenu.makeMenu('sub33','top2','Employer Printable Marketing','docs/service/Marketing Brochure-A.pdf#page=1','_blank','',35)
	oCMenu.makeMenu('sub34','top2','Printable Forms')
		oCMenu.makeMenu('sub140','sub34','FSA Claim Forms')
			oCMenu.makeMenu('sub1401','sub140','2011 FSA Claim Form','docs/125/2011 claim form Rev 05052011 Claim Form Only.pdf','_blank')
			oCMenu.makeMenu('sub1402','sub140','2012 FSA Claim Form','docs/125/2012 claim form 2.pdf','_blank')
		oCMenu.makeMenu('sub141','sub34','Limited FSA Claim Form','docs/125/2011 Limited FSA Claim Form 06152011.pdf','_blank')
		oCMenu.makeMenu('sub142','sub34','TMA Claim Form','docs/125/2011TMA Claim Form.pdf','_blank')
		oCMenu.makeMenu('sub143','sub34','Guidelines for Claims Submission','docs/125/2011 claim form Rev 05052011 guidelines for submission.pdf','_blank')
		oCMenu.makeMenu('sub144','sub34','Direct Deposit Form','docs/125/Employee Direct Deposit Form 1-page 2010-A.pdf','_blank')
	oCMenu.makeMenu('sub35','top2','Health Savings Account Educational Materials and Forms','','','','47')
		oCMenu.makeMenu('sub150','sub35','Educational Materials')
			oCMenu.makeMenu('sub250','sub150','HSA (Benefits)','docs/125/HSA_2011Employer_Brochure_with Insert.pdf','_blank')
			oCMenu.makeMenu('sub260','sub150','HSA Employee Plan Overview 2011','docs/125/HSA Employee Plan Overview 2011 Rev 06092011.pdf','_blank','','35')
		oCMenu.makeMenu('sub175','sub35','Forms')
			oCMenu.makeMenu('sub270','sub175','Address Update Form','docs/125/Address_Update_form_6-28-10.pdf','_blank')
			oCMenu.makeMenu('sub275','sub175','HSA Designated Beneficiary','docs/125/BeneFlex_DesBeneficiary_9-30-10.pdf','_blank','','35')
			oCMenu.makeMenu('sub280','sub175','BeneFlex HSA EE Application','docs/125/BeneFLEX_HSA_EE_Application_9-2010.pdf','_blank','','35')
			oCMenu.makeMenu('sub285','sub175','BeneFlex HSA Contribution Form (employee)','','','','47')
			oCMenu.makeMenu('sub287','sub285','2011 BeneFlex HSA Contribution Form (employee)','docs/125/Beneflex_HSA_Contribution_form_(employee)_fillable_9-17-10.doc','_blank','','47')
			oCMenu.makeMenu('sub289','sub285','2012 BeneFlex HSA Contribution Form (employee)','docs/125/Beneflex 2012 HSA Contribution form (employee) fillable 11-10-11.doc','_blank','','47')
			oCMenu.makeMenu('sub290','sub175','HSA Termination Form','docs/125/HSA_Termination_Form_2.doc','_blank')
	oCMenu.makeMenu('sub36','top2','Add/Term Templates for FSA & HRA','','','','35')
		oCMenu.makeMenu('sub300','sub36','Instructions – Please Read First','docs/125/Instructions for Zix email-Census Reporting (2).pdf','_blank','','35')
		oCMenu.makeMenu('sub320','sub36','FSA Add/Term Template','docs/125/2011 FSA with Employer Contributions New Hires and Terminations Enrollment Template 5-25-2011.xls','_blank')
		oCMenu.makeMenu('sub310','sub36','HRA Add/Term Template','docs/125/2011 HRA and CMS Enrollment Template.xls','_blank')

		
	oCMenu.makeMenu('top3','','COBRA','','',60,35)
		oCMenu.makeMenu('sub20','top3','Form 941 (Form Only)','http://www.forms.gov/bgfPortal/docDetails.do?dId=9734','_blank')
	oCMenu.makeMenu('sub21','top3','Form 941 Instructions','http://www.forms.gov/bgfPortal/docDetails.do?dId=10129','_blank')
	oCMenu.makeMenu('sub22','top3','Dpt. of Labor - COBRA ARRA','http://www.dol.gov/ebsa/cobra.html','_blank','','35')
	oCMenu.makeMenu('sub23','top3','COBRA Clients','https://www.beneflexhr.com/docs/cobra/loginForm.html','_blank')
			
oCMenu.makeMenu('top4','','NEWS & RESOURCES','','',90,35)
	oCMenu.makeMenu('sub40','top4','News')
		oCMenu.makeMenu('sub401','sub40','2012 Commuter Benefits Limits','http://www.beneflexhr.com/docs/service/2012 Commuter Benefits Limits.pdf','_blank','','35')
		oCMenu.makeMenu('sub402','sub40','ECFC Newsletter 4th Quarter, 2011','http://www.ecfc.org/news/ecfc-newsletter-november-2011/','_blank','','35')
		oCMenu.makeMenu('sub403','sub40','Schmersahl Goes to D.C.','http://www.beneflexhr.com/docs/service/Marks Article.pdf','_blank')
		oCMenu.makeMenu('sub405','sub40','HSA COLA limits for 2012 Released','http://www.beneflexhr.com/docs/service/HSA COLA LIMITS for 2012.pdf','_blank','',35)
		oCMenu.makeMenu('sub410','sub40','Parity Between Parking and Commuter Transportation Benefits','http://www.beneflexhr.com/docs/service/Legislation Calling for Permanent Parity Between Parking and Commuter Transportation Benefits.pdf','_blank','',45)
		oCMenu.makeMenu('sub415','sub40','Legislative Update – Bipartisan Proposal Regarding the FSA','http://www.beneflexhr.com/docs/service/Legislative Update - Bipartisan Proposal Regarding the FSA.pdf','_blank','',45)
		oCMenu.makeMenu('sub420','sub40','Breast Pumps Return as Eligible FSA Item','http://www.beneflexhr.com/docs/service/Breast Pumps Return as Eligible FSA Item.pdf','_blank','',35)
		oCMenu.makeMenu('sub425','sub40','So long, farewell OTC allowance','http://www.beneflexhr.com/docs/service/So long, farewell OTC allowance.pdf','_blank','',35)
		oCMenu.makeMenu('sub430','sub40','Exciting Announcement - Excel Templates - Oct 19 2011','http://www.beneflexhr.com/docs/service/Exciting Announcement - Excel Templates Oct 19 2011.pdf','_blank','',45)
		oCMenu.makeMenu('sub435','sub40','BeneFLEX Announces New Hires - Oct 2011','http://www.beneflexhr.com/docs/service/BeneFLEX Announces New Hires - Oct 2011.pdf','_blank','',35)
		oCMenu.makeMenu('sub440','sub40','CMS Alert - New Reporting Guidelines - Oct 3 2011','http://www.beneflexhr.com/docs/service/CMS Alert - New Reporting Guidelines - Oct 3 2011.pdf','_blank','',45)
	oCMenu.makeMenu('sub45','top4','Resources','docs/resource/resource.html')
	
oCMenu.makeMenu('top5','','CONTACT US','docs/forms/contact.html','',90,35)

//oCMenu.makeMenu('top5','','ONLINE ENROLLMENT','orig_docs/login.html','',80,35)
		
oCMenu.makeMenu('top6','','HCSO HRA','', '_blank',90,35)
	oCMenu.makeMenu('sub50','top6','EMPLOYEE RESOURCES')
	oCMenu.makeMenu('sub610','sub50','Check Your Account Balance','http://www.myflexonline.com','_blank','',35)
	oCMenu.makeMenu('sub620','sub50','HCSO HRA Employee Overview','docs/hcso/HCSO HRA Employee Overview2012 Rev01212012.pdf','_blank','',35)
	oCMenu.makeMenu('sub630','sub50','HCSO Claim Form','docs/hcso/HCSO - Claim form 2012a.pdf','_blank')
	oCMenu.makeMenu('sub640','sub50','HCSO How to file a Claim','docs/hcso/HCSO How to File a Claim-A.pdf','_blank')
	oCMenu.makeMenu('sub650','sub50','HCSO Direct Deposit','docs/hcso/HCSO HRA Direct Deposit Form 2012.pdf','_blank')
	oCMenu.makeMenu('sub660','sub50','Sample HCSO Qualified Items','docs/hcso/HCSO HRA Expenses 2012.pdf','_blank','','35')
	oCMenu.makeMenu('sub665','sub50','HCSO Education')
//		oCMenu.makeMenu('sub6650','sub665','HCSO Webinar','docs/hcso/HCSOwebinar.html','_blank','150')
		oCMenu.makeMenu('sub6650','sub665','HCSO Webinar','docs/hcso/eloginform.html','_blank','150')
		oCMenu.makeMenu('sub6655','sub665','HCSO Webinar - Printable','docs/hcso/HCSO Employee Education 11102011.pdf','_blank','150')
	
	oCMenu.makeMenu('sub51','top6','EMPLOYER RESOURCES')
	oCMenu.makeMenu('sub700','sub51','HCSO FAQs Employer','docs/hcso/HCSO FAQs Employer 2012 Rev01212012.pdf','_blank')
	oCMenu.makeMenu('sub710','sub51','HCSO Details Employer','docs/hcso/HCSO-HRA ER Overview Details 2012 Rev01212012.pdf','_blank')
	oCMenu.makeMenu('sub715','sub51','HCSO Termination Form','docs/hcso/HCSO Termination Form.pdf','_blank')
	oCMenu.makeMenu('sub720','sub51','HCSO HRA Statement Order Form','docs/hcso/HCSO HRA Statement Order Form.pdf','_blank','','30')
	oCMenu.makeMenu('sub722','sub51','2012 New HCSO Provisions','','','','30')
		oCMenu.makeMenu('sub7201','sub722','Webinar','docs/hcso/HCSO Provision webinar.html','_blank')
//		oCMenu.makeMenu('sub7202','sub722','Powerpoint','docs/hcso/HCSO 1-2012.ppsx','_blank')
		oCMenu.makeMenu('sub7202','sub722','Printable Presentation','docs/hcso/HCSO 1-2012.pdf','_blank')

	oCMenu.makeMenu('sub52','top6','RECURSOS EMPLEADOS')
//		oCMenu.makeMenu('sub800','sub52','HCSO educativos webinar en Espa&ntilde;ol','docs/hcso/Spanishwebinar.html','_blank')
		oCMenu.makeMenu('sub800','sub52','HCSO educativos webinar en Espa&ntilde;ol','docs/hcso/sloginform.html','_blank')
		oCMenu.makeMenu('sub810','sub52','HCSO en Espanola Para el Empleado','docs/hcso/HCSO HRA EE Overview Standard Spanish Version 2012 Rev01212012.pdf','_blank')
		oCMenu.makeMenu('sub815','sub52','Artículo 213 De La HCSO/FSA Gastos','docs/hcso/HCSO HRA Expenses Spanish - 2012.pdf','_blank','','30')
oCMenu.makeMenu('top7','','IIAS Info','', '_blank',60,35)
	oCMenu.makeMenu('sub60','top7','What is IIAS?','docs/125/How does the IIAS work with the Benny Card (Revised).pdf', '_blank')
	oCMenu.makeMenu('sub61','top7','IIAS Merchants','http://apps.sig-is.org/SIGISPublicRpts/IIASMerchantList.aspx', '_blank')
	oCMenu.makeMenu('sub62','top7','90% Merchants','http://www.sharemethods.net/nepal/servlet/open?keeppath=false&aid=67114', '_blank')

oCMenu.makeMenu('top8','','RETIREE CLAIM FORMS','', '_blank',145,35)
	oCMenu.makeMenu('sub70','top8','Peabody Claim Form','docs/online_plus/Peabody_Retiree_Medical_Account_Claim_Form_A.pdf', '_blank')
	oCMenu.makeMenu('sub71','top8','Patriot Claim Form','docs/online_plus/Patriot Coal - Retiree Medical Account Claim Form-A.pdf', '_blank')

//Leave this line - it constructs the menu

oCMenu.construct()
top.frmMain.location.reload()

