var swfobject=function(){var Aq="undefined",Az="object",Aa="Shockwave Flash",Ae="ShockwaveFlash.ShockwaveFlash",Ay="application/x-shockwave-flash",Z="SWFObjectExprInst",Au="onreadystatechange",Am=window,AH=document,AB=navigator,Ab=false,Ac=[AF],AM=[],Al=[],Ag=[],AJ,Y,Ar,Ao,Ah=false,AN=false,AL,At,AK=true,Ak=function(){var C=typeof AH.getElementById!=Aq&&typeof AH.getElementsByTagName!=Aq&&typeof AH.createElement!=Aq,G=AB.userAgent.toLowerCase(),J=AB.platform.toLowerCase(),H=J?/win/.test(J):/win/.test(G),A=J?/mac/.test(J):/mac/.test(G),B=/webkit/.test(G)?parseFloat(G.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,I=!+"\v1",E=[0,0,0],F=null;if(typeof AB.plugins!=Aq&&typeof AB.plugins[Aa]==Az){F=AB.plugins[Aa].description;if(F&&!(typeof AB.mimeTypes!=Aq&&AB.mimeTypes[Ay]&&!AB.mimeTypes[Ay].enabledPlugin)){Ab=true;I=false;F=F.replace(/^.*\s+(\S+\s+\S+$)/,"$1");E[0]=parseInt(F.replace(/^(.*)\..*$/,"$1"),10);E[1]=parseInt(F.replace(/^.*\.(.*)\s.*$/,"$1"),10);E[2]=/[a-zA-Z]/.test(F)?parseInt(F.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof Am.ActiveXObject!=Aq){try{var D=new ActiveXObject(Ae);if(D){F=D.GetVariable("$version");if(F){I=true;F=F.split(" ")[1].split(",");E=[parseInt(F[0],10),parseInt(F[1],10),parseInt(F[2],10)]}}}catch(K){}}}return{w3:C,pv:E,wk:B,ie:I,win:H,mac:A}}(),AI=function(){if(!Ak.w3){return}if((typeof AH.readyState!=Aq&&AH.readyState=="complete")||(typeof AH.readyState==Aq&&(AH.getElementsByTagName("body")[0]||AH.body))){AS()}if(!Ah){if(typeof AH.addEventListener!=Aq){AH.addEventListener("DOMContentLoaded",AS,false)}if(Ak.ie&&Ak.win){AH.attachEvent(Au,function(){if(AH.readyState=="complete"){AH.detachEvent(Au,arguments.callee);AS()}});if(Am==top){(function(){if(Ah){return}try{AH.documentElement.doScroll("left")}catch(A){setTimeout(arguments.callee,0);return}AS()})()}}if(Ak.wk){(function(){if(Ah){return}if(!/loaded|complete/.test(AH.readyState)){setTimeout(arguments.callee,0);return}AS()})()}AA(AS)}}();function AS(){if(Ah){return}try{var D=AH.getElementsByTagName("body")[0].appendChild(Ap("span"));D.parentNode.removeChild(D)}catch(A){return}Ah=true;var B=Ac.length;for(var C=0;C<B;C++){Ac[C]()}}function Ai(A){if(Ah){A()}else{Ac[Ac.length]=A}}function AA(B){if(typeof Am.addEventListener!=Aq){Am.addEventListener("load",B,false)}else{if(typeof AH.addEventListener!=Aq){AH.addEventListener("load",B,false)}else{if(typeof Am.attachEvent!=Aq){AG(Am,"onload",B)}else{if(typeof Am.onload=="function"){var A=Am.onload;Am.onload=function(){A();B()}}else{Am.onload=B}}}}}function AF(){if(Ab){Ad()}else{Af()}}function Ad(){var B=AH.getElementsByTagName("body")[0];var A=Ap(Az);A.setAttribute("type",Ay);var D=B.appendChild(A);if(D){var C=0;(function(){if(typeof D.GetVariable!=Aq){var E=D.GetVariable("$version");if(E){E=E.split(" ")[1].split(",");Ak.pv=[parseInt(E[0],10),parseInt(E[1],10),parseInt(E[2],10)]}}else{if(C<10){C++;setTimeout(arguments.callee,10);return}}B.removeChild(A);D=null;Af()})()}else{Af()}}function Af(){var F=AM.length;if(F>0){for(var C=0;C<F;C++){var K=AM[C].id;var G=AM[C].callbackFn;var D={success:false,id:K};if(Ak.pv[0]>0){var I=AP(K);if(I){if(As(AM[C].swfVersion)&&!(Ak.wk&&Ak.wk<312)){AE(K,true);if(G){D.success=true;D.ref=Aw(K);G(D)}}else{if(AM[C].expressInstall&&An()){var B={};B.data=AM[C].expressInstall;B.width=I.getAttribute("width")||"0";B.height=I.getAttribute("height")||"0";if(I.getAttribute("class")){B.styleclass=I.getAttribute("class")}if(I.getAttribute("align")){B.align=I.getAttribute("align")}var H={};var J=I.getElementsByTagName("param");var A=J.length;for(var E=0;E<A;E++){if(J[E].getAttribute("name").toLowerCase()!="movie"){H[J[E].getAttribute("name")]=J[E].getAttribute("value")}}X(B,H,K,G)}else{Ax(I);if(G){G(D)}}}}}else{AE(K,true);if(G){var L=Aw(K);if(L&&typeof L.SetVariable!=Aq){D.success=true;D.ref=L}G(D)}}}}}function Aw(A){var B=null;var C=AP(A);if(C&&C.nodeName=="OBJECT"){if(typeof C.SetVariable!=Aq){B=C}else{var D=C.getElementsByTagName(Az)[0];if(D){B=D}}}return B}function An(){return !AN&&As("6.0.65")&&(Ak.win||Ak.mac)&&!(Ak.wk&&Ak.wk<312)}function X(B,D,F,H){AN=true;Ar=H||null;Ao={success:false,id:F};var E=AP(F);if(E){if(E.nodeName=="OBJECT"){AJ=AT(E);Y=null}else{AJ=E;Y=F}B.id=Z;if(typeof B.width==Aq||(!/%$/.test(B.width)&&parseInt(B.width,10)<310)){B.width="310"}if(typeof B.height==Aq||(!/%$/.test(B.height)&&parseInt(B.height,10)<137)){B.height="137"}AH.title=AH.title.slice(0,47)+" - Flash Player Installation";var C=Ak.ie&&Ak.win?"ActiveX":"PlugIn",A="MMredirectURL="+Am.location.toString().replace(/&/g,"%26")+"&MMplayerType="+C+"&MMdoctitle="+AH.title;if(typeof D.flashvars!=Aq){D.flashvars+="&"+A}else{D.flashvars=A}if(Ak.ie&&Ak.win&&E.readyState!=4){var G=Ap("div");F+="SWFObjectNew";G.setAttribute("id",F);E.parentNode.insertBefore(G,E);E.style.display="none";(function(){if(E.readyState==4){E.parentNode.removeChild(E)}else{setTimeout(arguments.callee,10)}})()}AC(B,D,F)}}function Ax(B){if(Ak.ie&&Ak.win&&B.readyState!=4){var A=Ap("div");B.parentNode.insertBefore(A,B);A.parentNode.replaceChild(AT(B),A);B.style.display="none";(function(){if(B.readyState==4){B.parentNode.removeChild(B)}else{setTimeout(arguments.callee,10)}})()}else{B.parentNode.replaceChild(AT(B),B)}}function AT(F){var A=Ap("div");if(Ak.win&&Ak.ie){A.innerHTML=F.innerHTML}else{var C=F.getElementsByTagName(Az)[0];if(C){var E=C.childNodes;if(E){var B=E.length;for(var D=0;D<B;D++){if(!(E[D].nodeType==1&&E[D].nodeName=="PARAM")&&!(E[D].nodeType==8)){A.appendChild(E[D].cloneNode(true))}}}}}return A}function AC(B,F,K){var J,D=AP(K);if(Ak.wk&&Ak.wk<312){return J}if(D){if(typeof B.id==Aq){B.id=K}if(Ak.ie&&Ak.win){var H="";for(var I in B){if(B[I]!=Object.prototype[I]){if(I.toLowerCase()=="data"){F.movie=B[I]}else{if(I.toLowerCase()=="styleclass"){H+=' class="'+B[I]+'"'}else{if(I.toLowerCase()!="classid"){H+=" "+I+'="'+B[I]+'"'}}}}}var C="";for(var E in F){if(F[E]!=Object.prototype[E]){C+='<param name="'+E+'" value="'+F[E]+'" />'}}D.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+H+">"+C+"</object>";Al[Al.length]=B.id;J=AP(B.id)}else{var L=Ap(Az);L.setAttribute("type",Ay);for(var A in B){if(B[A]!=Object.prototype[A]){if(A.toLowerCase()=="styleclass"){L.setAttribute("class",B[A])}else{if(A.toLowerCase()!="classid"){L.setAttribute(A,B[A])}}}}for(var G in F){if(F[G]!=Object.prototype[G]&&G.toLowerCase()!="movie"){AR(L,G,F[G])}}D.parentNode.replaceChild(L,D);J=L}}return J}function AR(D,B,C){var A=Ap("param");A.setAttribute("name",B);A.setAttribute("value",C);D.appendChild(A)}function Av(B){var A=AP(B);if(A&&A.nodeName=="OBJECT"){if(Ak.ie&&Ak.win){A.style.display="none";(function(){if(A.readyState==4){AO(B)}else{setTimeout(arguments.callee,10)}})()}else{A.parentNode.removeChild(A)}}}function AO(C){var B=AP(C);if(B){for(var A in B){if(typeof B[A]=="function"){B[A]=null}}B.parentNode.removeChild(B)}}function AP(C){var A=null;try{A=AH.getElementById(C)}catch(B){}return A}function Ap(A){return AH.createElement(A)}function AG(C,A,B){C.attachEvent(A,B);Ag[Ag.length]=[C,A,B]}function As(C){var B=Ak.pv,A=C.split(".");A[0]=parseInt(A[0],10);A[1]=parseInt(A[1],10)||0;A[2]=parseInt(A[2],10)||0;return(B[0]>A[0]||(B[0]==A[0]&&B[1]>A[1])||(B[0]==A[0]&&B[1]==A[1]&&B[2]>=A[2]))?true:false}function AD(F,C,E,G){if(Ak.ie&&Ak.mac){return}var A=AH.getElementsByTagName("head")[0];if(!A){return}var B=(E&&typeof E=="string")?E:"screen";if(G){AL=null;At=null}if(!AL||At!=B){var D=Ap("style");D.setAttribute("type","text/css");D.setAttribute("media",B);AL=A.appendChild(D);if(Ak.ie&&Ak.win&&typeof AH.styleSheets!=Aq&&AH.styleSheets.length>0){AL=AH.styleSheets[AH.styleSheets.length-1]}At=B}if(Ak.ie&&Ak.win){if(AL&&typeof AL.addRule==Az){AL.addRule(F,C)}}else{if(AL&&typeof AH.createTextNode!=Aq){AL.appendChild(AH.createTextNode(F+" {"+C+"}"))}}}function AE(C,A){if(!AK){return}var B=A?"visible":"hidden";if(Ah&&AP(C)){AP(C).style.visibility=B}else{AD("#"+C,"visibility:"+B)}}function Aj(B){var C=/[\\\"<>\.;]/;var A=C.exec(B)!=null;return A&&typeof encodeURIComponent!=Aq?encodeURIComponent(B):B}var AQ=function(){if(Ak.ie&&Ak.win){window.attachEvent("onunload",function(){var E=Ag.length;for(var F=0;F<E;F++){Ag[F][0].detachEvent(Ag[F][1],Ag[F][2])}var D=Al.length;for(var A=0;A<D;A++){Av(Al[A])}for(var C in Ak){Ak[C]=null}Ak=null;for(var B in swfobject){swfobject[B]=null}swfobject=null})}}();return{registerObject:function(E,B,A,D){if(Ak.w3&&E&&B){var C={};C.id=E;C.swfVersion=B;C.expressInstall=A;C.callbackFn=D;AM[AM.length]=C;AE(E,false)}else{if(D){D({success:false,id:E})}}},getObjectById:function(A){if(Ak.w3){return Aw(A)}},embedSWF:function(F,G,H,E,J,C,K,D,B,A){var I={success:false,id:G};if(Ak.w3&&!(Ak.wk&&Ak.wk<312)&&F&&G&&H&&E&&J){AE(G,false);Ai(function(){H+="";E+="";var M={};if(B&&typeof B===Az){for(var Q in B){M[Q]=B[Q]}}M.data=F;M.width=H;M.height=E;var P={};if(D&&typeof D===Az){for(var L in D){P[L]=D[L]}}if(K&&typeof K===Az){for(var N in K){if(typeof P.flashvars!=Aq){P.flashvars+="&"+N+"="+K[N]}else{P.flashvars=N+"="+K[N]}}}if(As(J)){var O=AC(M,P,G);if(M.id==G){AE(G,true)}I.success=true;I.ref=O}else{if(C&&An()){M.data=C;X(M,P,G,A);return}else{AE(G,true)}}if(A){A(I)}})}else{if(A){A(I)}}},switchOffAutoHideShow:function(){AK=false},ua:Ak,getFlashPlayerVersion:function(){return{major:Ak.pv[0],minor:Ak.pv[1],release:Ak.pv[2]}},hasFlashPlayerVersion:As,createSWF:function(C,B,A){if(Ak.w3){return AC(C,B,A)}else{return undefined}},showExpressInstall:function(D,A,B,C){if(Ak.w3&&An()){X(D,A,B,C)}},removeSWF:function(A){if(Ak.w3){Av(A)}},createCSS:function(A,D,C,B){if(Ak.w3){AD(A,D,C,B)}},addDomLoadEvent:Ai,addLoadEvent:AA,getQueryParamValue:function(A){var D=AH.location.search||AH.location.hash;if(D){if(/\?/.test(D)){D=D.split("?")[1]}if(A==null){return Aj(D)}var C=D.split("&");for(var B=0;B<C.length;B++){if(C[B].substring(0,C[B].indexOf("="))==A){return Aj(C[B].substring((C[B].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(AN){var A=AP(Z);if(A&&AJ){A.parentNode.replaceChild(AJ,A);if(Y){AE(Y,true);if(Ak.ie&&Ak.win){AJ.style.display="block"}}if(Ar){Ar(Ao)}}AN=false}}}}();(function(AH){function Au(B,C){C=C==="x"?AE.width():AE.height();return typeof B==="string"?Math.round(B.match(/%/)?C/100*parseInt(B,10):parseInt(B,10)):B}function Ah(B){B=AH.isFunction(B)?B.call(AA):B;return AG.photo||B.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function G(){for(var B in AG){if(AH.isFunction(AG[B])&&B.substring(0,2)!=="on"){AG[B]=AG[B].call(AA)}}AG.rel=AG.rel||AA.rel;AG.href=AG.href||AA.href;AG.title=AG.title||AA.title}function L(B){AA=B;AG=AH(AA).data(At);G();if(AG.rel&&AG.rel!=="nofollow"){AJ=AH(".cboxElement").filter(function(){return(AH(this).data(At).rel||this.rel)===AG.rel});AK=AJ.index(AA);if(AK<0){AJ=AJ.add(AA);AK=AJ.length-1}}else{AJ=AH(AA);AK=0}if(!Ak){Al=Ak=AF;Ai=AA;Ai.blur();AH(document).bind("keydown.cbox_close",function(C){if(C.keyCode===27){C.preventDefault();AI.close()}}).bind("keydown.cbox_arrows",function(C){if(AJ.length>1){if(C.keyCode===37){C.preventDefault();Am.click()}else{if(C.keyCode===39){C.preventDefault();An.click()}}}});AG.overlayClose&&Av.css({cursor:"pointer"}).one("click",AI.close);AH.event.trigger(AB);AG.onOpen&&AG.onOpen.call(AA);Av.css({opacity:AG.opacity}).show();AG.w=Au(AG.initialWidth,"x");AG.h=Au(AG.initialHeight,"y");AI.position(0);Aj&&AE.bind("resize.cboxie6 scroll.cboxie6",function(){Av.css({width:AE.width(),height:AE.height(),top:AE.scrollTop(),left:AE.scrollLeft()})}).trigger("scroll.cboxie6")}b.add(Am).add(An).add(Aw).add(d).hide();f.html(AG.close).show();AI.slideshow();AI.load()}var At="colorbox",Ao="hover",AF=true,AI,Ap=!AH.support.opacity,Aj=Ap&&!window.XMLHttpRequest,AB="cbox_open",Ad="cbox_load",h="cbox_complete",o="resize.cbox_resize",Av,AC,Ax,As,Aa,Ab,Ac,A,AJ,AE,AD,Ae,Af,Ag,d,b,Aw,An,Am,f,Aq,Ar,Ay,Az,AA,Ai,AK,AG,Ak,Al,AL={transition:"elastic",speed:350,width:false,height:false,innerWidth:false,innerHeight:false,initialWidth:"400",initialHeight:"400",maxWidth:false,maxHeight:false,scalePhotos:AF,scrolling:AF,inline:false,html:false,iframe:false,photo:false,href:false,title:false,rel:false,opacity:0.9,preloading:AF,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:false,overlayClose:AF,slideshow:false,slideshowAuto:AF,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:false,onLoad:false,onComplete:false,onCleanup:false,onClosed:false};AI=AH.fn.colorbox=function(B,D){var C=this;if(!C.length){if(C.selector===""){C=AH("<a/>");B.open=AF}else{return this}}C.each(function(){var E=AH.extend({},AH(this).data(At)?AH(this).data(At):AL,B);AH(this).data(At,E).addClass("cboxElement");if(D){AH(this).data(At).onComplete=D}});B&&B.open&&L(C);return this};AI.init=function(){function B(C){return AH('<div id="cbox'+C+'"/>')}AE=AH(window);AC=AH('<div id="colorbox"/>');Av=B("Overlay").hide();Ax=B("Wrapper");As=B("Content").append(AD=B("LoadedContent").css({width:0,height:0}),Af=B("LoadingOverlay"),Ag=B("LoadingGraphic"),d=B("Title"),b=B("Current"),Aw=B("Slideshow"),An=B("Next"),Am=B("Previous"),f=B("Close"));Ax.append(AH("<div/>").append(B("TopLeft"),Aa=B("TopCenter"),B("TopRight")),AH("<div/>").append(Ab=B("MiddleLeft"),As,Ac=B("MiddleRight")),AH("<div/>").append(B("BottomLeft"),A=B("BottomCenter"),B("BottomRight"))).children().children().css({"float":"left"});Ae=AH("<div style='position:absolute; top:0; left:0; width:9999px; height:0;'/>");AH("body").prepend(Av,AC.append(Ax,Ae));if(Ap){AC.addClass("cboxIE");Aj&&Av.css("position","absolute")}As.children().bind("mouseover mouseout",function(){AH(this).toggleClass(Ao)}).addClass(Ao);Aq=Aa.height()+A.height()+As.outerHeight(AF)-As.height();Ar=Ab.width()+Ac.width()+As.outerWidth(AF)-As.width();Ay=AD.outerHeight(AF);Az=AD.outerWidth(AF);AC.css({"padding-bottom":Aq,"padding-right":Ar}).hide();An.click(AI.next);Am.click(AI.prev);f.click(AI.close);As.children().removeClass(Ao);AH(".cboxElement").live("click",function(C){if(C.button!==0&&typeof C.button!=="undefined"){return AF}else{L(this);return false}})};AI.position=function(C,E){function D(H){Aa[0].style.width=A[0].style.width=As[0].style.width=H.style.width;Ag[0].style.height=Af[0].style.height=As[0].style.height=Ab[0].style.height=Ac[0].style.height=H.style.height}var F=AE.height();F=Math.max(F-AG.h-Ay-Aq,0)/2+AE.scrollTop();var B=Math.max(document.documentElement.clientWidth-AG.w-Az-Ar,0)/2+AE.scrollLeft();C=AC.width()===AG.w+Az&&AC.height()===AG.h+Ay?0:C;Ax[0].style.width=Ax[0].style.height="9999px";AC.dequeue().animate({width:AG.w+Az,height:AG.h+Ay,top:F,left:B},{duration:C,complete:function(){D(this);Al=false;Ax[0].style.width=AG.w+Az+Ar+"px";Ax[0].style.height=AG.h+Ay+Aq+"px";E&&E()},step:function(){D(this)}})};AI.resize=function(E){function H(){AG.w=AG.w||AD.width();AG.w=AG.mw&&AG.mw<AG.w?AG.mw:AG.w;return AG.w}function F(){AG.h=AG.h||AD.height();AG.h=AG.mh&&AG.mh<AG.h?AG.mh:AG.h;return AG.h}function I(J){AI.position(J,function(){if(Ak){if(Ap){C&&AD.fadeIn(100);AC[0].style.removeAttribute("filter")}if(AG.iframe){AD.append("<iframe id='cboxIframe'"+(AG.scrolling?" ":"scrolling='no'")+" name='iframe_"+(new Date).getTime()+"' frameborder=0 src='"+AG.href+"' "+(Ap?"allowtransparency='true'":"")+" />")}AD.show();d.show().html(AG.title);if(AJ.length>1){b.html(AG.current.replace(/\{current\}/,AK+1).replace(/\{total\}/,AJ.length)).show();An.html(AG.next).show();Am.html(AG.previous).show();AG.slideshow&&Aw.show()}Af.hide();Ag.hide();AH.event.trigger(h);AG.onComplete&&AG.onComplete.call(AA);AG.transition==="fade"&&AC.fadeTo(B,1,function(){Ap&&AC[0].style.removeAttribute("filter")});AE.bind(o,function(){AI.position(0)})}})}if(Ak){var D,C,B=AG.transition==="none"?0:AG.speed;AE.unbind(o);if(E){AD.remove();AD=AH('<div id="cboxLoadedContent"/>').html(E);AD.hide().appendTo(Ae).css({width:H(),overflow:AG.scrolling?"auto":"hidden"}).css({height:F()}).prependTo(As);AH("#cboxPhoto").css({cssFloat:"none"});Aj&&AH("select:not(#colorbox select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("cbox_cleanup",function(){this.style.visibility="inherit"});AG.transition==="fade"&&AC.fadeTo(B,0,function(){I(0)})||I(B);if(AG.preloading&&AJ.length>1){E=AK>0?AJ[AK-1]:AJ[AJ.length-1];D=AK<AJ.length-1?AJ[AK+1]:AJ[0];D=AH(D).data(At).href||D.href;E=AH(E).data(At).href||E.href;Ah(D)&&AH("<img />").attr("src",D);Ah(E)&&AH("<img />").attr("src",E)}}else{setTimeout(function(){var J=AD.wrapInner("<div style='overflow:auto'></div>").children();AG.h=J.height();AD.css({height:AG.h});J.replaceWith(J.children());AI.position(B)},1)}}};AI.load=function(){var B,D,C,E=AI.resize;Al=AF;AA=AJ[AK];AG=AH(AA).data(At);G();AH.event.trigger(Ad);AG.onLoad&&AG.onLoad.call(AA);AG.h=AG.height?Au(AG.height,"y")-Ay-Aq:AG.innerHeight?Au(AG.innerHeight,"y"):false;AG.w=AG.width?Au(AG.width,"x")-Az-Ar:AG.innerWidth?Au(AG.innerWidth,"x"):false;AG.mw=AG.w;AG.mh=AG.h;if(AG.maxWidth){AG.mw=Au(AG.maxWidth,"x")-Az-Ar;AG.mw=AG.w&&AG.w<AG.mw?AG.w:AG.mw}if(AG.maxHeight){AG.mh=Au(AG.maxHeight,"y")-Ay-Aq;AG.mh=AG.h&&AG.h<AG.mh?AG.h:AG.mh}B=AG.href;Af.show();Ag.show();if(AG.inline){AH('<div id="cboxInlineTemp" />').hide().insertBefore(AH(B)[0]).bind(Ad+" cbox_cleanup",function(){AH(this).replaceWith(AD.children())});E(AH(B))}else{if(AG.iframe){E(" ")}else{if(AG.html){E(AG.html)}else{if(Ah(B)){D=new Image;D.onload=function(){var F;D.onload=null;D.id="cboxPhoto";AH(D).css({margin:"auto",border:"none",display:"block",cssFloat:"left"});if(AG.scalePhotos){C=function(){D.height-=D.height*F;D.width-=D.width*F};if(AG.mw&&D.width>AG.mw){F=(D.width-AG.mw)/D.width;C()}if(AG.mh&&D.height>AG.mh){F=(D.height-AG.mh)/D.height;C()}}if(AG.h){D.style.marginTop=Math.max(AG.h-D.height,0)/2+"px"}E(D);AJ.length>1&&AH(D).css({cursor:"pointer"}).click(AI.next);if(Ap){D.style.msInterpolationMode="bicubic"}};D.src=B}else{AH("<div />").appendTo(Ae).load(B,function(F,H){H==="success"?E(this):E(AH("<p>Request unsuccessful.</p>"))})}}}}};AI.next=function(){if(!Al){AK=AK<AJ.length-1?AK+1:0;AI.load()}};AI.prev=function(){if(!Al){AK=AK>0?AK-1:AJ.length-1;AI.load()}};AI.slideshow=function(){function B(){Aw.text(AG.slideshowStop).bind(h,function(){C=setTimeout(AI.next,AG.slideshowSpeed)}).bind(Ad,function(){clearTimeout(C)}).one("click",function(){D();AH(this).removeClass(Ao)});AC.removeClass(E+"off").addClass(E+"on")}var D,C,E="cboxSlideshow_";Aw.bind("cbox_closed",function(){Aw.unbind();clearTimeout(C);AC.removeClass(E+"off "+E+"on")});D=function(){clearTimeout(C);Aw.text(AG.slideshowStart).unbind(h+" "+Ad).one("click",function(){B();C=setTimeout(AI.next,AG.slideshowSpeed);AH(this).removeClass(Ao)});AC.removeClass(E+"on").addClass(E+"off")};if(AG.slideshow&&AJ.length>1){AG.slideshowAuto?B():D()}};AI.close=function(){AH.event.trigger("cbox_cleanup");AG.onCleanup&&AG.onCleanup.call(AA);Ak=false;AH(document).unbind("keydown.cbox_close keydown.cbox_arrows");AE.unbind(o+" resize.cboxie6 scroll.cboxie6");Av.css({cursor:"auto"}).fadeOut("fast");AC.stop(AF,false).fadeOut("fast",function(){AH("#colorbox iframe").attr("src","about:blank");AD.remove();AC.css({opacity:1});try{Ai.focus()}catch(B){}AH.event.trigger("cbox_closed");AG.onClosed&&AG.onClosed.call(AA)})};AI.element=function(){return AH(AA)};AI.settings=AL;AH(AI.init)})(jQuery);function checkColumnHeights(){var A=$("#cleft");var E=$("#cright");if(A.length>0&&E.length>0){var C=A.height();var D=E.height();var F;var B;if(C>D){F="dnn_ContentPane";B=C}$modules=$("#"+F+" > div");setSameHeight($modules,B)}}function setSameHeight(A,F){var C=0;var E=A.filter(":last");if(A.length>1){A=A.filter(":lt("+(A.length-1)+")");A.each(function(){C=C+parseInt($(this).outerHeight(true));if($.browser.msie&&$.browser.version=="8.0"){C=C}})}var B=returnNumber(E.css("padding-top"))+returnNumber(E.css("padding-bottom"))+returnNumber(E.css("margin-top"))+returnNumber(E.css("margin-bottom"));var D=F-C-B;if(!isNaN(D)){E.height(D)}}function openWebsite(B){if(B.selectedIndex>0){var A=B.options[B.selectedIndex].value;if(A.substring(0,7)!="http://"){A="http://"+A}window.open(A)}}function returnNumber(B){var A=parseInt(B);if(isNaN(A)){A=parseInt(0)}return A}function goTo(A){window.location=A}function NewWindow(C,B,A,D){if(D==0){window.open(C,"Struik","toolbar=no, location=no, scrollbars=yes, status=no, menubar=no, width="+B+", height="+A+", top=30, left=30")}else{window.open(C,"Struik","toolbar=yes, location=yes, scrollbars=yes, status=yes, menubar=yes, resizable, yes, width="+B+", height="+A+", top=0, left=0")}}Cufon.replace("h1, h2, h3, #menu a.topLevelItems, .itemLN, .SansiSoft, #productNavigation a, #productSubNavigation a, #backTo",{fontFamily:"SansaSoft"});jQuery(window).load(checkColumnHeights);function theRotator(){$("div.rotator ul li").css({opacity:0});$("div.rotator ul li:first").css({opacity:1});setInterval("rotate()",6000)}function rotate(){var A=($("div.rotator ul li.show")?$("div.rotator ul li.show"):$("div.rotator ul li:first"));if(A.length==0){A=$("div.rotator ul li:first")}var B=((A.next().length)?((A.next().hasClass("show"))?$("div.rotator ul li:first"):A.next()):$("div.rotator ul li:first"));B.css({opacity:0}).addClass("show").animate({opacity:1},1000);A.animate({opacity:0},1000).removeClass("show")}$(document).ready(function(){theRotator();$("div.rotator").fadeIn(1000);$("div.rotator ul li").fadeIn(1000);$("#page a.button").each(function(B){$(this).text($(this).text().split("(")[0])});var A=$("#page a.selectedTrue");if(A.next().hasClass("langSeparator")){A.next().hide()}else{A.prev().hide()}$("div.languageSelector").show()});
