hs.graphicsDir = '/highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.outlineType = 'rounded-white';
hs.fadeInOut = true;
//hs.dimmingOpacity = 0.75;

// Add the controlbar
hs.addSlideshow({
	//slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		opacity: .75,
		position: 'bottom center',
		hideOnMouseOut: true
	}
});




$(document).ready(function(){
$('div.divid:last').removeClass('divid').toggleClass('hide');	
$('div.newline:last').removeClass('newline').toggleClass('hide');
$('#catalogitem').prev('.divid').removeClass('divid').toggleClass('hide');	
$('.punkt:has(div.active1)').hover(function(){
			/*$(this).children('div.hide').removeClass('hide').toggleClass('active1');	*/
			$(this).children('a').toggleClass('hoverspan');
			$(this).children('div.active1').stop(true, true); 
			$(this).children('div.active1').slideDown('fast');
		},
		function(){
			/*$(this).children('div.active1').removeClass('active1').toggleClass('hide');*/
			$(this).children('div.active1').slideUp('fast');
			$(this).children('a').removeClass('hoverspan');
		});
});		







$(document).ready(function(){
 // Сбрасываем размер шрифта
 var originalFontSize = $('body').css('font-size');
  $('.resetFont').click(function(){
  $('body').css('font-size', originalFontSize);
 });
 // Увеличиваем размер шрифта
 $('.increaseFont').click(function(){
  var currentFontSize = $('body').css('font-size');
  var currentFontSizeNum = parseFloat(currentFontSize, 10);
  var newFontSize = currentFontSizeNum*1.2;
  $('body').css('font-size', newFontSize);
  return false;
 });
 // Уменьшаем размер шрифта
 $('.decreaseFont').click(function(){
  var currentFontSize = $('body').css('font-size');
  var currentFontSizeNum = parseFloat(currentFontSize, 10);
  var newFontSize = currentFontSizeNum*0.8;
  $('body').css('font-size', newFontSize);
  return false;
 });
});





