function mycarousel_initCallback(carousel)
{
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};
jQuery(document).ready(function() {
								
	jQuery('.jcarousel-skin-tango').jcarousel({
        auto: 5,
        wrap: 'last',
        initCallback: mycarousel_initCallback
    });
	
    jQuery('#mycarouselvert').jcarousel({
        vertical: true,
        scroll: 2,
		auto: 5,
		initCallback: mycarousel_initCallback
    });
	
	
	
	
	 $("a[rel='example1']").colorbox();
	
});


function reloadCaptcha(path)
{
	$("#captImage").attr('src','/kcaptcha/index.php?chk='+Math.random(150000));
}

/*
$(function() {
		   
		var m = $(".triggers")   
			
		if(m.length)
		{   
			$(".triggers a").overlay({
			target: '#gallery',
			expose: '#f1f1f1'
			}).gallery({speed: 800});
		}	
		   
		var m2 = $("#triggers2")   
			
		if(m2.length)
		{   
			$("#triggers2 a").overlay({
			target: '#gallery2',
			expose: '#f1f1f1'
			}).gallery({speed: 800});
		}	
});
*/

