/******************* MAIN MENU **********************************/


//Menu object creation
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Menu properties
oCMenu2.pxBetween=0
oCMenu2.fromLeft=5
oCMenu2.fromTop=0
oCMenu2.rows=1
oCMenu2.menuPlacement="left"

oCMenu2.onlineRoot="http://www.ecotechnic.at/"
oCMenu2.offlineRoot="http://ecotechnic_local/"
oCMenu2.resizeCheck=1
oCMenu2.wait=1000
oCMenu2.fillImg="cm_fill.gif"
oCMenu2.zIndex=0

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

//Level properties - ALL properties have to be spesified in level 0
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=110
oCMenu2.level[0].height=20
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=1
oCMenu2.level[0].borderY=1
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=0
oCMenu2.level[0].offsetY=0
oCMenu2.level[0].rows=0
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.level[0].align="bottom"


//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
oCMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu2.level[1].width=150
oCMenu2.level[1].height=20
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=1
oCMenu2.level[1].borderY=1
oCMenu2.level[1].align="right"
oCMenu2.level[1].offsetX=-(oCMenu2.level[0].width-2)/2+55
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"


//SUB LEVEL[2] 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
oCMenu2.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu2.level[2].width=150
oCMenu2.level[2].height=20
oCMenu2.level[2].regClass="cl2Level1"
oCMenu2.level[2].overClass="cl2Level1over"
oCMenu2.level[2].borderX=1
oCMenu2.level[2].borderY=1
oCMenu2.level[2].align="right"
oCMenu2.level[2].offsetX=-(oCMenu2.level[1].width-2)/2+75
oCMenu2.level[2].offsetY=0
oCMenu2.level[2].borderClass="cl2Level1border"


//SUB LEVEL[3] 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
oCMenu2.level[3]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu2.level[3].width=230
oCMenu2.level[3].height=20
oCMenu2.level[3].regClass="cl2Level1"
oCMenu2.level[3].overClass="cl2Level1over"
oCMenu2.level[3].borderX=1
oCMenu2.level[3].borderY=1
oCMenu2.level[3].align="right"
oCMenu2.level[3].offsetX=-(oCMenu2.level[2].width-2)/2+75
oCMenu2.level[3].offsetY=0
oCMenu2.level[3].borderClass="cl2Level1border"

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)
*************************************/
oCMenu2.makeMenu('top0','','ecoTECHNIC','','')
    oCMenu2.makeMenu('sub00','top0','Mission','company/mission.htm')
    oCMenu2.makeMenu('sub01','top0','Headquarter','company/headquarters.htm')
    oCMenu2.makeMenu('sub02','top0','and the Arts','company/arts_home.htm')
    oCMenu2.makeMenu('sub03','top0','Download Area','company/download.htm')
    oCMenu2.makeMenu('sub04','top0','Copyright','company/copyright.htm')
    oCMenu2.makeMenu('sub05','top0','Home','default.htm')

oCMenu2.makeMenu('top1','','Solutions for ...','')
    oCMenu2.makeMenu('sub10','top1','Water Treatment','')
       oCMenu2.makeMenu('sub100','sub10','Oil Water Separation','')
              oCMenu2.makeMenu('sub1000','sub100','ecoSep Below Grade OWS','ecoSep/title.htm')
              oCMenu2.makeMenu('sub1001','sub100','ecoTop Above Grade OWS','ecoTop/title.htm')
              oCMenu2.makeMenu('sub1002','sub100','ecoSorp Post                                              Treatment','ecoSorp/title.htm')
              oCMenu2.makeMenu('sub1003','sub100','ecoWarn Control Device for                                OWS','ecoWarn/title.htm')
              oCMenu2.makeMenu('sub1004','sub100','ecoTest Portable Test Kit for                                OWS','ecoTest/title.htm')

       oCMenu2.makeMenu('sub101','sub10','Grease Separation','')
              oCMenu2.makeMenu('sub1010','sub101','ecoGrease Grease                                          Interceptor','ecoGrease/title.htm')
       oCMenu2.makeMenu('sub102','sub10','Spill Control','')
              oCMenu2.makeMenu('sub1020','sub102','ecoStop Spill Control                                     System','ecoStop/title.htm')
       oCMenu2.makeMenu('sub103','sub10','Stormwater Treatment','')
              oCMenu2.makeMenu('sub1030','sub103','ecoStorm Stormwater                                       Treatment','ecoStorm/title.htm')
	      oCMenu2.makeMenu('sub1040','sub103','ecoStorm plus Stormwater                                       Filtration','ecoStorm_plus/title.htm')	
       oCMenu2.makeMenu('sub104','sub10','Rainwater Utilization','')
              oCMenu2.makeMenu('sub10430','sub104','ecoRain Sustainable Rainwater                            Reuse','ecoRain/title.htm')
    oCMenu2.makeMenu('sub11','top1','Manhole Equipment','')
              oCMenu2.makeMenu('sub110','sub11','Manhole Steps','ecoStep/title.htm')
    oCMenu2.makeMenu('sub12','top1','Thermal Insulation','')
              oCMenu2.makeMenu('sub120','sub12','millcell foam glass','millcell/default.htm','_blank')


oCMenu2.makeMenu('top2','','News','')
    oCMenu2.makeMenu('sub20','top2','Company News','news/news.htm')
    oCMenu2.makeMenu('sub21','top2','Project Reports','news/project_reports/project_reports.htm')
    oCMenu2.makeMenu('sub22','top2','Expos & Shows','news/expos/expos.htm')
    oCMenu2.makeMenu('sub23','top2','Press Release','news/press/press.htm')

oCMenu2.makeMenu('top3','','Contact','')
    oCMenu2.makeMenu('sub30','top3','ecoTECHNIC','Contact/contact_address.htm')
    oCMenu2.makeMenu('sub31','top3','Distributors','Contact/representatives/ecoTECHNIC_distributors.htm')
    oCMenu2.makeMenu('sub32','top3','Request Form','Contact/request_form.htm')
    oCMenu2.makeMenu('sub33','top3','Links','Contact/links.htm')

oCMenu2.makeMenu('top5','','Home','default.htm')

oCMenu2.makeMenu('top6','','Deutsch','default_g.htm')

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