﻿/***********************************************
*	(c) Ger Versluis 2000 version simple 4 April 2000          *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu/			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=8;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="#cfdee0";			// Background color when mouse is not over
	var HighBgColor="#e8f2f4";			// Background color when mouse is over
	var FontLowColor="#013f47";			// Font color when mouse is not over
	var FontHighColor="#ff7333";			// Font color when mouse is over
	var BorderColor="#8cb1b8";			// Border color
	var BorderWidth=1;			// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="tahoma,technical,arial"	// Font family menu items
	var FontSize=8;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="right";		// Item text position left, center or right
	var MenuCentered="right";			// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=1.70;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.7;			// vertical overlap child/ parent
	var StartTop=120;				// Menu offset x coordinate
	var StartLeft=-17;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal= 0;			// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="";				// span id for relative positioning
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"tri.gif",5,10,BaseHref+"tridown.gif",10,5];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var PartOfWindow=.8;				// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to

						// Below some pretty useless effects, since only IE5+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
//	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
		var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.3, wipeStyle=1)";

//	var MenuShadow="";
		var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#94b5b9, offX=2, offY=2, positive=1)";
//	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="";
	//	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=75)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width);
Menu1=new Array("::: مرکز اسناد و مدارک سازمان","","",6,20,150);
Menu1_1=new Array(":: اهداف","http://edu.isfahancht.ir/eduPages/1_1.html","",0,20,150);    
Menu1_2=new Array(":: آدرس و نحوه استفاده","http://edu.isfahancht.ir/eduPages/1_2.html","",0,20,150);
Menu1_3=new Array(":: ورود به مرکز اسناد و مدارک","http://docs.isfahancht.ir/","",0,20,150);
Menu1_4=new Array(":: آرشیو گزارشات","http://edu.isfahancht.ir/eduPages/1_4.html","",0,20,150);
Menu1_5=new Array(":: آرشیو اسناد تصویری","http://edu.isfahancht.ir/eduPages/1_5.html","",0,20,150);    
Menu1_6=new Array(":: آرشیو نقشه ها","http://edu.isfahancht.ir/eduPages/1_6.html","",0,20,150);
Menu2=new Array("::: کتابخانه مرکزی","","",2,20,150);
Menu2_1=new Array(":: آدرس و نحوه عضویت","http://edu.isfahancht.ir/eduPages/2_1.html","",0,20,150);
Menu2_2=new Array(":: عناوین کتابها","http://edu.isfahancht.ir/eduPages/2_2.html","",0,20,150);
Menu3=new Array("::: کلاسهای آموزشی","","",2,20,150);
Menu3_1=new Array(":: گردشگری","http://edu.isfahancht.ir/eduPages/3_1.html","",0,20,200);
Menu3_2=new Array(":: صنایع دستی و هنرهای سنتی","http://edu.isfahancht.ir/eduPages/3_2.html","",0,20,200);
Menu4=new Array("::: آموزش الکترونیک","/View/ELearning.aspx","",0,20,150);     
Menu5=new Array("::: مقالات","http://edu.isfahancht.ir/eduPages/5.html","",0,20,150);
Menu6=new Array("::: پژوهش","","",3,20,150);
Menu6_1=new Array(":: میراث معنوی","http://edu.isfahancht.ir/eduPages/6_1.html","",0,20,150);
Menu6_2=new Array(":: میراث تاریخی","http://edu.isfahancht.ir/eduPages/6_2.html","",0,20,150);
Menu6_3=new Array(":: میراث طبیعی","http://edu.isfahancht.ir/eduPages/6_3.html","",0,20,150);
Menu7=new Array("::: گالری","/eduPages/gallery.html","",0,20,150);     
Menu8=new Array("::: دانشگاه نقش جهان","","",3,20,150);
Menu8_1=new Array(":: تاریخچه","/View/History.aspx","",0,20,150);    
Menu8_2=new Array(":: معرفی دوره ها","/View/Courses.aspx","",0,20,150);
Menu8_3=new Array(":: نحوه پذیرش دانشجو","/View/Admition.aspx","",0,20,150);