/*** 
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=83
oCMenu.fromLeft=10
oCMenu.fromTop=81
oCMenu.rows=1 
oCMenu.menuPlacement="left"
                                                             
//oCMenu.offlineRoot="file://maple/Development/Source.Web/newsite/newMenu/" 
//oCMenu.onlineRoot="/newMenu/" 
oCMenu.offlineRoot=""
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="752"
oCMenu.barHeight="menu" 
oCMenu.barClass="clBar"
oCMenu.barX=0
oCMenu.barY=81
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=70
oCMenu.level[0].height=19 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
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=130
oCMenu.level[1].height=18
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+30
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"

//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[2].width=120
oCMenu.level[2].height=18
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"

//EXAMPLE SUB LEVEL[3] PROPERTIES - You have to specify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[3]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu.level[3].width=115
oCMenu.level[3].height=18
oCMenu.level[3].offsetX=0
oCMenu.level[3].offsetY=0
oCMenu.level[3].regClass="clLevel2"
oCMenu.level[3].overClass="clLevel2over"
oCMenu.level[3].borderClass="clLevel2border"

/******************************************
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('home','','Home','index.html','',40)
                   oCMenu.makeMenu('home_sitemap','home','Site Map','sitemap.html')

oCMenu.makeMenu('news','','News','whatsnu.html','',42)
	oCMenu.makeMenu('news_confconv','news','Conferences/Conventions','whatsnu.html')
	oCMenu.makeMenu('news_newsletters','news','Newsletters','whatsnu.html')


oCMenu.makeMenu('product','','Products','products.html','',60)
	oCMenu.makeMenu('product_overview','product','Overview','products.html')

	oCMenu.makeMenu('product_enterprise','product','Enterprise','entmore.html')

                    oCMenu.makeMenu('product_stuadmin','product','Student Administration','')
                        oCMenu.makeMenu('product_stuadmin_sec','product_stuadmin','Secondary','secmore.html')
                         oCMenu.makeMenu('product_stuadmin_elem','product_stuadmin','Elementary','elemmore.html')
                         oCMenu.makeMenu('product_stuadmin_central','product_stuadmin','Central Office','coffice.html')
                         oCMenu.makeMenu('product_stuadmin_online','product_stuadmin','Maplewood connectEd','online.html')
                         oCMenu.makeMenu('product_stuadmin_pda','product_stuadmin','PDA/Handheld','pda.html')
                         
             oCMenu.makeMenu('product_library','product','Library Automation','libmore.html')

             oCMenu.makeMenu('product_onsis','product','OnSIS Utility','forms/onsisreq.aspx','_blank')

oCMenu.makeMenu('supp','','Support','support.html','',63)
        oCMenu.makeMenu('supp_overview','supp','Overview','support.html')
        oCMenu.makeMenu('supp_sysreq','supp','System Requirements','system_requirements.htm')
        oCMenu.makeMenu('supp_contact','supp','Email Support','mailto:support@maplewood.com')
        oCMenu.makeMenu('supp_kbfaq','supp','Knowledge Base','/kb')
        oCMenu.makeMenu('supp_tech','supp','Technical Articles','faq.html')

       oCMenu.makeMenu('supp_manuals','supp','Manuals','manuals.html')
              oCMenu.makeMenu('supp_manuals_admin','supp_manuals','Student Administration')
                      oCMenu.makeMenu('supp_manuals_admin_elem','supp_manuals_admin','Windows Elementary','manuals.html','_blank')
                      oCMenu.makeMenu('supp_manuals_admin_sec','supp_manuals_admin','Windows Secondary','manuals.html','_blank')
                      oCMenu.makeMenu('supp_manuals_admin_connected','supp_manuals_admin','Maplewood connectEd','manuals.html','_blank')
             oCMenu.makeMenu('supp_manuals_co','supp_manuals','Central Office','manuals.html','_blank')
             oCMenu.makeMenu('supp_manuals_clsmgr','supp_manuals','Classroom Manager','manuals.html','_blank')

             oCMenu.makeMenu('supp_manuals_lib','supp_manuals','Library','','_blank')
oCMenu.makeMenu('supp_manuals_lib_win','supp_manuals_lib','Windows','manuals.html','_blank')
oCMenu.makeMenu('supp_manuals_lib_web','supp_manuals_lib','Maplewood connectEd Library','manuals.html','_blank')

             oCMenu.makeMenu('supp_reports','supp','Sample Reports','reports.html')
             oCMenu.makeMenu('supp_updates','supp','Updates','updates.html')

oCMenu.makeMenu('train','','Training','training.html','',55)
             oCMenu.makeMenu('train_overview','train','Overview','training.html')
             oCMenu.makeMenu('train_calendar','train','Course Calendar','')
                         oCMenu.makeMenu('train_calendar_att','train_calendar','Attendance','trainatt.html')
                         oCMenu.makeMenu('train_calendar_co','train_calendar','Central Office','trainco.html')
                         oCMenu.makeMenu('train_calendar_cc','train_calendar','Custom','traincc.html')
                         oCMenu.makeMenu('train_calendar_gen','train_calendar','General','traingen.html')
                         oCMenu.makeMenu('train_calendar_jur','train_calendar','Jurisdiction','trainjuris.html')
                         oCMenu.makeMenu('train_calendar_mr','train_calendar','Mark Reporting','trainmark.html')
                         oCMenu.makeMenu('train_calendar_oth','train_calendar','Other Applications','trainother.html')
                         oCMenu.makeMenu('train_calendar_rep','train_calendar','Reports','trainreport.html')
                         oCMenu.makeMenu('train_calendar_sch','train_calendar','Scheduling','trainsched.html')
                         oCMenu.makeMenu('train_calendar_spec','train_calendar','Specialist','trainspec.html')

             oCMenu.makeMenu('train_ranking','train','Course Ranking','ranking.html')
                         oCMenu.makeMenu('train_ranking_beg','train_ranking','Beginner','ranking.html#Beginner')
                         oCMenu.makeMenu('train_ranking_int','train_ranking','Intermediate','ranking.html#Intermediate')
                         oCMenu.makeMenu('train_ranking_adv','train_ranking','Advanced','ranking.html#Advanced')
            

oCMenu.makeMenu('about','','About Us','aboutus.html','',60)
                   oCMenu.makeMenu('about_company','about','The Company','aboutus.html')
                   oCMenu.makeMenu('about_jurisdictions','about','Jurisdictions','jurs.html')
                   oCMenu.makeMenu('about_contact','about','Contact Us','contacts.html')
                   oCMenu.makeMenu('about_careers','about','Careers At Maplewood','careers.html')

                   oCMenu.makeMenu('about_partners','about','Related Sites','resites.html')
                        oCMenu.makeMenu('about_partners_lst','about_partners','Leadership Services Team','http://www.leadershipservicesteam.com','_blank')
                        oCMenu.makeMenu('about_partners_core','about_partners','Core Solutions Software','http://www.coresolutions.ca','_blank')
                        oCMenu.makeMenu('about_partners_basepoint','about_partners','Basepoint','http://www.basepoint.com','_blank')
                        oCMenu.makeMenu('about_partners_pdshift','about_partners','Paradigm Shift','http://www.pstgi.com','_blank')
                        oCMenu.makeMenu('about_partners_sds','about_partners','SDS Systems','http://www.sdssoftware.com','_blank')
                        oCMenu.makeMenu('about_partners_stach','about_partners','StudentsAchieve','http://corporate.studentsachieve.com/Forms/Home.aspx','_blank')
                        
                        oCMenu.makeMenu('about_partners_synrevoice','about_partners','SynreVoice','http://www.synrevoice.com','_blank')
                        oCMenu.makeMenu('about_partners_scantron','about_partners','Scantron','http://www.scantron.com','_blank')
 
                   oCMenu.makeMenu('about_guide','about','Guidance Applications','resites.html#EdRes')
                        oCMenu.makeMenu('about_guide_cc','about_guide','Career Cruising','http://www.careercruising.com','_blank')
                        oCMenu.makeMenu('about_guide_wallace','about_guide','Wallace Wireless','http://www.wallacewireless.com','_blank')
                        oCMenu.makeMenu('about_guide_mybp','about_guide','My Blueprint Education Planner','http://www.myblueprint.ca','_blank')
                        oCMenu.makeMenu('about_guide_blueprint','about_guide','Blueprint IT Works','http://www.studioblueprint.ca','_blank')
                


            
//Leave this line - it constructs the menu
oCMenu.construct()		





