;jQuery.noConflict();

jQuery(document).ready
(
	function()
	{
		/**
		 * Products images
		 */
		jQuery('.fancybox').fancybox
		({
			titlePosition: 'inside'
		});
		
		jQuery('.tabs-and-content .tabs').tabs();
		jQuery('#product-options-wrapper dt label').append(':');
		jQuery('#nav > ul > li.parent > a').append('<span class="space"></span>');
		
		/**
		 * Gallery slideshow
		 */
		$galleryContainer = jQuery("#imgContainer");
		
		if (!$galleryContainer.length)
		{
			return;
		}
		
		$galleryContainer.easySlider
		({
			prevId: 		'imgControlsPrev',
			nextId: 		'imgControlsNext',	
			auto:			true,
			pause:			3000,
			continuous:		true,
			numeric:		true,
			numericId:		'imgControls',
			numericPrev:	true,
			numericNext:	true
		});
	}
);

function toggleMenu(el, over)
{
    if (over)
    {
        Element.addClassName(el, 'over');
    }
    else
    {
        Element.removeClassName(el, 'over');
    }
}