(function(f){var g=[];f.Watermark={ShowAll:function(){for(var f=0;f<g.length;f++)g[f].obj.val()==""?(g[f].obj.val(g[f].text),g[f].obj.css("color",g[f].WatermarkColor)):g[f].obj.css("color",g[f].DefaultColor)},HideAll:function(){for(var f=0;f<g.length;f++)g[f].obj.val()==g[f].text&&g[f].obj.val("")}};f.fn.Watermark=function(j,d){d||(d="#aaa");return this.each(function(){function m(){i.val().length==0||i.val()==j?(i.val(j),i.css("color",d)):i.css("color",h)}var i=f(this),h=i.css("color");g[g.length]=
{text:j,obj:i,DefaultColor:h,WatermarkColor:d};i.focus(function(){i.val()==j&&i.val("");i.css("color",h)});i.blur(m);i.change(m);m()})}})(jQuery);(function(f,g){var j,d,m,i;function h(s){b.options.enableKeys&&(s?r:k)(document,"keydown",D)}function D(s){if(!s.metaKey&&!s.shiftKey&&!s.altKey&&!s.ctrlKey){var a;switch(s.keyCode){case 81:case 88:case 27:a=b.close;break;case 37:a=b.previous;break;case 39:a=b.next;break;case 32:a=typeof A=="number"?b.pause:b.play}a&&(s.preventDefault(),a())}}function q(s){h(false);var a=b.getCurrent(),c=a.player=="inline"?"html":a.player;if(typeof b[c]!="function")throw"unknown player "+c;s&&(b.player.remove(),b.revertOptions(),
b.applyOptions(a.options||{}));b.player=new b[c](a,b.playerId);if(b.gallery.length>1){a=b.gallery[b.current+1]||b.gallery[0];if(a.player=="img")(new Image).src=a.content;a=b.gallery[b.current-1]||b.gallery[b.gallery.length-1];if(a.player=="img")(new Image).src=a.content}b.skin.onLoad(s,C)}function C(){if(B)if(typeof b.player.ready!="undefined")var a=setInterval(function(){B?b.player.ready&&(clearInterval(a),a=null,b.skin.onReady(u)):(clearInterval(a),a=null)},10);else b.skin.onReady(u)}function u(){B&&
(b.player.append(b.skin.body,b.dimensions),b.skin.onShow(K))}function K(){if(B){if(b.player.onLoad)b.player.onLoad();b.options.onFinish(b.getCurrent());b.isPaused()||b.play();h(true)}}function x(b,a){for(var c in a)b[c]=a[c];return b}function y(b,a){for(var c=0,f=b.length,e=b[0];c<f&&a.call(e,c,e)!==false;e=b[++c]);}function T(b,a){return b.replace(/\{(\w+?)\}/g,function(b,c){return a[c]})}function a(){}function c(b){return document.getElementById(b)}function l(b){b.parentNode.removeChild(b)}function r(b,
a,c){jQuery(b).bind(a,c)}function k(b,a,c){jQuery(b).unbind(a,c)}function e(){if(!$){try{document.documentElement.doScroll("left")}catch(a){setTimeout(e,1);return}b.load()}}function o(a){b.open(this);b.gallery.length&&a.preventDefault()}function n(){var a=b.dimensions;x(H.style,{height:a.innerHeight+"px",width:a.innerWidth+"px"})}function E(a){a.preventDefault();a=[a.pageX,a.pageY];m=a[0];i=a[1];L=c(b.player.id);r(document,"mousemove",fa);r(document,"mouseup",M);if(b.isGecko)H.style.cursor="-moz-grabbing"}
function fa(a){var c=b.player,f=b.dimensions,a=[a.pageX,a.pageY],e=a[0]-m;m+=e;j=Math.max(Math.min(0,j+e),f.innerWidth-c.width);a=a[1]-i;i+=a;d=Math.max(Math.min(0,d+a),f.innerHeight-c.height);x(L.style,{left:j+"px",top:d+"px"})}function M(){k(document,"mousemove",fa);k(document,"mouseup",M);if(b.isGecko)H.style.cursor="-moz-grab"}function v(a,c,f,e,d){var l=c=="opacity",h=l?b.setOpacity:function(b,a){b.style[c]=""+a+"px"};if(e==0||!l&&!b.options.animate||l&&!b.options.animateFade)h(a,f),d&&d();else{var g=
parseFloat(b.getStyle(a,c))||0,i=f-g;if(i==0)d&&d();else{e*=1E3;var k=(new Date).getTime(),r=b.ease,m=k+e,j,n=setInterval(function(){j=(new Date).getTime();j>=m?(clearInterval(n),n=null,h(a,f),d&&d()):h(a,g+r((j-k)/e)*i)},10)}}}function Q(){F.style.height=b.getWindowSize("Height")+"px";F.style.width=b.getWindowSize("Width")+"px"}function N(){F.style.top=document.documentElement.scrollTop+"px";F.style.left=document.documentElement.scrollLeft+"px"}function U(a){a?y(aa,function(b,a){a[0].style.visibility=
a[1]||""}):(aa=[],y(b.options.troubleElements,function(a,b){y(document.getElementsByTagName(b),function(a,b){aa.push([b,b.style.visibility]);b.style.visibility="hidden"})}))}function z(b,a){var f=c("sb-nav-"+b);if(f)f.style.display=a?"":"none"}function ga(a,f){var e=c("sb-loading"),d=b.getCurrent().player,d=d=="img"||d=="html";if(a){b.setOpacity(e,0);e.style.display="block";var l=function(){b.clearOpacity(e);f&&f()};d?v(e,"opacity",1,b.options.fadeDuration,l):l()}else l=function(){e.style.display=
"none";b.clearOpacity(e);f&&f()},d?v(e,"opacity",0,b.options.fadeDuration,l):l()}function ja(b,a){var f=c("sb-title"),e=c("sb-info"),f=f.offsetHeight,e=e.offsetHeight,d=c("sb-title-inner"),l=c("sb-info-inner"),h=b?0.35:0;v(d,"marginTop",f,h);v(l,"marginTop",e*-1,h,function(){d.style.visibility=l.style.visibility="hidden";a()})}function V(a,f,e,d){var l=c("sb-wrapper-inner"),e=e?b.options.resizeDuration:0;v(O,"top",f,e);v(l,"height",a,e,d)}function W(a,c,f,e){f=f?b.options.resizeDuration:0;v(O,"left",
c,f);v(O,"width",a,f,e)}function ba(a,f){var e=c("sb-body-inner"),a=parseInt(a),f=parseInt(f),d=O.offsetHeight-e.offsetHeight,e=O.offsetWidth-e.offsetWidth,l=I.offsetHeight,h=I.offsetWidth,g=parseInt(b.options.viewportPadding)||20;return b.setDimensions(a,f,l,h,d,e,g,b.player&&b.options.handleOversize!="drag")}var b={version:"3.0.3"},t=navigator.userAgent.toLowerCase();if(t.indexOf("windows")>-1||t.indexOf("win32")>-1)b.isWindows=true;else if(t.indexOf("macintosh")>-1||t.indexOf("mac os x")>-1)b.isMac=
true;else if(t.indexOf("linux")>-1)b.isLinux=true;b.isIE=t.indexOf("msie")>-1;b.isIE6=t.indexOf("msie 6")>-1;b.isIE7=t.indexOf("msie 7")>-1;b.isGecko=t.indexOf("gecko")>-1&&t.indexOf("safari")==-1;b.isWebKit=t.indexOf("applewebkit/")>-1;var ka=/#(.+)$/,la=/^(light|shadow)box\[(.*?)\]/i,ma=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,na=/[0-9a-z]+$/i,oa=/(.+\/)shadowbox\.js/i,B=false,ha=false,ia={},J=0,X,A;b.current=-1;b.dimensions=null;b.ease=function(a){return 1+Math.pow(a-1,3)};b.errorInfo={fla:{name:"Flash",
url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}};b.gallery=[];b.onReady=a;b.path=null;b.player=null;b.playerId="sb-player";b.options={animate:true,animateFade:true,autoplayMovies:true,continuous:false,enableKeys:true,flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},
flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",onChange:a,onClose:a,onFinish:a,onOpen:a,showMovieControls:true,skipSetup:false,slideshowDelay:0,viewportPadding:20};b.getCurrent=function(){return b.current>-1?b.gallery[b.current]:null};b.hasNext=function(){return b.gallery.length>1&&(b.current!=b.gallery.length-1||b.options.continuous)};b.isOpen=function(){return B};b.isPaused=function(){return A=="pause"};b.applyOptions=function(a){ia=x({},b.options);x(b.options,a)};b.revertOptions=
function(){x(b.options,ia)};b.init=function(a,c){if(!ha){ha=true;b.skin.options&&x(b.options,b.skin.options);a&&x(b.options,a);if(!b.path)for(var d,l=document.getElementsByTagName("script"),h=0,g=l.length;h<g;++h)if(d=oa.exec(l[h].src)){b.path=d[1];break}if(c)b.onReady=c;if(document.readyState==="complete")b.load();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",S,false),f.addEventListener("load",b.load,false);else if(document.attachEvent){document.attachEvent("onreadystatechange",
S);f.attachEvent("onload",b.load);d=false;try{d=f.frameElement===null}catch(i){}document.documentElement.doScroll&&d&&e()}}};b.open=function(a){if(!B&&(a=b.makeGallery(a),b.gallery=a[0],b.current=a[1],a=b.getCurrent(),a!=null)){b.applyOptions(a.options||{});for(var a=b.errorInfo,f=b.plugins,e,d,l,h,g=0;g<b.gallery.length;++g){e=b.gallery[g];d=false;l=null;switch(e.player){case "flv":case "swf":f.fla||(l="fla");break;case "qt":f.qt||(l="qt");break;case "wmp":b.isMac?f.qt&&f.f4m?e.player="qt":l="qtf4m":
f.wmp||(l="wmp");break;case "qtwmp":f.qt?e.player="qt":f.wmp?e.player="wmp":l="qtwmp"}if(l)if(b.options.handleUnsupported=="link"){switch(l){case "qtf4m":h="shared";l=[a.qt.url,a.qt.name,a.f4m.url,a.f4m.name];break;case "qtwmp":h="either";l=[a.qt.url,a.qt.name,a.wmp.url,a.wmp.name];break;default:h="single",l=[a[l].url,a[l].name]}e.player="html";e.content='<div class="sb-message">'+T(b.lang.errors[h],l)+"</div>"}else d=true;else if(e.player=="inline")(h=ka.exec(e.content))?(h=c(h[1]))?e.content=h.innerHTML:
d=true:d=true;else if(e.player=="swf"||e.player=="flv")if(h=e.options&&e.options.flashVersion||b.options.flashVersion,b.flash&&!b.flash.hasFlashPlayerVersion(h))e.width=310,e.height=177;if(d){b.gallery.splice(g,1);if(g<b.current)--b.current;else if(g==b.current)b.current=g>0?g-1:g;--g}}b.gallery.length&&(a=b.getCurrent(),b.options.onOpen(a)!==false&&(B=true,b.skin.onOpen(a,q)))}};b.close=function(){if(B){B=false;if(b.player)b.player.remove(),b.player=null;typeof A=="number"&&(clearTimeout(A),A=null);
J=0;h(false);b.options.onClose(b.getCurrent());b.skin.onClose();b.revertOptions()}};b.play=function(){if(b.hasNext()&&(J||(J=b.options.slideshowDelay*1E3),J&&(X=(new Date).getTime(),A=setTimeout(function(){J=X=0;b.next()},J),b.skin.onPlay)))b.skin.onPlay()};b.pause=function(){if(typeof A=="number"&&(J=Math.max(0,J-((new Date).getTime()-X))))if(clearTimeout(A),A="pause",b.skin.onPause)b.skin.onPause()};b.change=function(a){if(!(a in b.gallery))if(b.options.continuous){if(a=a<0?b.gallery.length+a:0,
!(a in b.gallery))return}else return;b.current=a;typeof A=="number"&&(clearTimeout(A),A=null,J=X=0);b.options.onChange(b.getCurrent());q(true)};b.next=function(){b.change(b.current+1)};b.previous=function(){b.change(b.current-1)};b.setDimensions=function(a,c,e,f,d,l,h,g){var i=a,k=c,r=2*h+d;a+r>e&&(a=e-r);var m=2*h+l;c+m>f&&(c=f-m);var j=(i-a)/i,n=(k-c)/k,o=j>0||n>0;g&&o&&(j>n?c=Math.round(k/i*a):n>j&&(a=Math.round(i/k*c)));b.dimensions={height:a+d,width:c+l,innerHeight:a,innerWidth:c,top:Math.floor((e-
(a+r))/2+h),left:Math.floor((f-(c+m))/2+h),oversized:o};return b.dimensions};b.makeGallery=function(a){var c=[],e=-1;typeof a=="string"&&(a=[a]);if(typeof a.length=="number")y(a,function(a,b){c[a]=b.content?b:{content:b}}),e=0;else{if(a.tagName)var f=b.getCache(a),a=f?f:b.makeObject(a);if(a.gallery){var c=[],d;for(d in b.cache)if(f=b.cache[d],f.gallery&&f.gallery==a.gallery){if(e==-1&&f.content==a.content)e=c.length;c.push(f)}e==-1&&(c.unshift(a),e=0)}else c=[a],e=0}y(c,function(a,b){c[a]=x({},b)});
return[c,e]};b.makeObject=function(a,c){var e={content:a.href,title:a.getAttribute("title")||"",link:a};c?(c=x({},c),y(["player","title","height","width","gallery"],function(a,b){typeof c[b]!="undefined"&&(e[b]=c[b],delete c[b])}),e.options=c):e.options={};if(!e.player)e.player=b.getPlayer(e.content);var f=a.getAttribute("rel");if(f){var d=f.match(la);if(d)e.gallery=escape(d[2]);y(f.split(";"),function(a,b){(d=b.match(ma))&&(e[d[1]]=d[2])})}return e};b.getPlayer=function(a){if(a.indexOf("#")>-1&&
a.indexOf(document.location.href)==0)return"inline";var c=a.indexOf("?");c>-1&&(a=a.substring(0,c));var e;(a=a.match(na))&&(e=a[0].toLowerCase());if(e){if(b.img&&b.img.ext.indexOf(e)>-1)return"img";if(b.swf&&b.swf.ext.indexOf(e)>-1)return"swf";if(b.flv&&b.flv.ext.indexOf(e)>-1)return"flv";if(b.qt&&b.qt.ext.indexOf(e)>-1)return b.wmp&&b.wmp.ext.indexOf(e)>-1?"qtwmp":"qt";if(b.wmp&&b.wmp.ext.indexOf(e)>-1)return"wmp"}return"iframe"};if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a,b){var c=
this.length>>>0,b=b||0;for(b<0&&(b+=c);b<c;++b)if(b in this&&this[b]===a)return b;return-1};var Y=true,Z=true;b.getStyle=function(){var a=/opacity=([^)]*)/,b=document.defaultView&&document.defaultView.getComputedStyle;return function(c,e){var f;if(!Y&&e=="opacity"&&c.currentStyle)return f=a.test(c.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"",f===""?"1":f;if(b){var d=b(c,null);d&&(f=d[e]);e=="opacity"&&f==""&&(f="1")}else f=c.currentStyle[e];return f}}();b.appendHTML=function(a,b){if(a.insertAdjacentHTML)a.insertAdjacentHTML("BeforeEnd",
b);else if(a.lastChild){var c=a.ownerDocument.createRange();c.setStartAfter(a.lastChild);c=c.createContextualFragment(b);a.appendChild(c)}else a.innerHTML=b};b.getWindowSize=function(a){return document.compatMode==="CSS1Compat"?document.documentElement["client"+a]:document.body["client"+a]};b.setOpacity=function(a,b){var c=a.style;if(Y)c.opacity=b==1?"":b;else if(c.zoom=1,b==1){if(typeof c.filter=="string"&&/alpha/i.test(c.filter))c.filter=c.filter.replace(/\s*[\w\.]*alpha\([^\)]*\);?/gi,"")}else c.filter=
(c.filter||"").replace(/\s*[\w\.]*alpha\([^\)]*\)/gi,"")+" alpha(opacity="+b*100+")"};b.clearOpacity=function(a){b.setOpacity(a,1)};jQuery.fn.shadowbox=function(a){return this.each(function(){var b=jQuery(this),c=jQuery.extend({},a||{},jQuery.metadata?b.metadata():jQuery.meta?b.data():{}),e=this.className||"";c.width=parseInt((e.match(/w:(\d+)/)||[])[1])||c.width;c.height=parseInt((e.match(/h:(\d+)/)||[])[1])||c.height;Shadowbox.setup(b,c)})};var $=false,S;document.addEventListener?S=function(){document.removeEventListener("DOMContentLoaded",
S,false);b.load()}:document.attachEvent&&(S=function(){document.readyState==="complete"&&(document.detachEvent("onreadystatechange",S),b.load())});b.load=function(){if(!$){if(!document.body)return setTimeout(b.load,13);$=true;var a=document.body,c=document.createElement("div");Y=typeof c.style.opacity==="string";c.style.position="fixed";c.style.margin=0;c.style.top="20px";a.appendChild(c,a.firstChild);Z=c.offsetTop==20;a.removeChild(c);b.onReady();b.options.skipSetup||b.setup();b.skin.init()}};b.plugins=
{};if(navigator.plugins&&navigator.plugins.length){var R=[];y(navigator.plugins,function(a,b){R.push(b.name)});R=R.join(",");t=R.indexOf("Flip4Mac")>-1;b.plugins={fla:R.indexOf("Shockwave Flash")>-1,qt:R.indexOf("QuickTime")>-1,wmp:!t&&R.indexOf("Windows Media")>-1,f4m:t}}else t=function(a){var b;try{b=new ActiveXObject(a)}catch(c){}return!!b},b.plugins={fla:t("ShockwaveFlash.ShockwaveFlash"),qt:t("QuickTime.QuickTime"),wmp:t("wmplayer.ocx"),f4m:false};var pa=/^(light|shadow)box/i,qa=1;b.cache={};
b.select=function(a){var c=[];if(a){var e=a.length;if(e)if(typeof a=="string")b.find&&(c=b.find(a));else if(e==2&&typeof a[0]=="string"&&a[1].nodeType)b.find&&(c=b.find(a[0],a[1]));else for(var f=0;f<e;++f)c[f]=a[f];else c.push(a)}else{var d;y(document.getElementsByTagName("a"),function(a,b){(d=b.getAttribute("rel"))&&pa.test(d)&&c.push(b)})}return c};b.setup=function(a,c){y(b.select(a),function(a,e){b.addCache(e,c)})};b.teardown=function(a){y(b.select(a),function(a,c){b.removeCache(c)})};b.addCache=
function(a,c){var e=a.shadowboxCacheKey;if(e==g)e=qa++,a.shadowboxCacheKey=e,r(a,"click",o);b.cache[e]=b.makeObject(a,c)};b.removeCache=function(a){k(a,"click",o);delete b.cache[a.shadowboxCacheKey];a.shadowboxCacheKey=null};b.getCache=function(a){a=a.shadowboxCacheKey;return a in b.cache&&b.cache[a]};b.clearCache=function(){for(var a in b.cache)b.removeCache(b.cache[a].link);b.cache={}};b.find=function(){function a(b){for(var c="",e,f=0;b[f];f++)e=b[f],e.nodeType===3||e.nodeType===4?c+=e.nodeValue:
e.nodeType!==8&&(c+=a(e.childNodes));return c}function b(a,c,e,f,d,l){for(var d=0,h=f.length;d<h;d++){var k=f[d];if(k){for(var k=k[a],i=false;k;){if(k.sizcache===e){i=f[k.sizset];break}if(k.nodeType===1&&!l)k.sizcache=e,k.sizset=d;if(k.nodeName.toLowerCase()===c){i=k;break}k=k[a]}f[d]=i}}}function c(a,b,e,f,d,l){for(var d=0,k=f.length;d<k;d++){var h=f[d];if(h){for(var h=h[a],g=false;h;){if(h.sizcache===e){g=f[h.sizset];break}if(h.nodeType===1){if(!l)h.sizcache=e,h.sizset=d;if(typeof b!=="string"){if(h===
b){g=true;break}}else if(i.filter(b,[h]).length>0){g=h;break}}h=h[a]}f[d]=g}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,d=Object.prototype.toString,l=false,h=true;[0,0].sort(function(){h=false;return 0});var i=function(a,b,c,f){var c=c||[],l=b=b||document;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!=="string")return c;for(var h=[],g,m,o,n,s=true,P=z(b),ea=a;(e.exec(""),g=e.exec(ea))!==
null;)if(ea=g[3],h.push(g[1]),g[2]){n=g[3];break}if(h.length>1&&r.exec(a))if(h.length===2&&k.relative[h[0]])m=D(h[0]+h[1],b);else for(m=k.relative[h[0]]?[b]:i(h.shift(),b);h.length;)a=h.shift(),k.relative[a]&&(a+=h.shift()),m=D(a,m);else if(!f&&h.length>1&&b.nodeType===9&&!P&&k.match.ID.test(h[0])&&!k.match.ID.test(h[h.length-1])&&(g=i.find(h.shift(),b,P),b=g.expr?i.filter(g.expr,g.set)[0]:g.set[0]),b){g=f?{expr:h.pop(),set:j(f)}:i.find(h.pop(),h.length===1&&(h[0]==="~"||h[0]==="+")&&b.parentNode?
b.parentNode:b,P);m=g.expr?i.filter(g.expr,g.set):g.set;for(h.length>0?o=j(m):s=false;h.length;){var q=h.pop();g=q;k.relative[q]?g=h.pop():q="";g==null&&(g=b);k.relative[q](o,g,P)}}else o=[];o||(o=m);if(!o)throw"Syntax error, unrecognized expression: "+(q||a);if(d.call(o)==="[object Array]")if(s)if(b&&b.nodeType===1)for(a=0;o[a]!=null;a++)o[a]&&(o[a]===true||o[a].nodeType===1&&E(b,o[a]))&&c.push(m[a]);else for(a=0;o[a]!=null;a++)o[a]&&o[a].nodeType===1&&c.push(m[a]);else c.push.apply(c,o);else j(o,
c);n&&(i(n,l,c,f),i.uniqueSort(c));return c};i.uniqueSort=function(a){if(o&&(l=h,a.sort(o),l))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};i.matches=function(a,b){return i(a,null,null,b)};i.find=function(a,b,c){var e,f;if(!a)return[];for(var d=0,h=k.order.length;d<h;d++){var l=k.order[d];if(f=k.leftMatch[l].exec(a)){var g=f[1];f.splice(1,1);if(g.substr(g.length-1)!=="\\"&&(f[1]=(f[1]||"").replace(/\\/g,""),e=k.find[l](f,b,c),e!=null)){a=a.replace(k.match[l],"");break}}}e||(e=
b.getElementsByTagName("*"));return{set:e,expr:a}};i.filter=function(a,b,c,e){for(var f=a,d=[],h=b,l,i,m=b&&b[0]&&z(b[0]);a&&b.length;){for(var r in k.filter)if((l=k.match[r].exec(a))!=null){var o=k.filter[r],j,n;i=false;h===d&&(d=[]);if(k.preFilter[r])if(l=k.preFilter[r](l,h,c,d,e,m)){if(l===true)continue}else i=j=true;if(l)for(var s=0;(n=h[s])!=null;s++)if(n){j=o(n,l,s,h);var P=e^!!j;c&&j!=null?P?i=true:h[s]=false:P&&(d.push(n),i=true)}if(j!==g){c||(h=d);a=a.replace(k.match[r],"");if(!i)return[];
break}}if(a===f)if(i==null)throw"Syntax error, unrecognized expression: "+a;else break;f=a}return h};var k=i.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")}},relative:{"+":function(a,b){var c=typeof b==="string",e=c&&!/\W/.test(b),c=c&&!e;e&&(b=b.toLowerCase());for(var e=0,f=a.length,d;e<f;e++)if(d=a[e]){for(;(d=d.previousSibling)&&d.nodeType!==1;);a[e]=c||d&&d.nodeName.toLowerCase()===b?d||false:d===b}c&&i.filter(b,a,true)},">":function(a,b){var c=
typeof b==="string";if(c&&!/\W/.test(b))for(var b=b.toLowerCase(),e=0,f=a.length;e<f;e++){var d=a[e];if(d)c=d.parentNode,a[e]=c.nodeName.toLowerCase()===b?c:false}else{e=0;for(f=a.length;e<f;e++)(d=a[e])&&(a[e]=c?d.parentNode:d.parentNode===b);c&&i.filter(b,a,true)}},"":function(a,e,d){var h=f++,l=c;if(typeof e==="string"&&!/\W/.test(e))var g=e=e.toLowerCase(),l=b;l("parentNode",e,h,a,g,d)},"~":function(a,e,d){var h=f++,l=c;if(typeof e==="string"&&!/\W/.test(e))var g=e=e.toLowerCase(),l=b;l("previousSibling",
e,h,a,g,d)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(a=b.getElementById(a[1]))?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!=="undefined"){for(var c=[],e=b.getElementsByName(a[1]),f=0,d=e.length;f<d;f++)e[f].getAttribute("name")===a[1]&&c.push(e[f]);return c.length===0?null:c}},TAG:function(a,b){return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,e,f,d){a=" "+a[1].replace(/\\/g,"")+" ";if(d)return a;for(var d=0,h;(h=b[d])!=null;d++)h&&
(f^(h.className&&(" "+h.className+" ").replace(/[\t\n]/g," ").indexOf(a)>=0)?c||e.push(h):c&&(b[d]=false));return false},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}a[0]=f++;return a},ATTR:function(a,b,c,e,f,d){b=a[1].replace(/\\/g,"");!d&&k.attrMap[b]&&(a[1]=k.attrMap[b]);
a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,f,d){if(a[1]==="not")if((e.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=i(a[3],null,null,b);else return a=i.filter(a[3],b,c,1^d),c||f.push.apply(f,a),false;else if(k.match.POS.test(a[0])||k.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled===false&&a.type!=="hidden"},disabled:function(a){return a.disabled===true},checked:function(a){return a.checked===
true},selected:function(a){return a.selected===true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!i(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===
a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,e){return b===e.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-
0===b}},filter:{PSEUDO:function(b,c,e,f){var d=c[1],h=k.filters[d];if(h)return h(b,e,c,f);else if(d==="contains")return(b.textContent||b.innerText||a([b])||"").indexOf(c[3])>=0;else if(d==="not"){c=c[3];e=0;for(f=c.length;e<f;e++)if(c[e]===b)return false;return true}else throw"Syntax error, unrecognized expression: "+d;},CHILD:function(a,b){var c=b[1],e=a;switch(c){case "only":case "first":for(;e=e.previousSibling;)if(e.nodeType===1)return false;if(c==="first")return true;e=a;case "last":for(;e=e.nextSibling;)if(e.nodeType===
1)return false;return true;case "nth":var c=b[2],f=b[3];if(c===1&&f===0)return true;var d=b[0],h=a.parentNode;if(h&&(h.sizcache!==d||!a.nodeIndex)){for(var l=0,e=h.firstChild;e;e=e.nextSibling)if(e.nodeType===1)e.nodeIndex=++l;h.sizcache=d}e=a.nodeIndex-f;return c===0?e===0:e%c===0&&e/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+
" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=k.attrHandle[c]?k.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=c+"",f=b[2],d=b[4];return c==null?f==="!=":f==="="?e===d:f==="*="?e.indexOf(d)>=0:f==="~="?(" "+e+" ").indexOf(d)>=0:!d?e&&c!==false:f==="!="?e!==d:f==="^="?e.indexOf(d)===0:f==="$="?e.substr(e.length-d.length)===d:f==="|="?e===d||e.substr(0,d.length+1)===d+"-":false},POS:function(a,b,c,e){var f=k.setFilters[b[2]];if(f)return f(a,c,b,e)}}},r=k.match.POS,m;for(m in k.match)k.match[m]=
RegExp(k.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),k.leftMatch[m]=RegExp(/(^(?:.|\r|\n)*?)/.source+k.match[m].source);var j=function(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(document.documentElement.childNodes,0)}catch(n){j=function(a,b){var c=b||[];if(d.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length==="number")for(var e=0,f=a.length;e<f;e++)c.push(a[e]);else for(e=0;a[e];e++)c.push(a[e]);return c}}var o;
document.documentElement.compareDocumentPosition?o=function(a,b){if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a==b&&(l=true),a.compareDocumentPosition?-1:1;var c=a.compareDocumentPosition(b)&4?-1:a===b?0:1;c===0&&(l=true);return c}:"sourceIndex"in document.documentElement?o=function(a,b){if(!a.sourceIndex||!b.sourceIndex)return a==b&&(l=true),a.sourceIndex?-1:1;var c=a.sourceIndex-b.sourceIndex;c===0&&(l=true);return c}:document.createRange&&(o=function(a,b){if(!a.ownerDocument||
!b.ownerDocument)return a==b&&(l=true),a.ownerDocument?-1:1;var c=a.ownerDocument.createRange(),e=b.ownerDocument.createRange();c.setStart(a,0);c.setEnd(a,0);e.setStart(b,0);e.setEnd(b,0);c=c.compareBoundaryPoints(Range.START_TO_END,e);c===0&&(l=true);return c});(function(){var a=document.createElement("div"),b="script"+(new Date).getTime();a.innerHTML="<a name='"+b+"'/>";var c=document.documentElement;c.insertBefore(a,c.firstChild);if(document.getElementById(b))k.find.ID=function(a,b,c){if(typeof b.getElementById!==
"undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:g:[]},k.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b};c.removeChild(a);c=a=null})();(function(){var a=document.createElement("div");a.appendChild(document.createComment(""));if(a.getElementsByTagName("*").length>0)k.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);
if(a[1]==="*"){for(var e=[],f=0;c[f];f++)c[f].nodeType===1&&e.push(c[f]);c=e}return c};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")k.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();document.querySelectorAll&&function(){var a=i,b=document.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){i=function(b,c,e,f){c=c||
document;if(!f&&c.nodeType===9&&!z(c))try{return j(c.querySelectorAll(b),e)}catch(d){}return a(b,c,e,f)};for(var c in a)i[c]=a[c];b=null}}();(function(){var a=document.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))k.order.splice(1,0,"CLASS"),k.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&
!c)return b.getElementsByClassName(a[1])},a=null})();var E=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)},z=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":false},D=function(a,b){for(var c=[],e="",f,d=b.nodeType?[b]:b;f=k.match.PSEUDO.exec(a);)e+=f[0],a=a.replace(k.match.PSEUDO,"");a=k.relative[a]?a+"*":a;f=0;for(var h=d.length;f<h;f++)i(a,d[f],c);return i.filter(e,
c)};return i}();b.lang={code:"nl",of:"van",loading:"laden",cancel:"Annuleren",next:"Volgende",previous:"Vorige",play:"Play",pause:"Pause",close:"Sluiten",errors:{single:'U moet de <a href="{0}">{1}</a> browser plugin installeren om dit media type te kunnen bekijken.',shared:'U moet de <a href="{0}">{1}</a> en de <a href="{2}">{3}</a> browser plugins installeren om dit media type te kunnen bekijken.',either:'U moet de <a href="{0}">{1}</a> of de <a href="{2}">{3}</a> browser plugin installeren om dit media type te kunnen bekijken.'}};
var G,H,L;b.img=function(a,b){this.obj=a;this.id=b;this.ready=false;var c=this;G=new Image;G.onload=function(){c.height=a.height?parseInt(a.height,10):G.height;c.width=a.width?parseInt(a.width,10):G.width;c.ready=true;G=G.onload=null};G.src=a.content};b.img.ext=["bmp","gif","jpg","jpeg","png"];b.img.prototype={append:function(a,c){var e=document.createElement("img");e.id=this.id;e.src=this.obj.content;e.style.position="absolute";var f,d;c.oversized&&b.options.handleOversize=="resize"?(f=c.innerHeight,
d=c.innerWidth):(f=this.height,d=this.width);e.setAttribute("height",f);e.setAttribute("width",d);a.appendChild(e)},remove:function(){var a=c(this.id);a&&l(a);H&&(k(H,"mousedown",E),l(H),H=null);L=null;if(G)G=G.onload=null},onLoad:function(){if(b.dimensions.oversized&&b.options.handleOversize=="drag"){j=0;d=0;m=null;i=null;var a=["position:absolute","cursor:"+(b.isGecko?"-moz-grab":"move"),"background-color:"+(b.isIE?"#fff;filter:alpha(opacity=0)":"transparent")].join(";");b.appendHTML(b.skin.body,
'<div id="sb-drag-proxy" style="'+a+'"></div>');H=c("sb-drag-proxy");n();r(H,"mousedown",E)}},onWindowResize:function(){var a=b.dimensions;switch(b.options.handleOversize){case "resize":var e=c(this.id);e.height=a.innerHeight;e.width=a.innerWidth;break;case "drag":if(L){var e=parseInt(b.getStyle(L,"top")),f=parseInt(b.getStyle(L,"left"));if(e+this.height<a.innerHeight)L.style.top=a.innerHeight-this.height+"px";if(f+this.width<a.innerWidth)L.style.left=a.innerWidth-this.width+"px";n()}}}};var ca=false,
aa=[],ra=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous"],F,I,O,da=true,w={markup:'<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-wrapper-inner"><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><div id="sb-loading-inner"><span>{loading}</span></div></div></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div></div></div></div></div>',
options:{animSequence:"sync",counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.5,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]}};w.init=function(){b.appendHTML(document.body,T(w.markup,b.lang));w.body=c("sb-body-inner");F=c("sb-container");I=c("sb-overlay");O=c("sb-wrapper");if(!Z)F.style.position="absolute";if(!Y){var a,e,d=/url\("(.*\.png)"\)/;
y(ra,function(f,h){if(a=c(h))if(e=b.getStyle(a,"backgroundImage").match(d))a.style.backgroundImage="none",a.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+e[1]+",sizingMethod=scale);"})}var h;r(f,"resize",function(){h&&(clearTimeout(h),h=null);B&&(h=setTimeout(w.onWindowResize,10))})};w.onOpen=function(a,c){da=false;F.style.display="block";Q();var e=ba(b.options.initialHeight,b.options.initialWidth);V(e.innerHeight,e.top);W(e.width,e.left);if(b.options.showOverlay)I.style.backgroundColor=
b.options.overlayColor,b.setOpacity(I,0),b.options.modal||r(I,"click",b.close),ca=true;Z||(N(),r(f,"scroll",N));U();F.style.visibility="visible";ca?v(I,"opacity",b.options.overlayOpacity,b.options.fadeDuration,c):c()};w.onLoad=function(a,e){for(ga(true);w.body.firstChild;)l(w.body.firstChild);ja(a,function(){if(B){if(!a)O.style.visibility="visible";var f=b.getCurrent();c("sb-title-inner").innerHTML=f.title||"";var d,h,l,g,k;b.options.displayNav?(d=true,f=b.gallery.length,f>1&&(b.options.continuous?
h=k=true:(h=f-1>b.current,k=b.current>0)),b.options.slideshowDelay>0&&b.hasNext()&&(g=!b.isPaused(),l=!g)):d=h=l=g=k=false;z("close",d);z("next",h);z("play",l);z("pause",g);z("previous",k);h="";if(b.options.displayCounter&&b.gallery.length>1)if(f=b.gallery.length,b.options.counterType=="skip"){l=0;k=f;g=parseInt(b.options.counterLimit)||0;g<f&&g>2&&(k=Math.floor(g/2),l=b.current-k,l<0&&(l+=f),k=b.current+(g-k),k>f&&(k-=f));for(;l!=k;)l==f&&(l=0),h+='<a onclick="Shadowbox.change('+l+');"',l==b.current&&
(h+=' class="sb-counter-current"'),h+=">"+ ++l+"</a>"}else h=[b.current+1,b.lang.of,f].join(" ");c("sb-counter").innerHTML=h;e()}})};w.onReady=function(a){if(B){var e=b.player,f=ba(e.height,e.width),d=function(){var b=c("sb-title-inner"),e=c("sb-info-inner");b.style.visibility=e.style.visibility="";b.innerHTML!=""&&v(b,"marginTop",0,0.35);v(e,"marginTop",0,0.35,a)};switch(b.options.animSequence){case "hw":V(f.innerHeight,f.top,true,function(){W(f.width,f.left,true,d)});break;case "wh":W(f.width,f.left,
true,function(){V(f.innerHeight,f.top,true,d)});break;default:W(f.width,f.left,true),V(f.innerHeight,f.top,true,d)}}};w.onShow=function(a){ga(false,a);da=true};w.onClose=function(){Z||k(f,"scroll",N);k(I,"click",b.close);O.style.visibility="hidden";var a=function(){F.style.visibility="hidden";F.style.display="none";U(true)};ca?v(I,"opacity",0,b.options.fadeDuration,a):a()};w.onPlay=function(){z("play",false);z("pause",true)};w.onPause=function(){z("pause",false);z("play",true)};w.onWindowResize=function(){if(da){Q();
var a=b.player,c=ba(a.height,a.width);W(c.width,c.left);V(c.innerHeight,c.top);if(a.onWindowResize)a.onWindowResize()}};b.skin=w;f.Shadowbox=b})(window);(function(f){function g(a){f.fn.cycle.debug&&j(a)}function j(){window.console&&window.console.log&&window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}function d(a,c,d){function h(a,c,e){if(!a&&c===true){a=f(e).data("cycle.opts");if(!a)return j("options not found, can not resume"),false;if(e.cycleTimeout)clearTimeout(e.cycleTimeout),e.cycleTimeout=0;u(a.elements,a,1,!g.rev&&!g.backwards)}}if(a.cycleStop==void 0)a.cycleStop=0;if(c===void 0||c===null)c={};if(c.constructor==String)switch(c){case "destroy":case "stop":var g=
f(a).data("cycle.opts");if(!g)return false;a.cycleStop++;a.cycleTimeout&&clearTimeout(a.cycleTimeout);a.cycleTimeout=0;f(a).removeData("cycle.opts");c=="destroy"&&i(g);return false;case "toggle":return a.cyclePause=a.cyclePause===1?0:1,h(a.cyclePause,d,a),false;case "pause":return a.cyclePause=1,false;case "resume":return a.cyclePause=0,h(false,d,a),false;case "prev":case "next":g=f(a).data("cycle.opts");if(!g)return j('options not found, "prev/next" ignored'),false;f.fn.cycle[c](g);return false;
default:c={fx:c}}else if(c.constructor==Number){var e=c,c=f(a).data("cycle.opts");if(!c)return j("options not found, can not advance slide"),false;if(e<0||e>=c.elements.length)return j("invalid slide index: "+e),false;c.nextSlide=e;if(a.cycleTimeout)clearTimeout(a.cycleTimeout),a.cycleTimeout=0;if(typeof d=="string")c.oneTimeFx=d;u(c.elements,c,1,e>=c.currSlide);return false}return c}function m(a,c){if(!f.support.opacity&&c.cleartype&&a.style.filter)try{a.style.removeAttribute("filter")}catch(d){}}
function i(a){a.next&&f(a.next).unbind(a.prevNextEvent);a.prev&&f(a.prev).unbind(a.prevNextEvent);if(a.pager||a.pagerAnchorBuilder)f.each(a.pagerAnchors||[],function(){this.unbind().remove()});a.pagerAnchors=null;a.destroy&&a.destroy(a)}function h(a,c,d,h,g){var e=f.extend({},f.fn.cycle.defaults,h||{},f.metadata?a.metadata():f.meta?a.data():{});if(e.autostop)e.countdown=e.autostopCount||d.length;var i=a[0];a.data("cycle.opts",e);e.$cont=a;e.stopCount=i.cycleStop;e.elements=d;e.before=e.before?[e.before]:
[];e.after=e.after?[e.after]:[];e.after.unshift(function(){e.busy=0});!f.support.opacity&&e.cleartype&&e.after.push(function(){m(this,e)});e.continuous&&e.after.push(function(){u(d,e,0,!e.rev&&!e.backwards)});D(e);!f.support.opacity&&e.cleartype&&!e.cleartypeNoBg&&T(c);a.css("position")=="static"&&a.css("position","relative");e.width&&a.width(e.width);e.height&&e.height!="auto"&&a.height(e.height);if(e.startingSlide)e.startingSlide=parseInt(e.startingSlide);else if(e.backwards)e.startingSlide=d.length-
1;if(e.random){e.randomMap=[];for(i=0;i<d.length;i++)e.randomMap.push(i);e.randomMap.sort(function(){return Math.random()-0.5});e.randomIndex=1;e.startingSlide=e.randomMap[1]}else if(e.startingSlide>=d.length)e.startingSlide=0;e.currSlide=e.startingSlide||0;var n=e.startingSlide;c.css({position:"absolute",top:0,left:0}).hide().each(function(a){a=e.backwards?n?a<=n?d.length+(a-n):n-a:d.length-a:n?a>=n?d.length-(a-n):n-a:d.length-a;f(this).css("z-index",a)});f(d[n]).css("opacity",1).show();m(d[n],e);
e.fit&&e.width&&c.width(e.width);e.fit&&e.height&&e.height!="auto"&&c.height(e.height);if(e.containerResize&&!a.innerHeight()){for(var E=i=0,K=0;K<d.length;K++){var M=f(d[K]),v=M[0],Q=M.outerWidth(),N=M.outerHeight();Q||(Q=v.offsetWidth||v.width||M.attr("width"));N||(N=v.offsetHeight||v.height||M.attr("height"));i=Q>i?Q:i;E=N>E?N:E}i>0&&E>0&&a.css({width:i+"px",height:E+"px"})}e.pause&&a.hover(function(){this.cyclePause++},function(){this.cyclePause--});if(q(e)===false)return false;var U=false;h.requeueAttempts=
h.requeueAttempts||0;c.each(function(){var a=f(this);this.cycleH=e.fit&&e.height?e.height:a.height()||this.offsetHeight||this.height||a.attr("height")||0;this.cycleW=e.fit&&e.width?e.width:a.width()||this.offsetWidth||this.width||a.attr("width")||0;if(a.is("img")){var a=f.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete,c=f.browser.opera&&(this.cycleW==42&&this.cycleH==19||this.cycleW==37&&this.cycleH==17)&&!this.complete,d=this.cycleH==0&&this.cycleW==0&&!this.complete;if(f.browser.msie&&
this.cycleW==28&&this.cycleH==30&&!this.complete||a||c||d)if(g.s&&e.requeueOnImageNotLoaded&&++h.requeueAttempts<100)return j(h.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH),setTimeout(function(){f(g.s,g.c).cycle(h)},e.requeueTimeout),U=true,false;else j("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}return true});if(U)return false;e.cssBefore=e.cssBefore||{};e.animIn=e.animIn||{};e.animOut=e.animOut||{};c.not(":eq("+n+
")").css(e.cssBefore);e.cssFirst&&f(c[n]).css(e.cssFirst);if(e.timeout){e.timeout=parseInt(e.timeout);if(e.speed.constructor==String)e.speed=f.fx.speeds[e.speed]||parseInt(e.speed);e.sync||(e.speed/=2);for(i=e.fx=="shuffle"?500:250;e.timeout-e.speed<i;)e.timeout+=e.speed}if(e.easing)e.easeIn=e.easeOut=e.easing;if(!e.speedIn)e.speedIn=e.speed;if(!e.speedOut)e.speedOut=e.speed;e.slideCount=d.length;e.currSlide=e.lastSlide=n;if(e.random){if(++e.randomIndex==d.length)e.randomIndex=0;e.nextSlide=e.randomMap[e.randomIndex]}else e.nextSlide=
e.backwards?e.startingSlide==0?d.length-1:e.startingSlide-1:e.startingSlide>=d.length-1?0:e.startingSlide+1;if(!e.multiFx)if(i=f.fn.cycle.transitions[e.fx],f.isFunction(i))i(a,c,e);else if(e.fx!="custom"&&!e.multiFx)return j("unknown transition: "+e.fx,"; slideshow terminating"),false;a=c[n];e.before.length&&e.before[0].apply(a,[a,a,e,true]);e.after.length>1&&e.after[1].apply(a,[a,a,e,true]);e.next&&f(e.next).bind(e.prevNextEvent,function(){return x(e,e.rev?-1:1)});e.prev&&f(e.prev).bind(e.prevNextEvent,
function(){return x(e,e.rev?1:-1)});(e.pager||e.pagerAnchorBuilder)&&y(d,e);C(e,d);return e}function D(a){a.original={before:[],after:[]};a.original.cssBefore=f.extend({},a.cssBefore);a.original.cssAfter=f.extend({},a.cssAfter);a.original.animIn=f.extend({},a.animIn);a.original.animOut=f.extend({},a.animOut);f.each(a.before,function(){a.original.before.push(this)});f.each(a.after,function(){a.original.after.push(this)})}function q(a){var c,d,h=f.fn.cycle.transitions;if(a.fx.indexOf(",")>0){a.multiFx=
true;a.fxs=a.fx.replace(/\s*/g,"").split(",");for(c=0;c<a.fxs.length;c++){var i=a.fxs[c];d=h[i];if(!d||!h.hasOwnProperty(i)||!f.isFunction(d))j("discarding unknown transition: ",i),a.fxs.splice(c,1),c--}if(!a.fxs.length)return j("No valid transitions named; slideshow terminating."),false}else if(a.fx=="all")for(p in a.multiFx=true,a.fxs=[],h)d=h[p],h.hasOwnProperty(p)&&f.isFunction(d)&&a.fxs.push(p);if(a.multiFx&&a.randomizeEffects){d=Math.floor(Math.random()*20)+30;for(c=0;c<d;c++)h=Math.floor(Math.random()*
a.fxs.length),a.fxs.push(a.fxs.splice(h,1)[0]);g("randomized fx sequence: ",a.fxs)}return true}function C(a,c){a.addSlide=function(d,h){var g=f(d),e=g[0];a.autostopCount||a.countdown++;c[h?"unshift":"push"](e);if(a.els)a.els[h?"unshift":"push"](e);a.slideCount=c.length;g.css("position","absolute");g[h?"prependTo":"appendTo"](a.$cont);h&&(a.currSlide++,a.nextSlide++);!f.support.opacity&&a.cleartype&&!a.cleartypeNoBg&&T(g);a.fit&&a.width&&g.width(a.width);a.fit&&a.height&&a.height!="auto"&&$slides.height(a.height);
e.cycleH=a.fit&&a.height?a.height:g.height();e.cycleW=a.fit&&a.width?a.width:g.width();g.css(a.cssBefore);(a.pager||a.pagerAnchorBuilder)&&f.fn.cycle.createPagerAnchor(c.length-1,e,f(a.pager),c,a);if(f.isFunction(a.onAddSlide))a.onAddSlide(g);else g.hide()}}function u(a,c,d,h){if(d&&c.busy&&c.manualTrump)g("manualTrump in go(), stopping active transition"),f(a).stop(true,true),c.busy=false;if(c.busy)g("transition active, ignoring new tx request");else{var i=c.$cont[0],e=a[c.currSlide],m=a[c.nextSlide];
if(!(i.cycleStop!=c.stopCount||i.cycleTimeout===0&&!d))if(!d&&!i.cyclePause&&!c.bounce&&(c.autostop&&--c.countdown<=0||c.nowrap&&!c.random&&c.nextSlide<c.currSlide))c.end&&c.end(c);else{var j=false;if((d||!i.cyclePause)&&c.nextSlide!=c.currSlide){var j=true,q=c.fx;e.cycleH=e.cycleH||f(e).height();e.cycleW=e.cycleW||f(e).width();m.cycleH=m.cycleH||f(m).height();m.cycleW=m.cycleW||f(m).width();if(c.multiFx){if(c.lastFx==void 0||++c.lastFx>=c.fxs.length)c.lastFx=0;q=c.fxs[c.lastFx];c.currFx=q}if(c.oneTimeFx)q=
c.oneTimeFx,c.oneTimeFx=null;f.fn.cycle.resetState(c,q);c.before.length&&f.each(c.before,function(a,f){i.cycleStop==c.stopCount&&f.apply(m,[e,m,c,h])});q=function(){f.each(c.after,function(a,f){i.cycleStop==c.stopCount&&f.apply(m,[e,m,c,h])})};g("tx firing; currSlide: "+c.currSlide+"; nextSlide: "+c.nextSlide);c.busy=1;if(c.fxFn)c.fxFn(e,m,c,q,h,d&&c.fastOnEvent);else if(f.isFunction(f.fn.cycle[c.fx]))f.fn.cycle[c.fx](e,m,c,q,h,d&&c.fastOnEvent);else f.fn.cycle.custom(e,m,c,q,h,d&&c.fastOnEvent)}if(j||
c.nextSlide==c.currSlide)if(c.lastSlide=c.currSlide,c.random){c.currSlide=c.nextSlide;if(++c.randomIndex==a.length)c.randomIndex=0;c.nextSlide=c.randomMap[c.randomIndex];if(c.nextSlide==c.currSlide)c.nextSlide=c.currSlide==c.slideCount-1?0:c.currSlide+1}else c.backwards?(d=c.nextSlide-1<0)&&c.bounce?(c.backwards=!c.backwards,c.nextSlide=1,c.currSlide=0):(c.nextSlide=d?a.length-1:c.nextSlide-1,c.currSlide=d?0:c.nextSlide+1):(d=c.nextSlide+1==a.length)&&c.bounce?(c.backwards=!c.backwards,c.nextSlide=
a.length-2,c.currSlide=a.length-1):(c.nextSlide=d?0:c.nextSlide+1,c.currSlide=d?a.length-1:c.nextSlide-1);j&&c.pager&&c.updateActivePagerLink(c.pager,c.currSlide,c.activePagerClass);j=0;c.timeout&&!c.continuous?j=K(a[c.currSlide],a[c.nextSlide],c,h):c.continuous&&i.cyclePause&&(j=10);if(j>0)i.cycleTimeout=setTimeout(function(){u(a,c,0,!c.rev&&!c.backwards)},j)}}}function K(a,c,f,d){if(f.timeoutFn){for(a=f.timeoutFn.call(a,a,c,f,d);a-f.speed<250;)a+=f.speed;g("calculated timeout: "+a+"; speed: "+f.speed);
if(a!==false)return a}return f.timeout}function x(a,c){var d=a.elements,h=a.$cont[0],g=h.cycleTimeout;if(g)clearTimeout(g),h.cycleTimeout=0;if(a.random&&c<0){a.randomIndex--;if(--a.randomIndex==-2)a.randomIndex=d.length-2;else if(a.randomIndex==-1)a.randomIndex=d.length-1;a.nextSlide=a.randomMap[a.randomIndex]}else if(a.random)a.nextSlide=a.randomMap[a.randomIndex];else if(a.nextSlide=a.currSlide+c,a.nextSlide<0){if(a.nowrap)return false;a.nextSlide=d.length-1}else if(a.nextSlide>=d.length){if(a.nowrap)return false;
a.nextSlide=0}h=a.onPrevNextEvent||a.prevNextClick;f.isFunction(h)&&h(c>0,a.nextSlide,d[a.nextSlide]);u(d,a,1,c>=0);return false}function y(a,c){var d=f(c.pager);f.each(a,function(h,g){f.fn.cycle.createPagerAnchor(h,g,d,a,c)});c.updateActivePagerLink(c.pager,c.startingSlide,c.activePagerClass)}function T(a){function c(a){a=parseInt(a).toString(16);return a.length<2?"0"+a:a}function d(a){for(;a&&a.nodeName.toLowerCase()!="html";a=a.parentNode){var h=f.css(a,"background-color");if(h.indexOf("rgb")>=
0)return a=h.match(/\d+/g),"#"+c(a[0])+c(a[1])+c(a[2]);if(h&&h!="transparent")return h}return"#ffffff"}g("applying clearType background-color hack");a.each(function(){f(this).css("background-color",d(this))})}if(f.support==void 0)f.support={opacity:!f.browser.msie};f.fn.cycle=function(a,c){var i={s:this.selector,c:this.context};if(this.length===0&&a!="stop"){if(!f.isReady&&i.s)return j("DOM not ready, queuing slideshow"),f(function(){f(i.s,i.c).cycle(a,c)}),this;j("terminating; zero elements found by selector"+
(f.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var m=d(this,a,c);if(m!==false){m.updateActivePagerLink=m.updateActivePagerLink||f.fn.cycle.updateActivePagerLink;this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=this.cyclePause=0;var k=f(this),e=m.slideExpr?f(m.slideExpr,this):k.children(),o=e.get();if(o.length<2)j("terminating; too few slides: "+o.length);else{var n=h(k,e,o,m,i);if(n!==false&&(k=n.continuous?10:K(o[n.currSlide],o[n.nextSlide],n,!n.rev)))k+=
n.delay||0,k<10&&(k=10),g("first timeout: "+k),this.cycleTimeout=setTimeout(function(){u(o,n,0,!n.rev&&!m.backwards)},k)}}})};f.fn.cycle.resetState=function(a,c){c=c||a.fx;a.before=[];a.after=[];a.cssBefore=f.extend({},a.original.cssBefore);a.cssAfter=f.extend({},a.original.cssAfter);a.animIn=f.extend({},a.original.animIn);a.animOut=f.extend({},a.original.animOut);a.fxFn=null;f.each(a.original.before,function(){a.before.push(this)});f.each(a.original.after,function(){a.after.push(this)});var d=f.fn.cycle.transitions[c];
f.isFunction(d)&&d(a.$cont,f(a.elements),a)};f.fn.cycle.updateActivePagerLink=function(a,c,d){f(a).each(function(){f(this).children().removeClass(d).eq(c).addClass(d)})};f.fn.cycle.next=function(a){x(a,a.rev?-1:1)};f.fn.cycle.prev=function(a){x(a,a.rev?1:-1)};f.fn.cycle.createPagerAnchor=function(a,c,d,h,i){f.isFunction(i.pagerAnchorBuilder)?(c=i.pagerAnchorBuilder(a,c),g("pagerAnchorBuilder("+a+", el) returned: "+c)):c='<a href="#">'+(a+1)+"</a>";if(c){var e=f(c);if(e.parents("body").length===0){var m=
[];d.length>1?(d.each(function(){var a=e.clone(true);f(this).append(a);m.push(a[0])}),e=f(m)):e.appendTo(d)}i.pagerAnchors=i.pagerAnchors||[];i.pagerAnchors.push(e);e.bind(i.pagerEvent,function(c){c.preventDefault();i.nextSlide=a;var c=i.$cont[0],e=c.cycleTimeout;if(e)clearTimeout(e),c.cycleTimeout=0;c=i.onPagerEvent||i.pagerClick;f.isFunction(c)&&c(i.nextSlide,h[i.nextSlide]);u(h,i,1,i.currSlide<a)});!/^click/.test(i.pagerEvent)&&!i.allowPagerClickBubble&&e.bind("click.cycle",function(){return false});
i.pauseOnPagerHover&&e.hover(function(){i.$cont[0].cyclePause++},function(){i.$cont[0].cyclePause--})}};f.fn.cycle.hopsFromLast=function(a,c){var f=a.lastSlide,d=a.currSlide;return c?d>f?d-f:a.slideCount-f:d<f?f-d:f+a.slideCount-d};f.fn.cycle.commonReset=function(a,c,d,h,g,e){f(d.elements).not(a).hide();d.cssBefore.opacity=1;d.cssBefore.display="block";if(h!==false&&c.cycleW>0)d.cssBefore.width=c.cycleW;if(g!==false&&c.cycleH>0)d.cssBefore.height=c.cycleH;d.cssAfter=d.cssAfter||{};d.cssAfter.display=
"none";f(a).css("zIndex",d.slideCount+(e===true?1:0));f(c).css("zIndex",d.slideCount+(e===true?0:1))};f.fn.cycle.custom=function(a,c,d,h,g,e){var i=f(a),m=f(c),j=d.speedIn,a=d.speedOut,q=d.easeIn,c=d.easeOut;m.css(d.cssBefore);e&&(j=typeof e=="number"?a=e:a=1,q=c=null);i.animate(d.animOut,a,c,function(){d.cssAfter&&i.css(d.cssAfter);d.sync||m.animate(d.animIn,j,q,h)});d.sync&&m.animate(d.animIn,j,q,h)};f.fn.cycle.transitions={fade:function(a,c,d){c.not(":eq("+d.currSlide+")").css("opacity",0);d.before.push(function(a,
c,e){f.fn.cycle.commonReset(a,c,e);e.cssBefore.opacity=0});d.animIn={opacity:1};d.animOut={opacity:0};d.cssBefore={top:0,left:0}}};f.fn.cycle.ver=function(){return"2.88"};f.fn.cycle.defaults={fx:"fade",timeout:4E3,timeoutFn:null,continuous:0,speed:1E3,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,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:!f.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null,backwards:false}})(jQuery);
(function(f){f.fn.cycle.transitions.none=function(g,j,d){d.fxFn=function(d,g,h,j){f(g).show();f(d).hide();j()}};f.fn.cycle.transitions.scrollUp=function(g,j,d){g.css("overflow","hidden");d.before.push(f.fn.cycle.commonReset);g=g.height();d.cssBefore={top:g,left:0};d.cssFirst={top:0};d.animIn={top:0};d.animOut={top:-g}};f.fn.cycle.transitions.scrollDown=function(g,j,d){g.css("overflow","hidden");d.before.push(f.fn.cycle.commonReset);g=g.height();d.cssFirst={top:0};d.cssBefore={top:-g,left:0};d.animIn=
{top:0};d.animOut={top:g}};f.fn.cycle.transitions.scrollLeft=function(g,j,d){g.css("overflow","hidden");d.before.push(f.fn.cycle.commonReset);g=g.width();d.cssFirst={left:0};d.cssBefore={left:g,top:0};d.animIn={left:0};d.animOut={left:0-g}};f.fn.cycle.transitions.scrollRight=function(g,j,d){g.css("overflow","hidden");d.before.push(f.fn.cycle.commonReset);g=g.width();d.cssFirst={left:0};d.cssBefore={left:-g,top:0};d.animIn={left:0};d.animOut={left:g}};f.fn.cycle.transitions.scrollHorz=function(g,j,
d){g.css("overflow","hidden").width();d.before.push(function(d,g,h,j){f.fn.cycle.commonReset(d,g,h);h.cssBefore.left=j?g.cycleW-1:1-g.cycleW;h.animOut.left=j?-d.cycleW:d.cycleW});d.cssFirst={left:0};d.cssBefore={top:0};d.animIn={left:0};d.animOut={top:0}};f.fn.cycle.transitions.scrollVert=function(g,j,d){g.css("overflow","hidden");d.before.push(function(d,g,h,j){f.fn.cycle.commonReset(d,g,h);h.cssBefore.top=j?1-g.cycleH:g.cycleH-1;h.animOut.top=j?d.cycleH:-d.cycleH});d.cssFirst={top:0};d.cssBefore=
{left:0};d.animIn={top:0};d.animOut={left:0}};f.fn.cycle.transitions.slideX=function(g,j,d){d.before.push(function(d,g,h){f(h.elements).not(d).hide();f.fn.cycle.commonReset(d,g,h,false,true);h.animIn.width=g.cycleW});d.cssBefore={left:0,top:0,width:0};d.animIn={width:"show"};d.animOut={width:0}};f.fn.cycle.transitions.slideY=function(g,j,d){d.before.push(function(d,g,h){f(h.elements).not(d).hide();f.fn.cycle.commonReset(d,g,h,true,false);h.animIn.height=g.cycleH});d.cssBefore={left:0,top:0,height:0};
d.animIn={height:"show"};d.animOut={height:0}};f.fn.cycle.transitions.shuffle=function(g,j,d){g=g.css("overflow","visible").width();j.css({left:0,top:0});d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,true,true,true)});if(!d.speedAdjusted)d.speed/=2,d.speedAdjusted=true;d.random=0;d.shuffle=d.shuffle||{left:-g,top:15};d.els=[];for(g=0;g<j.length;g++)d.els.push(j[g]);for(g=0;g<d.currSlide;g++)d.els.push(d.els.shift());d.fxFn=function(d,g,h,j,q){var C=q?f(d):f(g);f(g).css(h.cssBefore);var u=
h.slideCount;C.animate(h.shuffle,h.speedIn,h.easeIn,function(){for(var g=f.fn.cycle.hopsFromLast(h,q),i=0;i<g;i++)q?h.els.push(h.els.shift()):h.els.unshift(h.els.pop());if(q){g=0;for(i=h.els.length;g<i;g++)f(h.els[g]).css("z-index",i-g+u)}else g=f(d).css("z-index"),C.css("z-index",parseInt(g)+1+u);C.animate({left:0,top:0},h.speedOut,h.easeOut,function(){f(q?this:d).hide();j&&j()})})};d.cssBefore={display:"block",opacity:1,top:0,left:0}};f.fn.cycle.transitions.turnUp=function(g,j,d){d.before.push(function(d,
g,h){f.fn.cycle.commonReset(d,g,h,true,false);h.cssBefore.top=g.cycleH;h.animIn.height=g.cycleH});d.cssFirst={top:0};d.cssBefore={left:0,height:0};d.animIn={top:0};d.animOut={height:0}};f.fn.cycle.transitions.turnDown=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,true,false);h.animIn.height=g.cycleH;h.animOut.top=d.cycleH});d.cssFirst={top:0};d.cssBefore={left:0,top:0,height:0};d.animOut={height:0}};f.fn.cycle.transitions.turnLeft=function(g,j,d){d.before.push(function(d,
g,h){f.fn.cycle.commonReset(d,g,h,false,true);h.cssBefore.left=g.cycleW;h.animIn.width=g.cycleW});d.cssBefore={top:0,width:0};d.animIn={left:0};d.animOut={width:0}};f.fn.cycle.transitions.turnRight=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,false,true);h.animIn.width=g.cycleW;h.animOut.left=d.cycleW});d.cssBefore={top:0,left:0,width:0};d.animIn={left:0};d.animOut={width:0}};f.fn.cycle.transitions.zoom=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,
g,h,false,false,true);h.cssBefore.top=g.cycleH/2;h.cssBefore.left=g.cycleW/2;h.animIn={top:0,left:0,width:g.cycleW,height:g.cycleH};h.animOut={width:0,height:0,top:d.cycleH/2,left:d.cycleW/2}});d.cssFirst={top:0,left:0};d.cssBefore={width:0,height:0}};f.fn.cycle.transitions.fadeZoom=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,false,false);h.cssBefore.left=g.cycleW/2;h.cssBefore.top=g.cycleH/2;h.animIn={top:0,left:0,width:g.cycleW,height:g.cycleH}});d.cssBefore={width:0,
height:0};d.animOut={opacity:0}};f.fn.cycle.transitions.blindX=function(g,j,d){g=g.css("overflow","hidden").width();d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h);h.animIn.width=g.cycleW;h.animOut.left=d.cycleW});d.cssBefore={left:g,top:0};d.animIn={left:0};d.animOut={left:g}};f.fn.cycle.transitions.blindY=function(g,j,d){g=g.css("overflow","hidden").height();d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h);h.animIn.height=g.cycleH;h.animOut.top=d.cycleH});d.cssBefore={top:g,
left:0};d.animIn={top:0};d.animOut={top:g}};f.fn.cycle.transitions.blindZ=function(g,j,d){j=g.css("overflow","hidden").height();g=g.width();d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h);h.animIn.height=g.cycleH;h.animOut.top=d.cycleH});d.cssBefore={top:j,left:g};d.animIn={top:0,left:0};d.animOut={top:j,left:g}};f.fn.cycle.transitions.growX=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,false,true);h.cssBefore.left=this.cycleW/2;h.animIn={left:0,width:this.cycleW};
h.animOut={left:0}});d.cssBefore={width:0,top:0}};f.fn.cycle.transitions.growY=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,true,false);h.cssBefore.top=this.cycleH/2;h.animIn={top:0,height:this.cycleH};h.animOut={top:0}});d.cssBefore={height:0,left:0}};f.fn.cycle.transitions.curtainX=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,false,true,true);h.cssBefore.left=g.cycleW/2;h.animIn={left:0,width:this.cycleW};h.animOut={left:d.cycleW/2,width:0}});
d.cssBefore={top:0,width:0}};f.fn.cycle.transitions.curtainY=function(g,j,d){d.before.push(function(d,g,h){f.fn.cycle.commonReset(d,g,h,true,false,true);h.cssBefore.top=g.cycleH/2;h.animIn={top:0,height:g.cycleH};h.animOut={top:d.cycleH/2,height:0}});d.cssBefore={left:0,height:0}};f.fn.cycle.transitions.cover=function(g,j,d){var m=d.direction||"left",i=g.css("overflow","hidden").width(),h=g.height();d.before.push(function(d,g,j){f.fn.cycle.commonReset(d,g,j);m=="right"?j.cssBefore.left=-i:m=="up"?
j.cssBefore.top=h:m=="down"?j.cssBefore.top=-h:j.cssBefore.left=i});d.animIn={left:0,top:0};d.animOut={opacity:1};d.cssBefore={top:0,left:0}};f.fn.cycle.transitions.uncover=function(g,j,d){var m=d.direction||"left",i=g.css("overflow","hidden").width(),h=g.height();d.before.push(function(d,g,j){f.fn.cycle.commonReset(d,g,j,true,true,true);m=="right"?j.animOut.left=i:m=="up"?j.animOut.top=-h:m=="down"?j.animOut.top=h:j.animOut.left=-i});d.animIn={left:0,top:0};d.animOut={opacity:1};d.cssBefore={top:0,
left:0}};f.fn.cycle.transitions.toss=function(g,j,d){var m=g.css("overflow","visible").width(),i=g.height();d.before.push(function(d,g,j){f.fn.cycle.commonReset(d,g,j,true,true,true);!j.animOut.left&&!j.animOut.top?j.animOut={left:m*2,top:-i/2,opacity:0}:j.animOut.opacity=0});d.cssBefore={left:0,top:0};d.animIn={left:0}};f.fn.cycle.transitions.wipe=function(g,j,d){var m=g.css("overflow","hidden").width(),i=g.height();d.cssBefore=d.cssBefore||{};var h;d.clip&&(/l2r/.test(d.clip)?h="rect(0px 0px "+
i+"px 0px)":/r2l/.test(d.clip)?h="rect(0px "+m+"px "+i+"px "+m+"px)":/t2b/.test(d.clip)?h="rect(0px "+m+"px 0px 0px)":/b2t/.test(d.clip)?h="rect("+i+"px "+m+"px "+i+"px 0px)":/zoom/.test(d.clip)&&(g=parseInt(i/2),j=parseInt(m/2),h="rect("+g+"px "+j+"px "+g+"px "+j+"px)"));d.cssBefore.clip=d.cssBefore.clip||h||"rect(0px 0px 0px 0px)";var g=d.cssBefore.clip.match(/(\d+)/g),D=parseInt(g[0]),q=parseInt(g[1]),C=parseInt(g[2]),u=parseInt(g[3]);d.before.push(function(d,g,h){if(d!=g){var j=f(d),a=f(g);f.fn.cycle.commonReset(d,
g,h,true,true,false);h.cssAfter.display="block";var c=1,l=parseInt(h.speedIn/13)-1;(function k(){var d=D?D-parseInt(c*(D/l)):0,f=u?u-parseInt(c*(u/l)):0,g=C<i?C+parseInt(c*((i-C)/l||1)):i,h=q<m?q+parseInt(c*((m-q)/l||1)):m;a.css({clip:"rect("+d+"px "+h+"px "+g+"px "+f+"px)"});c++<=l?setTimeout(k,13):j.css("display","none")})()}});d.cssBefore={display:"block",opacity:1,top:0,left:0};d.animIn={left:0};d.animOut={left:0}}})(jQuery);

