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;

//////////////////////////////////////////////////
//top navbar menus
//////////////////////////////////////////////////

with(s_hm1=new mm_style()){
  offbgcolor="#949599";
  offcolor="#FFFFFF";

  onbgcolor="#949599";
  oncolor="#FFFFFF";

  onclass = "";
  offclass = "";

  borderwidth=0;

  fontfamily="Verdana, Tahoma, Arial";
  fontsize="10pt";
  fontstyle="normal";
  fontweight="bold";
  headerbgcolor="#ffffff";
  headercolor="#000000";

  outfilter="randomdissolve(duration=0.3)";
  overfilter="Fade(duration=0.2);Alpha(opacity=90)";
  padding=0;
  pagebgcolor="#949599";
  pagecolor="#FFFFFF";
  subimage=sURLVal + "/images/a1.gif";
  subimagepadding=2;
}

with(s_hm1_s1=new mm_style()){
  offbgcolor="#A8A8A9";
  offcolor="#FFFFFF";

  onbgcolor="#B2CBE1";
  oncolor="#09519B";

  onclass = "";
  offclass = "";

  borderwidth=1;
  bordercolor="#09519B";
  offborder="1px solid #09519B";
  onborder="1px solid #09519B";

  fontfamily="Verdana, Tahoma, Arial";
  fontsize="8pt";
  fontstyle="normal";
  fontweight="bold";
  headerbgcolor="#ffffff";
  headercolor="#000000";

  outfilter="randomdissolve(duration=0.3)";
  overfilter="Fade(duration=0.2);Alpha(opacity=90)";
  padding=5;
  pagebgcolor="#A8A8A9";
  pagecolor="#FFFFFF";
  subimage=sURLVal + "/images/a1.gif";
  subimagepadding=2;
}

with(milonic=new menuname("Quotes")){
  itemwidth=260;
  style=s_hm1_s1;
  aI("text=Term Life Comparison;url=" + sVtlTrm + ";target=" + sTarget);
  aI("text=UL Comparison;url=" + sVtlUL1 + ";target=" + sTarget);
  aI("text=WinFlex;url=" + sVtlLnk + ";target=" + sTarget);
  aI("text=Permanent Life Request;url=http://www.einsurancetools.com/QuoteRequest/pl.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
  aI("text=Permanent Life Comparison;url=" + sVtlLnk + ";target=" + sTarget);
  aI("text=LTC Request;url=http://www.einsurancetools.com/QuoteRequest/ltc.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
  aI("text=LTC Comparison;url=" + sVtlLTC + ";target=" + sTarget);
  aI("text=Deferred Annuity;url=http://www.einsurancetools.com/QuoteRequest/da.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
  aI("text=Immediate Annuity;url=http://www.einsurancetools.com/QuoteRequest/ia.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
  aI("text=Annuity Comparison;url=" + sVtlAnn + ";target=" + sTarget);
  aI("text=Pensions/412 (i);url=http://www.einsurancetools.com/QuoteRequest/rp.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
  aI("text=Individual Disability Request;url=http://www.einsurancetools.com/QuoteRequest/id.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
  aI("text=Disability Overhead Expense Request;url=http://www.einsurancetools.com/QuoteRequest/boed.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
  aI("text=Disability Buy Out Request;url=http://www.einsurancetools.com/QuoteRequest/dbo.asp?ID=" + sCompId + "&URLVal=" + sURLVal + "&CompNm=" + sCompNm + "&VtlLnk=" + sVtlLnk + "&AfilNm=" + sAfilNm + "&AflFld=" + sAflFld);
}

with(milonic=new menuname("Forms")){
  itemwidth=200;
  style=s_hm1_s1;
  aI("text=New Business/Policy Service;url=" + sNBPLnk + ";target=" + sTarget);
  aI("text=Agent Contracting;url=" + sURLVal + "/brkcnt.asp");
  aI("text=Trial Application;url=" + sUTALnk + ";target=" + sTarget);
  aI("text=Supplies Request;url=" + sURLVal + "/Supplies.asp");
}

with(milonic=new menuname("MarketingConcepts")){
  itemwidth=175;
  style=s_hm1_s1;
  aI("text=Jumbo/Large Cases;url=" + sURLVal + "/irJumbo.asp");
  //aI("text=Premium Financing;url=" + sURLVal + "/pf.asp");
  aI("text=Pensions/412 (i);url=" + sURLVal + "/412i.asp");
}

with(milonic=new menuname("PolicyReview")){
  itemwidth=150;
  style=s_hm1_s1;
  aI("text=How Does It Work?;url=" + sURLVal + "/la_how.asp");
  aI("text=Forms;url=" + sURLVal + "/DocLibrary.asp?Command=OpenFolder&Folder=Life Assessments");
}

with(milonic=new menuname("Products")){
  itemwidth=150;
  style=s_hm1_s1;
  aI("text=Term Life;url=" + sURLVal + "/Products/tl.asp");
  aI("text=Permanent Life;url=" + sURLVal + "/Products/pl.asp");
  aI("text=Annuities;url=" + sVtlAnn + ";target=" + sTarget);
  aI("text=Long Term Care;url=" + sURLVal + "/Products/ltc.asp");
  aI("text=Disability;url=" + sURLVal + "/Products/dis.asp");
}

drawMenus();

//////////////////////////////////////////////////
//LTC menus
//////////////////////////////////////////////////
with(s_hm2=new mm_style()){
  offbgcolor="#09519b";
  offcolor="#FFFFFF";

  onbgcolor="#09519b";
  oncolor="#FFFFFF";

  onclass = "";
  offclass = "";

  borderwidth=1;
  bordercolor="#000000";

  fontfamily="Verdana, Tahoma, Arial";
  fontsize="8pt";
  fontstyle="normal";
  fontweight="bold";
  headerbgcolor="#ffffff";
  headercolor="#000000";

  outfilter="randomdissolve(duration=0.3)";
  overfilter="Fade(duration=0.2);Alpha(opacity=90)";
  padding=0;
  pagebgcolor="#09519b";
  pagecolor="#FFFFFF";
  subimagepadding=2;
  subimage=sURLVal + "/images/a1.gif";
}

with(milonic=new menuname("BrokerSupport")){
  itemwidth=150;
  style=s_hm1_s1;
  subimage="http://img.milonic.com/arrow.gif";
  aI("text=Quote Form;url=" + sURLVal + "/LTC/Docs/LTC Quote Request.pdf;target=_blank");
  aI("text=Pre-qualification;url=" + sURLVal + "/LTC/Docs/LTC Pre-Qualification Form.pdf;target=_blank");
  aI("text=Sales Tools;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CBroker Support%5CSales Tools");
  aI("text=Federal LTC;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CBroker Support%5CFederal LTC");
  aI("text=Partnership;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CBroker Support%5CPartnership");
  aI("text=Tax Guides;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CBroker Support%5CTax Guides");
  aI("text=State Ins. Web Sites;url=http://www.naic.org/state_web_map.htm;target=_blank");
  aI("text=Miscellaneous;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CBroker Support%5CMiscellaneous");
}

with(milonic=new menuname("Marketing")){
  itemwidth=150;
  style=s_hm1_s1;
  aI("text=Letters;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMarketing%5CLetters");
  aI("text=Postcards;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMarketing%5CPostcards");
  aI("text=Seminars;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMarketing%5CSeminars");
  aI("text=Articles;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMarketing%5CArticles");
}

with(milonic=new menuname("LTCProducts")){
  itemwidth=150;
  style=s_hm1_s1;
  aI("text=John Hancock;showmenu=prd_s1;");
  aI("text=Genworth;showmenu=prd_s2;");
  aI("text=Prudential;showmenu=prd_s3;");
  aI("text=MetLife;showmenu=prd_s4");
  aI("text=Mutual of Omaha;showmenu=prd_s5");
  aI("text=Lincoln Financial;showmenu=prd_s6");
  aI("text=Transamerica;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CTransamerica;");
}

with(milonic=new menuname("prd_s1")){
 style=s_hm1_s1;
 aI("text=Custom Care II;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CJohn Hancock%5CCustom Care II;");
 aI("text=Custom Care II Enhanced;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CJohn Hancock%5CCustom Care II Enhanced;");
 aI("text=Leading Edge;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CJohn Hancock%5CLeading Edge;");
}

with(milonic=new menuname("prd_s2")){
 style=s_hm1_s1;
 aI("text=Privileged Choice;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CGenworth%5CPrivileged Choice;");
 aI("text=Classic Select;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CGenworth%5CClassic Select;");
 aI("text=Total Living Coverage;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CGenworth%5CTotal Living Coverage;");
}

with(milonic=new menuname("prd_s3")){
 style=s_hm1_s1;
 aI("text=LTC 3;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CPrudential%5CLTC 3;");
 aI("text=Evolution;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CPrudential%5CEvolution;");
}

with(milonic=new menuname("prd_s4")){
 style=s_hm1_s1;
 aI("text=VIP2;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CMetLife%5CVIP2;");
 aI("text=Life Stage Advantage;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CMetLife%5CLife Stage Advantage;");
}

with(milonic=new menuname("prd_s5")){
 style=s_hm1_s1;
 aI("text=LTC I;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CMutual of Omaha%5CLTC I;");
 aI("text=LTC II;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CMutual of Omaha%5CLTC II;");
 aI("text=Mutual Care;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CMutual of Omaha%5CMutual Care;");
 aI("text=LTC Plus;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CMutual of Omaha%5CLTC Plus;");
}

with(milonic=new menuname("prd_s6")){
 style=s_hm1_s1;
 aI("text=MoneyGuard;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CProducts%5CLincoln Financial%5CMoneyGuard;");
}

with(milonic=new menuname("Underwriting")){
  itemwidth=160;
  style=s_hm1_s1;
  aI("text=Height/Weight Chart;url=" + sURLVal + "/LTC/Docs/HGT_WGHT Charts_11 2009.pdf;target=_blank");
  aI("text=GNW U/W;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CUnderwriting%5CGNW U-W");
  aI("text=JH U/W;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CUnderwriting%5CJH U-W");
  aI("text=Met U/W;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CUnderwriting%5CMet U-W");
  aI("text=Mutual of Omaha U/W;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CUnderwriting%5CMutual of Omaha U-W");
  aI("text=Pru U/W;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CUnderwriting%5CPru U-W");
  aI("text=Trans U/W;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CUnderwriting%5CTransamerica U-W");
}

with(milonic=new menuname("MultiLife")){
  itemwidth=190;
  style=s_hm1_s1;
  aI("text=Multi-Life Carrier Summary;url=" + sURLVal + "/LTC/Docs/Multi Life Matrix.pdf;target=_blank");
  aI("text=John Hancock;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMulti-Life%5CJohn Hancock");
  aI("text=Prudential;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMulti-Life%5CPrudential");
  aI("text=MetLife;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMulti-Life%5CMetLife");
  aI("text=Genworth;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMulti-Life%5CGenworth");
  aI("text=Mutual of Omaha;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMulti-Life%5CMutual of Omaha");
  aI("text=Transamerica;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMulti-Life%5CTransamerica");
  aI("text=Letters & Er. Brochures;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CMulti-Life%5CLetters %26 Er. Brochures");
  aI("text=Simplified Questions;url=" + sURLVal + "/LTC/Docs/Simplified Questions_JH_Pru_Met_GNW.pdf;target=_blank");
}

with(milonic=new menuname("News")){
  itemwidth=150;
  style=s_hm1_s1;
  aI("text=Carrier Announcements;showmenu=new_s1");
}

with(milonic=new menuname("new_s1")){
  style=s_hm1_s1;
  aI("text=Genworth;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CNews%5CCarrier Announcements%5CGenworth;");
  aI("text=John Hancock;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CNews%5CCarrier Announcements%5CJohn Hancock;");
  aI("text=MetLife;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CNews%5CCarrier Announcements%5CMetLife");
  aI("text=Mutual of Omaha;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CNews%5CCarrier Announcements%5CMutual of Omaha");
  aI("text=Prudential;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CNews%5CCarrier Announcements%5CPrudential;");
  aI("text=Transamerica;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CNews%5CCarrier Announcements%5CTransamerica;");
  aI("text=Industry;url=" + sURLVal + "/LTC/DocLibrary.asp?Command=OpenFolder&Folder=LTC%5CNews%5CCarrier Announcements%5CIndustry");
}

//////////////////////////////////////////////////
//left navbar menus
//////////////////////////////////////////////////
with(s_vm1=new mm_style()){
  offbgcolor="#FFFFFF";
  offcolor="#004D93";

  onbgcolor="#E7F3FD";
  oncolor="#004D93";

  onclass="";
  offclass="bottomLine";

  borderwidth=0;

  fontfamily="Arial, Verdana, Tahoma";
  fontsize="11pt";
  fontstyle="normal";
  fontweight="bold";
  headerbgcolor="#ffffff";
  headercolor="#000000";

  outfilter="randomdissolve(duration=0.3)";
  overfilter="Fade(duration=0.2);Alpha(opacity=90)";
  padding=0;
  pagebgcolor="#FFFFFF";
  pagecolor="#09519B";
  subimage=sURLVal + "/images/a.gif";
  subimagepadding=2;
}

with(s_vm1_s1=new mm_style()){
  offbgcolor="#A8A8A9";
  offcolor="#FFFFFF";

  onbgcolor="#B2CBE1";
  oncolor="#09519B";

  onclass="";
  offclass="";

  borderwidth=1;
  bordercolor="#09519B";
  offborder="1px solid #09519B";

  fontfamily="Verdana, Tahoma, Arial";
  fontsize="8pt";
  fontstyle="normal";
  fontweight="bold";
  headerbgcolor="#ffffff";
  headercolor="#000000";

  outfilter="randomdissolve(duration=0.3)";
  overfilter="Fade(duration=0.2);Alpha(opacity=90)";
  padding=5;
  pagebgcolor="#A8A8A9";
  pagecolor="#FFFFFF";
  subimage=sURLVal + "/images/a.gif";
  subimagepadding=2;
}

with(milonic=new menuname("Profile")){
  itemwidth=110;
  style=s_vm1_s1;
  aI("text=About Us;url=" + sURLVal + "/AboutUs.asp;decoration=none");
  aI("text=Company Bios;url=" + sURLVal + "/Bios.asp;decoration=none");
}

with(milonic=new menuname("Underwriting")){
  itemwidth=150;
  style=s_vm1_s1;
  aI("text=Guidelines/Requirements;url=" + sUGdLnk + ";decoration=none");
  aI("text=Trial App Guidelines;url=" + sUTALnk + ";decoration=none;target=" + sTarget);
}

with(milonic=new menuname("Resources")){
  itemwidth=175;
  style=s_vm1_s1;
  aI("text=Calendar;url=" + sURLVal + "/Calendar.asp;decoration=none");
  aI("text=Links;url=" + sURLVal + "/Links.asp;decoration=none");
  aI("text=Doc Library;url=" + sURLVal + "/DocLibrary.asp;decoration=none");
  aI("text=Calculators;url=" + sURLVal + "/Calculators.asp;decoration=none");
  aI("text=2008 Tax Guide;url=" + sURLVal + "/PDF/2008 Tax Guide.pdf;decoration=none;target=_blank");
  aI("text=Estate & Gift Tax Table;url=http://www.einsurancetools.com/EstateTaxTable.htm;decoration=none;target=_blank");
  aI("text=IRA Charts & Tables;url=http://www.einsurancetools.com/IRA_Table.htm;decoration=none;target=_blank");
  aI("text=Apps Office Locator;url=http://www.appsnational.com/office_search.aspx;decoration=none;target=_blank");
  aI("text=EMSI Order Exam;url=http://www.emsinet.com/examiner.aspx;target=_blank");
  aI("text=EMSI Office Locator;url=https://www.exams4web.com/zip/ohsCorpmap2.htm;decoration=none;target=_blank");
  aI("text=Porta-Medic Locator;url=http://www.portamedic.com/BrnLocator.asp;decoration=none;target=_blank");
  aI("text=EXAMONE;url=http://www.myexamone.com/;decoration=none;target=_blank");
}

drawMenus();
