InitSDMenu = function() {
	if (document.all&&document.getElementById) 
		{
			navRoot = document.getElementById("dynmenu");
			for (i=0; i<navRoot.childNodes.length; i++) 
				{
				node = navRoot.childNodes[i];
				if (node.nodeName=="LI") 
					{
					node.onmouseover=function() 
						{
						this.className+=" over";
//						$(this).show("slow");
						}
				  node.onmouseout=function() 
						{
						this.className=this.className.replace(" over", "");
//						$(this).hide("slow");
						}
				   }
		  }
	 }
}
function fontSize(m)
	{
		var content = document.getElementById("content");
		var size = content.style.fontSize;
		if(size == "")
			{
				size = 13;
			}
		else
			{
				size =  parseInt(size.substring(0, (size.length - 2)));
			}
		if(m == 0)
			{
				var newsize = size-1;
			}
		else
			{
				var newsize = size+1;
			}
				content.style.fontSize = newsize + "px";	
	}
	
function showTip(e)	
	{
//		e.nextSibling.style.display = "block";
	while(e.nextSibling.nodeType != 1)
		{
			e = e.nextSibling;
		}
		$(e.nextSibling).slideDown("slow");
	}
function hideTip(e)	
	{
	while(e.nextSibling.nodeType != 1)
		{
			e = e.nextSibling;
		}
		e.nextSibling.style.display = "none";
//		$(e.nextSibling).slideUp("slow");
	}
function showSection(id)
	{
		var e = $("#"+id);
		$(".sd_listitem").hide("slow");
		$(e).slideDown();
	}
	
window.onload = function()
	{
			// custom theme image
			InitSDMenu();
			if(document.body.id == "clients")
				{
				 $(".sd_listitem").each(function(i){
											if(i > 1) $(this).css({display: "none"});
											
											});
				}
			
			
	}

