
/***
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
EngMenu=new makeCM("EngMenu") //Making the menu object. Argument: menuname

EngMenu.frames = 0

//Menu properties
EngMenu.pxBetween=1
EngMenu.fromLeft=0
EngMenu.fromTop=35          //distanta from the top of the page
EngMenu.rows=1
EngMenu.menuPlacement="left"

EngMenu.checkselect=1   
EngMenu.offlineRoot="file:///C|/Inetpub/wwwroot/"
EngMenu.onlineRoot=""
EngMenu.resizeCheck=1
EngMenu.wait=500
EngMenu.fillImg="cm_fill.gif"
EngMenu.zIndex=0

EngMenu.openOnClick=0   // set to 1 if you want to click to drop the menu
EngMenu.closeOnClick=0

//Background bar properties
EngMenu.useBar=1
EngMenu.barWidth="0"
EngMenu.barHeight="menu"
EngMenu.barClass="clBar"
EngMenu.barX=0             //defines the position of the bar containing the menu on X axis
EngMenu.barY=35             //defines the position of the bar containing the menu on Y axis
EngMenu.barBorderX=0
EngMenu.barBorderY=0
EngMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
EngMenu.level[0]=new cm_makeLevel() //Add this for each new level
EngMenu.level[0].width=55
EngMenu.level[0].height=18
EngMenu.level[0].regClass="clLevel0"
EngMenu.level[0].overClass="clLevel0over"
EngMenu.level[0].borderX=1
EngMenu.level[0].borderY=1
EngMenu.level[0].borderClass="clLevel0border"
EngMenu.level[0].offsetX=0
EngMenu.level[0].offsetY=0
EngMenu.level[0].rows=0
EngMenu.level[0].arrow=0
/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/

EngMenu.level[0].arrowWidth=0
EngMenu.level[0].arrowHeight=0
EngMenu.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
EngMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
EngMenu.level[1].width=EngMenu.level[0].width+60
EngMenu.level[1].height=18
EngMenu.level[1].regClass="clLevel1"
EngMenu.level[1].overClass="clLevel1over"
EngMenu.level[1].borderX=1
EngMenu.level[1].borderY=1
EngMenu.level[1].align="right"
EngMenu.level[1].offsetX=-(EngMenu.level[0].width-2)/2+20
EngMenu.level[1].offsetY=0
EngMenu.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
EngMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
EngMenu.level[2].width=150
EngMenu.level[2].height=20
EngMenu.level[2].offsetX=0
EngMenu.level[2].offsetY=0
EngMenu.level[2].regClass="clLevel2"
EngMenu.level[2].overClass="clLevel2over"
EngMenu.level[2].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)
*************************************/

//HOME
EngMenu.makeMenu('top0','','Home','/index.asp')

//HISTORY
EngMenu.makeMenu('top1','','History','/history.asp')

//CHURCHES
EngMenu.makeMenu('top2','','Churches','')
   EngMenu.makeMenu('sub21','top2','St Mary - Sydney','/about_st_mary.asp')
   
//CUSTOMS
EngMenu.makeMenu('top3','','Customs','')
   EngMenu.makeMenu('sub30','top3','The orthodox calendar','/calendar_orthodox_church.asp')
   EngMenu.makeMenu('sub31','top3','Fasting','/randuieli/fasting.asp')
   EngMenu.makeMenu('sub39','top3','Recipes','')
      EngMenu.makeMenu('sub391','sub39','Artos','/retete/artos_eng.asp')
   
//PRAYERS
EngMenu.makeMenu('top4','','Prayers','')
   EngMenu.makeMenu('sub40','top4','Our Father','/rugaciuni/our_father.asp')

//BIBLIA(ro)
EngMenu.makeMenu('top5','','Bible(ro)','/biblia/index.asp')

//CALENDAR   
EngMenu.makeMenu('top6','','Calendar','/calendar_orthodox_church.asp')

//ADDRESSES
EngMenu.makeMenu('top7','','Contacts','/contacts.asp')

//LINKS
EngMenu.makeMenu('top8','','Links','/links.asp')

//SPONSOR
EngMenu.makeMenu('top20','','Sponsor','http://www.alcor.com.au/')



//Leave this line - it constructs the menu
EngMenu.construct()
