﻿//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)}
//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.
////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

d=document
if (typeof window.innerWidth!='undefined') {
 var winWidth = window.innerWidth;
 var winHeight = window.innerHeight;
} else {
 if (d.documentElement && 
  typeof d.documentElement.clientWidth!='undefined' && 
   d.documentElement.clientWidth!=0) {
  var winWidth = d.documentElement.clientWidth
  var winHeight = d.documentElement.clientHeight
 } else {
  if (d.body && 
   typeof d.body.clientWidth!='undefined') {
   var winWidth = d.body.clientWidth
   var winHeight = d.body.clientHeight
  }
 }
}

function nwin(url) {
	var newwindow = window.open(url,'results','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}

var menuwidth = 4;
if (((winWidth/2)-325) > 0) {
	menuwidth = ((winWidth/2)-325);
	if (top.location != location) {menuwidth = ((winWidth/2)-335);}
	}
// 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 = "GradientWipe(duration=0.3,WipeStyle=1, GradientSize=0.3);"
//}

timegap=1000			// The time delay for menus to remain visible
followspeed=4			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=-3;		// Sub menu offset Top position 
suboffset_left=7;		// 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.
"ffffff",					// Mouse Off Font Color
"194077",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"a0c2f5",				// Mouse On Background Color
"ffffff",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,						// Menu Item Padding
"/en/images/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
"ffffff",				// Current Page Item Font Color (leave this blank to disable)
"194077",					// Current Page Item Background Color (leave this blank to disable)
"/en/images/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)
]


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
111,					// Menu Top - The Top position of the menu in pixels
menuwidth,				// Menu Left - The Left position of the menu in pixels
128,					// Menu Width - Menus width in pixels
0.3,					// 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)
"center",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// 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)
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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

,"Home","http://www.iran-student.net",,"Home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"New&nbsp;Students&nbsp;&nbsp;","show-menu=news",,"",1
,"Current&nbsp;Students&nbsp;&nbsp;","show-menu=current",,"",1
,"Universities&nbsp;&nbsp;","show-menu=univer",,"",1
,"Links&nbsp;&nbsp;","show-menu=links",,"",1
,"Contact&nbspUs&nbsp;&nbsp;","show-menu=about",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
])

	addmenu(menu=["news",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Create Record","http://www.iran-student.com/",,,1
		,"Cities Info","show-menu=city",,,1
		,"UK General Info","show-menu=general",,,1
	])	
	
	addmenu(menu=["current",,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Scientific Report","http://www.iran-student.com/",,,1
		,"Student Info","show-menu=faq",,,1
	])

	addmenu(menu=["city",,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"UK","show-menu=cities",,,1
		,"Ireland","show-menu=ircities",,,1
	])
	
	addmenu(menu=["cities",,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Aberdeen","/en/open.php?src=ukcities/aberdeen.htm",,,1
		,"Bangor","/en/open.php?src=ukcities/bangor.htm",,,1
		,"Bath","/en/open.php?src=ukcities/bath.htm",,,1
		,"Birmingham","/en/open.php?src=ukcities/birmingham.htm",,,1
		,"Bradford","/en/open.php?src=ukcities/bradford.htm",,,1
		,"Brighton","/en/open.php?src=ukcities/brighton.htm",,,1
		,"Bristol","/en/open.php?src=ukcities/bristol.htm",,,1
		,"Cambridge","/en/open.php?src=ukcities/cambridge.htm",,,1
		,"Cardiff","/en/open.php?src=ukcities/cardiff.htm",,,1
        ,"Colchester","/en/open.php?src=ukcities/colchester.pdf",,,1
		,"Durham","/en/open.php?src=ukcities/durham.htm",,,1
		,"Edinburgh","/en/open.php?src=ukcities/edinburgh.htm",,,1
		,"Exeter","/en/open.php?src=ukcities/exeter.htm",,,1
		,"Glasgow","/en/open.php?src=ukcities/glasgow.htm",,,1
		,"Guildford","/en/open.php?src=ukcities/guildford.htm",,,1
		,"Leeds","/en/open.php?src=ukcities/leeds.htm",,,1
		,"Liverpool","/en/open.php?src=ukcities/liverpool.htm",,,1
		,"London","/en/open.php?src=ukcities/london.htm",,,1
		,"Manchester","/en/open.php?src=ukcities/manchester.htm",,,1
		,"Newcastle","/en/open.php?src=ukcities/newcastle.htm",,,1
		,"Nottingham","/en/open.php?src=ukcities/nottingham.htm",,,1
		,"Oxford","/en/open.php?src=ukcities/oxford.htm",,,1
		,"Reading","/en/open.php?src=ukcities/reading.htm",,,1
		,"Warwick","/en/open.php?src=ukcities/warwick.htm",,,1
		,"York","/en/open.php?src=ukcities/york.htm",,,1  
	])
	
	addmenu(menu=["ircities",,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Dublin","/en/open.php?src=ireland/cities/dublin.pdf",,,1
		,"Cork","/en/open.php?src=ireland/cities/cork.pdf",,,1
	])
	
	addmenu(menu=["general",,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"مقدمه","/en/info/#1",,,1
		,"تحصیل در انگلستان","/en/info/#2",,,1
		,"تحصیلات دانشگاهی","/en/info/#2",,,1
		,"دوره دکتری (PhD)","/en/info/#4",,,1
		," رشته های علوم","/en/info/#5",,,1
		," رشته های علوم پزشکی","/en/info/#6",,,1
        ,"گروهبندی دانشگاه های کشور انگلستان","/en/info/#7",,,1
		,"تدارک عزیمت به انگلستان","/en/info/#8",,,1
		,"آمادگی قبل از ورود","/en/info/#9",,,1
		,"بدو ورود","/en/info/#10",,,1
		,"بعد از ورود","/en/info/#11",,,1
		,"تماس با امور دانشجویی سفارت","/en/info/#12",,,1
		,"افتتاح حساب بانکی","/en/info/#13",,,1
		,"ثبت نام و دریافت کارت ","/en/info/#14",,,1
		,"رادیو و تلویزیون","/en/info/#15",,,1
		," گواهی نامه رانندگی","/en/info/#16",,,1
		,"مدرک معاینه فنی","/en/info/#17",,,1
		," بیمه","/en/info/#18",,,1
		," مالیات","/en/info/#19",,,1
		,"ایمنی","/en/info/#20",,,1
		," پارکینگ","/en/info/#21",,,1
		," دوچرخه ها","/en/info/#22",,,1
	])
		
	addmenu(menu=["faq",,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Main","/en/book",,,1
		,"Table of Contents","/en/book/en/book.php",,,1
		,"Contents","show-menu=bookcontent",,,1
	])
		
	addmenu(menu=["bookcontent",,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"پیشگفتار","/en/book/en/book.php#1",,,1
		,"مقدمه ","/en/book/en/book.php#2",,,1
		,"تشکیل پرونده","/en/book/en/book.php#3",,,1
		,"پرداخت مقرری هزینه زندگی ","/en/book/en/book.php#4",,,1
		,"گزارشهای علمی شش ماهه","/en/book/en/book.php#5",,,1
		,"گرداوری دادههای تحقیق در ایران","/en/book/en/book.php#6",,,1
		,"انتقال از امفیل به دکترا ","/en/book/en/book.php#7",,,1
        ,"گواهی پشتیبانی مالی ","/en/book/en/book.php#8",,,1
		,"حق تکفل فرزند خدید","/en/book/en/book.php#9",,,1
		,"تایید گاهی تحصیلی","/en/book/en/book.php#10",,,1
		,"More..","/en/book/en/book.php",,,1
	])		
		
	addmenu(menu=["forum",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,	
		,"Main page","/en/open.php?src=/cgi-bin/ib3/ikonboard.cgi",,,1
		,"Annoucements","/en/open.php?src=/cgi-bin/ib3/ikonboard.cgi?act=SC;c=1",,,1
		,"Student Annoucements","/en/open.php?src=/cgi-bin/ib3/ikonboard.cgi?act=SC;c=6",,,1
		,"Scientific Discussion","/en/open.php?src=/cgi-bin/ib3/ikonboard.cgi?act=SC;c=2",,,1
		,"Entertainment","/en/open.php?src=/cgi-bin/ib3/ikonboard.cgi?act=SC;c=3",,,1
		,"Publications","/en/open.php?src=/cgi-bin/ib3/ikonboard.cgi?act=SC;c=5",,,1
		,"Feedback","/en/open.php?src=/cgi-bin/ib3/ikonboard.cgi?act=SC;c=4",,,1		
	])	

	addmenu(menu=["links",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"Usuful Links","/en/links",,,1
		,"Date Conversion","/en/links/calendar/date.php",,,1
		,"Iranian Calendar","/en/links/calendar",,,1
                ,"Supreme Leader Office","javascript: nwin(\"http://www.leader.ir/\")",,,1
                ,"Iranian Newspapers","/en/links/newspapers/",,,1
		,"Iranian Embassy -UK","javascript: nwin(\"http://www.iran-embassy.org.uk\")",,,1
		,"Iran Air,Uk Service","javascript: nwin(\"http://www.iranair.co.uk/\")",,,1
                /*,"Quick Links","show-menu=quicklinks",,"",1*/
		,"Scientific","show-menu=lscientific",,"",1
		,"Associations","show-menu=lass",,"",1
		,"Ministries","show-menu=lmin",,"",1
	])
	
	addmenu(menu=["lmin",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"Scholarships","javascript: nwin(\"http://www.iranscholarship.net\")",,,1
		,"MSRT","javascript: nwin(\"http://www.msrt.gov.ir\")",,,1
		,"MHME","javascript: nwin(\"http://www.hbi.dmr.or.ir/\")",,,1
	])	
			
	addmenu(menu=["lass",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"Students' Europe","javascript: nwin(\"http://www.uisaeurope.com/\")",,,1
	])
		
	addmenu(menu=["lscientific",,,110,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"Iran","show-menu=liransci",,,1
		,"UK","show-menu=luksci",,,1
	])

	addmenu(menu=["luksci",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"HEFCE","javascript: nwin(\"http://www.hefce.ac.uk\")",,,1
		,"Hero","javascript: nwin(\"http://www.hero.co.uk\")",,,1
		,"UCAS","javascript: nwin(\"http://www.ucas.com\")",,,1
	])	

	addmenu(menu=["liransci",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"IRPHE","javascript: nwin(\"http://www.irphe.ir\")",,,1
		,"Sanjesh","javascript: nwin(\"http://www.sanjesh.org\")",,,1
		,"IROST","javascript: nwin(\"http://www.irost.org\")",,,1
		,"Science network","javascript: nwin(\"http://www.iranscience.net\")",,,1
	])	
	
	addmenu(menu=["quicklinks",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
		,"StreetMap","javascript: nwin(\"http://www.streetmap.co.uk\")",,,1
		,"MapQuest","javascript: nwin(\"http://www.mapquest.co.uk/cgi-bin/mqtrip?link=btwn/twn-ddir_uk_basic_main&event=no_map&uid=uaw5ctj5d1kcrawa:25l6200z2g&random=1155&dir=New+Directions\")",,,1
		,"Entertainment","javascript: nwin(\"http://www.gooya.com\")",,,1
	])
		
	addmenu(menu=["univer",,,140,1,"",style1,,"",effect,,,,,,,,,,,,
		,"World","javascript: nwin(\"http://www.unesco.org/iau/world-universities/index.html\")",,,1
		,"Iranian","/en/universities/iran",,,1
		,"British","show-menu=buniv",,,1
		,"Accepted Universities >","show-menu=uaccepted",,,1
	])
			
	addmenu(menu=["uaccepted",,,140,1,"",style1,,"",effect,,,,,,,,,,,,
		,"Ministry of Science","/en/universities/accepted/science.php",,,1
		,"Ministry of Health","/en/universities/accepted/health.php",,,1
	])

	addmenu(menu=["buniv",,,110,1,"",style1,,"",effect,,,,,,,,,,,,
		,"Map","javascript: nwin(\"http://www.hero.ac.uk/sites/hero/uk/en/universities___colleges/index.cfm\")",,,1
		,"List","/en/universities/uk",,,1
	])
		
	addmenu(menu=["about",,,110,1,"",style1,,"",effect,,,,,,,,,,,,
		,"About Us","/en/about.php",,,1
		,"Contact Us","/en/contact.php",,,1
	])

dumpmenus()
