/** Header 1 javascript */
var relPath = "";

function setPath(p) {
   relPath = p;
}

function mmLoadMenus() {
  if (window.menu_pictures) return;

window.menu_pictures = new Menu("root",350,28,"Arial, Helvetica, sans-serif",16,"#FF0000","#f0f0f0","#C0C0C0","#000000","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
   menu_pictures.addMenuItem("Guatemala&nbsp;Trip&nbsp;2009","location='" + relPath + "pictures/guatemala09/index.html'");
   menu_pictures.addMenuItem("Guatemala&nbsp;Trip&nbsp;2010","location='" + relPath + "pictures/guatemala10/index.html'");
   menu_pictures.fontWeight="bold";
   menu_pictures.hideOnMouseOut=true;
   menu_pictures.bgColor='#909090';
   menu_pictures.menuBorder=2;
   menu_pictures.menuLiteBgColor='#909090';
   menu_pictures.menuBorderBgColor='#666666';

window.menu_info = new Menu("root",300,28,"Arial, Helvetica, sans-serif",16,"#FF0000","#f0f0f0","#C0C0C0","#000000","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
   menu_info.addMenuItem("About&nbsp;the&nbsp;Team","location='" + relPath + "info/about.html'");
   menu_info.addMenuItem("Recent&nbsp;News","location='" + relPath + "news/index.html'");
   menu_info.addMenuItem("Team&nbsp;Training&nbsp;Calendar","location='" + relPath + "info/calendar.html'");
   menu_info.addMenuItem("Command&nbsp;Staff&nbsp;and&nbsp;Roster","location='" + relPath + "info/staff.html'");
/* menu_info.addMenuItem("-Team&nbsp;Gallery","location='" + relPath + "construction.html'"); */
   menu_info.addMenuItem("Join&nbsp;REDS","location='" + relPath + "join.html'");
   menu_info.addMenuItem("Donations","location='" + relPath + "donate.html'");
   menu_info.addMenuItem("Map&nbsp;to&nbsp;Main&nbsp;Station","location='" + relPath + "mainstationmap.html'");
   menu_info.fontWeight="bold";
   menu_info.hideOnMouseOut=true;
   menu_info.bgColor='#909090';
   menu_info.menuBorder=2;
   menu_info.menuLiteBgColor='#909090';
   menu_info.menuBorderBgColor='#666666';

window.menu_train = new Menu("root",300,22,"Arial, Helvetica, sans-serif",16,"#FF0000","#F0F0F0","#C0C0C0","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
   menu_train.addMenuItem("Overview","location='" + relPath + "train/overview.html'");
   menu_train.addMenuItem("Confined&nbsp;Space&nbsp;Rescue","location='" + relPath + "train/confinedspace.html'");
   menu_train.addMenuItem("Collapse&nbsp;and&nbsp;Trench&nbsp;Rescue","location='" + relPath + "train/collapsetrench.html'");
   menu_train.addMenuItem("Ropes","location='" + relPath + "train/ropes.html'");
   menu_train.addMenuItem("Vehicle&nbsp;Extrication","location='" + relPath + "train/vehicle.html'");
   menu_train.addMenuItem("Water&nbsp;Rescue","location='" + relPath + "train/water.html'");
   menu_train.addMenuItem("Dive&nbsp;Classes","location='" + relPath + "train/dive.html'");
   menu_train.addMenuItem("Other&nbsp;Specialties","location='" + relPath + "train/othertrain.html'");
   menu_train.fontWeight="bold";
   menu_train.hideOnMouseOut=true;
   menu_train.bgColor='#909090';
   menu_train.menuBorder=2;
   menu_train.menuLiteBgColor='#909090';
   menu_train.menuBorderBgColor='#666666';

window.menu_ops = new Menu("root",256,22,"Arial, Helvetica, sans-serif",16,"#FF0000","#F0F0F0","#C0C0C0","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
   menu_ops.addMenuItem("Operational&nbsp;Guidelines","location='" + relPath + "info/guidelines.html'");
   menu_ops.addMenuItem("Truck&nbsp;1","location='" + relPath + "equipment/truck1.html'");
   menu_ops.addMenuItem("Truck&nbsp;2","location='" + relPath + "equipment/truck2.html'");
   menu_ops.addMenuItem("Truck&nbsp;3","location='" + relPath + "equipment/truck3.html'");
   menu_ops.addMenuItem("Collapse&nbsp;and&nbsp;Extrication","location='" + relPath + "equipment/collapse.html'");
   menu_ops.addMenuItem("Dive&nbsp;and&nbsp;Water","location='" + relPath + "equipment/divewater.html'");
/* menu_ops.addMenuItem("Equipment&nbsp;Reviews&nbsp;and&nbsp;Reccomendations","location='" + relPath + "equipment/recommend.html'"); */
   menu_ops.fontWeight="bold";
   menu_ops.hideOnMouseOut=true;
   menu_ops.bgColor='#909090';
   menu_ops.menuBorder=2;
   menu_ops.menuLiteBgColor='#909090';
   menu_ops.menuBorderBgColor='#666666';

window.menu_links = new Menu("root",120,22,"Arial, Helvetica, sans-serif",16,"#FF0000","#F0F0F0","#C0C0C0","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
   menu_links.addMenuItem("OSHA","location='" + relPath + "history/history.html'");
   menu_links.addMenuItem("NC&nbsp;State&nbsp;Fire&nbsp;Marshal","location='" + relPath + "history/alumni.html'");
   menu_links.addMenuItem("NC&nbsp;SAR&nbsp;Council","location='" + relPath + "history/alumni.html'");
   menu_links.addMenuItem("NC&nbsp;Assoc.&nbsp;of&nbsp;Rescue","location='" + relPath + "history/alumni.html'");
   menu_links.addMenuItem("NC&nbsp;Emergency&nbsp;Management","location='" + relPath + "history/alumni.html'");
   menu_links.addMenuItem("Wake&nbsp;Tech&nbsp;Community&nbsp;College","location='" + relPath + "history/alumni.html'");
   menu_links.addMenuItem("FireLink&nbsp;Web&nbsp;Site","location='" + relPath + "history/alumni.html'");
   menu_links.fontWeight="bold";
   menu_links.hideOnMouseOut=true;
   menu_links.bgColor='#909090';
   menu_links.menuBorder=2;
   menu_links.menuLiteBgColor='#909090';
   menu_links.menuBorderBgColor='#666666';

menu_links.writeMenus();
} // mmLoadMenus()

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 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_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];}
}


