_lastHidden = '';

	function show( _id,noLast,_state )
	{	_object = document.getElementById(_id);
		
		if( noLast == null )
			noLast = 0;
				
		if( _state == null )
			_state = 'block';
		
		//alert(_object.name);
		
		if( _lastHidden != '' )
			_lastHidden.style.display 	= 'none';
			
		_object.style.display = _state;
		
		if( noLast == 0 )
			_lastHidden = _object;
	}
	
	function hide( _id )
	{	_object = document.getElementById(_id);
		
		_object.style.display 	= 'none';
	}

sfHover = function() {
	var sfEls = document.getElementById("menu").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);
