
/***
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
RoMenu=new makeCM("RoMenu") //Making the menu object. Argument: menuname

RoMenu.frames = 0

//Menu properties
RoMenu.pxBetween=1
RoMenu.fromLeft=0
RoMenu.fromTop=35          //distanta from the top of the page
RoMenu.rows=1
RoMenu.menuPlacement="left"

RoMenu.checkselect=1
RoMenu.offlineRoot="file:///C|/Inetpub/wwwroot/"
RoMenu.onlineRoot=""
RoMenu.resizeCheck=1
RoMenu.wait=500
RoMenu.fillImg="cm_fill.gif"
RoMenu.zIndex=0

RoMenu.openOnClick=0   // set to 1 if you want to click to drop the menu
RoMenu.closeOnClick=0

//Background bar properties
RoMenu.useBar=1
RoMenu.barWidth="0"
RoMenu.barHeight="menu"
RoMenu.barClass="clBar"
RoMenu.barX=0             //defines the position of the bar containing the menu on X axis
RoMenu.barY=35             //defines the position of the bar containing the menu on Y axis
RoMenu.barBorderX=0
RoMenu.barBorderY=0
RoMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
RoMenu.level[0]=new cm_makeLevel() //Add this for each new level
RoMenu.level[0].width=55
RoMenu.level[0].height=18
RoMenu.level[0].regClass="clLevel0"
RoMenu.level[0].overClass="clLevel0over"
RoMenu.level[0].borderX=1
RoMenu.level[0].borderY=1
RoMenu.level[0].borderClass="clLevel0border"
RoMenu.level[0].offsetX=0
RoMenu.level[0].offsetY=0
RoMenu.level[0].rows=0
RoMenu.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)
*************************************/

RoMenu.level[0].arrowWidth=0
RoMenu.level[0].arrowHeight=0
RoMenu.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
RoMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
RoMenu.level[1].width=RoMenu.level[0].width+60
RoMenu.level[1].height=18
RoMenu.level[1].regClass="clLevel1"
RoMenu.level[1].overClass="clLevel1over"
RoMenu.level[1].borderX=1
RoMenu.level[1].borderY=1
RoMenu.level[1].align="right"
RoMenu.level[1].offsetX=-(RoMenu.level[0].width-2)/2+20
RoMenu.level[1].offsetY=0
RoMenu.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
RoMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
RoMenu.level[2].width=150
RoMenu.level[2].height=20
RoMenu.level[2].offsetX=0
RoMenu.level[2].offsetY=0
RoMenu.level[2].regClass="clLevel2"
RoMenu.level[2].overClass="clLevel2over"
RoMenu.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)
*************************************/

//INTRODUCERE
RoMenu.makeMenu('top0','','Intrare','/index.asp')

//ORAR
RoMenu.makeMenu('top1','','Istorie','/istorie.asp')

//BISERICI
RoMenu.makeMenu('top2','','Biserici','')
   RoMenu.makeMenu('sub21','top2','Sf Maria - Sydney','/despre_sf_maria.asp')
   RoMenu.makeMenu('sub22','top2','Sf Apostoli - Melbourne','/despre_sf_petru_si_pavel_mel.asp')
   RoMenu.makeMenu('sub23','top2','Sf Dumitru - Brisbane','/despre_sf_dumitru_bne.asp')
   RoMenu.makeMenu('sub24','top2','Sf Nicolae - Adelaide','/despre_sf_nicolae_sa.asp')
   RoMenu.makeMenu('sub25','top2','Sf Treime - Perth','/despre_sf_treime_perth.asp')
//   RoMenu.makeMenu('sub26','top2','Sf Maria - Sydney','/')
//   RoMenu.makeMenu('sub27','top2','Sf Maria - Sydney','/')

//RANDUIELI
RoMenu.makeMenu('top3','','Randuieli','')
   RoMenu.makeMenu('sub30','top3','Calendar ortodox','/calendarul_crestin_ortodox.asp')
   RoMenu.makeMenu('sub31','top3','Posturi','/randuieli/posturi.asp')
   RoMenu.makeMenu('sub32','top3','Parastasul','/randuieli/parastasul.asp')
   RoMenu.makeMenu('sub33','top3','Sfestania','/randuieli/sfestania.asp')
   RoMenu.makeMenu('sub35','top3','Taine','')
      RoMenu.makeMenu('sub351','sub35','Botezul','/randuieli/botezul.asp')
      RoMenu.makeMenu('sub352','sub35','Impartasania','/randuieli/impartasania.asp')
      RoMenu.makeMenu('sub353','sub35','Maslul','/randuieli/maslul.asp')
      RoMenu.makeMenu('sub354','sub35','Miruirea','/randuieli/miruirea.asp')
      RoMenu.makeMenu('sub355','sub35','Nunta','/randuieli/nunta.asp')
      RoMenu.makeMenu('sub356','sub35','Spovedania','/randuieli/spovedania.asp')
   RoMenu.makeMenu('sub357','sub35','Nu se cununa-boteaza','/randuieli/cununa_boteaza.asp')
   RoMenu.makeMenu('sub36','top3','Candela','/randuieli/candela.asp')
   RoMenu.makeMenu('sub37','top3','Catuia','/randuieli/catuia.asp')
   RoMenu.makeMenu('sub38','top3','Icoana casei','/randuieli/icoana.asp')
   RoMenu.makeMenu('sub39','top3','Retete de post','/retete/retete_post.asp')



//RUGACIUNI
RoMenu.makeMenu('top4','','Rugaciuni','')
   RoMenu.makeMenu('sub40','top4','Tatal nostru','/rugaciuni/tatal_nostru.asp')
   RoMenu.makeMenu('sub41','top4','Crezul','/rugaciuni/crezul.asp')
   RoMenu.makeMenu('sub42','top4','La vremea mesei','/rugaciuni/ruga_pentru_masa.asp')
   RoMenu.makeMenu('sub43','top4','De invatat copiii','/rugaciuni/rugaciuni_pt_copii.asp')
   RoMenu.makeMenu('sub44','top4','Rugaciune pentru...','/rugaciuni/ruga_pentru_bolnavi.asp')
      RoMenu.makeMenu('sub441','sub44','Bolnavi','/rugaciuni/ruga_pentru_bolnavi.asp')
      RoMenu.makeMenu('sub442','sub44','Calatorie','/rugaciuni/ruga_pentru_calatorie.asp')
      RoMenu.makeMenu('sub443','sub44','Copiii nostri','/rugaciuni/ruga_pentru_copii_nostrii.asp')
      RoMenu.makeMenu('sub444','sub44','Decedati','/rugaciuni/ruga_pentru_decedati.asp')
      RoMenu.makeMenu('sub445','sub44','Frati(surori)','/rugaciuni/ruga_pentru_frati-surori.asp')
      RoMenu.makeMenu('sub446','sub44','Inceprea unei lucrari','/rugaciuni/ruga_pentru_inceperea_lucrarii.asp')
      RoMenu.makeMenu('sub447','sub44','Multumire','/rugaciuni/ruga_pentru_multumire.asp')
      RoMenu.makeMenu('sub448','sub44','Parintii nostrii','/rugaciuni/ruga_pentru_parinti.asp')
      RoMenu.makeMenu('sub449','sub44','Sot(sotie)','/rugaciuni/ruga_pentru_sot-sotie.asp')
      RoMenu.makeMenu('sub4410','sub44','Vrasmasi','/rugaciuni/ruga_pentru_vrasmasi.asp')
      RoMenu.makeMenu('sub4411','sub44','Vremuri grele','/rugaciuni/ruga_pentru_vremuri_grele.asp')
      RoMenu.makeMenu('sub4412','sub44','De seara','/rugaciuni/rugaciune_de_seara.asp')
      //RoMenu.makeMenu('sub4413','sub44','','/rugaciuni/')
      //RoMenu.makeMenu('sub4414','sub44','','/rugaciuni/')
   RoMenu.makeMenu('sub45','top4','Eminesciana','/rugaciuni/eminescu.asp')


//BIBLIA
RoMenu.makeMenu('top5','','Biblia','/biblia/index.asp')
   RoMenu.makeMenu('sub50','top5','Aprobata de Sf Sinod','/biblia_sfanta_scriptura/index.asp')
   RoMenu.makeMenu('sub51','top5','Traducerea Cornilescu','/biblia/index2.asp')
   RoMenu.makeMenu('sub52','top5','Anexe la Biblie','/biblia/anexe.asp')

//DIVERSE
RoMenu.makeMenu('top6','','Diverse','/biblia/index.asp')
   RoMenu.makeMenu('sub61','top6','Ortodox =? Catolic','/miscellaneous/ortodox-catolic.asp')
   RoMenu.makeMenu('sub62','top6','Biblioteca crestinului','/miscellaneous/biblioteca_crestinului.asp')
   RoMenu.makeMenu('sub63','top6','Virtutea','/miscellaneous/virtutea.asp')
   RoMenu.makeMenu('sub64','top6','Porunci','')
      RoMenu.makeMenu('sub641','sub64','Dumnezeu','/miscellaneous/porunci_dumnezeu.asp')
      RoMenu.makeMenu('sub642','sub64','Bisericesti','/miscellaneous/porunci_biserica.asp')
   RoMenu.makeMenu('sub65','top6','Nu se cununa-boteaza','/randuieli/cununa_boteaza.asp')
   RoMenu.makeMenu('sub66','top6','Colinde','')
      RoMenu.makeMenu('sub661','sub66','Ce veste minunata','/miscellaneous/colind_ce_veste_minunata.asp')
      RoMenu.makeMenu('sub662','sub66','Nasterea lui Hristos','/miscellaneous/colind_nasterea_lui_hristos.asp')
      RoMenu.makeMenu('sub663','sub66','O brad frumos','/miscellaneous/colind_o_brad_frumos.asp')
      RoMenu.makeMenu('sub664','sub66','Steaua','/miscellaneous/colind_steaua.asp')
      RoMenu.makeMenu('sub665','sub66','Steaua sus rasare','/miscellaneous/colind_steaua_sus_rasare.asp')

//CALENDAR
RoMenu.makeMenu('top7','','Calendar','/calendarul_crestin_ortodox.asp')

//ADRESE
RoMenu.makeMenu('top8','','Adrese','/adrese.asp')

//LEGATURI
RoMenu.makeMenu('top9','','Legaturi','/legaturi.asp')


//SPONSOR
RoMenu.makeMenu('top20','','Sponsor','http://www.alcor.com.au/')



//Leave this line - it constructs the menu
RoMenu.construct()
