/*
 Portions taken from or inspired by (see http://e.invodo.com/js/invodo-uncompressed.js for full license information):
 --jQuery 1.3.2 http://jquery.com/, developed by John Resig; license: http://docs.jquery.com/License
 --Prototype 1.6.0.3 http://www.prototypejs.org/, developed by Sam Stephenson; license: See website.
 --SWFObject v2.2 http://code.google.com/p/swfobject/ developed by Geoff Stearns, Michael Williams, and Bobby van der Sluis, License: http://www.opensource.org/licenses/mit-license.php
 --Multifacited Lightbox http://www.gregphoto.net developy by Greg Neustaetter
 */
(function(C){var G="string",J="head",S="body",t="script",n="readyState",q="preloaddone",c="loadtrigger",j="srcuri",g="preload",T="complete",E="done",B="which",U="preserve",N="onreadystatechange",k="onload",h="hasOwnProperty",d="script/cache",F="[object ",l=F+"Function]",e=F+"Array]",X=null,f=true,Y=false,M=C.document,m=C.location,r=C.ActiveXObject,D=C.setTimeout,b=C.clearTimeout,s=function(u){return M.getElementsByTagName(u)},Q=Object.prototype.toString,R=function(){},V={},Z={},A=/^[^?#]*\//.exec(m.href)[0],W=/^\w+\:\/\/\/?[^\/]+/.exec(A)[0],p=s(t),O=C.opera&&Q.call(C.opera)==F+"Opera]",P=(function(u){u[u]=u+"";return u[u]!=u+""})(new String("__count__")),L={cache:!(P||O),order:P||O,xhr:f,dupe:f,base:"",which:J};L[U]=Y;L[g]=f;V[J]=s(J);V[S]=s(S);function o(u){return Q.call(u)===l}function a(x,w){var v=/^\w+\:\/\//,u;if(typeof x!==G){x=""}if(typeof w!==G){w=""}u=(v.test(x)?"":w)+x;return((v.test(u)?"":(u.charAt(0)==="/"?W:A))+u)}function i(u){return(a(u).indexOf(W)===0)}function H(w){var v,u=-1;while(v=p[++u]){if(typeof v.src===G&&w===a(v.src)&&v.type!==d){return f}}return Y}function K(AX,AM){AX=!(!AX);if(AM==X){AM=L}var AL=Y,AF=AX&&AM[g],AS=AF&&AM.cache,AU=AF&&AM.order,y=AF&&AM.xhr,AV=AM[U],x=AM.which,AP=AM.base,z=R,AO=Y,AI,AC=f,AD={},AT=[],AG=X;AF=AS||y||AU;function AW(AZ,AY){if((AZ[n]&&AZ[n]!==T&&AZ[n]!=="loaded")||AY[E]){return Y}AZ[k]=AZ[N]=X;return f}function w(Aa,AZ,Ab){Ab=!(!Ab);if(!Ab&&!(AW(Aa,AZ))){return }AZ[E]=f;for(var AY in AD){if(AD[h](AY)&&!(AD[AY][E])){return }}AL=f;z()}function AH(AY){if(o(AY[c])){AY[c]();AY[c]=X}}function AE(AZ,AY){if(!AW(AZ,AY)){return }AY[q]=f;D(function(){V[AY[B]].removeChild(AZ);AH(AY)},0)}function u(AZ,AY){if(AZ[n]===4){AZ[N]=R;AY[q]=f;D(function(){AH(AY)},0)}}function AR(Aa,Ad,Ab,Ae,Ac,AY){var AZ=Aa[B];D(function(){if("item" in V[AZ]){if(!V[AZ][0]){D(arguments.callee,25);return }V[AZ]=V[AZ][0]}var Af=M.createElement(t);Af.type=Ab;if(typeof Ae===G){Af.charset=Ae}if(o(Ac)){Af[k]=Af[N]=function(){Ac(Af,Aa)};Af.src=Ad}V[AZ].insertBefore(Af,(AZ===J?V[AZ].firstChild:X));if(typeof AY===G){Af.text=AY;w(Af,Aa,f)}},0)}function AK(AY,Aa,AZ,Ab){Z[AY[j]]=f;AR(AY,Aa,AZ,Ab,w)}function AQ(AZ,Ab,Aa,Ac){var AY=arguments;if(AC&&AZ[q]==X){AZ[q]=Y;AR(AZ,Ab,d,Ac,AE)}else{if(!AC&&AZ[q]!=X&&!AZ[q]){AZ[c]=function(){AQ.apply(X,AY)}}else{if(!AC){AK.apply(X,AY)}}}}function v(AZ,Ac,Aa,Ad){var AY=arguments,Ab;if(AC&&AZ[q]==X){AZ[q]=Y;Ab=AZ.xhr=(r?new r("Microsoft.XMLHTTP"):new C.XMLHttpRequest());Ab[N]=function(){u(Ab,AZ)};Ab.open("GET",Ac);Ab.send("")}else{if(!AC&&AZ[q]!=X&&!AZ[q]){AZ[c]=function(){v.apply(X,AY)}}else{if(!AC){Z[AZ[j]]=f;AR(AZ,Ac,Aa,Ad,X,AZ.xhr.responseText);AZ.xhr=X}}}}function AJ(Ae){if(Ae.allowDup==X){Ae.allowDup=AM.dupe}var Ad=Ae.src,Ab=Ae.type,Af=Ae.charset,AZ=Ae.allowDup,AY=a(Ad,AP),Aa,Ac=i(AY);if(typeof Ab!==G){Ab="text/javascript"}if(typeof Af!==G){Af=X}AZ=!(!AZ);if(!AZ&&((Z[AY]!=X)||(AC&&AD[AY])||H(AY))){if(AD[AY]!=X&&AD[AY][q]&&!AD[AY][E]&&Ac){w(X,AD[AY],f)}return }if(AD[AY]==X){AD[AY]={}}Aa=AD[AY];if(Aa[B]==X){Aa[B]=x}Aa[E]=Y;Aa[j]=AY;AO=f;if(!AU&&y&&Ac){v(Aa,AY,Ab,Af)}else{if(!AU&&AS){AQ(Aa,AY,Ab,Af)}else{AK(Aa,AY,Ab,Af)}}}function AB(AY){AT.push(AY)}function AA(AY){if(AX&&!AU){AB(AY)}if(!AX||AF){AY()}}function AN(Aa){var AZ=[],AY;for(AY=-1;++AY<Aa.length;){if(Q.call(Aa[AY])===e){AZ=AZ.concat(AN(Aa[AY]))}else{AZ[AZ.length]=Aa[AY]}}return AZ}AI={script:function(){b(AG);var Aa=AN(arguments),AZ=AI,AY;if(AV){for(AY=-1;++AY<Aa.length;){if(AY===0){AA(function(){AJ((typeof Aa[0]===G)?{src:Aa[0]}:Aa[0])})}else{AZ=AZ.script(Aa[AY])}AZ=AZ.wait()}}else{AA(function(){for(AY=-1;++AY<Aa.length;){AJ((typeof Aa[AY]===G)?{src:Aa[AY]}:Aa[AY])}})}AG=D(function(){AC=Y},5);return AZ},wait:function(Ab){b(AG);AC=Y;if(!o(Ab)){Ab=R}var Ac=K(f,AM),AY=Ac.trigger,Aa=function(){try{Ab()}catch(Ad){}AY()};delete Ac.trigger;var AZ=function(){if(AO&&!AL){z=Aa}else{Aa()}};if(AX&&!AO){AB(AZ)}else{AA(AZ)}return Ac}};AI.block=AI.wait;if(AX){AI.trigger=function(){var AZ,AY=-1;while(AZ=AT[++AY]){AZ()}AT=[]}}return AI}function I(y){var u,w={},v={UseCachePreload:"cache",UseLocalXHR:"xhr",UsePreloading:g,AlwaysPreserveOrder:U,AllowDuplicates:"dupe"},x={AppendTo:B,BasePath:"base"};for(u in v){x[u]=v[u]}w.order=!(!L.order);for(u in x){if(x[h](u)&&L[x[u]]!=X){w[x[u]]=(y[u]!=X)?y[u]:L[x[u]]}}for(u in v){if(v[h](u)){w[v[u]]=!(!w[v[u]])}}if(!w[g]){w.cache=w.order=w.xhr=Y}w.which=(w.which===J||w.which===S)?w.which:J;return w}C.$LAB={setGlobalDefaults:function(u){L=I(u)},setOptions:function(u){return K(Y,I(u))},script:function(){return K().script.apply(X,arguments)},wait:function(){return K().wait.apply(X,arguments)}};C.$LAB.block=C.$LAB.wait;(function(w,u,v){if(M[n]==X&&M[w]){M[n]="loading";M[w](u,v=function(){M.removeEventListener(u,v,Y);M[n]=T},Y)}})("addEventListener","DOMContentLoaded")})(window);(function(){var BP=this,M=BP.jQuery,AS=false,BO=[],L,n,C,BJ=false,AW,Ar,H,BS=false,Ak=false,j=true,AN=false,A1=BP,v=document,Z=navigator,i,AB="http"+(v.location.protocol=="https:"?"s":"")+"://e.invodo.com",D="/2.1/fl/player.swf",Ah="/2.1/fl/expressInstall.swf",I=/^(http[s]?):\/\/([^\/]+)(\/[^?\s]*)*[?]?([^#\s]*)[#]?(\S*)$/i,o=2,U=3,Au=4,Ag="affiliate",t="pod",BU="popupPlayerClassName",x="popupPlayerTargetName",u="popupAlwaysTakeFocus",AC="overlayPlayerClassName",W="overlayBackgroundId",AO="overlayId",X="overlayContentsId",O="overlayBackgroundZIndex",Ba="overlayZIndex",Ao="staticPlayerIDs",c="dynamicPlayerIDs",AZ="invodoPlayerWidth",Al="invodoPlayerHeight",BG="defaultInvodoPlayerWidth",AI="defaultInvodoPlayerHeight",Aw="additionalFlashVars",y="additionalFlashParams",BN="additionalAttributes",z="dynamicPlayerCallback",A7="requiredFlashVersion",r="embeddedBaseURL",Af="embeddedType",Y="invodoPlayerSWF",BQ="invodoPlayerURL",Aj="expressInstallSWF",q="expressInstallURL",BH="overlayBackgroundPNG",BX="overlayBackgroundURL",AD="blankImageGIF",AR="blankImageURL",Aa="closeImageGIF",Ai="closeImageURL",BE="href",A8="/2.1/i/overlay.png",Ae="/2.1/i/blank.gif",m="/2.1/i/close.gif",AU=false,k=false,Az="undefined",s="object",B="Shockwave Flash",g="ShockwaveFlash.ShockwaveFlash",K="application/x-shockwave-flash",AM="SWFObjectExprInst",BY="onreadystatechange",w=false,A5=[a],A6=[],Ad=[],Q=[],AL,BB,Aq,An,BW=false,As=false,Ap,AA,AP=true,Ac=function(){var Be=typeof v.getElementById!=Az&&typeof v.getElementsByTagName!=Az&&typeof v.createElement!=Az,Bl=Z.userAgent.toLowerCase(),Bc=Z.platform.toLowerCase(),Bi=Bc?/win/.test(Bc):/win/.test(Bl),Bg=Bc?/mac/.test(Bc):/mac/.test(Bl),Bj=/webkit/.test(Bl)?parseFloat(Bl.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,Bb=!+"\v1",Bk=[0,0,0],Bf=null;if(typeof Z.plugins!=Az&&typeof Z.plugins[B]==s){Bf=Z.plugins[B].description;if(Bf&&!(typeof Z.mimeTypes!=Az&&Z.mimeTypes[K]&&!Z.mimeTypes[K].enabledPlugin)){w=true;Bb=false;Bf=Bf.replace(/^.*\s+(\S+\s+\S+$)/,"$1");Bk[0]=parseInt(Bf.replace(/^(.*)\..*$/,"$1"),10);Bk[1]=parseInt(Bf.replace(/^.*\.(.*)\s.*$/,"$1"),10);Bk[2]=/[a-zA-Z]/.test(Bf)?parseInt(Bf.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof A1.ActiveXObject!=Az){try{var Bh=new ActiveXObject(g);if(Bh){Bf=Bh.GetVariable("$version");if(Bf){Bb=true;Bf=Bf.split(" ")[1].split(",");Bk=[parseInt(Bf[0],10),parseInt(Bf[1],10),parseInt(Bf[2],10)]}}}catch(Bd){}}}return{w3:Be,pv:Bk,wk:Bj,ie:Bb,win:Bi,mac:Bg,u:Bl}}(),f=function(){if(!Ac.w3){return }if((typeof v.readyState!=Az&&v.readyState=="complete")||(typeof v.readyState==Az&&(BM("body")[0]||v.body))){P()}if(!BW){if(typeof v.addEventListener!=Az){v.addEventListener("DOMContentLoaded",P,false)}if(Ac.ie&&Ac.win){v.attachEvent(BY,function(){if(v.readyState=="complete"){v.detachEvent(BY,arguments.callee);P()}});if(A1==top){(function(){if(BW){return }try{v.documentElement.doScroll("left")}catch(Bb){setTimeout(arguments.callee,0);return }P()})()}}if(Ac.wk){(function(){if(BW){return }if(!/loaded|complete/.test(v.readyState)){setTimeout(arguments.callee,0);return }P()})()}BD(P)}}();(function(){function Bc(Bi,Be){if(typeof Be!=="string"||typeof Bi!=="string"||Be.length<1||Bi.length<1){return false}var Bg=[Bi.split(/\./),Be.split(/\./)];var Bd=[];for(var Bh=0;Bh<2;Bh++){Bd[Bh]=[];if(Bg[Bh].length<1){return false}for(var Bf=0;Bf<Bg[Bh].length;Bf++){Bd[Bh][Bf]=(typeof Bg[Bh][Bf]==="string"&&Bg[Bh][Bf].length>0&&!(Bg[Bh][Bf].match(/[^\d]/)))?parseInt(Bg[Bh][Bf],10):0}}for(var Bf=0;Bf<Math.min(Bd[0].length,Bd[1].length);Bf++){if(Bd[0][Bf]<Bd[1][Bf]){return false}else{if(Bd[0][Bf]>Bd[1][Bf]){return true}}}if(Bd[1].length>Bd[0].length){return false}return true}if(M&&M.fn&&M.fn.jquery&&Bc(M.fn.jquery,"1.3.2")){var Bb=M("script").filter(function(){return(this.src.match(/^(.*\/)?jquery[^\/]*\.js/i))}).get(0);if(Bb&&Bb.src){M=null;AS=true;$LAB.script(Bb.src).wait(function(){AS=false;M=BP.jQuery.noConflict(true);M(document).ready(BZ)})}else{M=null}}else{M=null}})();var AT=A1.Invodo=function(Bb){return new Invodo.fn.init(Bb)};var Ab=AT.defaults={};Ab[Ag]=null;Ab[BU]="InvodoPL";Ab[x]="InvodoPlayer";Ab[u]=true;Ab[AC]="InvodoOverlayPL";Ab[W]="InvodoOverlayBackground";Ab[AO]="InvodoOverlay";Ab[X]="InvodoOverlayContents";Ab[O]=2000;Ab[Ba]=2000;Ab[Ao]=["InvodoVideoPlayer"];Ab[c]=["InvodoVideoPlayer"];Ab[AZ]=i;Ab[Al]=i;Ab[BG]=480;Ab[AI]=270;Ab[Aw]={};Ab[y]={};Ab[BN]={};Ab[z]=i;Ab[A7]="9.0.115";AT.fn=AT.prototype={init:function(Bb){Invodo._=this;Bb=Bb||{};A3(AT.defaults,Bb);if(Bb[r]){AB=Bb[r];Bb[Aw]=Bb[Aw]||{};Bb[Aw][r]=Bb[Aw][r]||AB}Bb[BQ]=Bb[BQ]||(AB+(Bb[Y]||D));Bb[q]=Bb[q]||(AB+(Bb[Aj]||Ah));Bb[BX]=Bb[BX]||(AB+(Bb[BH]||A8));Bb[AR]=Bb[AR]||(AB+(Bb[AD]||Ae));Bb[Ai]=Bb[Ai]||(AB+(Bb[Aa]||m));this.options=Bb;return this},auto:function(){if(Ac.w3){if(this instanceof A1.Invodo){var Bb=this;S(function(){Bb.registerInvodoPlayerObjects.call(Bb)},true);S(function(){Bb.embedInvodoPlayers.call(Bb);Bb.attachOnClickHandler.call(Bb)})}}return this},registerInvodoPlayerObjects:function(Bd,Bb){j=false;if(Ac.w3){Bb=Bb||this.options;if(Bd&&BV(Bd)){Bd=[Bd]}Bd=Bd&&E(Bd)?Bd:Bb[Ao];var Bg=false;if(!E(Bd)||Bd.length==0){return }for(var Bc=0;Bc<Bd.length;Bc++){var Bf=Bd[Bc];var Be=BL(Bf);if(Be){BS=true;if(!L){L=Bf}if(!Ar){C="anchor_"+L;Ar="<a name='"+C+"'></a>"}AY(Bf,Bb[A7],Bb[q]);BZ();Bg=true}}if(Bg&&k){a()}}},embedInvodoPlayers:function(Bf,Bc){j=false;if(!Ac.w3){return }Bc=Bc||this.options;if(Bf&&BV(Bf)){Bf=[Bf]}Bf=Bf&&E(Bf)?Bf:Bc[c];for(var Be=0;Be<Bf.length;Be++){var Bh=Bf[Be];var Bg=At(Bh);if(!Bg){return }var Bb=T("a",this.options[BU],Bg);if(Bb&&Bb.length>0){Bc[BE]=Bb[0];BS=true}var Bd=T("span",this.options[BU],Bg);if(Bd&&Bd.length>0){BS=true;BK(Bd[0],Bc)}if(BS){if(!L){L=Bh}if(!Ar){C="anchor_"+L;Ar='<a name="'+C+'"></a>'}Bc[AZ]=Bc[AZ]||Bg.offsetWidth||Bc[BG];Bc[Al]=Bc[Al]||Bg.offsetHeight||Bc[AI];A9(Bh,Bc);BZ()}}},getInvodoPlayer:function(Bb){if(Ac.w3){return BL(Bb)}},removeInvodoPlayer:function(Bb){if(Ac.w3){BF(Bb)}},popup:function(Bf){if(Ac.w3){var Be=BC(Bf,this.options);var Bd=Be[BE];var Bc=BT(Bd);if(!Bc&&Be[Ag]){Bd=AJ(Bd,Be[Ag])}var Bb=A1.open(Bd,Be[x],"menubar=0,location=0,resizable=0,width=770,height=360");if(Be[u]&&G()){Bb.focus()}return AK(Bf)}},showOverlay:function(Be){if(Ac.w3){var Bd=BC(Be,this.options);Bd[AZ]=Bd[AZ]||Bd[BG];Bd[Al]=Bd[Al]||Bd[AI];var Bc=Bd[BE];var Bb=Am("div");Bb.id="InvodoOverlayPlayer"+new Date().getTime();Bb.style.width=Bd[AZ]+"px";Bb.style.height=Bd[Al]+"px";var Bf=At(Bd[X]);Bf.appendChild(Bb);Bd[Aw][Af]="OVP";A9(Bb.id,Bd);Bf.style.width=Bd[AZ]+"px";Bf.style.height=Bd[Al]+"px";e(Bd);return AK(Be)}},findInvodoPlayerLinks:function(Bb){if(Ac.w3){return T("a",this.options[BU],Bb)}},findInvodoOverlayPlayerLinks:function(Bb){j=false;if(Ac.w3){var Bc=T("a",this.options[AC],Bb);if(Bc.length>0){Ak=true;n=Bc[0].href}return Bc}},attachOnClickHandler:function(){if(Ac.w3){function Bb(Bd,Bg){if(Bd==i||!Bd){return false}for(var Be=0;Be<Bd.length;Be++){var Bf=Bd[Be];var Bc=this;(function(Bh){d(Bh,"click",AE(Bc,function(){if(Bh.merch_cta!="yes"){Bg.apply(this,arguments)}}),true)})(Bf);if(!Bf.target&&this.options[x]){Bf.target=this.options[x]}}return true}Bb.call(this,this.findInvodoPlayerLinks(),this.popup);if(Bb.call(this,this.findInvodoOverlayPlayerLinks(),this.showOverlay)){AQ(this.options)}}},attachCTA:function(Bb,Bd){if(!Bb){return }Bd=Bd||false;if(!(M||AS)){AS=true;$LAB.script(BP.location.protocol+"//ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js").wait(function(){AS=false;M=jQuery.noConflict(true);M(document).ready(BZ)})}var Bc=this;var Be=function(){if(!j&&!Ak&&BS){if(!AW){AW=M("#"+L)}if(!AW||AW.length<1){AW=null;try{return }finally{throw new Error("Video Player not found.")}}}if(!H){H=M("<div></div>").css({"background-repeat":"no-repeat","background-attachment":"scroll",cursor:"pointer",position:"absolute",left:"0px",top:"0px",width:"100%",height:"100%"})}var Bl,Bk=[],Bg="Click to view video",Bf="playbutton_black_16px.png",Bj=false,Bi=function(){return true};M(Bb).each(function(){Bl=M(this);if(Bd){Bg=Bd.cta_Title||Bg;Bj=!(!Bd.cta_NoPlayer);Bi=Bd.cta_Callback||Bi;if(typeof Bd.cta_Overlay=="undefined"&&(Bd.cta_OverlayURL||Bd.cta_OverlayPosition)){Bd.cta_Overlay=true}if(Bd.cta_Overlay){Bf=Bd.cta_OverlayURL||Bf;cta_overlay_position="50% 50%";if(Bd.cta_OverlayPosition=="top-left"){cta_overlay_position="left top"}else{if(Bd.cta_OverlayPosition=="top-right"){cta_overlay_position="right top"}else{if(Bd.cta_OverlayPosition=="bottom-left"){cta_overlay_position="left bottom"}else{if(Bd.cta_OverlayPosition=="bottom-right"){cta_overlay_position="right bottom"}}}}if(Bl.is("a")){Bl.get(0).merch_cta="yes"}Bl.parents("a").each(function(){this.merch_cta="yes"});var Bo=Bl.attr("id"),Bn=Bl.attr("class"),Br=M("<div></div>"),Bp=Bl.clone(true),Bq=H.clone(true),Bm=M("<div></div>");Br.css({position:"relative",width:"100%",height:"100%"});Bp.css({position:"absolute",left:"0px",top:"0px",display:"block",width:"100%",height:"100%",border:"none",padding:"0px",margin:"0px"});Bm.addClass(Bn).attr("id",Bo).css({"background-image":""});Bq.css({"background-position":cta_overlay_position,"background-image":"url("+AH(Bf,"/i/mer/")+")"});Br.append(Bp);Br.append(Bq);Bm.append(Br);(function(Bs,Bu,Bt){Bk[Bk.length]=function(){Bu.removeClass().attr("id","");Bs.replaceWith(Bt)}})(Bl,Bp,Bm);Bl=Bm}}Bl.css({cursor:"pointer"}).attr("title",Bg).click(function(Bs){var Bu;try{if(Bi.call(this,Bs)!==false){if(!j){if(Ak){Bc.showOverlay(n)}else{if(BS){if(C){BP.location.href=BP.location.toString().replace(/#.*$/,"")+"#"+C}else{throw new Error("Video Player anchor not found.")}AW=M("#"+L);if(AW.length>0){(function(){try{AW.get(0).sendEvent("PLAY","true")}catch(Bv){setTimeout(arguments.callee,250)}})()}else{AW=null;throw new Error("Video Player not found.")}}}}}}catch(Bt){Bu=Bt}try{Bs.preventDefault();return false}finally{if(Bu){throw Bu}}})});for(var Bh=0;Bh<Bk.length;Bh++){Bk[Bh]()}Bk=[]};if(!AN){BO[BO.length]=function(){Be.call(Bc)}}else{Be()}},toString:function(){var Bb="Invodo: ";for(var Bc in this.options){Bb+="\n\t"+Bc+"="+this.options[Bc]}return Bb},expressInstallCallback:function(){if(As){var Bb=At(AM);if(Bb&&AL){Bb.parentNode.replaceChild(AL,Bb);if(BB){A2(BB,true);if(Ac.ie&&Ac.win){AL.style.display="block"}}if(Aq){Aq(An)}}As=false}}};Invodo.fn.init.prototype=Invodo.fn;function AH(Be,Bd){var Bc=/^\w+\:\/\//,Bb;if(typeof Be!=="string"){Be=""}if(typeof Bd!=="string"){Bd=""}Bb=(Bc.test(Be)?"":Bd)+Be;return((Bc.test(Bb)?"":AB)+Bb)}function BZ(){if(!((typeof M!="undefined")&&M&&!AS&&(typeof M.isReady!="undefined")&&M.isReady&&(Ak||BS||j))){return }if(!AN){AN=true;for(var Bc=0,Bb=BO.length;Bc<Bb;Bc++){BO[Bc].call(this)}BO=[]}}function A9(Bc,Bm){var Bd={};var Bj=Bm[BE]?I.exec(Bm[BE]):null;if(Bj&&Bj.length>=U){Bd.affiliate=BT(Bm[BE]);var Bl=Bj[U];var Bb=/.*\/p\/([A-Za-z0-9]+)/.exec(Bl);if(Bb!=null&&Bb.length==2){Bd.pod=Bb[1];var Be=Bj[o];if(Be.slice(-10)!="invodo.com"){Bd.microsite=Be.indexOf("www.")==0?Be.substring(4):Be}}}if(!Bd.affiliate){Bd.affiliate=Bm[Ag]}if(!Bd.pod){Bd.pod=Bm[t]}if(Bm[Aw]){for(var Bk in Bm[Aw]){Bd[Bk]=encodeURIComponent(Bm[Aw][Bk])}}var Bf={quality:"high",bgcolor:"#ffffff",allowScriptAccess:"always",allowNetworking:"all",allowFullScreen:true,wmode:"transparent"};if(Bm[y]){for(var Bh in Bm[y]){Bf[Bh]=Bm[y][Bh]}}var Bg={id:Bc,name:Bc};if(Bm[BN]){for(var Bi in Bm[BN]){Bg[Bi]=Bm[BN][Bi]}}AV(Bm[BQ],Bc,Bm[AZ],Bm[Al],Bm[A7],Bm[q],Bd,Bf,Bg)}function BC(Bh,Bb){var Bd={};A3(Bb,Bd);if(BV(Bh)){Bd[BE]=Bh}else{var Bg=Bh||A1.event;var Bc=Bg.currentTarget;var Bf=Bg.currentTarget;if(!Bc&&!Bf){Bc=Bg.srcElement;for(var Be=0;Be<=5;Be=Be++){if(Bc!=null&&Bc.tagName=="A"){break}Bc=Bc.parentElement}}if(Bc!=null){Bd[BE]=Bc.href}if(!Bc&&!Bf){alert("Our apologies.  The video cannot be played at this time.  Please check again later.")}else{if(Bc){BK(Bc,Bd)}else{if(Bf){BK(Bc,Bd)}}}}return Bd}function BK(Bf,Bc){if(Bf.dataset!=i){A3(Bc,Bf.dataset)}else{for(var Be=0;Be<Bf.attributes.length;Be++){var Bg=Bf.attributes[Be];if(Bg.specified){var Bb=Bg.name;if(Bb.length>5&&Bb.substring(0,5)=="data-"){var Bd=Bb.substring(5);Bc[Bd]=Bf.getAttribute(Bb)}}}}}function T(Bf,Bg,Be){var Bb=BM(Bf,Be);var Bd=new Array();var Bh=new RegExp("(^|\\s)"+Bg+"($|\\s)");var Bi;for(var Bc=0;Bc<Bb.length;Bc++){Bi=Bb[Bc];if(Bh.test(Bi.className)){Bd.push(Bi)}}return Bd}function AK(Bc){var Bb=Bc||A1.event;if(!Bb){return false}if(Bb.stopped){return false}if(Ac.ie){Bb.returnValue=false;Bb.cancelBubble=true}else{if(!BV(Bb)){Bb.preventDefault();Bb.stopPropagation()}}Bb.stopped=true;return false}function BT(Be){var Bd=null;var Bc=I.exec(Be);if(Bc&&Bc[Au]){var Bh=Bc[Au];var Bb=Bh.split(/[&=]/);for(var Bg=0;Bg<(Bb.length+1);){var Bf=Bb[Bg++];var Bi=Bb[Bg++];if("a"==Bf&&Bi){Bd=Bi;break}}}return Bd}function AJ(Bc,Bb){return Bc+(Bc.indexOf("?")>=0?"&":"?")+"a="+encodeURIComponent(Bb)}function G(){var Bb;if(Ac.ie&&(Bb=new RegExp("Trident/([0-9]{1,}[.0-9]{0,})")).exec(Ac.u)!=null){return parseFloat(RegExp.$1)!=4}return false}function A4(){for(var Bc=0;Bc<arguments.length;Bc++){var Bb=At(arguments[Bc]);Bb.style.display=""}}function p(){for(var Bc=0;Bc<arguments.length;Bc++){var Bb=At(arguments[Bc]);Bb.style.display="none"}}function BI(Bc){if(BA(Bc,"display")!="none"){return{width:Bc.offsetWidth,height:Bc.offsetHeight}}var Bb=Bc.style;var Bf=Bb.visibility;var Bd=Bb.position;Bb.visibility="hidden";Bb.position="absolute";Bb.display="";var Bg=Bc.clientWidth;var Be=Bc.clientHeight;Bb.display="none";Bb.position=Bd;Bb.visibility=Bf;return{width:Bg,height:Be}}function BA(Bc,Bd){var Be=Bc.style[R(Bd)];if(!Be){if(v.defaultView&&v.defaultView.getComputedStyle){var Bb=v.defaultView.getComputedStyle(Bc,null);Be=Bb?Bb.getPropertyValue(Bd):null}else{if(Bc.currentStyle){Be=Bc.currentStyle[R(Bd)]}}}if(A1.opera&&["left","top","right","bottom"].include(Bd)){if(BA(Bc,"position")=="static"){Be="auto"}}return Be=="auto"?null:Be}function R(Bg){var Be=Bg.split("-");if(Be.length==1){return Be[0]}var Bc=Bg.indexOf("-")==0?Be[0].charAt(0).toUpperCase()+Be[0].substring(1):Be[0];for(var Bd=1,Bb=Be.length;Bd<Bb;Bd++){var Bf=Be[Bd];Bc+=Bf.charAt(0).toUpperCase()+Bf.substring(1)}return Bc}function AE(Bc,Bb){return function(Bd){return Bb.call(Bc,Bd)}}function A3(Bd,Bb){Bd=Bd||{};Bb=Bb||{};for(var Bc in Bd){Bb[Bc]=Bb[Bc]||Bd[Bc]}}function e(Bc){var Bb=J();At(Bc[W]).style.height=Bb[3]+"px";A4(Bc[W]);A0(Bc[AO],Bc,Bb);function Bd(Be){Be=Be||BP.event;if((Be.target&&Be.target.id==Bc[W])||Be.keyCode==27){return BR(Bc,Be)}return true}d(v,"click",Bd,true);d(v,"keydown",Bd,true);return false}function BR(Bc,Bf){var Bd=At(Bc[X]);for(var Be in Bd.childNodes){if(Be.id&&Be.id.substring(0,19)=="InvodoOverlayPlayer"){BF(Be.id);break}}if(As){As=false}Bd.innerHTML="";var Bb=At(Bc[AO]);Bb.style.width=null;Bb.style.height=null;p(Bc[AO]);p(Bc[W]);return AK(Bf)}function J(){var Bd,Bb;if(A1.innerHeight&&A1.scrollMaxY){Bd=v.body.scrollWidth;Bb=A1.innerHeight+A1.scrollMaxY}else{if(v.body.scrollHeight>v.body.offsetHeight){Bd=v.body.scrollWidth;Bb=v.body.scrollHeight}else{Bd=v.body.offsetWidth;Bb=v.body.offsetHeight}}var Bc,Be;if(A1.self.innerHeight){Bc=A1.self.innerWidth;Be=A1.self.innerHeight}else{if(v.documentElement&&v.documentElement.clientHeight){Bc=v.documentElement.clientWidth;Be=v.documentElement.clientHeight}else{if(v.body){Bc=v.body.clientWidth;Be=v.body.clientHeight}}}if(Bb<Be){pageHeight=Be}else{pageHeight=Bb}if(Bd<Bc){pageWidth=Bc}else{pageWidth=Bd}arrayPageSize=new Array(Bc,Be,pageWidth,pageHeight);return arrayPageSize}function A0(Bd,Bm,Bh){try{Bd=At(Bd)}catch(Be){return }var Bc=Bh[0];var Bl=Bh[1];Bd.style.position="absolute";Bd.style.zIndex=Bm[Ba];var Bi=0;if(v.documentElement&&v.documentElement.scrollTop){Bi=v.documentElement.scrollTop}else{if(v.body&&v.body.scrollTop){Bi=v.body.scrollTop}else{if(A1.pageYOffset){Bi=A1.pageYOffset}else{if(A1.scrollY){Bi=A1.scrollY}}}}var Bk=BI(Bd);var Bb=Bm[AZ]>Bk.width?Bm[AZ]:Bk.width;var Bj=Bm[Al]>Bk.height?Bm[Al]:Bk.height;var Bg=(Bc-Bb)/2;var Bf=(Bl-Bj)/2+Bi;Bg=(Bg<0)?0:Bg;Bf=(Bf<0)?0:Bf;Bd.style.left=Bg+"px";Bd.style.top=Bf+"px";A4(Bd)}function AQ(Bd){if(!AU){AU=true;AX("#"+Bd[W],"background-image: url("+Bd[BX]+"); position: absolute; top: 0; left: 0; z-index: "+Bd[O]+"; width: 100%; height: 100%;");if(Ac.ie){AX("html #"+Bd[W],"background-color: #333; background-color: transparent; background-image: url("+Bd[AR]+'); filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src = "'+Bd[BX]+'", sizingMethod = "scale");')}AX("#"+Bd[AO],"background: #C2C2C2; margin: 0; padding: 0; border: 1px solid #4F4F4F; overflow: hidden; text-align: right;");AX("#"+Bd[AO]+" #close","position: absolute; top: 0; right: 0; margin: 0; padding: 0; cursor: pointer;");AX("#"+Bd[AO]+" #close img","position: absolute; top: 0; right: 0; margin: 0; padding: 0; cursor: pointer;");AX("#"+Bd[AO]+" #"+Bd[X],"margin: 17px 0 0; padding: 0;");var Bc=Am("div");Bc.setAttribute("id",Bd[W]);Bc.style.display="none";var Bf=Am("div");Bf.setAttribute("id",Bd[AO]);Bf.style.display="none";Bf.innerHTML='<img alt="Close" id="close" src="'+Bd[Ai]+'"/><div id="'+Bd[X]+'"></div>';var Bb=BM("body").item(0);Bb.appendChild(Bc);Bb.appendChild(Bf);var Be=BM("img",At(Bd[AO]))[0];d(Be,"click",function(Bg){return BR(Bd,Bg)},true)}}function P(){if(BW){return }try{var Bd=BM("body")[0].appendChild(Am("span"));Bd.parentNode.removeChild(Bd)}catch(Be){return }BW=true;var Bb=A5.length;for(var Bc=0;Bc<Bb;Bc++){A5[Bc]()}}function S(Bd,Bb){if(BW){Bd()}else{if(Bb){for(var Bc=A5.length;Bc>0;Bc--){A5[Bc]=A5[Bc-1]}A5[0]=Bd}else{A5[A5.length]=Bd}}}function BD(Bc){if(typeof A1.addEventListener!=Az){A1.addEventListener("load",Bc,false)}else{if(typeof v.addEventListener!=Az){v.addEventListener("load",Bc,false)}else{if(typeof A1.attachEvent!=Az){A(A1,"onload",Bc)}else{if(typeof A1.onload=="function"){var Bb=A1.onload;A1.onload=function(){Bb();Bc()}}else{A1.onload=Bc}}}}}function a(){k=true;if(w){F()}else{b()}}function F(){var Bb=BM("body")[0];var Be=Am(s);Be.setAttribute("type",K);var Bd=Bb.appendChild(Be);if(Bd){var Bc=0;(function(){try{if(typeof Bd.GetVariable!=Az){var Bg=Bd.GetVariable("$version");if(Bg){Bg=Bg.split(" ")[1].split(",");Ac.pv=[parseInt(Bg[0],10),parseInt(Bg[1],10),parseInt(Bg[2],10)]}}else{if(Bc<10){Bc++;setTimeout(arguments.callee,10);return }}}catch(Bf){}Bb.removeChild(Be);Bd=null;b()})()}else{b()}}function b(){var Bk=A6.length;if(Bk>0){for(var Bj=0;Bj<Bk;Bj++){var Bc=A6[Bj].id;var Bf=A6[Bj].callbackFn;var Be={success:false,id:Bc};if(Ac.pv[0]>0){var Bi=At(Bc);if(Bi){if(Av(A6[Bj].swfVersion)&&!(Ac.wk&&Ac.wk<312)){A2(Bc,true);if(Bf){Be.success=true;Be.ref=BL(Bc);Bf(Be)}}else{if(A6[Bj].expressInstall&&N()){var Bm={};Bm.data=A6[Bj].expressInstall;Bm.width=Bi.getAttribute("width")||"0";Bm.height=Bi.getAttribute("height")||"0";if(Bi.getAttribute("class")){Bm.styleclass=Bi.getAttribute("class")}if(Bi.getAttribute("align")){Bm.align=Bi.getAttribute("align")}var Bl={};var Bb=BM("param",Bi);var Bg=Bb.length;for(var Bh=0;Bh<Bg;Bh++){if(Bb[Bh].getAttribute("name").toLowerCase()!="movie"){Bl[Bb[Bh].getAttribute("name")]=Bb[Bh].getAttribute("value")}}l(Bm,Bl,Bc,Bf)}else{Ay(Bi);if(Bf){Bf(Be)}}}}}else{A2(Bc,true);if(Bf){var Bd=BL(Bc);if(Bd&&typeof Bd.SetVariable!=Az){Be.success=true;Be.ref=Bd}Bf(Be)}}}}}function BL(Be){var Bb=null;var Bc=At(Be);if(Bc&&Bc.nodeName=="OBJECT"){if(typeof Bc.SetVariable!=Az){Bb=Bc}else{var Bd=BM(s,Bc)[0];if(Bd){Bb=Bd}}}return Bb}function N(){return !As&&Av("6.0.65")&&(Ac.win||Ac.mac)&&!(Ac.wk&&Ac.wk<312)}function l(Be,Bf,Bb,Bd){As=true;Aq=Bd||null;An={success:false,id:Bb};var Bi=At(Bb);if(Bi){if(Bi.nodeName=="OBJECT"){AL=V(Bi);BB=null}else{AL=Bi;BB=Bb}Be.id=AM;if(typeof Be.width==Az||(!/%$/.test(Be.width)&&parseInt(Be.width,10)<310)){Be.width="310"}if(typeof Be.height==Az||(!/%$/.test(Be.height)&&parseInt(Be.height,10)<137)){Be.height="137"}v.title=v.title.slice(0,47)+" - Flash Player Installation";var Bh=Ac.ie&&Ac.win?"ActiveX":"PlugIn",Bg="MMredirectURL="+A1.location.toString().replace(/&/g,"%26")+"&MMplayerType="+Bh+"&MMdoctitle="+v.title;if(typeof Bf.flashvars!=Az){Bf.flashvars+="&"+Bg}else{Bf.flashvars=Bg}if(Ac.ie&&Ac.win&&Bi.readyState!=4){var Bc=Am("div");Bb+="SWFObjectNew";Bc.setAttribute("id",Bb);Bi.parentNode.insertBefore(Bc,Bi);Bi.style.display="none";(function(){if(Bi.readyState==4){Bi.parentNode.removeChild(Bi)}else{setTimeout(arguments.callee,10)}})()}AG(Be,Bf,Bb)}}function Ay(Bc){if(Ac.ie&&Ac.win&&Bc.readyState!=4){var Bb=Am("div");Bc.parentNode.insertBefore(Bb,Bc);Bb.parentNode.replaceChild(V(Bc),Bb);Bc.style.display="none";(function(){if(Bc.readyState==4){Bc.parentNode.removeChild(Bc)}else{setTimeout(arguments.callee,10)}})()}else{Bc.parentNode.replaceChild(V(Bc),Bc)}}function V(Bf){var Be=Am("div");if(Ac.win&&Ac.ie){Be.innerHTML=Bf.innerHTML}else{var Bc=BM(s,Bf)[0];if(Bc){var Bg=Bc.childNodes;if(Bg){var Bb=Bg.length;for(var Bd=0;Bd<Bb;Bd++){if(!(Bg[Bd].nodeType==1&&Bg[Bd].nodeName=="PARAM")&&!(Bg[Bd].nodeType==8)){Be.appendChild(Bg[Bd].cloneNode(true))}}}}}return Be}function AG(Bo,Bm,Bd){var Bc,Bf=At(Bd);var Bb="";if(!BJ&&Ar){BJ=true;Bb=Ar}if(Ac.wk&&Ac.wk<312){return Bc}if(Bf){if(typeof Bo.id==Az){Bo.id=Bd}if(Ac.ie&&Ac.win){var Bn="";for(var Bk in Bo){if(Bo[Bk]!=Object.prototype[Bk]){if(Bk.toLowerCase()=="data"){Bm.movie=Bo[Bk]}else{if(Bk.toLowerCase()=="styleclass"){Bn+=' class="'+Bo[Bk]+'"'}else{if(Bk.toLowerCase()!="classid"){Bn+=" "+Bk+'="'+Bo[Bk]+'"'}}}}}var Bl="";for(var Bj in Bm){if(Bm[Bj]!=Object.prototype[Bj]){Bl+='<param name="'+Bj+'" value="'+Bm[Bj]+'" />'}}Bf.outerHTML=Bb+'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+Bn+">"+Bl+"</object>";Ad[Ad.length]=Bo.id;Bc=At(Bo.id)}else{var Be=Am(s);Be.setAttribute("type",K);for(var Bh in Bo){if(Bo[Bh]!=Object.prototype[Bh]){if(Bh.toLowerCase()=="styleclass"){Be.setAttribute("class",Bo[Bh])}else{if(Bh.toLowerCase()!="classid"){Be.setAttribute(Bh,Bo[Bh])}}}}for(var Bg in Bm){if(Bm[Bg]!=Object.prototype[Bg]&&Bg.toLowerCase()!="movie"){h(Be,Bg,Bm[Bg])}}Bf.parentNode.replaceChild(Be,Bf);if(Bb!=""){var Bi=document.createElement("a");Bi.name=C;Be.parentNode.insertBefore(Bi,Be)}Bc=Be}}return Bc}function h(Bd,Bb,Bc){var Be=Am("param");Be.setAttribute("name",Bb);Be.setAttribute("value",Bc);Bd.appendChild(Be)}function BF(Bc){var Bb=At(Bc);if(Bb&&Bb.nodeName=="OBJECT"){if(Ac.ie&&Ac.win){Bb.style.display="none";(function(){if(Bb.readyState==4){AF(Bc)}else{setTimeout(arguments.callee,10)}})()}else{Bb.parentNode.removeChild(Bb)}}}function AF(Bd){var Bc=At(Bd);if(Bc){for(var Bb in Bc){if(typeof Bc[Bb]=="function"){Bc[Bb]=null}}Bc.parentNode.removeChild(Bc)}}function E(Bb){return Object.prototype.toString.call(Bb)==="[object Array]"}function BV(Bb){return Object.prototype.toString.call(Bb)==="[object String]"}function At(Bb){if(!BV(Bb)){return Bb}var Bc=null;try{Bc=v.getElementById(Bb)}catch(Bd){}return Bc}function BM(Bc,Bb){var Bd=null;try{Bb=Bb||v;Bd=Bb.getElementsByTagName(Bc)}catch(Be){}return Bd}function d(Be,Bc,Bd,Bb){if(Be.addEventListener){Be.addEventListener(Bc,Bd,Bb)}else{if(Be.attachEvent){Be.attachEvent("on"+Bc,Bd)}}}function Am(Bb){return v.createElement(Bb)}function A(Bd,Bb,Bc){Bd.attachEvent(Bb,Bc);Q[Q.length]=[Bd,Bb,Bc]}function Av(Bd){var Bc=Ac.pv,Bb=Bd.split(".");Bb[0]=parseInt(Bb[0],10);Bb[1]=parseInt(Bb[1],10)||0;Bb[2]=parseInt(Bb[2],10)||0;return(Bc[0]>Bb[0]||(Bc[0]==Bb[0]&&Bc[1]>Bb[1])||(Bc[0]==Bb[0]&&Bc[1]==Bb[1]&&Bc[2]>=Bb[2]))?true:false}function AX(Bg,Bc,Bh,Bf){if(Ac.ie&&Ac.mac){return }var Be=BM("head")[0];if(!Be){return }var Bb=(Bh&&BV(Bh))?Bh:"screen";if(Bf){Ap=null;AA=null}if(!Ap||AA!=Bb){var Bd=Am("style");Bd.setAttribute("type","text/css");Bd.setAttribute("media",Bb);Ap=Be.appendChild(Bd);if(Ac.ie&&Ac.win&&typeof v.styleSheets!=Az&&v.styleSheets.length>0){Ap=v.styleSheets[v.styleSheets.length-1]}AA=Bb}if(Ac.ie&&Ac.win){if(Ap&&typeof Ap.addRule==s){Ap.addRule(Bg,Bc)}}else{if(Ap&&typeof v.createTextNode!=Az){Ap.appendChild(v.createTextNode(Bg+" {"+Bc+"}"))}}}function A2(Bd,Bb){if(!AP){return }var Bc=Bb?"visible":"hidden";if(BW&&At(Bd)){At(Bd).style.visibility=Bc}else{AX("#"+Bd,"visibility:"+Bc)}}var Ax=function(){if(Ac.ie&&Ac.win){A1.attachEvent("onunload",function(){var Bg=Q.length;for(var Bf=0;Bf<Bg;Bf++){Q[Bf][0].detachEvent(Q[Bf][1],Q[Bf][2])}var Bd=Ad.length;for(var Be=0;Be<Bd;Be++){BF(Ad[Be])}for(var Bc in Ac){Ac[Bc]=null}Ac=null;for(var Bb in AT){AT[Bb]=null}AT=null})}}();function AY(Bf,Bb,Be,Bd){if(Ac.w3&&Bf&&Bb){var Bc={};Bc.id=Bf;Bc.swfVersion=Bb;Bc.expressInstall=Be;Bc.callbackFn=Bd;A6[A6.length]=Bc;A2(Bf,false)}else{if(Bd){Bd({success:false,id:Bf})}}}function AV(Bf,Bl,Bi,Bk,Bc,Be,Bd,Bh,Bj,Bg){var Bb={success:false,id:Bl};if(Ac.w3&&!(Ac.wk&&Ac.wk<312)&&Bf&&Bl&&Bi&&Bk&&Bc){A2(Bl,false);S(function(){Bi+="";Bk+="";var Bn={};if(Bj&&typeof Bj===s){for(var Bp in Bj){Bn[Bp]=Bj[Bp]}}Bn.data=Bf;Bn.width=Bi;Bn.height=Bk;var Bq={};if(Bh&&typeof Bh===s){for(var Bo in Bh){Bq[Bo]=Bh[Bo]}}if(Bd&&typeof Bd===s){for(var Bm in Bd){if(typeof Bq.flashvars!=Az){Bq.flashvars+="&"+Bm+"="+Bd[Bm]}else{Bq.flashvars=Bm+"="+Bd[Bm]}}}if(Av(Bc)){var Br=AG(Bn,Bq,Bl);if(Bn.id==Bl){A2(Bl,true)}Bb.success=true;Bb.ref=Br}else{if(Be&&N()){Bn.data=Be;l(Bn,Bq,Bl,Bg);return }else{A2(Bl,true)}}if(Bg){Bg(Bb)}},false)}else{if(Bg){Bg(Bb)}}}})();