text: jQuery(function(){jQuery("div.svw").prepend("<img src='"+ACC.config.commonResourcePath+"/images/spinner.gif' class='ldrgif' alt='loading...'/ >")});var j=0,quantofamo=0,currentActive=0,total=0,listelements=[];jQuery.fn.slideView=function(l){return l=jQuery.extend({easeFunc:"easeInOutExpo",easeTime:750,uiBefore:!1,toolTip:!1,ttOpacity:.9,autoPlay:!1,autoPlayTime:"8000"},l),this.each(function(){var r=jQuery(this);r.find("img.ldrgif").remove(),r.removeClass("svw").addClass("stripViewer");var u=r.find("img").width(),t=r.find("img").height(),e=r.find("li").size(),i=u*e;r.find("ul").css("width",i),r.css("width",u),r.css("height",t),r.each(function(t){function e(t,e){t.addClass("current").parent().parent().find("a").not(t).removeClass("current");var i=-u*(currentActive=e);r.find("ul").animate({left:i},l.easeTime,l.easeFunc)}if(l.uiBefore?jQuery(this).before("<div class='stripTransmitter' id='stripTransmitter"+j+"'><ul></ul></div>"):jQuery(this).after("<div class='stripTransmitter' id='stripTransmitter"+j+"'><ul></ul></div>"),jQuery(this).find("li").each(function(t){jQuery("div#stripTransmitter"+j+" ul").append("<li><a title='"+jQuery(this).find("img").attr("alt")+"' href='#'>"+(t+1)+"</a></li>")}),jQuery("div#stripTransmitter"+j+" a").each(function(t){jQuery(this).bind("click",function(){return e(jQuery(this),t),!1}),listelements.push(jQuery(this)),total++}),r.bind("click",function(t){var e=l.uiBefore?jQuery(this).prev().find("a.current"):jQuery(this).next().find("a.current"),i=parseFloat(jQuery(this).css("borderLeftWidth").replace("px",""))+parseFloat(jQuery(this).css("borderRightWidth").replace("px","")),r=jQuery(this).offset(),s=i/2+u-(t.pageX-r.left);if(u/2<=s){var a=e.parent().prev().find("a");0!=jQuery(a).length?a.trigger("click"):e.parent().parent().find("a:last").trigger("click")}else{var n=e.parent().next().find("a");0!=jQuery(n).length?n.trigger("click"):e.parent().parent().find("a:first").trigger("click")}}),jQuery("div#stripTransmitter"+j).css("width",u),jQuery("div#stripTransmitter"+j+" a:first").addClass("current"),jQuery("body").append('<div class="tooltip" style="display:none;"></div>'),l.autoPlay)setInterval(function(){e(currentActive+1<total?listelements[currentActive+1]:listelements[0],currentActive+1<total?currentActive+1:0)},l.autoPlayTime);if(l.toolTip){var i=jQuery("div#stripTransmitter"+j+" a");i.each(function(){jQuery(this).data("title",jQuery(this).prop("title"))}),i.on("mousemove",function(t){var e=jQuery(this).data("title");posX=t.pageX+10,posY=t.pageY+10,jQuery(".tooltip").html(e).css({position:"absolute",top:posY+"px",left:posX+"px",display:"block",opacity:l.ttOpacity})}),i.on("mouseout",function(){jQuery(".tooltip").hide(),this.title=jQuery(this).data("title")}),i.on("mouseover",function(){this.title=""})}}),j++})};