﻿//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 = -20;

with(RightPaneStyle=new mm_style()){
  align = "right";
  borderstyle="solid";
  fontfamily="Tahoma";
  fontsize="100%";
  fontstyle="normal";
  fontweight="normal";
  imagepadding=3;
  itemheight=23;
  itemwidth=190;
  offcolor = "#000000";
  oncolor = "#000000";
  bgimage="/ES_MelonicMenu/RightMenu.gif";
  overbgimage="/ES_MelonicMenu/RightMenuOver.gif";
  image="/ES_MelonicMenu/transparent.gif";
  subimage="/ES_MelonicMenu/VerticalMenuArrFa.gif";
  subimagepadding=2;
  subimageposition="left";
}

with(RightPaneSubStyle=new mm_style()){
  align = "right";
  borderstyle="solid";
  fontfamily="Tahoma";
  fontsize="100%";
  fontstyle="normal";
  fontweight="normal";
  imagepadding=4;
  itemheight=23;
  itemwidth=200;
  offcolor = "#000000";
  oncolor = "#000000";
  bgimage="/ES_MelonicMenu/RightMenuSub.gif";
  overbgimage="/ES_MelonicMenu/RightMenuSubOver.gif";
  image="/ES_MelonicMenu/transparent.gif";
  subimage="/ES_MelonicMenu/RightMenuSubArrowFa.gif";
  subimagepadding=2;
  subimageposition="right";
}

//with (RightPaneSubStyle = new mm_style()) {
//    styleid = 1;
//    align = "right";
//    bordercolor = "#000000";
//    borderstyle = "solid";
//    borderwidth = 0;
//    fontfamily = "Tahoma, Verdana, Arial";
//    fontsize = "110%";
//    fontstyle = "normal";
//    fontweight = "normal";
////    //headerbgcolor="#ffffff";
////    headercolor = "#000000";
//    //image = "/ES_MelonicMenu/mac_trans.gif";
//    itemwidth="200";
//    //menubgimage = "/ES_MelonicMenu/mac_back.gif";
//    offbgcolor = "#7A8F39";
//    offcolor = "#ffffff";
//    onbgcolor = "#91AA44";
//    oncolor = "#ffffff";
//    //ondecoration="underline";
//    //onsubimage = "/ES_MelonicMenu/macarrow_on.gif";
//    outfilter = "fade(duration=0.5)";
//    overfilter = "Fade(duration=0.5);Shadow(color=#ADAEAD,Direction=180,Strength=6";
//    padding = 5;
//    rawcss = "padding-left:5px;padding-right:5px;";
//    separatorcolor = "#63742E";
//    separatorpadding = 5;
//    subimage="/ES_MelonicMenu/TopMenuSubArrowFa.gif";
////    menubgcolor = "#85000C";
//    subimagepadding = 4;
//}

//with (milonic = new menuname("RightProfessional")) {
//    openstyle = "rtl";
//    style = RightPaneSubStyle;
//    menuwidth = "200";
//    aI("text=اخبار;url=/Fa/?Page=NewsList;");
//    aI("text=بذر و پیاز گل;url=/Fa/?Page=BulbsSeeds;");
//    aI("text=نشاهای فصلی;url=/Fa/?Page=BeddingPlants;");
//    aI("text=تجهیزات کشاورزی;showmenu=RightEquipments;url=;");
//    aI("text=محصولات کشاورزی;showmenu=RightProductions;url=;");
//    aI("text=فايلها;url=/Fa/?Page=Downloads;");
//}

//with (milonic = new menuname("RightEquipments")) {
//    openstyle = "rtl";
//    style = RightPaneSubStyle;
//    menuwidth = "200";
//    aI("text=گلخانه و تجهیزات گلخانه ای;url=/Fa/?Page=GreenHouse;");
//    aI("text=خاك;url=/Fa/?Page=Soil;");
//    aI("text=گلدان و سینی کشت;url=/Fa/?Page=PotsTrays;");
//    aI("text=پرده سايبان;url=/Fa/?Page=Shades;");
//    aI("text=پرده مالچ;url=/Fa/?Page=Mulch;");
//}

//with (milonic = new menuname("RightProductions")) {
//    openstyle = "rtl";
//    style = RightPaneSubStyle;
//    menuwidth = "200";
//    aI("text=گلهاي شاخه اي;url=/Fa/?Page=Shakhei;");
//    aI("text=گلهاي پيازي;url=/Fa/?Page=Piyazi;");
//    aI("text=گلدان تزئيني آپارتماني;url=/Fa/?Page=Tazini;");
//}

//with (milonic = new menuname("RightShop")) {
//    openstyle = "rtl";
//    style = RightPaneSubStyle;
//    menuwidth = "200";
//    aI("text=فروشگاه مجازي;url=/Fa/;");
//    aI("text=نحوه نگهداري گياهان زينتي;url=/Fa/?Page=HowTo;");
//    aI("text=گل آرايي مجازي;url=/Fa/?Page=OwnDesign;");
//}

//drawMenus();


