fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(mainmenuStyle=new mm_style()){
styleid=1;
bordercolor='';
borderstyle='none';
borderwidth=1;
fontfamily='Tahoma';
fontsize='90%';
fontstyle='font-size: 8pt; font-weight: bold; color: #000000';
imagepadding=3;
offbgcolor='';
offcolor='';
onbgcolor='';
oncolor='red';
onsubimage='menueimg/bob_arrow.gif';
padding=5;
subimage='menueimg/bob_arrow1.gif';
subimagepadding=6;
align='right';
}

with(menuStyle=new mm_style()){
bordercolor='#6D6E72';
borderstyle='dotted';
borderwidth=2;
fontfamily='Tahoma';
fontsize='90%';
fontstyle='normal';
headerbgcolor='#ffffff';
headercolor='#000000';
offbgcolor='#ffffff';
offcolor='#000000';
onbgcolor='#E5E8E7';
oncolor='#000000';
onsubimage='menueimg/bob_left.gif';
padding=5;
subimage='menueimg/bob_left1.gif';
subimagepadding=6;

}
with(milonic=new menuname('Main Menu'))
{
alwaysvisible=1;
orientation='horizontal';
style=mainmenuStyle;

	      aI("image=menueimg/milbutt.gif;overimage=;showmenu=a1;text=خانه;url=0;");
	    aI("image=;overimage=;showmenu=a2;text=تماس با ما;url=index.php?action=p13;");
	      aI("image=menueimg/blocks16.gif;overimage=menueimg/blockminus.gif;showmenu=a3;text=اصناف;url=0;");
	    aI("image=;overimage=;showmenu=a4;text=تبليغات;url=0;");
	    aI("image=;overimage=;showmenu=a5;text=استخدام;url=index.php?action=p9;");
	    aI("image=;overimage=;showmenu=a6;text=کار&#1740;اب&#1740;;url=index.php?action=p7;");
	    aI("image=;overimage=;showmenu=a7;text=درخواست کالا;url=index.php?action=p12;");}
		  with(milonic=new menuname("a1")){
	      style=menuStyle;
				   aI("text=صفحه اول سا&#1740;ت;url=index.php;")
				   aI("text=راهنما&#1740; سا&#1740;ت و فروشگاه;url=?do=page&url=13;")
				}
		  with(milonic=new menuname("a2")){
	      style=menuStyle;
				}
		  with(milonic=new menuname("a3")){
	      style=menuStyle;
				   aI("text=آمار اصناف;url=?do=page&url=1;")
				   aI("text=تار&#1740;خچه اصناف;url=?do=page&url=3;")
				   aI("text=ارسال خبر;url=?action=sendnews;")
				   aI("text=نمايشگاه ها;url=?do=page&url=22;")
				   aI("text=مشخصات اتحاد&#1740;ه ها&#1740; شهر مقدس مشهد;url=http://ettehadieh.118asnaf.com;")
				}
		  with(milonic=new menuname("a4")){
	      style=menuStyle;
				   aI("text=تبل&#1740;غات در سا&#1740;ت;url=?do=prop&url=pageregister;")
				   aI("text=تبادل بنر;url=index.php?action=changbaner;")
				   aI("text=تبليغ رايگان;url=?action=sendfree;")
				}
		  with(milonic=new menuname("a5")){
	      style=menuStyle;
				   aI("text=ل&#1740;ست شرکت ها&#1740; متقاض&#1740; ن&#1740;رو;url=index.php?action=p9;")
				   aI("text=ثبت نام در ل&#1740;ست متقاض&#1740; ن&#1740;رو;url=index.php?action=p10;")
				}
		  with(milonic=new menuname("a6")){
	      style=menuStyle;
				   aI("text=ل&#1740;ست متقاض&#1740;ان کار;url=index.php?action=p7;")
				   aI("text=ثبت نام در ل&#1740;ست متقاض&#1740;ان کار;url=index.php?action=p8;")
				}
		  with(milonic=new menuname("a7")){
	      style=menuStyle;
				   aI("text=ل&#1740;ست متقاض&#1740;ان کالا;url=index.php?action=p12;")
				   aI("text=ثبت نام درل&#1740;ست متقاض&#1740;ان کالا;url=index.php?action=p11;")
				}
drawMenus();