// JavaScript Document


// ie 6 li hover fix

sfHover = function() {
	var sfEls = document.getElementById("nav").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);

//flash

function Header()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="749" height="169">\n');
document.write('<param name="wmode" value="transparent">');
document.write('<param name="movie" value="/flash/header.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="/flash/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="749" height="169"  wmode="transparent"></embed>\n');
document.write('</object>\n');
}

if (typeof jQuery != undefined) {
  $(document).ready(function() {
    if (typeof jQuery.fn.treeview == 'function') {
      $('.nodetree').treeview({
        collapsed: true,
        unique: true,
      });
    }
  });
}
