//Grid Main Page DG
var RIGHTPAD=10,TOPPAD=25,LEFTPAD=10,BOTPAD=25,BOXW=170,BOXH=370,ENDPAD=30,pageW=0,cols=0,maxcols=5,sizeMsg=false; function shiftPosition(f){pid=f;CARDBORDER=30;this.col_ar=[];this.init=function(){var a=document.getElementById("container_boxes").childNodes.length;this.pushed_ar=[];var b=this.getPageW();for(c=cols=Math.floor((b-LEFTPAD*2)/(BOXW+RIGHTPAD));c>0;c--)if(c<=cols-3){targetSelCol=c;break}for(c=0;c<a;c++){b=document.getElementById("container_boxes").childNodes[c];$(b).attr("tagName")=="DIV"&&this.pushed_ar.push(b.id)}this.col_ar=[];if(!cols||cols<3)cols=3;this.col_ar.push({x:0,y:0});for(var c=1;c<cols;c++)this.col_ar.push({x:c, y:0});this.draw()};this.getPageW=function(){var a;if(self.innerWidth)a=self.innerWidth-25;else if(document.documentElement&&document.documentElement.clientWidth)a=document.documentElement.clientWidth-25;else if(document.body)a=document.body.clientWidth-25;return a};this.getHeight=function(a){return document.getElementById(a).offsetHeight};this.draw=function(){var a=pushed_ar;for(var b in a){b=a[b];this.col_ar.sort(this.ySort);var c=document.getElementById(b);if(c)if(Math.round(c.offsetWidth/BOXW)> 1)this.drawWide(b);else{c=this.col_ar[0];this.drawItem(b,c.x,c.y)}}};this.drawWide=function(a){var b=[];this.col_ar.sort(this.xSort);var c=document.getElementById(a);c=Math.round(c.offsetWidth/BOXW);var e=cols-c;if(!(e<0)){if(e<0){e=1;c=2}for(var d=0;d<=e;d++){b.push(this.col_ar[d]);for(var j=0,k=null,g=0;g<c;g++){var h=this.col_ar[d+g].y;if(h>=j){j=h;k=d+g}}h=j;for(g=0;g<c;g++)h+=Math.abs(this.col_ar[k].y-this.col_ar[d+g].y);b[d].d=h;b[d].od=b[d].y-j}b.sort(this.dSort);c=b[0].x;e=b[0].y;if(b[0].od< 0)e-=b[0].od;this.col_ar.sort(this.ySort);this.drawItem(a,c,e)}};this.xSort=function(a,b){return a.x-b.x};this.ySort=function(a,b){return a.y==b.y?a.x-b.x:a.y-b.y};this.dSort=function(a,b){return a.d==b.d?a.x-b.x:a.d-b.d};this.drawItem=function(a,b,c){a=document.getElementById(a);var e=Math.round(a.offsetWidth/BOXW);wleftArr=b*(BOXW+RIGHTPAD)+LEFTPAD;a.style.left=wleftArr+"px";leftpos.push(wleftArr);a.style.top=c+TOPPAD+"px";a.style.position="absolute";a.style.visibility="visible";if(e>1){this.col_ar.sort(this.xSort); for(var d=0;d<e;d++)this.col_ar[b+d].y=c+this.getHeight(a.id)+BOTPAD}else this.col_ar[0].y=c+this.getHeight(a.id)+BOTPAD};this.findSameTop=function(a,b){return a==b?true:false};this.findProximity=function(a,b,c){return c>=a&&c<=b?true:false};this.findClosest=function(a,b){return a>=b?a:b};this.findSameCol=function(a,b,c,e){return c==e?a==b?true:false:false};this.init(pid)} function getScrollHeight(){var f;if(self.pageYOffset)f=self.pageYOffset;else if(document.documentElement&&document.documentElement.scrollTop)f=document.documentElement.scrollTop;else if(document.body)f=document.body.scrollTop;return parseInt(f)+_getWindowHeight()} function _getWindowHeight(){if(self.innerWidth){frameWidth=self.innerWidth;frameHeight=self.innerHeight}else if(document.documentElement&&document.documentElement.clientWidth){frameWidth=document.documentElement.clientWidth;frameHeight=document.documentElement.clientHeight}else if(document.body){frameWidth=document.body.clientWidth;frameHeight=document.body.clientHeight}return parseInt(frameHeight)}function arfind(f,a){for(i=0;i<f.length;i++)if(f[i]==a){spot=i;break}return spot};


/*	SWFObject v2.2 <http://code.google.com/p/swfobject/> 
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var aa=C(r);aa.setAttribute("type",q);var Z=X.appendChild(aa);if(Z){var Y=0;(function(){if(typeof Z.GetVariable!=D){var ab=Z.GetVariable("$version");if(ab){ab=ab.split(" ")[1].split(",");M.pv=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}else{if(Y<10){Y++;setTimeout(arguments.callee,10);return}}X.removeChild(aa);Z=null;H()})()}else{H()}}function H(){var ag=o.length;if(ag>0){for(var af=0;af<ag;af++){var Y=o[af].id;var ab=o[af].callbackFn;var aa={success:false,id:Y};if(M.pv[0]>0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad<ac;ad++){if(X[ad].getAttribute("name").toLowerCase()!="movie"){ah[X[ad].getAttribute("name")]=X[ad].getAttribute("value")}}P(ai,ah,Y,ab)}else{p(ae);if(ab){ab(aa)}}}}}else{w(Y,true);if(ab){var Z=z(Y);if(Z&&typeof Z.SetVariable!=D){aa.success=true;aa.ref=Z}ab(aa)}}}}}function z(aa){var X=null;var Y=c(aa);if(Y&&Y.nodeName=="OBJECT"){if(typeof Y.SetVariable!=D){X=Y}else{var Z=Y.getElementsByTagName(r)[0];if(Z){X=Z}}}return X}function A(){return !a&&F("6.0.65")&&(M.win||M.mac)&&!(M.wk&&M.wk<312)}function P(aa,ab,X,Z){a=true;E=Z||null;B={success:false,id:X};var ae=c(X);if(ae){if(ae.nodeName=="OBJECT"){l=g(ae);Q=null}else{l=ae;Q=X}aa.id=R;if(typeof aa.width==D||(!/%$/.test(aa.width)&&parseInt(aa.width,10)<310)){aa.width="310"}if(typeof aa.height==D||(!/%$/.test(aa.height)&&parseInt(aa.height,10)<137)){aa.height="137"}j.title=j.title.slice(0,47)+" - Flash Player Installation";var ad=M.ie&&M.win?"ActiveX":"PlugIn",ac="MMredirectURL="+O.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ad+"&MMdoctitle="+j.title;if(typeof ab.flashvars!=D){ab.flashvars+="&"+ac}else{ab.flashvars=ac}if(M.ie&&M.win&&ae.readyState!=4){var Y=C("div");X+="SWFObjectNew";Y.setAttribute("id",X);ae.parentNode.insertBefore(Y,ae);ae.style.display="none";(function(){if(ae.readyState==4){ae.parentNode.removeChild(ae)}else{setTimeout(arguments.callee,10)}})()}u(aa,ab,X)}}function p(Y){if(M.ie&&M.win&&Y.readyState!=4){var X=C("div");Y.parentNode.insertBefore(X,Y);X.parentNode.replaceChild(g(Y),X);Y.style.display="none";(function(){if(Y.readyState==4){Y.parentNode.removeChild(Y)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.replaceChild(g(Y),Y)}}function g(ab){var aa=C("div");if(M.win&&M.ie){aa.innerHTML=ab.innerHTML}else{var Y=ab.getElementsByTagName(r)[0];if(Y){var ad=Y.childNodes;if(ad){var X=ad.length;for(var Z=0;Z<X;Z++){if(!(ad[Z].nodeType==1&&ad[Z].nodeName=="PARAM")&&!(ad[Z].nodeType==8)){aa.appendChild(ad[Z].cloneNode(true))}}}}}return aa}function u(ai,ag,Y){var X,aa=c(Y);if(M.wk&&M.wk<312){return X}if(aa){if(typeof ai.id==D){ai.id=Y}if(M.ie&&M.win){var ah="";for(var ae in ai){if(ai[ae]!=Object.prototype[ae]){if(ae.toLowerCase()=="data"){ag.movie=ai[ae]}else{if(ae.toLowerCase()=="styleclass"){ah+=' class="'+ai[ae]+'"'}else{if(ae.toLowerCase()!="classid"){ah+=" "+ae+'="'+ai[ae]+'"'}}}}}var af="";for(var ad in ag){if(ag[ad]!=Object.prototype[ad]){af+='<param name="'+ad+'" value="'+ag[ad]+'" />'}}aa.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+ah+">"+af+"</object>";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab<ac;ab++){I[ab][0].detachEvent(I[ab][1],I[ab][2])}var Z=N.length;for(var aa=0;aa<Z;aa++){y(N[aa])}for(var Y in M){M[Y]=null}M=null;for(var X in swfobject){swfobject[X]=null}swfobject=null})}}();return{registerObject:function(ab,X,aa,Z){if(M.w3&&ab&&X){var Y={};Y.id=ab;Y.swfVersion=X;Y.expressInstall=aa;Y.callbackFn=Z;o[o.length]=Y;w(ab,false)}else{if(Z){Z({success:false,id:ab})}}},getObjectById:function(X){if(M.w3){return z(X)}},embedSWF:function(ab,ah,ae,ag,Y,aa,Z,ad,af,ac){var X={success:false,id:ah};if(M.w3&&!(M.wk&&M.wk<312)&&ab&&ah&&ae&&ag&&Y){w(ah,false);K(function(){ae+="";ag+="";var aj={};if(af&&typeof af===r){for(var al in af){aj[al]=af[al]}}aj.data=ab;aj.width=ae;aj.height=ag;var am={};if(ad&&typeof ad===r){for(var ak in ad){am[ak]=ad[ak]}}if(Z&&typeof Z===r){for(var ai in Z){if(typeof am.flashvars!=D){am.flashvars+="&"+ai+"="+Z[ai]}else{am.flashvars=ai+"="+Z[ai]}}}if(F(Y)){var an=u(aj,am,ah);if(aj.id==ah){w(ah,true)}X.success=true;X.ref=an}else{if(aa&&A()){aj.data=aa;P(aj,am,ah,ac);return}else{w(ah,true)}}if(ac){ac(X)}})}else{if(ac){ac(X)}}},switchOffAutoHideShow:function(){m=false},ua:M,getFlashPlayerVersion:function(){return{major:M.pv[0],minor:M.pv[1],release:M.pv[2]}},hasFlashPlayerVersion:F,createSWF:function(Z,Y,X){if(M.w3){return u(Z,Y,X)}else{return undefined}},showExpressInstall:function(Z,aa,X,Y){if(M.w3&&A()){P(Z,aa,X,Y)}},removeSWF:function(X){if(M.w3){y(X)}},createCSS:function(aa,Z,Y,X){if(M.w3){v(aa,Z,Y,X)}},addDomLoadEvent:K,addLoadEvent:s,getQueryParamValue:function(aa){var Z=j.location.search||j.location.hash;if(Z){if(/\?/.test(Z)){Z=Z.split("?")[1]}if(aa==null){return L(Z)}var Y=Z.split("&");for(var X=0;X<Y.length;X++){if(Y[X].substring(0,Y[X].indexOf("="))==aa){return L(Y[X].substring((Y[X].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var X=c(R);if(X&&l){X.parentNode.replaceChild(l,X);if(Q){w(Q,true);if(M.ie&&M.win){l.style.display="block"}}if(E){E(B)}}a=false}}}}();


/*!
 * jQuery Cycle Plugin (with Transition Definitions)
 * Examples and documentation at: http://jquery.malsup.com/cycle/
 * Copyright (c) 2007-2009 M. Alsup
 * Version: 2.72 (09-SEP-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.2.6 or later
 *
 * Originally based on the work of:
 *	1) Matt Oakes
 *	2) Torsten Baldes (http://medienfreunde.com/lab/innerfade/)
 *	3) Benjamin Sterling (http://www.benjaminsterling.com/experiments/jqShuffle/)
 */
(function(c){function h(a){c.fn.cycle.debug&&m(a)}function m(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function e(a,d,f){if(a.cycleStop==undefined)a.cycleStop=0;if(d===undefined||d===null)d={};if(d.constructor==String){switch(d){case "stop":a.cycleStop++;a.cycleTimeout&&clearTimeout(a.cycleTimeout);a.cycleTimeout=0;c(a).removeData("cycle.opts");return false;case "pause":a.cyclePause=1;return false;case "resume":a.cyclePause=0;if(f=== true){d=c(a).data("cycle.opts");if(!d){m("options not found, can not resume");return false}if(a.cycleTimeout){clearTimeout(a.cycleTimeout);a.cycleTimeout=0}q(d.elements,d,1,1)}return false;case "prev":case "next":a=c(a).data("cycle.opts");if(!a){m('options not found, "prev/next" ignored');return false}c.fn.cycle[d](a);return false;default:d={fx:d}}return d}else if(d.constructor==Number){var j=d;d=c(a).data("cycle.opts");if(!d){m("options not found, can not advance slide");return false}if(j<0||j>= d.elements.length){m("invalid slide index: "+j);return false}d.nextSlide=j;if(a.cycleTimeout){clearTimeout(a.cycleTimeout);a.cycleTimeout=0}if(typeof f=="string")d.oneTimeFx=f;q(d.elements,d,1,j>=d.currSlide);return false}return d}function k(a,d){if(!c.support.opacity&&d.cleartype&&a.style.filter)try{a.style.removeAttribute("filter")}catch(f){}}function i(a,d,f,j,l){var b=c.extend({},c.fn.cycle.defaults,j||{},c.metadata?a.metadata():c.meta?a.data():{});if(b.autostop)b.countdown=b.autostopCount||f.length; var n=a[0];a.data("cycle.opts",b);b.$cont=a;b.stopCount=n.cycleStop;b.elements=f;b.before=b.before?[b.before]:[];b.after=b.after?[b.after]:[];b.after.unshift(function(){b.busy=0});!c.support.opacity&&b.cleartype&&b.after.push(function(){k(this,b)});b.continuous&&b.after.push(function(){q(f,b,0,!b.rev)});g(b);!c.support.opacity&&b.cleartype&&!b.cleartypeNoBg&&A(d);a.css("position")=="static"&&a.css("position","relative");b.width&&a.width(b.width);b.height&&b.height!="auto"&&a.height(b.height);if(b.startingSlide)b.startingSlide= parseInt(b.startingSlide);if(b.random){b.randomMap=[];for(n=0;n<f.length;n++)b.randomMap.push(n);b.randomMap.sort(function(){return Math.random()-0.5});b.randomIndex=0;b.startingSlide=b.randomMap[0]}else if(b.startingSlide>=f.length)b.startingSlide=0;b.currSlide=b.startingSlide=b.startingSlide||0;var o=b.startingSlide;d.css({position:"absolute",top:0,left:0}).hide().each(function(v){v=o?v>=o?f.length-(v-o):o-v:f.length-v;c(this).css("z-index",v)});c(f[o]).css("opacity",1).show();k(f[o],b);b.fit&& b.width&&d.width(b.width);b.fit&&b.height&&b.height!="auto"&&d.height(b.height);if(b.containerResize&&!a.innerHeight()){for(var u=n=0,z=0;z<f.length;z++){var y=c(f[z]),C=y[0],B=y.outerWidth();y=y.outerHeight();if(!B)B=C.offsetWidth;if(!y)y=C.offsetHeight;n=B>n?B:n;u=y>u?y:u}n>0&&u>0&&a.css({width:n+"px",height:u+"px"})}b.pause&&a.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(r(b)===false)return false;var D=false;j.requeueAttempts=j.requeueAttempts||0;d.each(function(){var v= c(this);this.cycleH=b.fit&&b.height?b.height:v.height();this.cycleW=b.fit&&b.width?b.width:v.width();if(v.is("img")){v=c.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete;var E=c.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,F=this.cycleH==0&&this.cycleW==0&&!this.complete;if(c.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete||v||E||F)if(l.s&&b.requeueOnImageNotLoaded&&++j.requeueAttempts<100){m(j.requeueAttempts, " - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){c(l.s,l.c).cycle(j)},b.requeueTimeout);D=true;return false}else m("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return true});if(D)return false;b.cssBefore=b.cssBefore||{};b.animIn=b.animIn||{};b.animOut=b.animOut||{};d.not(":eq("+o+")").css(b.cssBefore);b.cssFirst&&c(d[o]).css(b.cssFirst);if(b.timeout){b.timeout=parseInt(b.timeout);if(b.speed.constructor==String)b.speed= c.fx.speeds[b.speed]||parseInt(b.speed);for(b.sync||(b.speed/=2);b.timeout-b.speed<250;)b.timeout+=b.speed}if(b.easing)b.easeIn=b.easeOut=b.easing;if(!b.speedIn)b.speedIn=b.speed;if(!b.speedOut)b.speedOut=b.speed;b.slideCount=f.length;b.currSlide=b.lastSlide=o;if(b.random){b.nextSlide=b.currSlide;if(++b.randomIndex==f.length)b.randomIndex=0;b.nextSlide=b.randomMap[b.randomIndex]}else b.nextSlide=b.startingSlide>=f.length-1?0:b.startingSlide+1;if(!b.multiFx){n=c.fn.cycle.transitions[b.fx];if(c.isFunction(n))n(a, d,b);else if(b.fx!="custom"&&!b.multiFx){m("unknown transition: "+b.fx,"; slideshow terminating");return false}}a=d[o];b.before.length&&b.before[0].apply(a,[a,a,b,true]);b.after.length>1&&b.after[1].apply(a,[a,a,b,true]);b.next&&c(b.next).bind(b.prevNextEvent,function(){return t(b,b.rev?-1:1)});b.prev&&c(b.prev).bind(b.prevNextEvent,function(){return t(b,b.rev?1:-1)});b.pager&&w(f,b);s(b,f);return b}function g(a){a.original={before:[],after:[]};a.original.cssBefore=c.extend({},a.cssBefore);a.original.cssAfter= c.extend({},a.cssAfter);a.original.animIn=c.extend({},a.animIn);a.original.animOut=c.extend({},a.animOut);c.each(a.before,function(){a.original.before.push(this)});c.each(a.after,function(){a.original.after.push(this)})}function r(a){var d,f,j=c.fn.cycle.transitions;if(a.fx.indexOf(",")>0){a.multiFx=true;a.fxs=a.fx.replace(/\s*/g,"").split(",");for(d=0;d<a.fxs.length;d++){var l=a.fxs[d];f=j[l];if(!f||!j.hasOwnProperty(l)||!c.isFunction(f)){m("discarding unknown transition: ",l);a.fxs.splice(d,1); d--}}if(!a.fxs.length){m("No valid transitions named; slideshow terminating.");return false}}else if(a.fx=="all"){a.multiFx=true;a.fxs=[];for(p in j){f=j[p];j.hasOwnProperty(p)&&c.isFunction(f)&&a.fxs.push(p)}}if(a.multiFx&&a.randomizeEffects){f=Math.floor(Math.random()*20)+30;for(d=0;d<f;d++)a.fxs.push(a.fxs.splice(Math.floor(Math.random()*a.fxs.length),1)[0]);h("randomized fx sequence: ",a.fxs)}return true}function s(a,d){a.addSlide=function(f,j){var l=c(f),b=l[0];a.autostopCount||a.countdown++; d[j?"unshift":"push"](b);if(a.els)a.els[j?"unshift":"push"](b);a.slideCount=d.length;l.css("position","absolute");l[j?"prependTo":"appendTo"](a.$cont);if(j){a.currSlide++;a.nextSlide++}!c.support.opacity&&a.cleartype&&!a.cleartypeNoBg&&A(l);a.fit&&a.width&&l.width(a.width);a.fit&&a.height&&a.height!="auto"&&$slides.height(a.height);b.cycleH=a.fit&&a.height?a.height:l.height();b.cycleW=a.fit&&a.width?a.width:l.width();l.css(a.cssBefore);a.pager&&c.fn.cycle.createPagerAnchor(d.length-1,b,c(a.pager), d,a);c.isFunction(a.onAddSlide)?a.onAddSlide(l):l.hide()}}function q(a,d,f,j){if(f&&d.busy&&d.manualTrump){c(a).stop(true,true);d.busy=false}if(!d.busy){var l=d.$cont[0],b=a[d.currSlide],n=a[d.nextSlide];if(!(l.cycleStop!=d.stopCount||l.cycleTimeout===0&&!f))if(!f&&!l.cyclePause&&(d.autostop&&--d.countdown<=0||d.nowrap&&!d.random&&d.nextSlide<d.currSlide))d.end&&d.end(d);else{if(f||!l.cyclePause){var o=d.fx;b.cycleH=b.cycleH||c(b).height();b.cycleW=b.cycleW||c(b).width();n.cycleH=n.cycleH||c(n).height(); n.cycleW=n.cycleW||c(n).width();if(d.multiFx){if(d.lastFx==undefined||++d.lastFx>=d.fxs.length)d.lastFx=0;o=d.fxs[d.lastFx];d.currFx=o}if(d.oneTimeFx){o=d.oneTimeFx;d.oneTimeFx=null}c.fn.cycle.resetState(d,o);d.before.length&&c.each(d.before,function(u,z){l.cycleStop==d.stopCount&&z.apply(n,[b,n,d,j])});o=function(){c.each(d.after,function(u,z){l.cycleStop==d.stopCount&&z.apply(n,[b,n,d,j])})};if(d.nextSlide!=d.currSlide){d.busy=1;if(d.fxFn)d.fxFn(b,n,d,o,j);else c.isFunction(c.fn.cycle[d.fx])?c.fn.cycle[d.fx](b, n,d,o):c.fn.cycle.custom(b,n,d,o,f&&d.fastOnEvent)}d.lastSlide=d.currSlide;if(d.random){d.currSlide=d.nextSlide;if(++d.randomIndex==a.length)d.randomIndex=0;d.nextSlide=d.randomMap[d.randomIndex]}else{f=d.nextSlide+1==a.length;d.nextSlide=f?0:d.nextSlide+1;d.currSlide=f?a.length-1:d.nextSlide-1}d.pager&&c.fn.cycle.updateActivePagerLink(d.pager,d.currSlide)}f=0;if(d.timeout&&!d.continuous)f=x(b,n,d,j);else if(d.continuous&&l.cyclePause)f=10;if(f>0)l.cycleTimeout=setTimeout(function(){q(a,d,0,!d.rev)}, f)}}}function x(a,d,f,j){if(f.timeoutFn){for(a=f.timeoutFn(a,d,f,j);a-f.speed<250;)a+=f.speed;h("calculated timeout: "+a+"; speed: "+f.speed);if(a!==false)return a}return f.timeout}function t(a,d){var f=a.elements,j=a.$cont[0],l=j.cycleTimeout;if(l){clearTimeout(l);j.cycleTimeout=0}if(a.random&&d<0){a.randomIndex--;if(--a.randomIndex==-2)a.randomIndex=f.length-2;else if(a.randomIndex==-1)a.randomIndex=f.length-1;a.nextSlide=a.randomMap[a.randomIndex]}else if(a.random){if(++a.randomIndex==f.length)a.randomIndex= 0;a.nextSlide=a.randomMap[a.randomIndex]}else{a.nextSlide=a.currSlide+d;if(a.nextSlide<0){if(a.nowrap)return false;a.nextSlide=f.length-1}else if(a.nextSlide>=f.length){if(a.nowrap)return false;a.nextSlide=0}}c.isFunction(a.prevNextClick)&&a.prevNextClick(d>0,a.nextSlide,f[a.nextSlide]);q(f,a,1,d>=0);return false}function w(a,d){var f=c(d.pager);c.each(a,function(j,l){c.fn.cycle.createPagerAnchor(j,l,f,a,d)});c.fn.cycle.updateActivePagerLink(d.pager,d.startingSlide)}function A(a){function d(j){j= parseInt(j).toString(16);return j.length<2?"0"+j:j}function f(j){for(;j&&j.nodeName.toLowerCase()!="html";j=j.parentNode){var l=c.css(j,"background-color");if(l.indexOf("rgb")>=0){j=l.match(/\d+/g);return"#"+d(j[0])+d(j[1])+d(j[2])}if(l&&l!="transparent")return l}return"#ffffff"}a.each(function(){c(this).css("background-color",f(this))})}if(c.support==undefined)c.support={opacity:!c.browser.msie};c.fn.cycle=function(a,d){var f={s:this.selector,c:this.context};if(this.length===0&&a!="stop"){if(!c.isReady&& f.s){m("DOM not ready, queuing slideshow");c(function(){c(f.s,f.c).cycle(a,d)});return this}m("terminating; zero elements found by selector"+(c.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var j=e(this,a,d);if(j!==false){this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var l=c(this),b=j.slideExpr?c(j.slideExpr,this):l.children(),n=b.get();if(n.length<2)m("terminating; too few slides: "+n.length);else{var o=i(l,b,n,j,f);if(o!==false)if(j= o.continuous?10:x(o.currSlide,o.nextSlide,o,!o.rev)){j+=o.delay||0;if(j<10)j=10;h("first timeout: "+j);this.cycleTimeout=setTimeout(function(){q(n,o,0,!o.rev)},j)}}}})};c.fn.cycle.resetState=function(a,d){d=d||a.fx;a.before=[];a.after=[];a.cssBefore=c.extend({},a.original.cssBefore);a.cssAfter=c.extend({},a.original.cssAfter);a.animIn=c.extend({},a.original.animIn);a.animOut=c.extend({},a.original.animOut);a.fxFn=null;c.each(a.original.before,function(){a.before.push(this)});c.each(a.original.after, function(){a.after.push(this)});var f=c.fn.cycle.transitions[d];c.isFunction(f)&&f(a.$cont,c(a.elements),a)};c.fn.cycle.updateActivePagerLink=function(a,d){c(a).find("a").removeClass("activeSlide").filter("a:eq("+d+")").addClass("activeSlide")};c.fn.cycle.next=function(a){t(a,a.rev?-1:1)};c.fn.cycle.prev=function(a){t(a,a.rev?1:-1)};c.fn.cycle.createPagerAnchor=function(a,d,f,j,l){if(d=c.isFunction(l.pagerAnchorBuilder)?l.pagerAnchorBuilder(a,d):'<a href="#">'+(a+1)+"</a>"){var b=c(d);if(b.parents("body").length=== 0){var n=[];if(f.length>1){f.each(function(){var o=b.clone(true);c(this).append(o);n.push(o)});b=c(n)}else b.appendTo(f)}b.bind(l.pagerEvent,function(o){o.preventDefault();l.nextSlide=a;o=l.$cont[0];var u=o.cycleTimeout;if(u){clearTimeout(u);o.cycleTimeout=0}c.isFunction(l.pagerClick)&&l.pagerClick(l.nextSlide,j[l.nextSlide]);q(j,l,1,l.currSlide<a);return false});l.pagerEvent!="click"&&b.click(function(){return false});l.pauseOnPagerHover&&b.hover(function(){l.$cont[0].cyclePause++},function(){l.$cont[0].cyclePause--})}}; c.fn.cycle.hopsFromLast=function(a,d){var f=a.lastSlide,j=a.currSlide;return d?j>f?j-f:a.slideCount-f:j<f?f-j:f+a.slideCount-j};c.fn.cycle.commonReset=function(a,d,f,j,l,b){c(f.elements).not(a).hide();f.cssBefore.opacity=1;f.cssBefore.display="block";if(j!==false&&d.cycleW>0)f.cssBefore.width=d.cycleW;if(l!==false&&d.cycleH>0)f.cssBefore.height=d.cycleH;f.cssAfter=f.cssAfter||{};f.cssAfter.display="none";c(a).css("zIndex",f.slideCount+(b===true?1:0));c(d).css("zIndex",f.slideCount+(b===true?0:1))}; c.fn.cycle.custom=function(a,d,f,j,l){var b=c(a),n=c(d),o=f.speedIn;a=f.speedOut;var u=f.easeIn;d=f.easeOut;n.css(f.cssBefore);if(l){o=typeof l=="number"?(a=l):(a=1);u=d=null}b.animate(f.animOut,a,d,function(){f.cssAfter&&b.css(f.cssAfter);f.sync||n.animate(f.animIn,o,u,j)});f.sync&&n.animate(f.animIn,o,u,j)};c.fn.cycle.transitions={fade:function(a,d,f){d.not(":eq("+f.currSlide+")").css("opacity",0);f.before.push(function(j,l,b){c.fn.cycle.commonReset(j,l,b);b.cssBefore.opacity=0});f.animIn={opacity:1}; f.animOut={opacity:0};f.cssBefore={top:0,left:0}}};c.fn.cycle.ver=function(){return"2.72"};c.fn.cycle.defaults={fx:"fade",timeout:4E3,timeoutFn:null,continuous:0,speed:1E3,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0, sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!c.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery); (function(c){c.fn.cycle.transitions.none=function(h,m,e){e.fxFn=function(k,i,g,r){c(i).show();c(k).hide();r()}};c.fn.cycle.transitions.scrollUp=function(h,m,e){h.css("overflow","hidden");e.before.push(c.fn.cycle.commonReset);h=h.height();e.cssBefore={top:h,left:0};e.cssFirst={top:0};e.animIn={top:0};e.animOut={top:-h}};c.fn.cycle.transitions.scrollDown=function(h,m,e){h.css("overflow","hidden");e.before.push(c.fn.cycle.commonReset);h=h.height();e.cssFirst={top:0};e.cssBefore={top:-h,left:0};e.animIn= {top:0};e.animOut={top:h}};c.fn.cycle.transitions.scrollLeft=function(h,m,e){h.css("overflow","hidden");e.before.push(c.fn.cycle.commonReset);h=h.width();e.cssFirst={left:0};e.cssBefore={left:h,top:0};e.animIn={left:0};e.animOut={left:0-h}};c.fn.cycle.transitions.scrollRight=function(h,m,e){h.css("overflow","hidden");e.before.push(c.fn.cycle.commonReset);h=h.width();e.cssFirst={left:0};e.cssBefore={left:-h,top:0};e.animIn={left:0};e.animOut={left:h}};c.fn.cycle.transitions.scrollHorz=function(h,m, e){h.css("overflow","hidden").width();e.before.push(function(k,i,g,r){c.fn.cycle.commonReset(k,i,g);g.cssBefore.left=r?i.cycleW-1:1-i.cycleW;g.animOut.left=r?-k.cycleW:k.cycleW});e.cssFirst={left:0};e.cssBefore={top:0};e.animIn={left:0};e.animOut={top:0}};c.fn.cycle.transitions.scrollVert=function(h,m,e){h.css("overflow","hidden");e.before.push(function(k,i,g,r){c.fn.cycle.commonReset(k,i,g);g.cssBefore.top=r?1-i.cycleH:i.cycleH-1;g.animOut.top=r?k.cycleH:-k.cycleH});e.cssFirst={top:0};e.cssBefore= {left:0};e.animIn={top:0};e.animOut={left:0}};c.fn.cycle.transitions.slideX=function(h,m,e){e.before.push(function(k,i,g){c(g.elements).not(k).hide();c.fn.cycle.commonReset(k,i,g,false,true);g.animIn.width=i.cycleW});e.cssBefore={left:0,top:0,width:0};e.animIn={width:"show"};e.animOut={width:0}};c.fn.cycle.transitions.slideY=function(h,m,e){e.before.push(function(k,i,g){c(g.elements).not(k).hide();c.fn.cycle.commonReset(k,i,g,true,false);g.animIn.height=i.cycleH});e.cssBefore={left:0,top:0,height:0}; e.animIn={height:"show"};e.animOut={height:0}};c.fn.cycle.transitions.shuffle=function(h,m,e){h=h.css("overflow","visible").width();m.css({left:0,top:0});e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,true,true,true)});if(!e.speedAdjusted){e.speed/=2;e.speedAdjusted=true}e.random=0;e.shuffle=e.shuffle||{left:-h,top:15};e.els=[];for(h=0;h<m.length;h++)e.els.push(m[h]);for(h=0;h<e.currSlide;h++)e.els.push(e.els.shift());e.fxFn=function(k,i,g,r,s){var q=s?c(k):c(i);c(i).css(g.cssBefore); var x=g.slideCount;q.animate(g.shuffle,g.speedIn,g.easeIn,function(){for(var t=c.fn.cycle.hopsFromLast(g,s),w=0;w<t;w++)s?g.els.push(g.els.shift()):g.els.unshift(g.els.pop());if(s){t=0;for(w=g.els.length;t<w;t++)c(g.els[t]).css("z-index",w-t+x)}else{t=c(k).css("z-index");q.css("z-index",parseInt(t)+1+x)}q.animate({left:0,top:0},g.speedOut,g.easeOut,function(){c(s?this:k).hide();r&&r()})})};e.cssBefore={display:"block",opacity:1,top:0,left:0}};c.fn.cycle.transitions.turnUp=function(h,m,e){e.before.push(function(k, i,g){c.fn.cycle.commonReset(k,i,g,true,false);g.cssBefore.top=i.cycleH;g.animIn.height=i.cycleH});e.cssFirst={top:0};e.cssBefore={left:0,height:0};e.animIn={top:0};e.animOut={height:0}};c.fn.cycle.transitions.turnDown=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,true,false);g.animIn.height=i.cycleH;g.animOut.top=k.cycleH});e.cssFirst={top:0};e.cssBefore={left:0,top:0,height:0};e.animOut={height:0}};c.fn.cycle.transitions.turnLeft=function(h,m,e){e.before.push(function(k, i,g){c.fn.cycle.commonReset(k,i,g,false,true);g.cssBefore.left=i.cycleW;g.animIn.width=i.cycleW});e.cssBefore={top:0,width:0};e.animIn={left:0};e.animOut={width:0}};c.fn.cycle.transitions.turnRight=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,false,true);g.animIn.width=i.cycleW;g.animOut.left=k.cycleW});e.cssBefore={top:0,left:0,width:0};e.animIn={left:0};e.animOut={width:0}};c.fn.cycle.transitions.zoom=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k, i,g,false,false,true);g.cssBefore.top=i.cycleH/2;g.cssBefore.left=i.cycleW/2;g.animIn={top:0,left:0,width:i.cycleW,height:i.cycleH};g.animOut={width:0,height:0,top:k.cycleH/2,left:k.cycleW/2}});e.cssFirst={top:0,left:0};e.cssBefore={width:0,height:0}};c.fn.cycle.transitions.fadeZoom=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,false,false);g.cssBefore.left=i.cycleW/2;g.cssBefore.top=i.cycleH/2;g.animIn={top:0,left:0,width:i.cycleW,height:i.cycleH}});e.cssBefore={width:0, height:0};e.animOut={opacity:0}};c.fn.cycle.transitions.blindX=function(h,m,e){h=h.css("overflow","hidden").width();e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g);g.animIn.width=i.cycleW;g.animOut.left=k.cycleW});e.cssBefore={left:h,top:0};e.animIn={left:0};e.animOut={left:h}};c.fn.cycle.transitions.blindY=function(h,m,e){h=h.css("overflow","hidden").height();e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g);g.animIn.height=i.cycleH;g.animOut.top=k.cycleH});e.cssBefore={top:h, left:0};e.animIn={top:0};e.animOut={top:h}};c.fn.cycle.transitions.blindZ=function(h,m,e){m=h.css("overflow","hidden").height();h=h.width();e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g);g.animIn.height=i.cycleH;g.animOut.top=k.cycleH});e.cssBefore={top:m,left:h};e.animIn={top:0,left:0};e.animOut={top:m,left:h}};c.fn.cycle.transitions.growX=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,false,true);g.cssBefore.left=this.cycleW/2;g.animIn={left:0,width:this.cycleW}; g.animOut={left:0}});e.cssBefore={width:0,top:0}};c.fn.cycle.transitions.growY=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,true,false);g.cssBefore.top=this.cycleH/2;g.animIn={top:0,height:this.cycleH};g.animOut={top:0}});e.cssBefore={height:0,left:0}};c.fn.cycle.transitions.curtainX=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,false,true,true);g.cssBefore.left=i.cycleW/2;g.animIn={left:0,width:this.cycleW};g.animOut={left:k.cycleW/2,width:0}}); e.cssBefore={top:0,width:0}};c.fn.cycle.transitions.curtainY=function(h,m,e){e.before.push(function(k,i,g){c.fn.cycle.commonReset(k,i,g,true,false,true);g.cssBefore.top=i.cycleH/2;g.animIn={top:0,height:i.cycleH};g.animOut={top:k.cycleH/2,height:0}});e.cssBefore={left:0,height:0}};c.fn.cycle.transitions.cover=function(h,m,e){var k=e.direction||"left",i=h.css("overflow","hidden").width(),g=h.height();e.before.push(function(r,s,q){c.fn.cycle.commonReset(r,s,q);if(k=="right")q.cssBefore.left=-i;else if(k== "up")q.cssBefore.top=g;else if(k=="down")q.cssBefore.top=-g;else q.cssBefore.left=i});e.animIn={left:0,top:0};e.animOut={opacity:1};e.cssBefore={top:0,left:0}};c.fn.cycle.transitions.uncover=function(h,m,e){var k=e.direction||"left",i=h.css("overflow","hidden").width(),g=h.height();e.before.push(function(r,s,q){c.fn.cycle.commonReset(r,s,q,true,true,true);if(k=="right")q.animOut.left=i;else if(k=="up")q.animOut.top=-g;else if(k=="down")q.animOut.top=g;else q.animOut.left=-i});e.animIn={left:0,top:0}; e.animOut={opacity:1};e.cssBefore={top:0,left:0}};c.fn.cycle.transitions.toss=function(h,m,e){var k=h.css("overflow","visible").width(),i=h.height();e.before.push(function(g,r,s){c.fn.cycle.commonReset(g,r,s,true,true,true);if(!s.animOut.left&&!s.animOut.top)s.animOut={left:k*2,top:-i/2,opacity:0};else s.animOut.opacity=0});e.cssBefore={left:0,top:0};e.animIn={left:0}};c.fn.cycle.transitions.wipe=function(h,m,e){var k=h.css("overflow","hidden").width(),i=h.height();e.cssBefore=e.cssBefore||{};var g; if(e.clip)if(/l2r/.test(e.clip))g="rect(0px 0px "+i+"px 0px)";else if(/r2l/.test(e.clip))g="rect(0px "+k+"px "+i+"px "+k+"px)";else if(/t2b/.test(e.clip))g="rect(0px "+k+"px 0px 0px)";else if(/b2t/.test(e.clip))g="rect("+i+"px "+k+"px "+i+"px 0px)";else if(/zoom/.test(e.clip)){h=parseInt(i/2);m=parseInt(k/2);g="rect("+h+"px "+m+"px "+h+"px "+m+"px)"}e.cssBefore.clip=e.cssBefore.clip||g||"rect(0px 0px 0px 0px)";h=e.cssBefore.clip.match(/(\d+)/g);var r=parseInt(h[0]),s=parseInt(h[1]),q=parseInt(h[2]), x=parseInt(h[3]);e.before.push(function(t,w,A){if(t!=w){var a=c(t),d=c(w);c.fn.cycle.commonReset(t,w,A,true,true,false);A.cssAfter.display="block";var f=1,j=parseInt(A.speedIn/13)-1;(function l(){var b=r?r-parseInt(f*(r/j)):0,n=x?x-parseInt(f*(x/j)):0,o=q<i?q+parseInt(f*((i-q)/j||1)):i,u=s<k?s+parseInt(f*((k-s)/j||1)):k;d.css({clip:"rect("+b+"px "+u+"px "+o+"px "+n+"px)"});f++<=j?setTimeout(l,13):a.css("display","none")})()}});e.cssBefore={display:"block",opacity:1,top:0,left:0};e.animIn={left:0}; e.animOut={left:0}}})(jQuery);
