jQuery.noConflict();
(function($){

$(document).ready(function(){

	if ($.fn.fancybox)
	{
$("a.gallery").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false
	});
	}

	if ($.fn.jCarouselLite)
	{
		$('#slides .slider').jCarouselLite({
			btnPrev: '#slides .prev a',
			btnNext: '#slides .next a',
			visible: 1,
			speed: 400
		});
	}

	$('.tabs1').each(function(){
		var self = $(this);
		$('> ul a', this).click(function(){
			self.find('> ul li').removeClass('active');
			$(this.parentNode).addClass('active');
			self.find('.tab').hide();
			$('#' + this.className).show();
			return false;
		});
	});

	if ($.browser.msie) {
		try {document.execCommand("BackgroundImageCache", false, true);} catch(err){};
		if (typeof(DD_belatedPNG) != 'undefined')
		{
			DD_belatedPNG.fix('img');
		}
	}

});

})(jQuery);