function init_slideshow(){$(".slides").each(function(c){var d=this.parentNode;$(this).cycle({timeout:0,delay:2000,speed:500,next:$(".nextbutton",d),prev:$(".prevbutton",d),before:a,after:b});function a(f,g,e){$("p.slideshowCaption",d).html(this.title);$("a.linkSlideshowControlsEnlarge",d).click(function(){$(".slides a",d).eq(e.currSlide).click();return false})}function b(f,g,e){var h=(e.currSlide+1)+" of "+e.slideCount;$(".spanSlideshowControlsCounter",d).html(h)}if($(this).children().length<=1){$(".linkSlideshowControlsPrev",d).hide();$(".linkSlideshowControlsNext",d).hide();$("a.linkSlideshowControlsEnlarge",d).click(function(){$(".slides a:first",d).click();return false})}$(".slides a",d).attr("rel","group"+c).colorbox()})};
