Slidex=function(){this.init=function(e){var s=jQuery.extend({wrapperId:"s5_body",s5_is:"s5_is",items5_is_slide:"s5_is_slide",opacityClass:"s5_is_slide",fullsize:1,opacity:85},e),i=jQuery("#"+s.wrapperId+" ."+s.opacityClass),t=jQuery("#"+s.wrapperId+" ."+s.s5_is),r=jQuery("#"+s.wrapperId+" ."+s.items5_is_slide);i.size()&&i.css({opacity:s.opacity/100,filter:"alpha(opacity="+s.opacity+")"});for(var a="no",a=document.getElementById(s.wrapperId).getElementsByTagName("DIV"),y=0;y<a.length;y++)a[y].className==s.opacityClass&&(a="yes");"yes"==a&&r.size()&&(jQuery(t).css("display","block"),r.each(function(e,s){jQuery(s).css({height:jQuery("h3",jQuery(s))[0].offsetHeight+"px",width:"100%"})})),jQuery(t).each(function(e,i){jQuery(i).mouseenter(function(i){var r=t.eq(e).children("img")[0].offsetHeight;"IMG"!=i.target.nodeName&&jQuery("img",i.target).length>0&&(i.target=jQuery("img",i.target)),jQuery("."+s.items5_is_slide,jQuery(i.target).parents("."+s.s5_is)).eq(0).animate({height:r+"px"},300)}),jQuery(i).mouseleave(function(i){var t=jQuery("h3",r.eq(e))[0].offsetHeight;jQuery("."+s.items5_is_slide,jQuery(i.target).parents("."+s.s5_is)).eq(0).animate({height:t+"px"},300)})})}};