//startList = function() {
//if (document.all&&document.getElementById) {
//navRoot = document.getElementById("nav");
//for (i=0; i<navRoot.childNodes.length; i++) {
//node = navRoot.childNodes[i];
//if (node.nodeName=="LI") {
//node.onmouseover=function() {
//this.className+=" over";
//  }
//  node.onmouseout=function() {
//  this.className=this.className.replace(" over", "");
//   }
//   }
//  }
// }
//}
//window.onload=startList;

sfHover = function() {
   var sfEls = document.getElementById("topNav").getElementsByTagName("LI");
   for (var i=0; i<sfEls.length; i++) {
	   sfEls[i].onmouseover=function() {
		   this.className+=" sfhover";
	   }
	   sfEls[i].onmouseout=function() {
		   this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
	   }
   }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

function headerFlash() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="950" height="270"><param name="movie" value="multimedia/header.swf" /><param name="quality" value="high" /><param name="LOOP" value="false" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="multimedia/header.swf" width="950" height="270" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#ffffff" wmode="transparent"></embed></object>');
}



function clearText(thefield) {
  if (thefield.defaultValue==thefield.value) { thefield.value = "" }
}

function replaceText(thefield) {
  if (thefield.value=="") { thefield.value = thefield.defaultValue }
}

// borrow3d from the best online mag ever A List Apart http://www.alistapart.com/articles/alternate/
function setActiveStyleSheet(title) {
   var i, a, main;
   for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
     if(a.getAttribute("rel").indexOf("style") != -1
        && a.getAttribute("title")) {
       a.disabled = true;
       if(a.getAttribute("title") == title) a.disabled = false;
     }
   }
}
