//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('sub13','top1','Region Services','en_contents.asp?category=111','_self',168) oCMenu.makeMenu('top2','','Prefectural Government','en_contents.asp?category=4','_self','','') oCMenu.makeMenu('sub20','top2','Florina','en_contents.asp?category=31','_self',150) oCMenu.makeMenu('sub21','top2','Grevena','en_contents.asp?category=34','_self',150) oCMenu.makeMenu('sub22','top2','Kastoria','en_contents.asp?category=37','_self',150) oCMenu.makeMenu('sub23','top2','Kozani','en_contents.asp?category=40','_self',150) oCMenu.makeMenu('top3','','Municipalities','en_contents.asp?category=5','_self','','') oCMenu.makeMenu('sub30','top3','Florina','en_contents.asp?category=32','_self',150) oCMenu.makeMenu('sub31','top3','Grevena','en_contents.asp?category=35','_self',150) oCMenu.makeMenu('sub32','top3','Kastoria','en_contents.asp?category=38','_self',150) oCMenu.makeMenu('sub33','top3','Kozani','en_contents.asp?category=41','_self',150) oCMenu.makeMenu('top4','','Members of the Parliament','en_contents.asp?category=6','_self','','30') oCMenu.makeMenu('sub40','top4','Florina','en_contents.asp?category=33','_self',150) oCMenu.makeMenu('sub41','top4','Grevena','en_contents.asp?category=36','_self',150) oCMenu.makeMenu('sub42','top4','Kastoria','en_contents.asp?category=39','_self',150) oCMenu.makeMenu('sub43','top4','Kozani','en_contents.asp?category=42','_self',150) oCMenu.makeMenu('top5','','Region Tour','en_contents.asp?category=105','_self','','') oCMenu.makeMenu('sub50','top5','Grevena','en_contents.asp?category=106','_self',150) oCMenu.makeMenu('sub51','top5','Kastoria','en_contents.asp?category=107','_self',150) oCMenu.makeMenu('sub52','top5','Kozani','en_contents.asp?category=108','_self',150) oCMenu.makeMenu('sub53','top5','Florina','en_contents.asp?category=109','_self',150) oCMenu.makeMenu('top6','','Citizen Guide','en_contents.asp?category=7','_self','','') oCMenu.makeMenu('sub60','top6','Cases','en_contents.asp?category=27','_self',184) oCMenu.makeMenu('sub61','top6','Citizen Service Centers','en_contents.asp?category=30','_self',184) oCMenu.makeMenu('top7','','Public Services','en_contents.asp?category=8','_self','','') oCMenu.makeMenu('sub70','top7','Police','en_contents.asp?category=136','_self',184) oCMenu.makeMenu('sub71','top7','Fire Brigade','en_contents.asp?category=137','_self',184) oCMenu.makeMenu('sub72','top7','Health units','en_contents.asp?category=138','_self',184) oCMenu.makeMenu('sub73','top7','Courts/ Justice service','en_contents.asp?category=139','_self',184) oCMenu.makeMenu('top8','','Infrastructure - Bodies','en_contents.asp?category=9','_self','','') oCMenu.makeMenu('top9','','Civic Protection','en_contents.asp?category=10','_self','','') oCMenu.makeMenu('top10','','Weather Forecasts','en_contents.asp?category=110','_self','','') oCMenu.makeMenu('top11','','Culture','en_contents.asp?category=140','_self','','') oCMenu.makeMenu('top12','','Assistance Programs','en_contents.asp?category=13','_self','','') oCMenu.makeMenu('sub120','top12','MEDITERRITAGE ','en_contents.asp?category=141','_self',150) oCMenu.makeMenu('sub121','top12','PROGRESDEC','en_contents.asp?category=142','_self',150) oCMenu.makeMenu('sub122','top12','SMART','en_contents.asp?category=143','_self',150) oCMenu.makeMenu('sub123','top12','Saffron','en_contents.asp?category=146','_self',150) oCMenu.makeMenu('sub124','top12','INTERCO PPP','en_contents.asp?category=147','_self',150) oCMenu.makeMenu('sub125','top12','SHINING MOUNTAINS','en_contents.asp?category=148','_self',150) oCMenu.makeMenu('sub126','top12','TERIS','en_contents.asp?category=149','_self',150) oCMenu.makeMenu('sub127','top12','RE.DI','en_contents.asp?category=150','_self',150) oCMenu.makeMenu('sub128','top12','EXINT','en_contents.asp?category=151','_self',150) oCMenu.makeMenu('sub129','top12','WATERMAP','en_contents.asp?category=152','_self',150) oCMenu.makeMenu('sub1210','top12','COMPART','en_contents.asp?category=153','_self',150) oCMenu.makeMenu('top13','','Announcements','en_contents.asp?category=14','_self','','') oCMenu.makeMenu('top14','','Opinion Polls','en_dimoskopiseis.asp?category=15','_self','','') oCMenu.makeMenu('top15','','FAQ','en_contents.asp?category=16','_self','','') oCMenu.makeMenu('top16','','Newsletter','en_contents.asp?category=17','_self','','') oCMenu.construct()