_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0              // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=4               // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x



with(menuStyle=new mm_style()){
//onbgcolor="#3B8BCF";			
oncolor="#FF0000";   //"#3B8BCF";
//offbgcolor="#ff8814";
offcolor="#000000";  //"#333333";  //"#6a6a6a";
bordercolor="#e5e5e5";
borderstyle="solid";
borderwidth=0;
separatorcolor="#bbbbbb";
separatorsize="1";
padding=3;	
fontsize="11px";
fontstyle="normal";
fontfamily="tahoma";
//pagecolor="#000000";
//pagebgcolor="#000000";
//headercolor="#000000";
//headerbgcolor="#e5e5e5";
//subimage="";
//subimagepadding=2;
//subimageposition="right";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=0)";
//outfilter="randomdissolve(duration=0.3)";
openstyle="rtl";
align="right";
//pageimage="http://www.railassociation.ir/html/images/ilmenu/f1.gif";
}

with(menuSubStyle=new mm_style()){
onbgcolor="#E5E5E5";			
oncolor="#FF0000";
offbgcolor="#E5E5E5";
offcolor="#6a6a6a";
bordercolor="#bbbbbb";
borderstyle="solid";
borderwidth=1;
separatorcolor="#000000";
separatorsize="0";
padding=3;	
fontsize="11px";
fontstyle="normal";
fontfamily="tahoma";
//pagecolor="#000000";
//pagebgcolor="#000000";
//headercolor="#000000";
//headerbgcolor="#e5e5e5";
subimage="http://www.railassociation.ir/html/images/ilmenu/f1.gif";
subimagepadding=2;
subimageposition="right";
//overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
//outfilter="randomdissolve(duration=0.3)";
openstyle="rtl";
align="right";
}

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=178;
alwaysvisible=1;
orientation="vertical";
//aI("text=;showmenu=;");
aI("text=آشنایی با انجمن;showmenu=menu4;");
aI("text=تالارگفتگو;url=http://www.railassociation.ir/html/modules.php?op=modload&name=PNphpBB2&file=index;");
aI("text=اخبار;showmenu=menu3;");
aI("text=دانلود;showmenu=menu6;");
aI("text=لینکها;showmenu=menu7;");
aI("text=نشریات خارجی;url=http://www.railassociation.ir/html/modules.php?op=modload&name=Sections&file=index;");
aI("text=سمینارها و همایشها;showmenu=menu12;");
aI("text=فرم درخواست عضویت;showmenu=menu5;");
aI("text=جستجو;url=http://www.railassociation.ir/html/modules.php?op=modload&name=Search&file=index;");
aI("text=مناقصه / مزایده;showmenu=menu9;");
aI("text=امکانات;showmenu=menu10;");
aI("text=ثبت نام;url=http://www.railassociation.ir/html/user.php?op=register&module=NewUser;");
aI("text=راهنما;showmenu=menu11;");
//aI("text=;showmenu=;");
}



with(milonic=new menuname("menu3")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=همه;url=http://www.railassociation.ir/html/index.php?op=modload&name=News&file=arview;");
aI("text=داخلی;url=http://www.railassociation.ir/html/index.php?op=modload&name=News&file=arview&catid=3;");
aI("text=خارجی;url=http://www.railassociation.ir/html/index.php?op=modload&name=News&file=arview&catid=7;");
aI("text=همایشها و سمینارها;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=1;");
aI("text=اختصاصی انجمن;showmenu=;");
}



with(milonic=new menuname("menu4")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=هیئت مدیره;url=http://www.railassociation.ir/Download/Board/Board.pdf;");
aI("text=تفاهم نامه ها;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=28;");
aI("text=افتخارات انجمن;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=84");
aI("text=اهداف و خط مشی انجمن;url=http://www.railassociation.ir/Download/Board/vision.pdf;");
aI("text=اساسنامه انجمن;showmenu=;");
aI("text=انتشارات;showmenu=menu4-1;");
aI("text=کمیته ها;showmenu=menu4-2;");
aI("text=لیست اعضا;showmenu=menu4-3;");
aI("text=آئین نامه ها;showmenu=menu4-4;");
}
	with(milonic=new menuname("menu4-1")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=کاتالوگ;showmenu=;");
	aI("text=ماهنامه;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=66;");
	aI("text=مقالات;url=;");
	aI("text=کتابها;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=87;");
	}

	with(milonic=new menuname("menu4-2")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=آموزش;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=12;");
	aI("text=مدیریت و اقتصاد و حمل و نقل;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=70;");
	aI("text=پژوهش;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=15;");
	aI("text=امور بین الملل;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=71;");
	aI("text=همایشها;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=69;");
	aI("text=روابط عمومی و اطلاع رسانی;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=72;");
	}

	with(milonic=new menuname("menu4-3")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=اعضاء حقیقی;url=;");
	aI("text=هیئت علمی;url=http://railassociation.ir/html/index.php?module=htmlpages&func=display&pid=49;");
	aI("text=حقوقی;url=http://www.railassociation.ir/Download/Company/Company%20-%20Full.pdf;");
	}

	with(milonic=new menuname("menu4-4")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=آیین نامه کمیته پژوهش;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=15;");
	aI("text=آیین نامه برگزاری همایش سالانه;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=69;");
	aI("text=آیین نامه کمیته آموزش و خدمات مهندسی;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=12;");
	aI("text=آیین نامه عضویت های حقوقی;url=http://www.railassociation.ir/Download/Board/CoRegister.pdf;");
	aI("text=آیین نامه اعطای مزایا به اعضای طلایی;url=http://www.railassociation.ir/Download/Board/ValueAdded.pdf;");
	aI("text=آیین نامه کمیته عضویت;url=http://www.railassociation.ir/Download/Board/Registration.pdf;");
	aI("text=آیین نامه کمیته روابط عمومی و اطلاع رسانی;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=72;");
	aI("text=آیین نامه مالی;url=;");
	aI("text=آیین نامه شرح وظایف دبیرانجمن;url=http://www.railassociation.ir/Download/Board/Office.pdf");
	aI("text=آیین نامه اهداء جوایز;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=14;");
	}



with(milonic=new menuname("menu5")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=حقیقی;url=http://www.railassociation.ir/Download/RegistrationForm.pdf;");
aI("text=حقوقی;url=http://www.railassociation.ir/Download/Company%20Registartion%20Form.doc;");
}



with(milonic=new menuname("menu6")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=مالتی مدیا;showmenu=menu6-1;");
aI("text=مقالات;showmenu=menu6-2;");
aI("text=راه آهن;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=68;");
aI("text=مترو;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=67;");
aI("text=فرهنگستان زبان و ادب فارسی;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=64;");
}

	with(milonic=new menuname("menu6-1")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=فیلم / صدا;url=http://www.railassociation.ir/html/index.php?name=Downloads&req=viewdownload&cid=4;");
	aI("text=عکس;url=http://www.railassociation.ir/html/index.php?name=Downloads&req=viewdownload&cid=3;");
	aI("text=عمومی;url=http://www.railassociation.ir/html/index.php?name=Downloads&req=viewdownload&cid=2;");
	}
	
	with(milonic=new menuname("menu6-2")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=نشریات (جدید)/مقالات;url=http://www.railassociation.ir/html/modules.php?op=modload&name=Sections&file=index;");
	aI("text=نشریات;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=65;");
	}



with(milonic=new menuname("menu9")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=مناقصات;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=57;");
aI("text=مزایده ها;url=http://www.railassociation.ir/html/index.php?module=htmlpages&func=display&pid=57;");
}



with(milonic=new menuname("menu7")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=لینکهای داخلی;showmenu=menu7-1;");
aI("text=لینکهای خارجی;showmenu=menu7-2;");
}

	with(milonic=new menuname("menu7-1")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=شرکتهای عضو انجمن;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=4;");
	aI("text=مراکز علمی و تحقیقاتی;url=;");
	aI("text=انجمنهای علمی;url=http://railassociation.ir/html/index.php?module=htmlpages&func=display&pid=25;");
	aI("text=شرکتها و نهادهای دولتی;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=4;");
	}

	with(milonic=new menuname("menu7-2")){
	style=menuSubStyle;
	openstyle="rtl";
	align="right";
	aI("text=شرکتها و نهادها;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=6;");
	aI("text=پیمانکاران;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=12;");
	aI("text=رویدادها;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=9;");
	aI("text=سازمانهای منطقه ای;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=11;");
	aI("text=انجمن های حمل و نقل ریلی دنیا;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=14;");
	aI("text=صنایع مهم بین المللی ریلی;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=13;");	
        aI("text=نشریات بین المللی ریلی;url=http://www.railassociation.ir/html/index.php?module=صفحات%20HTML&func=display&pid=65;");
	}
	

with(milonic=new menuname("menu10")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=صفحات پربیننده;url=http://www.railassociation.ir/html/index.php?module=Top_List;");
aI("text=آمار مشاهدات;url=http://www.railassociation.ir/html/index.php?module=Stats;");
aI("text=مدیریت;url=http://www.railassociation.ir/html/admin.php;");
aI("text=خروج;url=user.php?module=NS-User&op=logout;");
}
	


with(milonic=new menuname("menu12")){
style=menuSubStyle;
openstyle="rtl";
align="right";
aI("text=سمینارها وهمایشهای داخلی;url=http://www.railassociation.ir/html/index.php?module=%D8%B5%D9%81%D8%AD%D8%A7%D8%AA%20HTML&func=display&pid=1;");
aI("text=سمینارها همایشهای خارجی;url=http://www.railassociation.ir/html/index.php?name=Web_Links&req=viewlink&cid=9;");
}

drawMenus();

