/* HOMEVIEW */
/* Common Functions
----------------------------------------------------------------------------- */


	var $j = jQuery.noConflict();
	var ie6 = (navigator.userAgent.match('MSIE 6') ? true : false);

	jQuery.fn.reverse = function() {

		return this.pushStack(this.get().reverse(), arguments);

	};

	function center() {

		var width = 0;
		var elements = $j(this).children('*').length;
		var spacing = elements * 4;

		$j(this).children('*').not('br').each(function() {
		
			width = width + $j(this).width();

		});

		if (ie6) {
		
			$j(this).width(width + 50 + spacing);

		} else {

			$j(this).width(width + spacing);
		
		}

	}
