﻿/**
*   CSS
*
*   Class offers all utility functions with regard to the styling of elements
*
*   @usage    Used by all pages when necessary to access the CSS method library
*   @author   Daniel Ivanovic dan@anti-blanks.co.uk
*/
var CSSUtility = Class.extend(
	{
		init: function() {},
		
		/**
		*   hideElement
		*
		*   Hides an element
		*
		*	@param	e - element
		*/
		hideElement: function(e)
		{
			//alert( 'hiding ' + e );
			
			e.style.display = 'none';
		},
		
		/**
		*   showElement
		*
		*   Shows an element
		*
		*	@param	e - element
		*/
		showElement: function(e)
		{
			//alert( 'showing ' + e );
			
			e.style.display = 'block';
		}
	}
);
