"):0;E(Y).css({position:"absolute",padding:"0 0 0 0"}).appendTo(K);if(Y&&document.all){var T=E('
');T.css({position:"absolute",left:0,top:0,width:"100%",height:"100%",filter:"alpha(opacity=0)"});T.attr({scrolling:"no",framespacing:0,border:0,frameBorder:"no"});Y.append(T)}E(Y).css({zIndex:10,right:"5px",bottom:"2px"}).appendTo(K);var W=Y?E("
"):Y;if(W){W.css({position:"relative",display:"block","background-color":"#E4EFEB",color:"#837F80","font-family":"Lucida Grande,sans-serif","font-size":"11px","font-weight":"normal","font-style":"normal","-moz-border-radius":"5px","border-radius":"5px",padding:"1px 5px",width:"auto",height:"auto",margin:"0 0 0 0",outline:"none"}).attr({href:"http://"+e.toLowerCase()}).html(e).bind("contextmenu",function(c){return false}).appendTo(Y||document.body)}if(y.controls){var v=E(''+y.next+"");var V=E('
'+y.prev+"");l.append(v);l.append(V);v.bind("click",function(c){X(c,B+1)});V.bind("click",function(c){X(c,B-1)});if(/iPhone/.test(navigator.platform)){V.get(0).addEventListener("touchend",function(c){X(c,B-1)},false);v.get(0).addEventListener("touchend",function(c){X(c,B+1)},false)}}var F;function g(){l.find(".ws_bullets a,.ws_thumbs a").click(function(ah){X(ah,E(this).index())});if(M.length){M.hover(function(){F=1},function(){F=0});var ad=M.find(">div");M.css({overflow:"hidden"});M.mousemove(function(ak){var am=0.1;for(var aj=0;aj<2;aj++){var ai=M[aj?"width":"height"](),ah=ad[aj?"width":"height"](),al=ai-ah;if(al<0){al*=Math.min(Math.max(((ak[aj?"pageX":"pageY"]-M.offset()[aj?"left":"top"])/ai-am)/(1-2*am),0),1);ad.stop(true).animate(aj?{left:al}:{top:al},ah/2,"easeOutCubic")}else{ad.css(aj?"left":"top",aj?al/2:0)}}});M.trigger("mousemove");var aa,ab;Q(ad.get(0),function(aj,ai,ah){ad.css("left",Math.min(Math.max(aa-ai,M.width()-ad.width()),0));ad.css("top",Math.min(Math.max(ab-ah,M.height()-ad.height()),0));aj.preventDefault();return false},function(ah){aa=parseFloat(ad.css("left"))||0;ab=parseFloat(ad.css("top"))||0;return false})}if(m.length){var ag=m.find(">div");var ae=E("a",m);var f=ae.find("IMG");if(f.length){var Z=E('
').appendTo(ag);var d=E("
").css({width:f.length+1+"00%"}).appendTo(E("
").appendTo(Z));f.appendTo(d);E("
").appendTo(Z);var c=-1;function ac(aj){if(aj<0){aj=0}if(r){r.loadTtip(aj)}E(ae.get(c)).removeClass("ws_overbull");E(ae.get(aj)).addClass("ws_overbull");Z.show();var ak={left:ae.get(aj).offsetLeft-Z.width()/2,"margin-top":ae.get(aj).offsetTop-ae.get(0).offsetTop+"px","margin-bottom":-ae.get(aj).offsetTop+ae.get(ae.length-1).offsetTop+"px"};var ai=f.get(aj);var ah={left:-ai.offsetLeft+(E(ai).outerWidth(true)-E(ai).outerWidth())/2};if(c<0){Z.css(ak);d.css(ah)}else{if(!document.all){ak.opacity=1}Z.stop().animate(ak,"fast");d.stop().animate(ah,"fast")}c=aj}ae.hover(function(){ac(E(this).index())});var af;ag.hover(function(){if(af){clearTimeout(af);af=0}ac(c)},function(){ae.removeClass("ws_overbull");if(document.all){if(!af){af=setTimeout(function(){Z.hide();af=0},400)}}else{Z.stop().animate({opacity:0},{duration:"fast",complete:function(){Z.hide()}})}});ag.click(function(ah){X(ah,E(ah.target).index())})}}}function H(c){E("A",M).each(function(aa){if(aa==c){var f=E(this);f.addClass("ws_selthumb");if(!F){var d=M.find(">div"),Z=f.position()||{},ab=d.position()||{};d.stop(true).animate({left:-Math.max(Math.min(Z.left,-ab.left),Z.left+f.width()-M.width()),top:-Math.max(Math.min(Z.top,-ab.top),Z.top+f.height()-M.height())})}}else{E(this).removeClass("ws_selthumb")}})}function R(c){E("A",m).each(function(d){if(d==c){E(this).addClass("ws_selbull")}else{E(this).removeClass("ws_selbull")}})}if(y.caption){$caption=E("
");l.append($caption);$caption.bind("mouseover",function(c){p()});$caption.bind("mouseout",function(c){D()})}var L=y.captionEffect||"slide";if(L=="move"){L=[{left1:"100%",top2:"100%"},{left1:"80%",left2:"-50%"},{top1:"-100%",top2:"100%",distance:0.7,easing:"easeOutBack"},{top1:"-80%",top2:"-80%",distance:0.3,easing:"easeOutBack"},{top1:"-80%",left2:"80%"},{left1:"80%",left2:"80%"}]}function z(d){var Z=E("img",d).attr("title");var f=E(d).data("descr");var c=E(".ws-title",l);c.stop(0,0).stop(0,0).fadeOut(y.captionDuration/1,function(){if(Z||f){c.html((Z?"
"+Z+"":"")+(f?"
"+f+"
":""));if(L=="slide"){N(c,{direction:"left",easing:"easeInOutExpo",complete:function(){if(E.browser.msie){c.get(0).style.removeAttribute("filter")}},duration:y.captionDuration})}else{n(c,L[Math.floor(Math.random()*L.length)],0.5,"easeOutElastic1",y.captionDuration)}}})}if(m.length||M.length){g()}q(B);if(y.caption){z(j[B])}if(y.stopOnHover){this.bind("mouseover",function(c){p()});this.bind("mouseout",function(c){D()})}D(1);function I(aa,d){var ab,f=document.defaultView;if(f&&f.getComputedStyle){var Z=f.getComputedStyle(aa,"");if(Z){ab=Z.getPropertyValue(d)}}else{var c=d.replace(/\-\w/g,function(ac){return ac.charAt(1).toUpperCase()});if(aa.currentStyle){ab=aa.currentStyle[c]}else{ab=aa.style[c]}}return ab}function w(Z,f,ac){var ab="padding-left|padding-right|border-left-width|border-right-width".split("|");var aa=0;for(var d=0;d
span,>div").get();E(Z).css({position:"relative",visibility:"hidden"});aa.show();for(var d in ae){if(/\%/.test(ae[d])){ae[d]=parseInt(ae[d])/100;var ad=aa.offset()[/left/.test(d)?"left":"top"];var af=/left/.test(d)?"width":"height";if(ae[d]<0){ae[d]*=ad}else{ae[d]*=l[af]()-aa[af]()-ad}}}E(Z[0]).css({left:(ae.left1||0)+"px",top:(ae.top1||0)+"px"});E(Z[1]).css({left:(ae.left2||0)+"px",top:(ae.top2||0)+"px"});var f=ae.duration||f;function ab(ag){var ah=E(Z[ag]).css("opacity");E(Z[ag]).css({opacity:0,visibility:"visible"}).animate({opacity:ah},f,"easeOutCirc").animate({top:0,left:0},{duration:f,easing:(ae.easing||ac),queue:false})}ab(0);setTimeout(function(){ab(1)},f*(ae.distance||c))}function N(ad,ag){var af={position:0,top:0,left:0,bottom:0,right:0};for(var f in af){af[f]=ad.get(0).style[f]}ad.show();var ac={width:w(ad.get(0),1,1),height:t(ad.get(0),1,1),"float":ad.css("float"),overflow:"hidden",opacity:0};for(var f in af){ac[f]=af[f]||I(ad.get(0),f)}var d=E("").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});ad.wrap(d);d=ad.parent();if(ad.css("position")=="static"){d.css({position:"relative"});ad.css({position:"relative"})}else{E.extend(ac,{position:ad.css("position"),zIndex:ad.css("z-index")});ad.css({position:"absolute",top:0,left:0,right:"auto",bottom:"auto"})}d.css(ac).show();var ae=ag.direction||"left";var Z=(ae=="up"||ae=="down")?"top":"left";var aa=(ae=="up"||ae=="left");var c=ag.distance||(Z=="top"?ad.outerHeight({margin:true}):ad.outerWidth({margin:true}));ad.css(Z,aa?(isNaN(c)?"-"+c:-c):c);var ab={};ab[Z]=(aa?"+=":"-=")+c;d.animate({opacity:1},{duration:ag.duration,easing:ag.easing});ad.animate(ab,{queue:false,duration:ag.duration,easing:ag.easing,complete:function(){ad.css(af);ad.parent().replaceWith(ad);if(ag.complete){ag.complete()}}})}i.wsStart=k;i.wsStop=p;return this};jQuery.extend(jQuery.easing,{easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeOutElastic1:function(k,l,i,h,g){var f=Math.PI/2;var m=1.70158;var e=0;var j=h;if(l==0){return i}if((l/=g)==1){return i+h}if(!e){e=g*0.3}if(j