menunum=0;menus=new Array();_d=document;function addmenu(menu){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}


effect = "Alpha(style=0,opacity=255);Shadow(color='#777777', Direction=135, Strength=5)"//"Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=0		// Follow Scrolling speed
followrate=0		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position
suboffset_left=10;	// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"484848",				// Mouse Off Font Color
"ffffff",			// Mouse Off Background Color
"ffebdc",			// Mouse On Font Color
"6699CC",			// Mouse On Background Color
"000000",			// Menu Border Color
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
3,					// Menu Item Padding
topmenu+"/~gungor/ok.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"484848",			// Current Page Item Font Color (leave this blank to disable)
"",				// Current Page Item Background Color (leave this blank to disable)
,		// Top Bar image (Leave this blank to disable)İkinci açılan menüdeki alt çizgi
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"",				// Menu Item Separator Color Menüdeki Ayırıcı Boi Bırakırsan Border çıkar
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
135,					// Menu Top - The Top position of the menu in pixels
lpmenu2,				// Menu Left - The Left position of the menu in pixels
122,					// Menu genislik
1,					// Menu Border Width
"left",   //lpmenu,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"Main Page","/~gungor",,"",1
,"Oil Art Gallery","artgallery.php",,"",0	// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Blog (in Turkish)","blog.php",,"",0
,"Photos","show-menu=photos",,"",0	// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Courses","show-menu=courses",,"",0
,"My Site Designs","show-menu=sites",,"",0
,"Search","show-menu=search",,"",0
])


	addmenu(menu=["photos",
	,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"FotoKritik","http://www.fotokritik.com/kullanici/portfolyo.php?id=39598",,,0
	,"Institue","/~gungor/fotos/ube",,,0
	,"Other Works","/~gungor/fotos/works",,,0
	,"Teleferik","/~gungor/fotos/teleferik.htm",,,0
	])


	addmenu(menu=["courses",
	,,310,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"<font color=#aaaaaa><b>Fall Semester","",,"",1
	,"&nbsp;&nbsp;UBI601-Advanced Computer Architectures","/~gungor/courses/arch",,"",0
	,"&nbsp;&nbsp;UBI525-Object Oriented Programming","/~gungor/courses/oop",,"",1
	,"<font color=#aaaaaa><b>Spring Semester","",,"",1
	,"&nbsp;&nbsp;UBI502-Database Management Systems","/~gungor/courses/db",,"",0
	,"&nbsp;&nbsp;UBI504-Programming Languages","/~gungor/courses/pl",,"",0
	,"&nbsp;&nbsp;UBI516-Computer Graphics","/~gungor/courses/gfx",,"",0
	])


	addmenu(menu=["sites",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Academic Web Server","http://meltem.ege.edu.tr",,"",0
	,"Our Institute","http://ube.ege.edu.tr",,"",0
	,"Students Web Server","http://std.ege.edu.tr",,"",0
        ])

	addmenu(menu=["search",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Google","http://www.google.com.tr",,"",0
	,"FTP Search","http://www.filesearching.com/advanced",,"",0
	,"DivX Subtitles","http://www.divxforever.net",,"",0
	,"Dictionary","http://sozluk.sourtimes.org",,"",0
        ])

dumpmenus()

