/**handles:slideshow**/ jQuery.noConflict(),jQuery(document).ready(function(){var n=0,e=360,r=jQuery(".slide"),t=r.length,i=!0,o=1e3,s=!0,l=!0,a=7e3,u=new Array,c;u.play="wp-content/themes/ugict/js/slideshow_img/play_slider.png";var d=!(u.pause="wp-content/themes/ugict/js/slideshow_img/pause_slider.png");function p(){d=!0,c=setInterval(y,a)}function y(){jQuery("#rightControl").click()}function h(){d=!1,clearInterval(c)}function j(e){0==e?jQuery("#leftControl").hide():jQuery("#leftControl").show(),jQuery("#rightControl").show(),e==t&&(n=0,jQuery("#leftControl").hide())}p(),jQuery("#slidesContainer").prepend('Navigation diaporama'),jQuery("#navDiapo").attr("src",u.pause),jQuery("#navDiapo").bind("click",function(){1==d?(jQuery(this).attr("src",u.play),h()):(jQuery(this).attr("src",u.pause),p())}),jQuery("#slidesContainer").css("overflow","hidden"),r.wrapAll('
').css({float:"left",width:e}),jQuery("#slideInner").css("width",e*t),jQuery("#slideshow").prepend('Move left').append('Move right'),j(n),jQuery(".control").bind("click",function(){j(n="rightControl"==jQuery(this).attr("id")?n+1:n-1),jQuery("#slideInner").animate({marginLeft:e*-n})})});