// JavaScript Document
function toggleMe(a){
var e=document.getElementById(a);
if(!e)return true;
if(e.style.display=="none"){
e.style.display="block"
} else {
e.style.display="none"
}
return true;
}


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);


//social bookmark function
function fbs_click(x,i) {
		u=location.href;
		t=document.title;
		window.open(x+encodeURIComponent(u)+'&'+i+'='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=700,height=436,resizable=yes');return false;
		}