﻿/***********************************************
*	(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=11;			// 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="003663";			// Background color when mouse is not over
	var HighBgColor="f7941d";			// Background color when mouse is over
	var FontLowColor="white";			// Font color when mouse is not over
	var FontHighColor="white";			// Font color when mouse is over
	var BorderColor="ffffff";			// 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="center";		// Item text position left, center or right
	var MenuCentered="left";			// 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=.2;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=151;				// Menu offset x coordinate
	//var StartLeft=106;				// Menu offset y coordinate
	var StartLeft=0;				// 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="spanTargetLoc"; //if = "" from body (poya)
	var TargetLoc="spanTargetLoc";				// 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=AAB5D5, 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("معرفي بنا","","",5,20,110);
	Menu1_1=new Array("وجه تسميه","/fr-site/tasmieh.htm","",0,20,110);
	Menu1_2=new Array("موقعيت جغرافيايي","/fr-site/m-joghrafia.htm","",0,20,110);
	Menu1_3=new Array("عناصر معماري","/fr-site/memari.htm","",0,20,110);
	Menu1_4=new Array("کاربري و ثبت","/fr-site/karbari-sabt.htm","",0,20,110);
	Menu1_5=new Array("تصاوير و پلان","/fr-site/tasavir-plan.htm","",0,20,110);

Menu2=new Array("تاريخ و باستانشناسي","","",3,20,110);
	Menu2_1=new Array("پارگرام تاريخگذاري دره خرم آباد","/fr-site/tarikh-pish.htm","",3,20,140);	
		Menu2_1_1=new Array("پيش از تاريخ","/fr-site/tarikh-pish.htm","",0,20,100);	
		Menu2_1_2=new Array("دوران تاريخي","/fr-site/tarikh-tarikhi.htm","",0,20,100);	
		Menu2_1_3=new Array("دوران اسلامي","/fr-site/tarikh-eslami.htm","",0,20,100);	
	Menu2_2=new Array("آثار دره خرم آباد","/fr-site/asar-main.htm","",3,20,140);	
		Menu2_2_1=new Array("پيش از تاريخ","/fr-site/asar-cave.htm","",0,20,100);	
		Menu2_2_2=new Array("دوران تاريخي","/fr-site/asar-hill.htm","",0,20,100);	
		Menu2_2_3=new Array("دوران اسلامي","/fr-site/asar-eslami.htm","",0,20,100);	
	Menu2_3=new Array("شهر و قلعه فلک الافلاک","/fr-site/peivand.htm","",3,20,140);	
		Menu2_3_1=new Array("شهر شاپورخواست","/fr-site/peivand2.htm","",0,20,100);	
		Menu2_3_2=new Array("خرم آباد وقلعه","/fr-site/shahr-ghale.htm","",0,20,100);	
		Menu2_3_3=new Array("علل جابجايي شهر","/fr-site/shahr-move.htm","",0,20,100);	

Menu3=new Array("حفظ و احيا","","",4,20,100);
	Menu3_1=new Array("تحولات معماري","/fr-site/hefz-memari.htm","",0,20,78);
	Menu3_2=new Array("مراحل مرمت","/fr-site/hefz-maremat.htm","",0,20,78);
	Menu3_3=new Array("مواد ومصالح","/fr-site/hefz-masaleh.htm","",0,20,78);
	Menu3_4=new Array("طرحهاي مرمتي","/fr-site/hefz-tarh.htm","",0,20,78);

Menu4=new Array("پژوهش و گزارش","","",6,20,100);
	Menu4_1=new Array("زمين شناسي","/fr-site/pazhuhesh-zamin.htm","",0,20,78);
	Menu4_2=new Array("شهرسازي","/fr-site/pazhuhesh-shahr.htm","",0,20,78);
	Menu4_3=new Array("باستان شناسي","/fr-site/pazhuhesh-bastan.htm","",0,20,78);
	Menu4_4=new Array("مرمت","/fr-site/pazhuhesh-maremat.htm","",0,20,78);
	Menu4_5=new Array("تاريخي","/fr-site/pazhuhesh-tarikhi.htm","",0,20,78);
	Menu4_6=new Array("مردم شناسي","/fr-site/pazhuhesh-mardom.htm","",0,20,78);

Menu5=new Array("موزه","","",5,20,100);
	Menu5_1=new Array("تاريخچه","/fr-site/museum-history.htm","",0,20,78);
	Menu5_2=new Array("معرفي بخشها","/fr-site/museum-moarefi.htm","",0,20,78);
	Menu5_3=new Array("بازديد مجازي","/fr-site/museum-tour.htm","",0,20,78);
	Menu5_4=new Array("اطلاعات بازديد","/fr-site/museum-information.htm","",0,20,78);
	Menu5_5=new Array("گالري عکس","/fr-site/museum-gallery.htm","",0,20,78);
	
Menu6=new Array("نشريه","/fr-site/publish.htm","",0,20,100);
Menu7=new Array("درباره ما","/fr-site/about.htm","",0,20,100);
Menu8=new Array("ارتباط با ما","/fr-site/contact.htm","",0,20,100);
Menu9=new Array("گالری عکس","/fr-site/gallery.asp","",0,20,100);
Menu10=new Array("اخبار","/fr-site/news.asp","",0,20,100);
Menu11=new Array("خانه","/index.htm","",0,20,100);
