
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		// upper menu rollovers
		smc_home_over = newImage("images/smc_home-over.gif");
		smc_info_over = newImage("images/smc_info-over.gif");
		smc_directions_over = newImage("images/smc_directions-over.gif");
		smc_jury_over = newImage("images/smc_jury-over.gif");
		smc_pay_over = newImage("images/smc_pay-over.gif");
		smc_forms_over = newImage("images/smc_forms-over.gif");
		smc_contact_over = newImage("images/smc_contact-over.gif");
		smc_search_button_over = newImage("images/smc_search_button-over.gif");
		search_button_over = newImage("images/smc_search_button-over.gif");
		// second bar menu links
		smc_self_center_over = newImage("images/smc_self-center-over.gif");
		smc_departments_over = newImage("images/smc_departments-over.gif");
		smc_for_attorn_over = newImage("images/smc_for_attorn-over.gif");
		smc_judge_over = newImage("images/smc_judge-over.gif");
		smc_jury_info_over = newImage("images/smc_jury_info-over.gif");
		smc_news_over = newImage("images/smc_news-over.gif");

		preloadFlag = true;
	}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_nbGroup(event, grpName) { //v6.0
var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])?args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) { img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr) for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function mmLoadMenus() {
  if (window.mm_menu_0520181657_2) return;
   
   window.mm_menu_0520181657_2 = new Menu("root",210,22,"Arial, Helvetica, sans-serif",12,"#252b3f","#003399","#fdf9ea","#f8eec6","left","middle",5,0,1000,-120,17,true,true,true,7,true,true);
    mm_menu_0520181657_2.addMenuItem("Complete&nbsp;Your&nbsp;Legal&nbsp;Forms&nbsp;Online","location='http://www.ezlegalfile.com/'");
    mm_menu_0520181657_2.addMenuItem("Traffic&nbsp;Information","location='/director.php?filename=./trafficinfo/index.html'");
    mm_menu_0520181657_2.addMenuItem("Small&nbsp;Claims","location='/director.php?filename=./smallclaims/index.html'");
    mm_menu_0520181657_2.addMenuItem("Domestic&nbsp;Violence","location='/director.php?filename=./generalinfo/domestic.html'");
    mm_menu_0520181657_2.addMenuItem("Forms&nbsp;Catalog","location='http://www.courtinfo.ca.gov/forms/index.htm'");
    mm_menu_0520181657_2.addMenuItem("Local&nbsp;Forms","location='/director.php?filename=./getforms/forms.php'");
    mm_menu_0520181657_2.addMenuItem("Local&nbsp;Rules","location='/director.php?filename=./localrules/index.html'");
    mm_menu_0520181657_2.addMenuItem("Being&nbsp;Your&nbsp;Own&nbsp;Lawyer","location='/director.php?filename=./famlaw/famown.html'");
    mm_menu_0520181657_2.addMenuItem("Child&nbsp;Custody&nbsp;and&nbsp;Visitation","location='/director.php?filename=./famlaw/famvisit.html'");
    mm_menu_0520181657_2.addMenuItem("Child&nbsp;Support","location='/director.php?filename=./famlaw/famsupp.html'");
    mm_menu_0520181657_2.addMenuItem("Divorce&nbsp;and&nbsp;Separation","location='/director.php?filename=./famlaw/famdiv.html'");
    mm_menu_0520181657_2.addMenuItem("Mediation&nbsp;and&nbsp;Arbitration","location='/director.php?filename=./famlaw/famrmed.html'");
    mm_menu_0520181657_2.addMenuItem("Modifying&nbsp;Court&nbsp;Orders","location='/director.php?filename=./famlaw/fammod.html'");
    mm_menu_0520181657_2.addMenuItem("Temporary&nbsp;Restraining&nbsp;Orders","location='/director.php?filename=./famlaw/famord.html'");
   mm_menu_0520181657_2.addMenuItem("Information&nbsp;and&nbsp;Legal&nbsp;Help","location='/director.php?filename=./famlaw/faminfo.html'");
   mm_menu_0520181657_2.addMenuItem("Resources&nbsp;and&nbsp;Assistance","location='/director.php?filename=./famlaw/famres.html'");
   mm_menu_0520181657_2.hideOnMouseOut=true;
    mm_menu_0520181657_2.menuBorder=1;
   mm_menu_0520181657_2.menuLiteBgColor='#ffffff';
   mm_menu_0520181657_2.menuBorderBgColor='#808bb3';
   mm_menu_0520181657_2.bgColor='#53517b';
   
   window.mm_menu_0520183401_3 = new Menu("root",145,22,"Arial, Helvetica, sans-serif",12,"#252b3f","#003399","#fdf9ea","#f8eec6","left","middle",5,0,1000,-120,17,true,true,true,7,true,true);
   mm_menu_0520183401_3.addMenuItem("Civil","location='/director.php?filename=./civil/index.html'");
   mm_menu_0520183401_3.addMenuItem("Complex Civil Litigation","location='/complex_civil_lit/Courtroom_Rules_Procedures.pdf'");
   mm_menu_0520183401_3.addMenuItem("Court Reporters","location='/director.php?filename=./includes/crtranscripts.html'");
   mm_menu_0520183401_3.addMenuItem("Criminal","location='/director.php?filename=./criminal/index.html'");
   mm_menu_0520183401_3.addMenuItem("Dispute Resolution","location='/adr/index.html'");
   mm_menu_0520183401_3.addMenuItem("Grand Jury",  "location='/director.php?filename=./grandjury/index.html'");
   mm_menu_0520183401_3.addMenuItem("Juvenile","location='/director.php?filename=./juvenile/index.html'");
   mm_menu_0520183401_3.addMenuItem("Probate","location='/director.php?filename=./probate/index.html'");
    mm_menu_0520183401_3.addMenuItem("Records Management","location='/director.php?filename=./recordsmgt/index.html'");
   mm_menu_0520183401_3.addMenuItem("Traffic","location='/director.php?filename=./trafficinfo/index.html'");
   mm_menu_0520183401_3.addMenuItem("Small&nbsp;Claims","location='/director.php?filename=./smallclaims/index.html'");
   mm_menu_0520183401_3.addMenuItem("Family&nbsp;Law","location='/director.php?filename=./famlaw/index.html'");
   mm_menu_0520183401_3.addMenuItem("Family&nbsp;Court&nbsp;Services","location='/fcs/index.html'");
   mm_menu_0520183401_3.addMenuItem("Self-Help&nbsp;Center","location='/selfhelp/index.html'"); 
   mm_menu_0520183401_3.hideOnMouseOut=true;
   mm_menu_0520183401_3.menuBorder=1;
   mm_menu_0520183401_3.menuLiteBgColor='#ffffff';
   mm_menu_0520183401_3.menuBorderBgColor='#808bb3';
   mm_menu_0520183401_3.bgColor='#53517b';
   window.mm_menu_0520184436_4_1 = new Menu("Law&nbsp;and&nbsp;Motion",152,22,"Arial, Helvetica,sans-serif",12,"#252b3f","#003399","#fdf9ea","#f8eec6","left","middle",5,0,1000,-5,15,true,true,true,7,true,true);

	mm_menu_0520184436_4_1.addMenuItem("Tentative&nbsp;Rulings","location='/director.php?filename=./lawmotion/index.html'");
    	
mm_menu_0520184436_4_1.addMenuItem("Calendar&nbsp;Availability","location='/hearingscal/index.php'");
		    mm_menu_0520184436_4_1.hideOnMouseOut=true;
    		mm_menu_0520184436_4_1.menuBorder=1;
    		mm_menu_0520184436_4_1.menuLiteBgColor='#ffffff';
    		mm_menu_0520184436_4_1.menuBorderBgColor='#808bb3';
   			mm_menu_0520184436_4_1.bgColor='#53517b';
   
   window.mm_menu_0520184436_4 = new Menu("root",280,22,"Arial, Helvetica, sans-serif",12,"#252b3f","#003399","#fdf9ea","#f8eec6","left","middle",5,0,1000,-5,17,true,true,true,7,true,true);
   mm_menu_0520184436_4.addMenuItem("Directory&nbsp;of&nbsp;Judges","location='/director.php?filename=./generalinfo/directory.php'");
   mm_menu_0520184436_4.addMenuItem("Court&nbsp;News&nbsp;&amp;&nbsp;Judge's&nbsp;Report","location='/director.php?filename=./news/index.html'");
   mm_menu_0520184436_4.addMenuItem("Dispute&nbsp;of&nbsp;Resolution","location='./adr/index.html'");
   mm_menu_0520184436_4.addMenuItem("Fee&nbsp;Schedules","location='/payfees/index.html'");
   mm_menu_0520184436_4.addMenuItem("Judicial&nbsp;Council&nbsp;Forms","location='http://www.courtinfo.ca.gov/forms/index.htm'");

   mm_menu_0520184436_4.addMenuItem(mm_menu_0520184436_4_1,"");
   mm_menu_0520184436_4.addMenuItem("Local&nbsp;Forms","location='/director.php?filename=./getforms/forms.php'");
   mm_menu_0520184436_4.addMenuItem("Local&nbsp;Rules","location='/director.php?filename=./localrules/index.html'");
   mm_menu_0520184436_4.addMenuItem("Probate&nbsp;Tentative&nbsp;Rulings","location='/director.php?filename=./probate/index.html'");
   mm_menu_0520184436_4.addMenuItem("Request Transcripts","location='/director.php?filename=./includes/crtranscripts.html'");
   mm_menu_0520184436_4.addMenuItem("Standing&nbsp;Orders&nbsp;of&nbsp;the&nbsp;Court","location='/director.php?filename=./standingorders/standingorder_main.htm'");
   mm_menu_0520184436_4.addMenuItem("Telephonic&nbsp;Appearances","location='/director.php?filename=./other/telephonic.html'");
mm_menu_0520184436_4.addMenuItem("Courtroom Technology: Audio/Video Systems ","location='/director.php?filename=./includes/audiovideo.html'");
   mm_menu_0520184436_4.hideOnMouseOut=true;
   mm_menu_0520184436_4.menuBorder=1;
   mm_menu_0520184436_4.menuLiteBgColor='#ffffff';
   mm_menu_0520184436_4.menuBorderBgColor='#808bb3';
   mm_menu_0520184436_4.bgColor='#53517b';
   mm_menu_0520184436_4.childMenuIcon="/images/arrows.gif";
	  
    window.mm_menu_0520184639_5 = new Menu("root",211,22,"Arial, Helvetica, sans-serif",12,"#252b3f","#003399","#fdf9ea","#f8eec6","left","middle",5,0,1000,-120,17,true,true,true,7,true,true);
    mm_menu_0520184639_5.addMenuItem("Message&nbsp;from&nbsp;the&nbsp;Presiding&nbsp;Judge","location='/director.php?filename=./judgespresiding/index.html'");
    mm_menu_0520184639_5.addMenuItem("Message&nbsp;from&nbsp;Previous&nbsp;&nbsp;Judges","location='/director.php?filename=./judgespresiding/previous_presiding.html'");
    mm_menu_0520184639_5.addMenuItem("Archived&nbsp;Press &nbsp;Release&nbsp;&amp;&nbsp;Reports","location='/director.php?filename=./news/index.html'");
    mm_menu_0520184639_5.hideOnMouseOut=true;
    mm_menu_0520184639_5.menuBorder=1;
    mm_menu_0520184639_5.menuLiteBgColor='#ffffff';
    mm_menu_0520184639_5.menuBorderBgColor='#808bb3';
    mm_menu_0520184639_5.bgColor='#53517b';
   
    window.mm_menu_0520184750_6_1 = new Menu("Other&nbsp;Juror&nbsp;Information",152,22,"Arial, Helvetica, sans-serif",12,"#252b3f","#003399","#fdf9ea","#f8eec6","left","middle",5,0,1000,-5,15,true,true,true,7,true,true);
    mm_menu_0520184750_6_1.addMenuItem("Hours&nbsp;of&nbsp;service","location='/director.php?filename=./generalinfo/hours.html'");
    mm_menu_0520184750_6_1.addMenuItem("Jury&nbsp;Selection&nbsp;Process","location='/director.php?filename=./jury/index.html'");
    mm_menu_0520184750_6_1.addMenuItem("How&nbsp;Did&nbsp;I&nbsp;Get&nbsp;selected?","location='/director.php?filename=./jury/juroth.html#process'");
    mm_menu_0520184750_6_1.addMenuItem("Juror&nbsp;Compensation","location='/director.php?filename=./jury/juroth.html#compensation'");
    mm_menu_0520184750_6_1.addMenuItem("Verification&nbsp;of&nbsp;Service","location='/director.php?filename=./jury/juroth.html#verification'");
    mm_menu_0520184750_6_1.hideOnMouseOut=true;
    mm_menu_0520184750_6_1.menuBorder=1;
    mm_menu_0520184750_6_1.menuLiteBgColor='#ffffff';
    mm_menu_0520184750_6_1.menuBorderBgColor='#808bb3';
    mm_menu_0520184750_6_1.bgColor='#53517b';
	 
   window.mm_menu_0520184750_6 = new Menu("root",175,22,"Arial, Helvetica, sans-serif",12,"#252b3f","#003399","#fdf9ea","#f8eec6","left","middle",5,0,1000,-5,15,true,true,true,7,true,true);
   mm_menu_0520184750_6.addMenuItem("Pre-Reporting&nbsp;Instructions","location='/director.php?filename=./jury/jurserv.html'");
   mm_menu_0520184750_6.addMenuItem("Locations&nbsp;&amp;&nbsp;Parking","location='/director.php?filename=./jury/jurpark.html'");
   mm_menu_0520184750_6.addMenuItem(mm_menu_0520184750_6_1,"location='/director.php?filename=./jury/index.html'");
   mm_menu_0520184750_6.addMenuItem("Children's&nbsp;Waiting&nbsp;Room","location='/director.php?filename=./generalinfo/cwrhoj.html'");
   mm_menu_0520184750_6.hideOnMouseOut=true;
   mm_menu_0520184750_6.childMenuIcon="/images/arrows.gif";
   mm_menu_0520184750_6.menuBorder=1;
   mm_menu_0520184750_6.menuLiteBgColor='#ffffff';
   mm_menu_0520184750_6.menuBorderBgColor='#808bb3';
   mm_menu_0520184750_6.bgColor='#53517b'
   mm_menu_0520184750_6.writeMenus();
} // mmLoadMenus()
