$(document).ready(function(){
	var options = {
		fadeinSpeed:'slow',
		fadeoutSpeed:'slow',
		hideEffect:'fadeOut',
		imageOpacity:0.2,
		lens:true,
		position:'right',
		showEffect:'fadeIn',
		showPreload:true,
		title:false,
		xOffset:0,
		yOffset:0,
		/*
		zoomType:'reverse',
		*/
		zoomHeight:432,
		zoomWidth:432
	};
	$('.zoomIt').jqzoom(options);
	$(".tabpanel").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tabpanel:first").show(); //Show first tab content
	$("ul.tabs li").click(function(){
		$("ul.tabs li").removeClass("active");
		$(this).addClass("active");
		$(".tabpanel").hide();
		var activeTab = $(this).find("a").attr("href");
		$(activeTab).fadeIn();
		return false;
	});
});
