function hideElement ( something ) {
	something = toObject ( something );
	if ( something ) {
		something.style.visibility = 'hidden';
		something.style.display = 'none';
	}
}
 
function showElement ( something ) {
	something = toObject ( something );
	if ( something ) {
		something.style.visibility = 'visible';
		something.style.display = 'block';
	}
}

function toObject ( something )	{
	if ( typeof( something ) == 'string' )
		return document.getElementById ( something );
	if ( typeof( something.nodeName ) != 'undefined' )
		return something;
	return null;
}
