$(document).ready(function () {

  $("div#svwp_img").slideViewerPro({ 
        thumbs: 4,  
        thumbsPercentReduction: 21, 
        galBorderWidth: 0, 
        galBorderColor: "aqua", 
        thumbsTopMargin: 32, 
        thumbsRightMargin: 4, 
        thumbsBorderWidth: 1, 
        thumbsActiveBorderColor: "#966f50",
		thumbsBorderColor: "#f2dcac",
        thumbsActiveBorderOpacity: 1, 
        thumbsBorderOpacity: 1, 
        buttonsTextColor: "#707070", 
        leftButtonInner: "<img src='i/arrowl.gif' />", 
        rightButtonInner: "<img src='i/arrowr.gif' />", 
        autoslide: false,  
        typo: false 
  });
  
  $(".jqzoom").jqzoom({
    zoomWidth: 335,
	zoomHeight: 322,
	xOffset: 20,
	yOffset: -10,
	title: false,
	preloadText: 'Загрузка...'
  });
  
  $("a.ctab").click(function () { 
	$("#tab1_1").css('display', 'none'); 
	$("#tab1_2").css('display', 'none'); 
	$("#tab1_3").css('display', 'none'); 
	$('div#bkmrk ul li').removeClass('current');
	$(this).parent().addClass('current');
	$('#'+$(this).attr('rel')).css('display', 'block'); 
  });
  
});
