//Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname //Menu properties oCMenu.pxBetween=5 oCMenu.fromLeft=0 oCMenu.fromTop=153 oCMenu.rows=0 oCMenu.menuPlacement=0 oCMenu.offlineRoot="/" oCMenu.onlineRoot="/" oCMenu.resizeCheck=1 oCMenu.wait=1000 oCMenu.fillImg="cm_fill.gif" oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=0 oCMenu.barWidth="menu" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX="menu" oCMenu.barY="menu" oCMenu.barBorderX=0 oCMenu.barBorderY=0 oCMenu.barBorderClass="" //Level properties - ALL properties have to be spesified in level 0 oCMenu.level[0]=new cm_makeLevel() //Add this for each new level oCMenu.level[0].width=151 oCMenu.level[0].height=20 oCMenu.level[0].regClass="clLevel0" oCMenu.level[0].overClass="clLevel0over" oCMenu.level[0].borderX=0 oCMenu.level[0].borderY=0 oCMenu.level[0].borderClass=0 oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=0 oCMenu.level[0].rows=0 oCMenu.level[0].align="right" //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify 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=151 oCMenu.level[1].height=20 oCMenu.level[1].regClass="clLevel1" oCMenu.level[1].overClass="clLevel1over" oCMenu.level[1].style="" oCMenu.level[1].offsetX=0 oCMenu.level[1].offsetY=0 oCMenu.level[1].borderClass="clLevel1border" oCMenu.level[1].borderX=1 oCMenu.level[1].borderY=1 oCMenu.level[1].rows=0 oCMenu.level[1].align="right" /****************************************** 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('top0','','Features of the Region','en_contents.asp?category=2','_self','','') oCMenu.makeMenu('sub00','top0','Map of the Region','en_contents.asp?category=23','_self',150) oCMenu.makeMenu('top1','','Administrative Structure','en_contents.asp?category=3','_self','','30') oCMenu.makeMenu('sub10','top1','The General Secretary','en_contents.asp?category=24','_self',168) oCMenu.makeMenu('sub11','top1','Organization Chart','en_contents.asp?category=25','_self',168) oCMenu.makeMenu('sub12','top1','Basic Legislation','en_nomothesia.asp?category=26','_self',168) oCMenu.makeMenu('top2','','Prefectural Government','en_contents.asp?category=4','_self','','') oCMenu.makeMenu('sub20','top2','Evia','en_contents.asp?category=31','_self',150) oCMenu.makeMenu('sub21','top2','Evritania','en_contents.asp?category=34','_self',150) oCMenu.makeMenu('sub22','top2','Fokida','en_contents.asp?category=37','_self',150) oCMenu.makeMenu('sub23','top2','Fthiotida','en_contents.asp?category=40','_self',150) oCMenu.makeMenu('sub24','top2','Viotia','en_contents.asp?category=43','_self',150) oCMenu.makeMenu('top3','','Municipalities','en_contents.asp?category=5','_self','','') oCMenu.makeMenu('sub30','top3','Evia','en_contents.asp?category=32','_self',150) oCMenu.makeMenu('sub31','top3','Evritania','en_contents.asp?category=35','_self',150) oCMenu.makeMenu('sub32','top3','Fokida','en_contents.asp?category=38','_self',150) oCMenu.makeMenu('sub33','top3','Fthiotida','en_contents.asp?category=41','_self',150) oCMenu.makeMenu('sub34','top3','Viotia','en_contents.asp?category=44','_self',150) oCMenu.makeMenu('top4','','Members of the Parliament','en_contents.asp?category=6','_self','','30') oCMenu.makeMenu('sub40','top4','Evia','en_contents.asp?category=33','_self',150) oCMenu.makeMenu('sub41','top4','Evritania','en_contents.asp?category=36','_self',150) oCMenu.makeMenu('sub42','top4','Fokida','en_contents.asp?category=39','_self',150) oCMenu.makeMenu('sub43','top4','Fthiotida','en_contents.asp?category=42','_self',150) oCMenu.makeMenu('sub44','top4','Viotia','en_contents.asp?category=45','_self',150) oCMenu.makeMenu('top5','','Citizen Guide','en_contents.asp?category=7','_self','','') oCMenu.makeMenu('sub50','top5','Cases','en_contents.asp?category=27','_self',184) oCMenu.makeMenu('sub51','top5','Investment Programs','en_contents.asp?category=28','_self',184) oCMenu.makeMenu('sub52','top5','Social Programs','en_contents.asp?category=29','_self',184) oCMenu.makeMenu('sub53','top5','Citizen Service Centers','en_contents.asp?category=30','_self',184) oCMenu.makeMenu('top6','','Public Services','en_contents.asp?category=8','_self','','') oCMenu.makeMenu('top7','','Infrastructure - Bodies','en_contents.asp?category=9','_self','','') oCMenu.makeMenu('top8','','Civic Protection','en_contents.asp?category=10','_self','','') oCMenu.makeMenu('top9','','The Environment','en_contents.asp?category=11','_self','','') oCMenu.makeMenu('top10','','Public Works - Activities','en_contents.asp?category=12','_self','','30') oCMenu.makeMenu('top11','','Assistance Programs','en_contents.asp?category=13','_self','','') oCMenu.makeMenu('top12','','Announcements','en_contents.asp?category=14','_self','','') oCMenu.makeMenu('top13','','Opinion Polls','en_dimoskopiseis.asp?category=15','_self','','') oCMenu.makeMenu('top14','','FAQ','en_contents.asp?category=16','_self','','') oCMenu.makeMenu('top15','','Newsletter','en_contents.asp?category=17','_self','','') oCMenu.construct()