<!--
    /***
    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
    main_menu=new makeCM("main_menu") //Making the menu object. Argument: menuname

    main_menu.frames = 0

    //Menu properties
    main_menu.pxBetween=0
    main_menu.fromLeft=50
    main_menu.fromTop=127
    main_menu.rows=1
    main_menu.menuPlacement="left"

    main_menu.offlineRoot=""
    main_menu.onlineRoot="/"
    main_menu.resizeCheck=1
    main_menu.wait=1000
    main_menu.fillImg="images/spacer.gif"
    main_menu.zIndex=0

    //Background bar properties
    main_menu.useBar=1
    main_menu.barWidth="100%"
    main_menu.barHeight="menu"
    main_menu.barClass="clBar"
    main_menu.barX=0
    main_menu.barY=127
    main_menu.barBorderX=0
    main_menu.barBorderY=0
    main_menu.barBorderClass=""

    //Level properties - ALL properties have to be spesified in level 0
    main_menu.level[0]=new cm_makeLevel() //Add this for each new level
    main_menu.level[0].width=110
    main_menu.level[0].height=17
    main_menu.level[0].regClass="clLevel0"
    main_menu.level[0].overClass="clLevel0over"
    main_menu.level[0].borderX=1
    main_menu.level[0].borderY=1
    main_menu.level[0].borderClass="clLevel0border"
    main_menu.level[0].offsetX=0
    main_menu.level[0].offsetY=0
    main_menu.level[0].rows=0
    main_menu.level[0].arrow=0
    main_menu.level[0].arrowWidth=0
    main_menu.level[0].arrowHeight=0
    main_menu.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
    main_menu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
    main_menu.level[1].width=150
    main_menu.level[1].height=20
    main_menu.level[1].regClass="clLevel1"
    main_menu.level[1].overClass="clLevel1over"
    main_menu.level[1].borderX=1
    main_menu.level[1].borderY=1
    main_menu.level[1].align="right"
    main_menu.level[1].offsetX=-5
    main_menu.level[1].offsetY=5
    main_menu.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)
    *************************************/
    main_menu.makeMenu('top_0','','Home','?','', 70)
      
    main_menu.makeMenu('top_1','','About Us','', '', 100)
      main_menu.makeMenu('sub_1_0','top_1','Ministry&nbsp;Staff','about_staff.php')
      main_menu.makeMenu('sub_1_1','top_1','Mission&nbsp;Statement','about_mission.php')
      main_menu.makeMenu('sub_1_2','top_1','Statement&nbsp;of&nbsp;Beliefs','about_beliefs.php')
      main_menu.makeMenu('sub_1_3','top_1','Driving&nbsp;Directions','http://maps.yahoo.com/py/maps.py?addr=12150%20Woodside%20Ave&csz=92040&country=us')
      main_menu.makeMenu('sub_1_4','top_1','Service&nbsp;Schedule','about_schedule.php')
      main_menu.makeMenu('sub_1_5','top_1','Contact&nbsp;Information','about_contact.php')
      
    main_menu.makeMenu('top_2','','Our Programs','', '', 145)
      main_menu.makeMenu('sub_2_0','top_2','Men','programs_men.php')
      main_menu.makeMenu('sub_2_1','top_2','Ladies','programs_women.php')
//      main_menu.makeMenu('sub_2_2','top_2','Married Couples','programs_couples.php')
//      main_menu.makeMenu('sub_2_3','top_2','Young&nbsp;Adults','programs_young_adults.php')
      main_menu.makeMenu('sub_2_2','top_2','Youth','programs_youth.php')
      main_menu.makeMenu('sub_2_3','top_2','Children','programs_children.php')
      main_menu.makeMenu('sub_2_4','top_2','Missions','programs_missions.php')
      main_menu.makeMenu('sub_2_5','top_2','All&nbsp;Church','programs_allchurch.php')

    main_menu.makeMenu('top_3','','Events','events_calendar.php', '', 80)
//      main_menu.makeMenu('sub_3_0','top_3','What\'s&nbsp;Happening','events_happening.php')
//      main_menu.makeMenu('sub_3_1','top_3','Calendar','events_calendar.php')

//    main_menu.makeMenu('top_4','','Forum','forum/', '_blank', 80)

    //Leave this line - it constructs the menu
    main_menu.construct()		
-->