﻿menunum=0;menus=new Array();_d=document;function addmenu(){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)}



if(navigator.appVersion.indexOf("MSIE 6.0")>0)

{

        effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"

}

else

{

        effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter

}





timegap=500;                         // The time delay for menus to remain visible

followspeed=5;                       // Follow Scrolling speed

followrate=40;                       // Follow Scrolling Rate

suboffset_top=5;                       // Sub menu offset Top position

suboffset_left=-2;                  // Sub menu offset Left position



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.

"#a80011",                        // Mouse Off Font Color

"",                        // Mouse Off Background Color

"#e80011",                        // Mouse On Font Color

"",                        // Mouse On Background Color

"#004080",                        // Menu Border Color

12,                              // Font Size in pixels

"normal",                        // Font Style (italic or normal)

"bold",                          // Font Weight (bold or normal)

"Verdana, Tahoma, Geneva, Verdana, Tahoma, Geneva, Arial, Helvetica, sans-serif",  // Font Name

2,                               // Menu Item Padding

"menu/arrow.gif",                // Sub Menu Image (Leave this blank if not needed)

0,                               // 3D Border & Separator bar

"#ffffff",                        // 3D High Color

"#000099",                        // 3D Low Color

"#000000",                        // Current Page Item Font Color (leave this blank to disable)

"",                        // Current Page Item Background Color (leave this blank to disable)

"menu/arrowdn.gif",              // Top Bar image (Leave this blank to disable)

"#FFFFFF",                        // Menu Header Font Color (Leave blank if headers are not needed)

"#000099",                        // Menu Header Background Color (Leave blank if headers are not needed)

"#004080",                        // Menu Item Separator Color

]



style2=[                         // 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.

"#000000",                        // Mouse Off Font Color

"",                        // Mouse Off Background Color

"#e80011",                        // Mouse On Font Color

"#c1cddb",                        // Mouse On Background Color"

"#004080",                        // Menu Border Color

12,                              // Font Size in pixels

"normal",                        // Font Style (italic or normal)

"bold",                          // Font Weight (bold or normal)

"Verdana, Tahoma, Geneva, Verdana, Tahoma, Geneva, Arial, Helvetica, sans-serif",                         // Font Name

6,                               // Menu Item Padding

"menu/arrow.gif",                // Sub Menu Image (Leave this blank if not needed)

1,                               // 3D Border & Separator bar

"#ffffff",                        // 3D High Color

"#aaaaaa",                        // 3D Low Color

"#01648f",                        // 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)

"#FFFFFF",                        // Menu Header Font Color (Leave blank if headers are not needed)

"#000099",                        // Menu Header Background Color (Leave blank if headers are not needed)

"#004080",                        // Menu Item Separator Color

]



addmenu(menu=[                // This is the array that contains your menu properties and details

"_topmenu",                        // Menu Name - This is needed in order for the menu to be called

172,                                        // Menu Top - The Top position of the menu in pixels

,                                        // Menu Left - The Left position of the menu in pixels

,                                        // Menu Width - Menus width in pixels

0,                                       // Menu Border Width

"center",                                // 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

0,                                       // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)

1,                                        // 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

,"<nobr>Ana Sayfa","./",,"",0

,"<nobr>&nbsp;&nbsp;&nbsp;Genel Bilgiler&nbsp;&nbsp;","show-menu=genel",,"",0

,"<nobr>&nbsp;&nbsp;&nbsp;Yönetim&nbsp;&nbsp;","show-menu=yonetim",,"",0

,"<nobr>&nbsp;&nbsp;&nbsp;Akademik Birimler&nbsp;&nbsp;","show-menu=akademik",,"",0

,"<nobr>&nbsp;&nbsp;&nbsp;Öğrenci İşleri&nbsp;&nbsp;","show-menu=ogrenci",,"",0

,"<nobr>&nbsp;&nbsp;&nbsp;Kampüste Yaşam&nbsp;&nbsp;","show-menu=kampus",,"",0

,"<nobr>&nbsp;&nbsp;&nbsp;Uluslararası İlişkiler&nbsp;&nbsp;","http://ir.bartin.edu.tr",,"",0

,"<nobr>&nbsp;&nbsp;&nbsp;Farabi&nbsp;&nbsp;","http://farabi.bartin.edu.tr/",,"",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","",,"",0


])



        addmenu(menu=["genel",,,255,1,,style2,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,'menu/mbg.gif',,,

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Genel Bilgiler","?ln1=genel&ln2=genel",,"",1

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>İletişim","?ln1=genel&ln2=iletisim",,"",1

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Bartın Hakkında","?ln1=bartin&ln2=bartin&sf=b_tarihi",,"",1

        ])

		

        addmenu(menu=["yonetim",,,255,1,,style2,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,'menu/mbg.gif',,,

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Rektörlük","?ln1=yonetim&ln2=rektorluk",,"",1

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Üniversite Senatosu","?ln1=yonetim&ln2=senato",,"",1

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Üniversite Yönetim Kurulu","?ln1=yonetim&ln2=yonetim",,"",1

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Genel Sekreterlik","?ln1=yonetim&ln2=gensek",,"",1

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Daire Başkanlıkları","?ln1=yonetim&ln2=daire",,"",1

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Hukuk Müşavirliği","?ln1=yonetim&ln2=hukuk",,"",1
	,"<img src=menu/dot_tu.gif border=0 hspace=4>Teşkilat Şeması","?ln1=yonetim&ln2=teskilat",,"",1

		])



	    addmenu(menu=["akademik",,,280,1,,style2,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,'menu/mbg.gif',,,

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Fakülteler","?ln1=akademik&ln2=fakulteler",,"",1

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Enstitüler","?ln1=akademik&ln2=enstituler",,"",1

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Yüksekokullar","?ln1=akademik&ln2=yokullar",,"",1

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Meslek Yüksekokulları","?ln1=akademik&ln2=myo",,"",1

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Rektörlüğe Bağlı Birimler","?ln1=akademik&ln2=rbb",,"",1

		

       ])	

  

	    addmenu(menu=["ogrenci",,,280,1,,style2,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,'menu/mbg.gif',,,

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Akademik Takvim","?ln1=akademik&ln2=a_takvim",,"",1
       ,"<img src=menu/dot_tu.gif border=0 hspace=4>Yönetmelikler","?ln1=akademik&ln2=yonetmelik",,"",1
        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Öğrenci Bilgi Sistemi","http://193.255.91.9/",,"",1
   ])	



	    addmenu(menu=["kampus",,,280,1,,style2,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, Strength=5)",0,,,,,,,,'menu/mbg.gif',,,

        ,"<img src=menu/dot_tu.gif border=0 hspace=4>Sosyal Tesisler","?ln1=sosyal&ln2=stesisler",,"",1

		,"<img src=menu/dot_tu.gif border=0 hspace=4>Öğrenci Kulüpleri","?ln1=sosyal&ln2=ogrkulup",,"",1
                ,"<img src=menu/dot_tu.gif border=0 hspace=4>Öğrenci Konseyi","?ln1=sosyal&ln2=ogrkonsey",,"",1
       ])	   

dumpmenus()