(function(){var P=window,h=document,C,L=null,Q=true,l=false,F="undefined";function Y(){if(q){return q}C=h.body;if(C&&C.lastChild){q=Q;return q}else{return setTimeout(Y,0)}}Y();if(!P.cooliris){P.cooliris={}}var I=P.cooliris,m,k,v=0,s={},A=L,S=null,i,w,p,j,O,u,K,o,b="#000000",N="100%",V=false,X=[],q=false,E="http://apps.cooliris.com/embed/",x="http://i.cooliris.com/embed/",r="http://e.cooliris.com/embed/v/32400/cooliris.swf";if(h.location.protocol=="https:"){x=x.replace("http:","https:");r=r.replace("http:","https:")}function d(f){return f!=L&&typeof(f)!=F}function y(){if(!S){var ab=L,f="application/x-cooliris";if(typeof(PicLensContext)!=F){ab=new PicLensContext()}else{if(P.ActiveXObject){try{ab=new ActiveXObject("PicLens.Context")}catch(aa){ab=L}}else{if(navigator.mimeTypes[f]){ab=h.createElement("object");ab.style.width=0;ab.style.height=0;ab.type=f;h.documentElement.appendChild(ab)}}}S=ab}return d(S)}I.hasClient=y;I.launchClient=function(aa,f){if(y()){if(typeof(aa)==F&&typeof(cooliris.embed!=F)){aa=cooliris.embed.getFeedURLForClient()}setTimeout(function(){if(d(f)){S.launch(aa,"uid",f)}else{S.launch(aa,"","")}},5);return Q}return l};function c(f){return h.getElementById(f)}function D(f){if(!d(f)){return L}else{if(typeof(f)=="string"){return f}else{var aa="f_"+v++;s[aa]=f;return aa}}}function H(f){var ac=h.getElementsByTagName(f);var aa=ac.length;try{while(aa--){if(ac[aa].GID&&ac[aa].GID()=="CISWF"){X.push(ac[aa])}}}catch(ab){}}function G(){if(!V){H("object");H("embed");V=true}var aa,f;for(f=0;f<X.length;f++){aa=X[f];if(aa.IA&&aa.IA()){return aa}}return aa}function U(){if(A!==null){return}m=G().offsetLeft;k=G().offsetTop;A=G().parentNode;if(A.tagName=="OBJECT"){A=A.parentNode}}function J(aa,f){var ab=h.createElement("div");if(aa){if(f){aa.innerHTML=""}aa.appendChild(ab)}return ab}function B(f,aa){for(var ab in f){if(f.hasOwnProperty(ab)){aa[ab]=f[ab]+"px"}}}function g(ab,aa){var f=ab.style;f.position="fixed";f.backgroundColor=b;f.zIndex=10000;f.opacity="0.33";f.filter="alpha(opacity=33)";B(aa,f)}function R(f){g(i,{top:0,left:0,right:0,height:f});g(w,{bottom:0,left:0,right:0,height:f});g(p,{top:f,left:0,bottom:f,width:f});g(j,{top:f,bottom:f,right:0,width:f})}function Z(){C.removeChild(i);C.removeChild(w);C.removeChild(p);C.removeChild(j);C.removeChild(K);C.removeChild(O);i=w=p=j=K=O=swf=null}function e(){i.style.display=w.style.display=p.style.display=j.style.display=o.display=u.display="none";setTimeout(Z,100)}function n(){var aa=40;K=J(C);o=K.style;o.backgroundColor=b;o.position="fixed";o.border="8px solid #FBFBFC";o.zIndex=10001;o.left=o.right=o.top=o.bottom=aa+"px";i=J(C);w=J(C);p=J(C);j=J(C);R(aa);O=J(C);u=O.style;var ab=J(K),f=ab.style;u.background="url("+E+"images/close.png)";u.position="fixed";u.width=u.height="30px";u.zIndex=10002;u.right=u.top=(aa-15)+"px";i.onclick=w.onclick=p.onclick=j.onclick=O.onclick=e;ab.id="ci_swf_"+Math.floor(Math.random()*10000);f.backgroundColor=b;f.width=N;f.height=N;return ab.id}function T(f){if(!G()){return Q}var ab=0;if(!f){f=P.event}if(f.wheelDelta){ab=f.wheelDelta/120}else{if(f.detail){var aa=f.detail;if(Math.abs(aa)<3){ab=-aa}else{ab=-aa/3}}}if(ab){if(G().HMW(ab)){if(f.preventDefault){f.preventDefault()}f.returnValue=l;return l}}return Q}function z(af,ab,f,aa){var ae={allowscriptaccess:"always",allowfullscreen:"true",wmode:"opaque"};var ac=null;for(var ad in aa){if(ad.toLowerCase()=="backgroundcolor"){ac=aa[ad];if(ac.indexOf("0x")!=-1){ac=ac.replace("0x","#")}ae.bgColor=ac}}if(ac===null){ae.bgColor="#121212"}swfobject.embedSWF(r,af,ab,f,"9.0.0",E+"modules/swfobject/expressInstall.swf",aa,ae,null,t)}function t(f){if(f.success&&f.ref.style){f.ref.style.outline="none"}}function a(f){return(new Function("return "+f+";"))()}I.embed=I.embed||{};var M=I.embed;M.APIVersion="1.0";M.addCustomButton=function(aa,f){G().ACB(aa,f)};M.callFunction=function(f,ab,aa){if(s[f]!=L){s[f](ab,aa)}};M.createWall=function(ac){var ab,ah,aa="",af,ad;if(ac.type=="iframe"){af=c(ac.id);ab=ac.width||"700";ah=ac.height||"430";for(var ag in ac){if(ac.hasOwnProperty(ag)){aa+=ag+"="+encodeURIComponent(ac[ag])+"&"}}ad=h.createElement("iframe");ad.src=x+"?"+aa+"pageURL="+encodeURIComponent(P.top.location.href);ad.frameBorder=0;ad.style.border="none";ad.style.width=ab+"px";ad.style.height=ah+"px";af.appendChild(ad)}else{if(!ac.hasOwnProperty("id")){ac.id=n();ac.lightbox=true;ab=N;ah=N}else{ab=ac.width||"700";ah=ac.height||"430";var ae=c(ac.id);if(ae.style.width==""){if(ab.indexOf("%")==-1){ab+="px"}ae.style.width=ab}if(ae.style.height==""){if(ah.indexOf("%")==-1){ah+="px"}ae.style.height=ah}var f=J(ae,true);f.id=ac.id+"_swf";ac.id=f.id}z(ac.id,ab,ah,ac)}};M.deselectItem=function(){G().DI()};M.getEmbedCode=function(){return G().GEC()};M.getFeedURL=function(){return G().GFU()};M.getFeedURLForClient=function(){return G().GFUFC()};M.getItems=function(ae,ac,ag){if(ag){G().GI(ae,ac,D(ag))}else{var ad=G().GI(ae,ac,"");if(ad===null){return ad}if(typeof(ac)==F||ac.toLowerCase()=="json"){var af;if(typeof(ad)=="string"){return a(ad)}else{if(typeof(ad.length)==F){af={};for(var aa in ad){if(ad.hasOwnProperty(aa)){af[aa]=a(ad[aa])}}return af}else{var f=ad.length;af=[];for(var ab=0;ab<f;ab++){af.push(a(ad[ab]))}return af}}}else{return ad}}};M.getPartnerLogo=function(){return G().GPL()};M.getSelectedItem=function(){return a(G().GSI())};M.getSWF=function(){return G()};M.initMouseHandlers=function(){if(P.addEventListener){P.addEventListener("DOMMouseScroll",T,l)}else{if(h.attachEvent){h.attachEvent("onmousewheel",T)}}h.onmousewheel=T};M.mouseEvent=function(f){G().M(f)};M.init=function(){swf=L;if(A!=L){I.embed.overlay.hide();A=L}};M.selectItemNearby=function(f){G().SIN(f)};M.selectItemByIndex=function(f){G().SIBI(f)};M.selectItemByGUID=function(f){G().SIBG(f)};M.setCallbacks=function(f){G().SC(D(f.firstmousedown),D(f.mousedown),D(f.select),D(f.deselect),D(f.debug),D(f.linkout),D(f.stats),D(f.feedload),D(f.feederror))};M.setFeedContents=function(f){G().SFC(f)};M.setFeedURL=function(f){G().SFU(f)};M.setMessage=function(ab,f,ac,aa){if(!d(ab)){ab=""}if(!d(f)){f=18}if(!d(ac)){ac=50}if(!d(aa)){aa=50}G().SM(ab,f,ac,aa)};M.showSharing=function(f){G().SSH(f)};M.showSpinner=function(f){G().SS(f)};M.useCustomCursor=function(f){};I.embed.facebook=function(){return{callMethod:function(ac,f,ab,aa){G().fbCM(ac,f,D(ab),aa)},fqlQuery:function(f,ab,aa){G().fbFQ(f,D(ab),aa)},getFriendIDs:function(aa,f){G().fbGFI(D(aa),f)},getFriendsByName:function(aa,ac,f,ab){G().fbGFBN(aa,D(ac),f,ab)}}}();I.embed.overlay=function(){var aa,f;return{init:function(ad,ac,ae,ab){U();aa=h.createElement(ad);f=aa.style;f.position="absolute";f.textAlign="center";f.display="none";if(ae!==""){f.background=ae}if(ad=="iframe"){aa.frameBorder=0;aa.scrolling=ab;aa.src=ac}else{f.overflow="hidden";aa.innerHTML=ac}},show:function(ab,ai,ac,af,ag,ah,ad){var ae=G().width/ah;if(isNaN(ae)){ae=1}f.border=ag+"px solid #7C7C7C";f.left=(m+ab)*ae+"px";f.top=(k+ai)*ae+"px";f.width=(ac*ae)+"px";f.height=(af*ae)+"px";f.display="";if(aa.parentNode!=A){A.appendChild(aa)}},hide:function(){f.display="none";var ab=aa.parentNode;if(d(ab)){ab.removeChild(aa)}}}}();var W=cooliris.embed.onJSLoaded;if(W){W("wall")}})();
