function printerFriendly() { makeNewWindow(script_uri,"print",700); }

function makeNewWindow(url,name,winW,winH) {
  if (!(winH)) { winH = (screen.availHeight) ? screen.availHeight - 300 : 400; }
  if (!(winW)) { winW = (screen.availWidth) ? screen.availWidth - 200 : 600; }
  var options = "resizable,titlebar,scrollbars,location,menubar,personalbar,status,toolbar,height=" + winH + ",width=" + winW;
  if (name == "Email") {
    options = "resizable,titlebar,scrollbars,height=" + winH + ",width=" + winW;
  }
  var newWindow = window.open("", name, options);
  if (newWindow.focus) { newWindow.focus(); }
  newWindow.location = url;
}

if (window.name && window.name == "print") {
   document.write('<link rel="stylesheet" id="print" type="text/css" href="/includes/print.css" media="all">');
}

 //used to activate current section navigation highlighting
 function switchIt(objID) {
   var cname="active";
   if (objID.className) { objID.className=cname; }
   else if (document.getElementById(objID)) { document.getElementById(objID).className=cname; }
 }


