fixMozillaZIndex=false; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=0;
_subOffsetLeft=0;


with(menuStyle_Main=new mm_style()){
  align="right"
  bordercolor="";
  borderstyle="";
  borderwidth=0;
  fontfamily="Verdana, Arial, Helvetica, sans-serif";
  fontsize="10px";
  fontstyle="normal";
  headerbgcolor="";
  headercolor="";
  offbgcolor="";
  offcolor="#000000";
  onbgcolor="";
  oncolor="#000000";

  //outfilter="randomdissolve(duration=0.3)";
  overfilter="Fade(duration=0.2);Alpha(opacity=90);"; 
/*  rawcss="padding: 4px 8px 4px 8px;"*/
  pagebgcolor=""; 
  pagecolor="";
  separatorcolor="#ffffff";
  separatorsize=5;//dlm
}

with(menuStyle_SubMenu1=new mm_style()){
  bordercolor="#fff";
  borderstyle="solid";
  borderwidth=2;
  fontfamily="Verdana, Arial, Helvetica, sans-serif";
  fontsize="12px";
  fontstyle="normal";
  headerbgcolor="";
  headercolor="";
  offclass="menuStyle_SubMenu1_off";
  offbgcolor="#ffffff";
  offcolor="#000000";
  onclass="menuStyle_SubMenu1_on";
  onbgcolor="#ffffff";
  oncolor="#bababa";
  //outfilter="randomdissolve(duration=0.3)";
  overfilter="Fade(duration=0.2);Alpha(opacity=100);";
  padding=10; //this is set by the offclass because I needed different values for the top, right, bottom and left properties
  //itemwidth=100;
  separatorcolor="#e7e1c9";
  separatorsize=0;
  keepalive: 'true';
}



/* MAINMENU */
with(milonic=new menuname("Main Menu")){
  alwaysvisible=1;
  orientation="horizontal";
screenposition="left";
top="offset=30";
left="offset=45";
  style=menuStyle_Main;
  aI("image=images/navigation/blk-home.gif;overimage=images/navigation/red-home.gif;url=javascript:displayPage('index', 0, 0);");
  aI("image=images/navigation/blk-guests.gif;overimage=images/navigation/red-guests.gif;url=javascript:displayPage('speakers', -2000, -1240);"); //98,50 showmenu=guests; 667
  aI("showmenu=details;image=images/navigation/blk-details.gif;overimage=images/navigation/red-details.gif");
  aI("showmenu=media;image=images/navigation/blk-media.gif;overimage=images/navigation/red-media.gif");
//  aI("image=images/navigation/blk-register.gif;overimage=images/navigation/red-register.gif;url=javascript:pop('https://integration.fellowshipone.com/integration/FormBuilder/FormBuilder.aspx?fCode=r//tdJ0elbGI9lIEsIXjyw==&cCode=800XzofyomJJ+dymhii0SA==', 'pop', 'width=650, height=600, scrollbars=1');");
  aI("image=images/navigation/off_twitter.gif;overimage=images/navigation/on_twitter.gif;url=javascript:pop('twitter.html', 'twitter', 'width=420, height=650, scrollbars=0');"); //showmenu=facebook;
//  aI("image=images/navigation/off_contact.gif;overimage=images/navigation/on_contact.gif"); //showmenu=blog;
}


/* SUBMENUS LEVEL 1 */
with(milonic=new menuname("guests")){
  overflow="scroll";
  style=menuStyle_SubMenu1;
  aI("text=Robert Morris;url=index.php?action=speakers#robert_morris;");
  aI("text=Tom Lane;url=index.php?action=speakers#tom_lane;");
  aI("text=Kenny Luck;url=index.php?action=speakers#kenny_luck;");
  aI("text=Dr. Lance Wallnau;url=index.php?action=speakers#lance_wallnau;");
  aI("text=Chris Hodges;url=index.php?action=speakers#chris_hodges;");
  aI("text=Lee Cummings;url=index.php?action=speakers#lee_cummings;");
  aI("text=Dr. Juan Hernandez;url=index.php?action=speakers#juan_hernandez;");
  aI("text=Joe Champion;url=index.php?action=speakers#joe_champion;");
  aI("text=Bobby Bogard;url=index.php?action=speakers#bobby_bogard;");
}

with(milonic=new menuname("details")){
  overflow="scroll";
  style=menuStyle_SubMenu1;
  aI("text=Rates & Registration;url=javascript:displayPage('registration', 0, -1120);"); // 88, 8
  aI("text=Conference Schedule;url=javascript:displayPage('schedule', -3380, -1660);");
  aI("text=Venue & Travel;url=javascript:displayPage('venue', -3100, 0);");
  aI("text=Contact;url=javascript:displayPage('contact', -1050, -1400);");
  aI("text=FAQ;url=javascript:displayPage('faq', -1260, 0);");
}

with(milonic=new menuname("media")){
  overflow="scroll";
  style=menuStyle_SubMenu1;
  aI("text=Video Gallery;url=javascript:displayPage('videos', -4720, -1850);");
//  aI("text=Photo Gallery;url=index.php?action=photos;");
  aI("text=Spread the Word;url=javascript:displayPage('spread_the_word', -3400, -900);");
  aI("text=Invite a Friend;url=javascript:displayPage('evite', -4680, -240);"); //-2080, -1380
//  aI("text=Downloads;url=index.php?action=downloads;");
}

with(milonic=new menuname("facebook")){
  overflow="scroll";
  style=menuStyle_SubMenu1;
  aI("text=Facebook 1;url=index.php?action=;");
}

with(milonic=new menuname("blog")){
  overflow="scroll";
  style=menuStyle_SubMenu1;
  aI("text=Blog 1;url=index.php?action=;");
}


drawMenus();



