if(typeof jQuery != "undefined") {
	jQuery.noConflict();
	jQuery(document).ready(function($) {
		var $body, $nav, $content, $product,
			hash, $hash, $hashLink,
			$gallery, $galleryImage, galleryImageFading;

		/**
		* General
		*/
		$body		= $('body').addClass('jquery');
		$nav		= $('#nav');
		$content	= $('#content');
		$product	= $('#product');
		
		
		hash = window.location.hash;
		if(hash.length > 0) {
			$hash = $(hash);			
			if($hash.length > 0) {
				$hash.show();
			}
		}
					
		/**
		* @section Input default text
		* @desc Moves the associated label text inside the input as "default" value
		* @uses labelify()
		* @see http://www.kryogenix.org/code/browser/labelify/
		* --------------------------------------------------------------------------------------------------
		*/
		if($.fn.labelify) {
			$('#search, #newsletter, #enquiry').find('input:not(:submit)').labelify({
				text: 'label'
			});
			$('body.cart #content-primary input:not(:submit)').labelify();
		}
		

	});
}
