
function tikla(link1) {
  window.location = link1;
} 
// Main slider
$('#slider-main').pragmaSlider({
  sliderHeight: 'fixed',    // Set the slider hight to a fixed size
  sliderHeightFixed: 365,   // the sider height in pixels, useful only if sliderHeight is set to 'fixed'
  autoSlide: true,          // Set auto-slide to active
  autoSlideSpeed: 3500,     // time interval between 2 slides when using auto-slide
  slideSpeed: 1000          // the time of the slide change animation in miliseconds
});

// Main slider
$('#slider-main').pragmaSlider({
  sliderHeight: 'fixed',    // Set the slider hight to a fixed size
  sliderHeightFixed: 365,   // the sider height in pixels, useful only if sliderHeight is set to 'fixed'
  autoSlide: true,          // Set auto-slide to active
  autoSlideSpeed: 3500,     // time interval between 2 slides when using auto-slide
  slideSpeed: 1000          // the time of the slide change animation in miliseconds
});


function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel').jcarousel({
        auto: 2,
        wrap: 'last',
		 vertical: true,
        initCallback: mycarousel_initCallback
    });
});








function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
    jQuery('#mycarousel1').jcarousel({
        auto: 2,
        wrap: 'last',
		 vertical: true,
        initCallback: mycarousel_initCallback
    });
});



 	














$(document).ready(function(){
		$(function() {
			var options =
			{
				 position : 'right',
                yOffset :-245,
                 xOffset :22,
				preloadText :'yükleniyor',
				preloadPosition :'center',

				zoomWidth: 668,
				zoomHeight: 365,
				 showEffect:'fadein',
        hideEffect:'fadeout',
        fadeoutSpeed: 'slow',
      fadeinSpeed: 'slow',
	  zoomType:'reverse',
				title: true,
				lens:false
			}
			$(".jqzoom").jqzoom(options);


			var options2 =
			{
				 position : 'right',
                yOffset :-160,
                xOffset :22,
				preloadText :'yükleniyor',
			 showEffect:'fadein',
        hideEffect:'fadeout',
        fadeoutSpeed: 'slow',
      fadeinSpeed: 'slow',
	  zoomType:'reverse',
				zoomWidth: 668,
				zoomHeight: 365,
				
				title: true,
				lens:false
			}

			$(".jqzoom2").jqzoom(options2);   //da sistemare top/bottom


			var options3 =
			{
				 position : 'right',
                yOffset :-75,
                xOffset :22,
				preloadText :'yükleniyor',

 showEffect:'fadein',
        hideEffect:'fadeout',
        fadeoutSpeed: 'slow',
      fadeinSpeed: 'slow',
	  zoomType:'reverse',
				zoomWidth: 668,
				zoomHeight: 365,
				
				title: true,
				lens:false
				

			}

			$(".jqzoom3").jqzoom(options3);   //da sistemare top/bottom


			var options4 =
			{

				  position : 'left',
               yOffset :-75,
                xOffset :26,
				preloadText :'yükleniyor',

 showEffect:'fadein',
        hideEffect:'fadeout',
        fadeoutSpeed: 'slow',
      fadeinSpeed: 'slow',
	  zoomType:'reverse',
				zoomWidth: 668,
				zoomHeight: 365,
				
				title: true,
				lens:false


			}
			$(".jqzoom4").jqzoom(options4);  //da sistemare errore nella eliminazione zoom window


			var options5 =
			{
				 position : 'left',
                yOffset :-160,
                 xOffset :26,
				preloadText :'yükleniyor',

				zoomWidth: 668,
				zoomHeight: 365,
				
				 showEffect:'fadein',
        hideEffect:'fadeout',
        fadeoutSpeed: 'slow',
      fadeinSpeed: 'slow',
	  zoomType:'reverse',
				title: true,
				lens:false
			}
			$(".jqzoom5").jqzoom(options5);


			var options6 =
			{
				 position : 'left',
                yOffset :-245,
             xOffset :26,
			  preloadText :'yükleniyor',

				zoomWidth: 668,
				zoomHeight: 365,
				 showEffect:'fadein',
        hideEffect:'fadeout',
        fadeoutSpeed: 'slow',
      fadeinSpeed: 'slow',
	  zoomType:'reverse',
				title: true,
				lens:false
			}
			$(".jqzoom6").jqzoom(options6);   //da sistemare top/bottom


		});

 	$('.expand').click(function(){
	 	var href= jQuery(this).attr('href');
	 	var elclass = href.match('#([a-zA-Z]+)([0-9]+)');

	 	if(elclass[1] == 'html')
	 	{
	 		jQuery('.html'+elclass[2]+'div').show();
	 		jQuery('.js'+elclass[2]+'div').hide();
	 	}else
	 	{
	 		jQuery('.html'+elclass[2]+'div').hide();
	 		jQuery('.js'+elclass[2]+'div').show();
	 	}
	 	jQuery(this).addClass('alert').siblings('a').removeClass('alert');
		return false;
 	});

 	});

 
