

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)}
function GetCookie (name) {
   var arg = name + "=";
   var alen = arg.length;
   var clen = document.cookie.length;
   var i = 0;
   while (i < clen) { //while open
      var j = i + alen;
      if (document.cookie.substring(i, j) == arg)
         return getCookieVal (j);
      i = document.cookie.indexOf(" ", i) + 1;
      if (i == 0) break; 
   } //while close
	return null;
}
function SetCookie (name, value) {
   var argv = SetCookie.arguments;
   var argc = SetCookie.arguments.length;
   var expires = (2 < argc) ? argv[2] : null;
   var path = (3 < argc) ? argv[3] : null;
   var domain = (4 < argc) ? argv[4] : null;
   var secure = (5 < argc) ? argv[5] : false;
   document.cookie = name + "=" + escape (value) +
      ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
      ((path == null) ? "" : ("; path=" + path)) +
      ((domain == null) ? "" : ("; domain=" + domain)) +
      ((secure == true) ? "; secure" : "");
}
function deu() 
{ 
//setCookie( 'koslang', 2);
window.location.reload();
} 

//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=1)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=1)" // Stop IE5.5 bug when using more than one filter
}


timegap=500				
followspeed=5			
followrate=40			
suboffset_top=10;		
suboffset_left=10;

//lan = 1;
//setCookie( "koslang", 1);
lan = GetCookie( "koslang");		

style1=[				
"000099",					
"F4F4F4",				
"F4F4F4",				
"000099",				
"F4F4F4",				
11,						
"normal",		
"normal",					
"Verdana, Arial",		
4,						
"arrow.gif",			
,						
,				
,				
,				
,					
"",			
,				
,				
]



if(lan==2){ 
addmenu(menu=[		
"mainmenu",			
70,					
,			
110,					
1,					
"center",					
style1,			
1,					
"center",				
effect,				
,					
1, 					
,					
,					
,					
,					
,					
,					
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"&nbsp;Home","http://www.kostub.org/",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;?er KosTUB","show-menu=society",,"",1
,"&nbsp;?er TUBerlin","show-menu=univ",,"",1
,"&nbsp;Akademie","show-menu=academy",,"",1
,"&nbsp;À¯ÇÐ&»ýÈ°&nbsp;Á¤º¸&nbsp;&nbsp;","show-menu=life",,"",1
,"&nbsp;°Ô½ÃÆÇ&nbsp;&nbsp;","show-menu=boards",,"",1
,"&nbsp;º£¸¦¸°&nbsp;³×Æ®¿öÅ©&nbsp;&nbsp;","show-menu=link",,"",1
])

	addmenu(menu=["society",
	,,112,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;ÇÐ»ýÈ¸&nbsp;¼Ò°³","http://www.kostub.org/soci.php",,,1
	,"&nbsp;KoSTUB&nbsp;´º½º","http://www.kostub.org/bbs/zboard.php?id=kosutb_news",,,1
	,"&nbsp;KoSTUB&nbsp;ÀÚ·á½Ç","http://www.kostub.org/bbs/zboard.php?category=5&id=data&page=1&page_num=20&sn=off&ss=on&sc=on&keyword=&select_arrange=headnum&desc=asc",,,1
        ,"&nbsp;¼³¹®&nbsp;Á¶»ç","http://www.kostub.org/bbs/zboard.php?id=poll_result",,,1
        ,"&nbsp;µ¿¾Æ¸®&nbsp;Á¤º¸","http://www.kostub.org/circle.php",,,1
        ,"&nbsp;Æ÷Åä&nbsp;°¶·¯¸®","http://www.kostub.org/bbs/zboard.php?id=gallery",,,1
	])
	
	
  	addmenu(menu=["univ",
	,,112,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;ÇÐ±³&nbsp;¼Ò°³","http://www.kostub.org/uni_int.php",,,1
	,"&nbsp;ÇÐºÎ&nbsp;±¸¼º","http://www.kostub.org/dep_int.php",,,1
	,"&nbsp;TU-È¨ÆäÀÌÁö","http://www.tu-berlin.de target=_blank",,,1
 	])
	
	addmenu(menu=["academy",,,112,1,,style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;µ¶ÀÏÀÇ&nbsp;¿¬±¸¼Ò","http://www.kostub.org/g_ins.php",,,1
	,"&nbsp;ÀüÀÚ&nbsp;µµ¼­°ü","http://www.kostub.org/e_lib.php",,,1
	,"&nbsp;ÇÐ¾÷°ü·Ã&nbsp;ÀÚ·á½Ç","http://www.kostub.org/bbs/zboard.php?category=4&id=data&page=1&page_num=20&sn=off&ss=on&sc=on&keyword=&select_arrange=headnum&desc=asc",,,1
        ])
	
	addmenu(menu=["life",
	,,112,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;µ¶ÀÏÀ¯ÇÐ&nbsp;Q&A", "http://www.kostub.org/bbs/zboard.php?id=studien_qna",,,1
	,"&nbsp;À¯ÇÐ°ü·Ã&nbsp;»çÀÌÆ®", "http://www.kostub.org/fo_link.php",,,1
	,"&nbsp;º­·è½ÃÀå", "http://www.kostub.org/bbs/zboard.php?id=floh_markt",,,1
        ,"&nbsp;ÇÑÀÎ&nbsp;°¡°Ôµé","http://www.kostub.org/ko_store.php",,,1
        ,"&nbsp;º£¸¦¸° Áöµµ","http://www.berlin.de/stadtplan/map.asp target=_blank",,,1
	])
	
        addmenu(menu=["boards",
	,,112,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;µ¿¹®&nbsp;¼Ò½Ä","http://www.kostub.org/bbs/zboard.php?id=alumni",,,1
	,"&nbsp;¿ÜºÎÇà»ç&nbsp;¾Ë¸²ÆÇ", "http://www.kostub.org/bbs/zboard.php?id=event",,,1
        ,"&nbsp;Ãë¾÷&±¸ÀÎÁ¤º¸", "http://www.kostub.org/bbs/zboard.php?id=job",,,1
        ,"&nbsp;ÀÚÀ¯°Ô½ÃÆÇ", "http://www.kostub.org/bbs/zboard.php?id=free",,,1
        ,"&nbsp;ÀÚ·á½Ç", "http://www.kostub.org/bbs/zboard.php?id=data",,,1
	])

        addmenu(menu=["link",
	,,112,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;Å¸´ëÇÐ&nbsp;ÇÐ»ýÈ¸", "http://www.kostub.org/others.php",,,1
        ,"&nbsp;º£¸¦¸°&nbsp;ÇÑÀÎ´ÜÃ¼","http://www.kostub.org/ko_org.php",,,1
        ,"&nbsp;µ¶ÀÏÁÖÀç&nbsp°ø°ü", "http://www.kostub.org/ko_office.php",,,1
      	])
}




else{ 
addmenu(menu=[		
"mainmenu",			
70,					
,			
110,					
1,					
"center",					
style1,			
1,					
"center",				
effect,				
,					
1, 					
,					
,					
,					
,					
,					
,					
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"&nbsp;Main Page","http://www.kostub.org/",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//,"&nbsp;main page","JavaScript:deu()",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;about KosTUB","show-menu=society",,"",1
,"&nbsp;TUB Info","show-menu=univ",,"",1
,"&nbsp;Study Info&nbsp;&nbsp;","show-menu=academy",,"",1
,"&nbsp;Study &amp; Life&nbsp;&nbsp;","show-menu=life",,"",1
,"&nbsp;Boards&nbsp;&nbsp;","show-menu=boards",,"",1
,"&nbsp;Berlin Network&nbsp;&nbsp;","show-menu=link",,"",1
])

	addmenu(menu=["society",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;ÇÐ»ýÈ¸&nbsp;¼Ò°³<br>&nbsp;Vorstand","../html/soci.htm",,,1
	,"&nbsp;KoSTUB&nbsp;News","http://www.kostub.org/bbs/zboard.php?id=kosutb_news",,,1
    ,"&nbsp;Æ÷Åä&nbsp;°¶·¯¸®<br>&nbsp;Photo Galerie","http://www.kostub.org/bbs/zboard.php?id=gallery",,,1
	])
	
	
  	addmenu(menu=["univ",
	,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;ÇÐ±³&nbsp;¼Ò°³<br>&nbsp;TUB","../html/uni_int.htm",,,1
	,"&nbsp;ÇÐºÎ&nbsp;±¸¼º<br>&nbsp;Fakultaeten","../html/dep_int.htm",,,1
	,"&nbsp;TU-È¨ÆäÀÌÁö<br>&nbsp;TUB Homepage","http://www.tu-berlin.de target=_blank",,,1
 	])
	
	addmenu(menu=["academy",,,220,1,,style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;µ¶ÀÏÀÇ&nbsp;¿¬±¸¼Ò<br>&nbsp;Forschungsinstitute in Deutschland","../html/g_ins.htm",,,1
	,"&nbsp;ÀüÀÚ&nbsp;µµ¼­°ü<br>&nbsp;e-Bibliothek","../html/e_lib.htm",,,1
	,"&nbsp;ÇÐ¾÷°ü·Ã&nbsp;ÀÚ·á½Ç","http://www.kostub.org/bbs/zboard.php?category=4&id=data&page=1&page_num=20&sn=off&ss=on&sc=on&keyword=&select_arrange=headnum&desc=asc",,,1
        ])
	
	addmenu(menu=["life",
	,,170,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;µ¶ÀÏÀ¯ÇÐ&nbsp;Q&A<br>&nbsp;Fragen zum Studium", "http://www.kostub.org/bbs/zboard.php?id=studien_qna",,,1
	,"&nbsp;À¯ÇÐ°ü·Ã&nbsp;»çÀÌÆ®<br>&nbsp;Links zum Studium", "../html/fo_link.htm",,,1
	,"&nbsp;º­·è½ÃÀå<br>&nbsp;Flohmarkt", "http://www.kostub.org/bbs/zboard.php?id=floh_markt",,,1
        ,"&nbsp;ÇÑÀÎ&nbsp;°¡°Ôµé<br>&nbsp;koreanische Geschaefte","../html/ko_store.htm",,,1
        ,"&nbsp;º£¸¦¸° Áöµµ<br>&nbsp;Berlin Stadtplan","http://www.berlin.de/stadtplan/map.asp target=_blank",,,1
	])
	
        addmenu(menu=["boards",
	,,130,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;µ¿¹®&nbsp;¼Ò½Ä<br>&nbsp;Alumni Seite","http://www.kostub.org/bbs/zboard.php?id=alumni",,,1
	,"&nbsp;¿ÜºÎÇà»ç&nbsp;¾Ë¸²ÆÇ<br>&nbsp;Extern", "http://www.kostub.org/bbs/zboard.php?id=event",,,1
        ,"&nbsp;Ãë¾÷&±¸ÀÎÁ¤º¸<br>&nbsp;Jobsuche & Stellen", "http://www.kostub.org/bbs/zboard.php?id=job",,,1
        ,"&nbsp;ÀÚÀ¯°Ô½ÃÆÇ<br>&nbsp;Free Board", "http://www.kostub.org/bbs/zboard.php?id=free",,,1
        ,"&nbsp;ÀÚ·á½Ç<br>&nbsp;Download", "http://www.kostub.org/bbs/zboard.php?id=data",,,1
	])

        addmenu(menu=["link",
	,,112,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;Å¸´ëÇÐ&nbsp;ÇÐ»ýÈ¸<br>&nbsp;koreanische<br>&nbsp;Uni-Vereine", "../html/others.htm",,,1
        ,"&nbsp;º£¸¦¸°&nbsp;ÇÑÀÎ´ÜÃ¼<br>&nbsp;koreanische<br>&nbsp;Organisationen","../html/ko_org.htm",,,1
        ,"&nbsp;µ¶ÀÏÁÖÀç&nbsp°ø°ü<br>&nbsp;diplomatische<br>&nbsp;Bueros", "../html/ko_office.htm",,,1
      	])
}
 dumpmenus()
