_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;

with(menuStyle=new mm_style()){
bordercolor="#000000";
borderstyle="solid";
borderwidth=0;
position="relative";
fontfamily="Arial, Helvetica, sans-serif";
fontsize="65%";
fontstyle="normal";
headerbgcolor="#000000";
headercolor="#000000";
offcolor="#000000";
oncolor="#ffffff";
onbgcolor="#1e5fa9";
offbgcolor="#ffffff";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="Shadow(color='#999999', Direction=135, Strength=3)";
padding=5;
//pagebgcolor="#ffffff";
//pagecolor="white";
separatorcolor="#999999";
separatorheight=20;
separatorsize=1;
separatorpadding=1;
//subimage="arrow.gif";
//subimagepadding=2;
}

with(subMenuStyle=new mm_style()) {
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, Helvetica, sans-serif";
position="relative";
fontsize="60%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#1e5fa9";
oncolor="#ffffff";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="DropShadow(OffX=2, OffY=2, color='#999999', positive='true')";
overfilter="Shadow(color='#8E8E8E', Direction=135, Strength=4)";
padding=4;
//pagebgcolor="#97C0C0";
pagecolor="#000000";
separatorcolor="#000000";
separatorsize=0;
//subimage="arrow.gif";
//subimagepadding=2;
itemheight=10;
itemwidth=240;
}

with(tertMenuStyle=new mm_style()) {
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, Helvetica, sans-serif";
position="relative";
fontsize="60%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#ffffff";
offcolor="#000000";
onbgcolor="#1e5fa9";
oncolor="#ffffff";
//outfilter="randomdissolve(duration=0.3)";
//overfilter="DropShadow(OffX=2, OffY=2, color='#999999', positive='true')";
overfilter="Shadow(color='#8E8E8E', Direction=135, Strength=4)";
padding=4;
//pagebgcolor="#97C0C0";
pagecolor="#000000";
separatorcolor="#000000";
separatorsize=0;
//subimage="arrow.gif";
//subimagepadding=2;
itemheight=10;
itemwidth=125;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("showmenu=us_constitution;text=US Contitution;url=../us_constitution.html;");
aI("showmenu=federal-law;text=Federal Law;");
aI("showmenu=gov_offices;text=Government Offices;");
aI("showmenu=law_makers;text=Lawmakers;");
aI("showmenu=front_center;text=Front & Center;url=../front-and-center.php;");
aI("showmenu=law_breakers;text=Lawbreakers;");
aI("showmenu=courts;text=Courts;url=../courts.html;");
aI("showmenu=montana_law;text=Montana Law;");
aI("showmenu=mt_constitution;text=Montana Contitution;url=../mt_constitution.html;");
}

with(milonic=new menuname("front_center")){
style=subMenuStyle;
aI("text=Find your newsworthy and perhaps, well-considered court decisions and legislative acts at Front and Center;url=../front-and-center.php;");
}


with(milonic=new menuname("mt_constitution")){
style=subMenuStyle;
left="offset=-2";
top="offset=-1";
aI("showmenu=mt_article1_sections;text=Article I: Compact with the United States;url=../mt_constitution_article1.html;");
aI("showmenu=mt_article2_sections;text=Article II: Declaration of Rights;url=../mt_constitution_article2.html;");
aI("showmenu=mt_article3_sections;text=Article III: General Government;url=../mt_constitution_article3.html;");
aI("showmenu=mt_article4_sections;text=Article IV: Suffrage and Elections;url=../mt_constitution_article4.html;");
aI("showmenu=mt_article5_sections;text=Article V: The Legislature;url=../mt_constitution_article5.html;");
aI("showmenu=mt_article6_sections;text=Article VI: The Executive;url=../mt_constitution_article6.html;");
aI("showmenu=mt_article7_sections;text=Article VII: The Judiciary;url=../mt_constitution_article7.html;");
aI("showmenu=mt_article8_sections;text=Article VIII: Revenue and Finance;url=../mt_constitution_article8.html;");
aI("showmenu=mt_article9_sections;text=Article IX: Environment and Natural Resources;url=../mt_constitution_article9.html;");
aI("showmenu=mt_article10_sections;text=Article X: Education and Public Lands;url=../mt_constitution_article10.html;");
aI("showmenu=mt_article11_sections;text=Article XI: Local Government;url=../mt_constitution_article11.html;");
aI("showmenu=mt_article12_sections;text=Article XII: Departments and Institutions;url=../mt_constitution_article12.html;");
aI("showmenu=mt_article13_sections;text=Article XIII: General Provisions;url=../mt_constitution_article13.html;");
aI("showmenu=mt_article14_sections;text=Article XIV: Constitutional Revisions;url=../mt_constitution_article14.html;");
}

/* with(milonic=new menuname("mt_article1_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Section 1;url=../mt_constitution_article1.html;");
}

with(milonic=new menuname("mt_article2_sections")){
style=tertMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("showmenu=mt_article2_sections1-5;text=Sections 1-5;url=../mt_constitution_article2.html#popular_sovereignty;");
aI("showmenu=mt_article2_sections6-10;text=Sections 6-10;url=../mt_constitution_article2.html#freedom_assembly;");
aI("showmenu=mt_article2_sections11-15;text=Sections 11-15;url=../mt_constitution_article2.html#search_seizures;");
aI("showmenu=mt_article2_sections16-20;text=Sections 16-20;url=../mt_constitution_article2.html#admin_justice;");
aI("showmenu=mt_article2_sections21-25;text=Sections 21-26;url=../mt_constitution_article2.html#bail;");
aI("showmenu=mt_article2_sections26-30;text=Sections 26-30;url=../mt_constitution_article2.html#trial_jury;");
aI("showmenu=mt_article2_sections31-35;text=Sections 31-35;url=../mt_constitution_article2.html#contracts;");
}

with(milonic=new menuname("mt_article2_sections1-5")){
style=subMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sec. 1: Popular sovereignty;url=../mt_constitution_article2.html#popular_sovereignty;");
aI("text=Sec. 2: Self government;url=../mt_constitution_article2.html#self_goverment;");
aI("text=Sec. 3: Inalienable rights;url=../mt_constitution_article2.html#inalienable_rights;");
aI("text=Sec. 4: Individual dignity;url=../mt_constitution_article2.html#individual_diginity;");
aI("text=Sec. 5: Freedom of religion;url=../mt_constitution_article2.html#freedom_religion;");
}

with(milonic=new menuname("mt_article2_sections6-10")){
style=subMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Freedom of assembly;url=../mt_constitution_article2.html#freedom_assembly;");
aI("text=Freedom of speech, expression, and press;url=../mt_constitution_article2.html#freedom_speech;");
aI("text=Right of participation;url=../mt_constitution_article2.html#right_participation;");
aI("text=Right to know;url=../mt_constitution_article2.html#right_know;");
aI("text=Right of privacy;url=../mt_constitution_article2.html#right_privacy;");
}

with(milonic=new menuname("mt_article2_sections11-15")){
style=subMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Searches and seizures;url=../mt_constitution_article2.html#search_seizures;");
aI("text=Right to bear arms;url=../mt_constitution_article2.html#right_arms;");
aI("text=Right of suffrage;url=../mt_constitution_article2.html#right_suffrage;");
aI("text=Adult rights;url=../mt_constitution_article2.html#adult_rights;");
aI("text=Rights of persons not adults;url=../mt_constitution_article2.html#nonadult_rights;");
}

with(milonic=new menuname("mt_article2_sections16-20")){
style=subMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=The administration of justice;url=../mt_constitution_article2.html#admin_justice;");
aI("text=Due process of law;url=../mt_constitution_article2.html#due_process;");
aI("text=State subject to suit;url=../mt_constitution_article2.html#subject_suit;");
aI("text=Habeas corpus;url=../mt_constitution_article2.html#habeas_corpus;");
aI("text=Initiation of proceedings;url=../mt_constitution_article2.html#bail;");
}

with(milonic=new menuname("mt_article2_sections21-25")){
style=subMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Bail;url=../mt_constitution_article2.html#bail;");
aI("text=Excessive sanctions;url=../mt_constitution_article2.html#sanctions;");
aI("text=Detention;url=../mt_constitution_article2.html#detention;");
aI("text=Rights of the accused;url=../mt_constitution_article2.html#accused;");
aI("text=Self incrimination and double jeopardy;url=../mt_constitution_article2.html#self_incrimination;");
}

with(milonic=new menuname("mt_article2_sections26-30")){
style=subMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Trial by jury;url=../mt_constitution_article2.html#trial_jury;");
aI("text=Imprisonment for debt;url=../mt_constitution_article2.html#imprisonment_debt;");
aI("text=Criminal justice policy - rights of the convicted;url=../mt_constitution_article2.html#rights_convicted;");
aI("text=Eminent domain;url=../mt_constitution_article2.html#eminent_domain;");
aI("text=Treason and descent of estates;url=../mt_constitution_article2.html#treason;");
}

with(milonic=new menuname("mt_article2_sections31-35")){
style=subMenuStyle;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Ex post facto, obligation of contracts, and irrevocable privileges;url=../mt_constitution_article2.html#contracts;");
aI("text=Civilian control of the military;url=../mt_constitution_article2.html#civilian_control;");
aI("text=Importation of armed persons;url=../mt_constitution_article2.html#importation;");
aI("text=Unenumerated rights;url=../mt_constitution_article2.html#unenumerated_rights;");
aI("text=Servicemen, servicewomen, and veterans;url=../mt_constitution_article2.html#veterans;");
}

with(milonic=new menuname("mt_article3_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article3.html#sections1-5;");
aI("text=Sections 6-9;url=../mt_constitution_article3.html#sections6-9;");
}

with(milonic=new menuname("mt_article4_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article4.html#sections1-5;");
aI("text=Sections 6-8;url=../mt_constitution_article4.html#sections6-8;");
}

with(milonic=new menuname("mt_article5_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article5.html#sections1-5;");
aI("text=Sections 6-10;url=../mt_constitution_article5.html#sections6-11;");
}

with(milonic=new menuname("mt_article6_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article6.html#sections1-5;");
aI("text=Sections 6-10;url=../mt_constitution_article6.html#sections6-10;");
aI("text=Sections 10-15;url=../mt_constitution_article6.html#sections11-15;");
}

with(milonic=new menuname("mt_article7_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article7.html#sections1-5;");
aI("text=Sections 6-11;url=../mt_constitution_article7.html#sections6-11;");
}

with(milonic=new menuname("mt_article8_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article8.html#sections1-5;");
aI("text=Sections 6-10;url=../mt_constitution_article8.html#sections6-10;");
aI("text=Sections 11-15;url=../mt_constitution_article8.html#sections11-16;");
}

with(milonic=new menuname("mt_article9_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-7;url=../mt_constitution_article9.html#sections1-7;");
}

with(milonic=new menuname("mt_article10_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article10.html#sections1-5;");
aI("text=Sections 6-11;url=../mt_constitution_article10.html#sections6-11;");
}

with(milonic=new menuname("mt_article11_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article11.html#sections1-5;");
aI("text=Sections 6-9;url=../mt_constitution_article11.html#sections6-9;");
}

with(milonic=new menuname("mt_article12_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-4;url=../mt_constitution_article12.html#sections1-4;");
}

with(milonic=new menuname("mt_article13_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-6;url=../mt_constitution_article13.html#sections1-6;");
}

with(milonic=new menuname("mt_article14_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../mt_constitution_article14.html#sections1-5;");
aI("text=Sections 6-11;url=../mt_constitution_article14.html#sections6-11;");
}
*/

with(milonic=new menuname("us_constitution")){
style=subMenuStyle;
left="offset=-2";
top="offset=-1";
aI("showmenu=us_article1_sections;text=Article I: THE LEGISLATIVE BRANCH;url=../us_constitution_article1.html;");
aI("showmenu=us_article2_sections;text=Article II: THE EXECUTIVE BRANCH;url=../us_constitution_article2.html;");
aI("showmenu=us_article3_sections;text=Article III: THE JUDICIAL BRANCH;url=../us_constitution_article3.html;");
aI("showmenu=us_article4_sections;text=Article IV: THE STATES;url=../us_constitution_article4.html;");
aI("showmenu=us_article5_sections;text=Article V: AMENDMENT;url=../us_constitution_article5.html;");
aI("showmenu=us_article6_sections;text=Article VI: THE UNITED STATES;url=../us_constitution_article6.html;");
aI("showmenu=us_article7_sections;text=Article VII: RATIFICATION ;url=../us_constitution_article7.html;");
aI("showmenu=us_amendments;text=Amendments - I to X: The Bill of Rights;url=../us_constitution_rights.html;");
aI("showmenu=us_amendments;text=Amendments - XI to XXVII;url=../us_constitution_amendments.html;");
}

/*
with(milonic=new menuname("us_article1_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-5;url=../us_constitution_article1.html#sections1-5;");
aI("text=Sections 6-10;url=../us_constitution_article1.html#sections6-10;");
}

with(milonic=new menuname("us_article2_sections")){
style=subMenuStyle;
itemwidth=109	;
left="offset=-1";
//left=348;
top="offset=-2";
aI("text=Sections 1-4;url=../us_constitution_article2.html#sections1-4;");
}
*/

with(milonic=new menuname("gov_offices")){
style=subMenuStyle;
left="offset=-2";
top="offset=-1";
aI("text=Federal Departments & Agencies;url=../federal-depts-agencies.html;");
aI("text=State Department & Agencies;url=../state-depts-agencies.html;");
}

with(milonic=new menuname("montana_law")){
style=subMenuStyle;
left="offset=-2";
top="offset=-1";
aI("text=Montana Code Annotated 2007;url=../montana_codes.html;");
aI("text=Administrative Rules of Montana;url=../administrative_rules.html;");
aI("text=Montana Supreme Court Opinions and Briefs ;url=../court_opinions.html;");
aI("text=Attorney General Opinions ;url=../ag_opinions.html;");
}

with(milonic=new menuname("federal-law")){
style=subMenuStyle;
left="offset=-2";
top="offset=-1";
aI("text=United States Code;url=../united-states-code.html;");
aI("text=Code of Federal Regulations;url=../code-federal-regulations.html;");
aI("text=Federal Register;url=../federal-register.html;");
}

with(milonic=new menuname("law_makers")){
style=subMenuStyle;
aI("showmenu=us_congress;text=U.S. Congress;");
aI("showmenu=montana_leg;text=Montana Legislature;url=../montana-legislature.html;");
}

with(milonic=new menuname("us_congress")){
style=subMenuStyle;
aI("text=Denny Rehberg;url=http://www.house.gov/rehberg/biography.shtml;");
aI("text=Max Baucus;url=http://www.baucus.senate.gov/;");
aI("text=John Tester;url=http://www.tester.senate.gov/;");
}

with(milonic=new menuname("montana_leg")){
style=subMenuStyle;
aI("text=Legislature Main Page;url=../legislature.html;");
aI("text=2007 Senate Roster;url=../senate-roster-2007.html;");
aI("text=2007 House of Representatives Roster;url=../house-rep-2007.html;");
}

with(milonic=new menuname("law_breakers")){
style=subMenuStyle;
aI("text=Sexual & Violent Offender Registry;url=../sexual-offender.html;");
aI("text=Background Checks;url=../background-checks.html;");
aI("text=Driving Record Information;url=../driving-records.html;");
}

with(milonic=new menuname("courts")){
style=subMenuStyle;
aI("text=Federal Courts;url=../federal-courts.html;");
aI("text=State Courts;url=../state-courts.html;");
}

drawMenus();

function mm_changeMenuProperty(menuName, propertyRef, newValue)
{
  var menuNum = getMenuByName(menuName);
  _m[menuNum][propertyRef] = newValue;
  BDMenu(menuNum);
}

function mm_changeItemProperty(menuName, itemName, codeRef, newValue, updateDisplay)
{
  menuName = menuName.toLowerCase();
  for (i=0; i<_mi.length; i++)
    if (_mi[i][1].replace(/\ \;/ig,' ') == itemName && _m[_mi[i][0]][1] == menuName) break;
  if (i == _mi.length) return;
  _mi[i][codeRef] = newValue;
  if (updateDisplay) BDMenu(_mi[i][0]);
}
