// JavaScript Document
function menuFix() {

var sfEls = document.getElementById("nav").getElementsByTagName("li");

for (var i=0; i<sfEls.length; i++) {

sfEls[i].onmouseover=function() {

this.className+=(this.className.length>0? " ": "") + "sfhover";

}

sfEls[i].onMouseDown=function() {

this.className+=(this.className.length>0? " ": "") + "sfhover";

}

sfEls[i].onMouseUp=function() {

this.className+=(this.className.length>0? " ": "") + "sfhover";

}

sfEls[i].onmouseout=function() {

this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"),



"");

}

}

}
function tag(id){
  for(i=1;i<=2;i++){
	  document.getElementById("tag"+i).className="";
	  document.getElementById("show"+i).style.display="none";
  }
  document.getElementById("show"+id).style.display="";
  document.getElementById("tag"+id).className="tag";
}
window.onload=menuFix;
