function MM_findObj(n, d) { //v3.0
  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); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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 fwLoadMenus() {
  if (window.fw_menu_0) return;
    window.fw_menu_0_1 = new Menu("For Residents",130,17,"Verdana, Arial, Helvetica, sans-serif",10,"#896e30","#000066","#e1e0c2","#efefde");
    fw_menu_0_1.addMenuItem("Schools","location='http://www.shrewsbury-ma.gov/schools/index.asp'");
    fw_menu_0_1.addMenuItem("Library","location='http://www.shrewsbury-ma.gov/library/index.asp'");
    fw_menu_0_1.addMenuItem("Parks &amp; Recreation","location='http://www.shrewsbury-ma.gov/parkrec/index.asp'");
    fw_menu_0_1.addMenuItem("Senior Services","location='http://www.shrewsbury-ma.gov/councilaging/index.asp'");
    fw_menu_0_1.addMenuItem("Permits &amp; Licenses","location='http://www.shrewsbury-ma.gov/content/fqntlyaskddocs.asp'");
    fw_menu_0_1.addMenuItem("Taxes","location='http://www.shrewsbury-ma.gov/treasurer/taxinfo.asp'");
	fw_menu_0_1.addMenuItem("Things To Do","location='http://www.shrewsbury-ma.gov/content/todo.asp'");
	fw_menu_0_1.addMenuItem("Search Engines","location='http://www.shrewsbury-ma.gov/content/searchengines.asp'");
	fw_menu_0_1.addMenuItem("Local Businesses","location='http://www.shrewsbury-ma.gov/businesses'");
	fw_menu_0_1.addMenuItem("Town Crier","location='http://www.shrewsbury-ma.gov/towncrier'");
	fw_menu_0_1.hideOnMouseOut=true;
    window.fw_menu_0_2 = new Menu("For Business",184,17,"Verdana, Arial, Helvetica, sans-serif",10,"#896e30","#000066","#e1e0c2","#efefde");
    fw_menu_0_2.addMenuItem("Permits &amp; Licenses","location='http://www.shrewsbury-ma.gov/content/fqntlyaskddocs.asp'");
    fw_menu_0_2.addMenuItem("Shrewsbury Cable","location='http://www.shrewsbury-ma.gov/cable/index.asp'");
    fw_menu_0_2.addMenuItem("Shrewsbury Electric","location='http://www.shrewsbury-ma.gov/light/index.asp'");
    fw_menu_0_2.addMenuItem("Weights &amp; Measures","location='http://www.shrewsbury-ma.gov/highway/generalsvcs.asp#weights'");
    fw_menu_0_2.addMenuItem("Water &amp; Sewer","location='http://www.shrewsbury-ma.gov/sewerwater/index.asp'");
     fw_menu_0_2.hideOnMouseOut=true;
    window.fw_menu_0_3 = new Menu("Utility / Services",145,17,"Verdana, Arial, Helvetica, sans-serif",10,"#896e30","#000066","#e1e0c2","#efefde");
    fw_menu_0_3.addMenuItem("Water &amp; Sewer","location='http://www.shrewsbury-ma.gov/sewerwater/index.asp'");
    fw_menu_0_3.addMenuItem("Shrewsbury Cable","location='http://www.shrewsbury-ma.gov/cable/index.asp'");
    fw_menu_0_3.addMenuItem("Shrewsbury Electric","location='http://www.shrewsbury-ma.gov/light/index.asp'");
     fw_menu_0_3.hideOnMouseOut=true;
  window.fw_menu_0 = new Menu("root",113,17,"Verdana, Arial, Helvetica, sans-serif",10,"#896e30","#000066","#e1e0c2","#efefde");
  fw_menu_0.addMenuItem(fw_menu_0_1);
  fw_menu_0.addMenuItem(fw_menu_0_2);
  fw_menu_0.addMenuItem(fw_menu_0_3);
   fw_menu_0.hideOnMouseOut=true;
   fw_menu_0.childMenuIcon="arrows.gif";
  window.fw_menu_1 = new Menu("root",155,17,"Verdana, Arial, Helvetica, sans-serif",10,"#896e30","#000066","#e1e0c2","#efefde");
  fw_menu_1.addMenuItem("Assessor","location='http://www.shrewsbury-ma.gov/assessor/index.asp'");
  fw_menu_1.addMenuItem("Board of Selectmen","location='http://www.shrewsbury-ma.gov/selectmen/index.asp'");
  fw_menu_1.addMenuItem("Building Inspector","location='http://www.shrewsbury-ma.gov/inspector/index.asp'");
  fw_menu_1.addMenuItem("Cable/Internet (SELCO)","location='http://www.shrewsbury-ma.gov/cable/index.asp'");
  fw_menu_1.addMenuItem("Cemetery","location='http://www.shrewsbury-ma.gov/cemetery/index.asp'");
  fw_menu_1.addMenuItem("Council on Aging","location='http://www.shrewsbury-ma.gov/councilaging/index.asp'");
  fw_menu_1.addMenuItem("Electric (SELCO)","location='http://www.shrewsbury-ma.gov/light/index.asp'");
  fw_menu_1.addMenuItem("Emergency Management","location='http://www.shrewsbury-ma.gov/sema/index.asp'");
  fw_menu_1.addMenuItem("Engineering","location='http://www.shrewsbury-ma.gov/engineering/index.asp'");
  fw_menu_1.addMenuItem("Fire Department","location='http://www.shrewsbury-ma.gov/fire/index.asp'");
  fw_menu_1.addMenuItem("Health Department","location='http://www.shrewsbury-ma.gov/health/index.asp'");
  fw_menu_1.addMenuItem("Highway Department","location='http://www.shrewsbury-ma.gov/highway/index.asp'");
  fw_menu_1.addMenuItem("Library","location='http://www.shrewsbury-ma.gov/library/index.asp'");
  fw_menu_1.addMenuItem("Parks &amp; Recreation","location='http://www.shrewsbury-ma.gov/parkrec/index.asp'");
  fw_menu_1.addMenuItem("Police Department","location='http://www.shrewsbury-ma.gov/police/index.asp'");
  fw_menu_1.addMenuItem("Public Access TV","location='http://www.shrewsbury-ma.gov/smc/index.asp'");
  fw_menu_1.addMenuItem("Schools","location='http://www.shrewsbury-ma.gov/schools/index.asp'");
  fw_menu_1.addMenuItem("Town Clerk","location='http://www.shrewsbury-ma.gov/townclerk/index.asp'");
  fw_menu_1.addMenuItem("Town Manager","location='http://www.shrewsbury-ma.gov/manager/index.asp'");
  fw_menu_1.addMenuItem("Treasurer's Office","location='http://www.shrewsbury-ma.gov/treasurer/index.asp'");
   fw_menu_1.addMenuItem("Veteran's Services","location='http://www.shrewsbury-ma.gov/veterans/index.asp'");
    fw_menu_1.addMenuItem("Water &amp; Sewer","location='http://www.shrewsbury-ma.gov/sewerwater/index.asp'");
   fw_menu_1.hideOnMouseOut=true;
  window.fw_menu_2 = new Menu("root",170,17,"Verdana, Arial, Helvetica, sans-serif",10,"#896e30","#000066","#e1e0c2","#efefde");
  fw_menu_2.addMenuItem("Contact List","location='http://www.shrewsbury-ma.gov/content/contact.asp#contacts'");
  fw_menu_2.addMenuItem("Comments","location='http://www.shrewsbury-ma.gov/content/contact.asp#comments'");
  fw_menu_2.addMenuItem("Employment Opportunities","location='http://www.shrewsbury-ma.gov/content/contact.asp#employment'");
  fw_menu_2.addMenuItem("Directions","location='http://www.shrewsbury-ma.gov/content/contact.asp#directions'");
  fw_menu_2.hideOnMouseOut=true;
  fw_menu_2.writeMenus();
} // fwLoadMenus()