var snaggit=3;var undefined;var YMAPPID="flickrMappr";if(!Function.prototype.call){Function.prototype.call=function(a,b){a.base=this;a.base(b)}}if(!Function.prototype.apply){Function.prototype.apply=function(oScope,args){var sarg=[];var rtrn,call;if(!oScope){oScope=window}if(!args){args=[]}for(var i=0;i<args.length;i++){sarg[i]="args["+i+"]"}call="oScope.__applyTemp__("+sarg.join(",")+");";oScope.__applyTemp__=this;rtrn=eval(call);oScope.__applyTemp__=null;return rtrn}}Date.prototype.customFormat=function(i){var n=((YYYY=this.getFullYear())+"").substr(2,2);var l=this.getMonth()+1;var u=(l)<10?"0"+l:l;var v=F.output.date_strs.monthsA[l-1];var c=F.output.date_strs.months_abbA[l-1];var t=this.getDate();var z=t<10?"0"+t:t;var j=F.output.date_strs.days_abbA[l-1];var o=F.output.date_strs.daysA[l-1];var b=t%10;var g="";if(global_intl_lang=="en-us"){g=(t>=10&&t<=20)?"th":(b==1)?"st":(b==2)?"nd":(b==3)?"rd":"th"}if(global_intl_lang=="fr-fr"){if(t==1){g="er"}}if(global_intl_lang=="pt-br"){if(t==1){g="&#186;"}}if(global_intl_lang=="de-de"){if(t==1){g="."}}i=i.replace_global("#YYYY#",YYYY);i=i.replace_global("#YY#",n);i=i.replace_global("#MMMM#",v);i=i.replace_global("#MMM#",c);i=i.replace_global("#MM#",u);i=i.replace_global("#M#",l);i=i.replace_global("#DDDD#",o);i=i.replace_global("#DDD#",j);i=i.replace_global("#DD#",z);i=i.replace_global("#D#",t);i=i.replace_global("#th#",g);var w=decodeURIComponent("%EB%85%84");var E=decodeURIComponent("%EC%9B%94");var a=decodeURIComponent("%EC%9D%BC");i=i.replace_global("#KY#",w);i=i.replace_global("#KM#",E);i=i.replace_global("#KD#",a);var G=decodeURIComponent("%E5%B9%B4");var e=decodeURIComponent("%E6%9C%88");var k=decodeURIComponent("%E6%97%A5");i=i.replace_global("#CY#",G);i=i.replace_global("#CM#",e);i=i.replace_global("#CD#",k);var A=this.getHours();var C=A;if(C==0){C=24}if(C>12){C-=12}var f=(C<10)?"0"+C:C;var r=(A<12)?"am":"pm";var x=this.getMinutes();var B=(x<10)?"0"+x:x;var q=this.getSeconds();var y=(q<10)?"0"+q:q;i=i.replace_global("#hhh#",A);i=i.replace_global("#hh#",f);i=i.replace_global("#h#",C);i=i.replace_global("#mm#",B);i=i.replace_global("#m#",x);i=i.replace_global("#ss#",y);i=i.replace_global("#s#",q);i=i.replace_global("#ampm#",r);return i};Date.prototype.flickr_date=function(){var a="#D##th# #MMMM#, #YYYY#";if(global_intl_lang=="ko-kr"){a="#YYYY##KY# #MMMM##KM# #D##KD#"}if(global_intl_lang=="zh-hk"){a="#YYYY##CY##M##CM##D##CD#"}return this.customFormat(a)};Date.prototype.flickr_date_and_time=function(){var a="#hhh#:#mm# #D##th# #MMMM#, #YYYY#";if(global_intl_lang=="ko-kr"){a="#YYYY##KY# #MMMM##KM# #D##KD# #hhh#:#mm#"}if(global_intl_lang=="zh-hk"){a="#YYYY##CY##M##CM##D##CD# #hhh#:#mm#"}return this.customFormat(a)};Date.prototype.flickr_minidate=function(){var a="#D# #MMM# #YY#";if(global_intl_lang=="ko-kr"){a="#YY##KY# #M##KM# #D##KD#"}if(global_intl_lang=="zh-hk"){a="#YY##CY##M##CM##D##CD#"}return this.customFormat(a)};var global_today=new Date();var global_tm=global_today.getMonth()+1;var global_td=global_today.getDate();var global_ty=global_today.getFullYear();var global_days_in_months=[31,0,31,30,31,30,31,31,30,31,30,31];if(!Array.prototype.push){Array.prototype.push=function(){var f=0,c=this.length,e=arguments;for(f;f<e.length;f++){this[c+f]=e[f]}return this.length}}if(!Array.prototype.pop){Array.prototype.pop=function(){var a=this[this.length-1];this.length--;return a}}if(!Array.prototype.shift){Array.prototype.shift=function(){var b=this[0];for(var a=0;a<this.length-1;a++){this[a]=this[a+1]}this.length--;return b}}if(!Array.prototype.unshift){Array.prototype.unshift=function(){this.reverse();for(var a=arguments.length-1;a>=0;a--){this[this.length]=arguments[a]}this.reverse();return this.length}}if(!Array.prototype.splice){function array_splice(c,b){if(arguments.length==0){return c}if(typeof c!="number"){c=0}if(c<0){c=Math.max(0,this.length+c)}if(c>this.length){if(arguments.length>2){c=this.length}else{return[]}}if(arguments.length<2){b=this.length-c}b=(typeof b=="number")?Math.max(0,b):0;removeArray=this.slice(c,c+b);endArray=this.slice(c+b);this.length=c;for(var a=2;a<arguments.length;a++){this[this.length]=arguments[a]}for(var a=0;a<endArray.length;a++){this[this.length]=endArray[a]}return removeArray}Array.prototype.splice=array_splice}var _numeric_sort_func=function(e,c){return(e-c)};var _alpha_sort_func=function(f,e){var c=String(f).toLowerCase();var g=String(e).toLowerCase();return(c>g)?1:((c<g)?-1:0)};Number.prototype.addZeros=function(a){if(this.toString().length>=a){return this}return(new Array(a).join("0")+this).substr((new Array(a).join("0")+this).length-a)};Number.prototype.pretty_num=function(){var j=F.output.dec_sep;var b=F.output.thou_sep;var g=this.toString();var h=g.split(".");var f=h[0];var c=(h[1])?j+h[1]:"";if(f.length<4){return g}var a="";for(var e=f.length-1;e>-1;e--){if(e<f.length-1&&(f.length-1-e)%3==0){a=b+a}a=f.charAt(e)+a}return a+c};Number.prototype.truncate_geo_value=function(){var a=this.toString();sA=a.split(".");if(sA.length<2){return this}d=sA[1];if(d.length<7){return this}d=d.substring(0,6);return(sA[0]+"."+d)*1};Number.prototype.convert_geo_value=function(){return this.truncate_geo_value()};String.prototype.truncate_geo_value=function(){return _pf(this).truncate_geo_value()};String.prototype.convert_geo_value=function(){var f=this.toString().toLowerCase();var b=new RegExp("^(geo:lat=(\\+|\\-)?((\\d+\\.\\d+)|\\d+))");var k=new RegExp("^(geo:(long|lon)=(\\+|\\-)?((\\d+\\.\\d+)|\\d+))");var g=new RegExp("[a-z:=]","g");var m=new RegExp("[ ;]","g");var h=new RegExp(",+","g");if(f.match(b)){var l=f.replace(g,"").replace(m,",").replace(h,",")}if(f.match(k)){var l=f.replace(g,"").replace(m,",").replace(h,",")}if(typeof(l)=="undefined"){var e=null;var j=null;f=f.replace_global(String.fromCharCode(8220),'"').replace_global(String.fromCharCode(8221),'"').replace_global(String.fromCharCode(8216),"'").replace_global(String.fromCharCode(8217),"'").replace_global(String.fromCharCode(176),"*");var a=null;var c=null;if(f.indexOf("n")>0){e=true;a=f.indexOf("n")}if(f.indexOf("s")>0){e=false;a=f.indexOf("s")}if(f.indexOf("e")>0){j=true;c=f.indexOf("e")}if(f.indexOf("w")>0){j=false;c=f.indexOf("w")}if(f.indexOf("*")>0&&f.indexOf("'")>0&&f.indexOf('"')>0){var f=f.replace(new RegExp("[nsew'\"*]","g"),",").replace(new RegExp(",+","g")," ").replace(new RegExp(" +","g")," ");var i=f.split(" ");if(i.length>=4){var l=_pi(i[0]);if(l>=0){l+=(i[1]/60)+(i[2]/6000)}else{l-=((i[1]/60)+(i[2]/6000))}}}if(f.indexOf("*")>0&&f.indexOf("'")>0){var f=f.replace(new RegExp("[nsew'\"*]","g"),",").replace(new RegExp(",+","g")," ").replace(new RegExp(" +","g")," ");var i=f.split(" ");if(i.length>=3){var l=_pi(i[0]);if(l>=0){l+=(i[1]/60)}else{l-=(i[1]/60)}}}if(typeof(i)=="undefined"){var f=f.replace(new RegExp("[nsew'\"*]","g"),",").replace(new RegExp(",+","g")," ").replace(new RegExp(" +","g")," ");var i=f.split(" ");if(i.length>=2){var l=_pf(i[0])}}if(e==true){l=Math.abs(l)}if(e==false){l=-1*Math.abs(l)}if(j==true){l=Math.abs(l)}if(j==false){l=-1*Math.abs(l)}}if(typeof(l)=="undefined"){return _pf(this).truncate_geo_value()}else{return _pf(l).truncate_geo_value()}};String.prototype.pretty_num=function(){return _pf(this).pretty_num()};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.nl2br=function(){return this.split("\n").join("<br>\n")};String.prototype.replace_global=function(b,a){return this.split(b).join(a)};String.prototype.escape_for_xml=function(){return this.replace_global("&","&amp;").replace_global('"',"&quot;").replace_global("<","&lt;").replace_global(">","&gt;")};String.prototype.unescape_from_xml=function(){return this.replace_global("&quot;",'"').replace_global("&lt;","<").replace_global("&gt;",">").replace_global("&amp;","&")};String.prototype.escape_for_display=function(){return this.replace_global("<","&lt;")};String.prototype.escape_for_display_and_wrap=function(){return this.replace_global("<","<wbr>&lt;")};String.prototype.truncate_with_ellipses=function(b){var a=this;if(a.length>b-3){a=a.substr(0,b-3).trim()+"&hellip;"}return a};String.prototype.truncate=function(b){var a=this;if(a.length>b){a=a.substr(0,b)}return a};var global_photos={};var global_sets={};var global_collections={};var global_apps={};var global_groups={};var global_users={};if(global_nsid){global_users[global_nsid]={id:global_nsid,name:global_name,icon_url:global_icon_url,expire:global_expire,dbid:global_dbid}}var _get_collection_src=function(j,e,i){var h="";if(!j){return h}if(!j.server||!j.secret){h="/images/collection_default_l.gif"}else{var f=Math.ceil(j.server/1000);var i=(i)?i:_photo_root;var a=j.id.split("-");var g=j.server+"/cols/"+a[1]+"_"+j.secret+"_l.jpg";var b=i.replace("http://farm","http://farm"+f);h=b+g;if(p.src_cb){h+="?"+p.src_cb}}if(e=="s"){h=h.replace("_l.jpg","_s.jpg")}return h};var _get_photo_src=function(c,b,g){var f="";if(!c||!c.src){return f}if(!b){b="s"}var e=c.src;if(b!="s"){e=e.replace("_s","_"+b)}e=e.replace("_500.jpg",".jpg");if(!g){if(c.media==="video"){g=_video_root}else{g=_photo_root}}var a=g.replace("http://farm","http://farm"+c.farm);if(window.location.protocol.indexOf("https")!==-1){a=a.replace("http:","https:")}f=a+e;if(c.src_cb){f+="?"+c.src_cb}return f};var _construct_user_icon_url=function(f,b){if(f&&f!="0"){var e=Math.ceil(f/1000);var a=_photo_root.replace("http://farm","http://farm"+e);var c=a+f+"/buddyicons/"+b+".jpg"}else{var c=_images_root+"/buddyicon.gif"}writeDebug(c);return c};var _upsert_user=function(n){var j=n.getAttribute("nsid");var w=n.getAttribute("username");var v=n.getAttribute("realname");var b=n.getAttribute("iconserver");var r=n.getAttribute("expire");var q=n.getAttribute("dbid");var m=n.getAttribute("email");var o=n.getAttribute("hide_email");var l=n.getAttribute("friend");var s=n.getAttribute("family");var c=n.getAttribute("ispro");var t=n.getAttribute("path_alias");var a=n.getAttribute("location");var k=n.getElementsByTagName("username");if(k&&k[0]){var i=k[0];var w=(i.firstChild)?i.firstChild.nodeValue:""}var e=n.getElementsByTagName("realname");if(e&&e[0]){var g=e[0];var v=(g.firstChild)?g.firstChild.nodeValue:""}var f=_construct_user_icon_url(b,j);var h=global_users[j];if(!h){h=global_users[j]={id:j,name:w,realname:v,email:m,icon_url:f,hide_email:o,friend:l,family:s,ispro:c,path_alias:t,location:a}}else{h.id=j;h.name=w;h.realname=v;h.email=m;h.icon_url=f;h.hide_email=h.hide_email;h.friend=l;h.family=s;h.ispro=c;h.path_alias=t;h.location=a}if(r){h.expire=r}if(q){h.dbid=q}return h};var _get_group_throttle_txt=function(a){var b="";if(a){if(a.throttle_mode=="disabled"){b=F.output.get("pool_uploads_disabled")}else{if(a.throttle_count){b=F.output.get("pool_uploads_throttled_"+a.throttle_mode,a.throttle_count.pretty_num())}else{b=""}}}return b};var _upsert_group=function(f){var j=f.getAttribute("nsid");if(!j){j=f.getAttribute("id")}var c=f.getAttribute("name");if(!c){c=f.getAttribute("title")}var i=f.getAttribute("iconserver");if(i&&i!="0"){var h=Math.ceil(i/1000);var a=_photo_root.replace("http://farm","http://farm"+h);var b=a+i+"/buddyicons/"+j+".jpg"}else{var b=_images_root+"/buddyicon.gif"}var e=global_groups[j];if(!e){e=global_groups[j]={id:j,name:c,icon_url:b}}else{e.id=j;e.name=c;e.icon_url=b}return e};var _upsert_photo=function(G){var N=G.getAttribute("id");var al=G.getAttribute("secret");var M=G.getAttribute("server");var u=Math.ceil(M/1000);var y=M+"/"+N+"_"+al+"_s.jpg";var T=G.getAttribute("media");var w=G.getElementsByTagName("title");if(w&&w[0]){var ag=w[0];var I=(ag.firstChild)?ag.firstChild.nodeValue:"";var an=G.getElementsByTagName("description")[0];var v=(an.firstChild)?an.firstChild.nodeValue:"";var H=G.getAttribute("license");var O=G.getAttribute("isfavorite");var l=G.getElementsByTagName("visibility")[0];var o=l.getAttribute("ispublic");var ab=l.getAttribute("isfriend");var m=l.getAttribute("isfamily");var h=l.getAttribute("safety_level");var k=l.getAttribute("content_type");var s=l.getAttribute("hidden");var aj=l.getAttribute("moderation_mode");var S=G.getElementsByTagName("geoperms");if(S&&S[0]){var ao=S[0].getAttribute("ispublic");var P=S[0].getAttribute("isfriend");var ak=S[0].getAttribute("isfamily");var R=S[0].getAttribute("iscontact")}var x=G.getElementsByTagName("dates")[0];var c=x.getAttribute("taken");var B=x.getAttribute("takengranularity");var ac=x.getAttribute("posted");var b=x.getAttribute("lastupdate");var g=G.getElementsByTagName("owner")[0];var am=g.getAttribute("nsid");var Q=g.getAttribute("username");var e=null;var X=G.getElementsByTagName("location");if(X&&X[0]){var r=X[0].getAttribute("latitude");var U=X[0].getAttribute("longitude");var af=X[0].getAttribute("accuracy");var A=X[0].getElementsByTagName("geofences");if(A&&A[0]){var Z=A[0].getElementsByTagName("geofence");var ah=Z.length;if(ah==1){var ai=Z[0].getAttribute("label")}}}var j=G.getElementsByTagName("permissions");if(j&&j[0]){var J=j[0].getAttribute("permcomment");var K=j[0].getAttribute("permaddmeta")}var j=G.getElementsByTagName("permissions");if(j&&j[0]){var J=j[0].getAttribute("permcomment");var K=j[0].getAttribute("permaddmeta")}var C=G.getAttribute("originalformat");var D=G.getElementsByTagName("tag");var z=G.getElementsByTagName("set");var E=G.getElementsByTagName("pool");var aa=G.getElementsByTagName("video");if(aa&&aa[0]){var W=aa[0].getAttribute("failed");var t=aa[0].getAttribute("ready");var L=aa[0].getAttribute("duration");var n=aa[0].getAttribute("width");var q=aa[0].getAttribute("height")}}else{var I=G.getAttribute("title");var c=G.getAttribute("datetaken");var B=G.getAttribute("datetakengranularity");var ac=G.getAttribute("dateupload");var r=G.getAttribute("latitude");var U=G.getAttribute("longitude");var af=G.getAttribute("accuracy");var am=G.getAttribute("owner");var Q=G.getAttribute("ownername");var e=G.getAttribute("iconserver");var o=G.getAttribute("ispublic");var ab=G.getAttribute("isfriend");var m=G.getAttribute("isfamily");var ae=G.getAttribute("o_width");var f=G.getAttribute("o_height");var T=G.getAttribute("media");var a=G.getAttribute("forsale");var C=null}var V=global_photos[N];if(!V){V=global_photos[N]={id:N,title:I,src:y}}else{V.id=N;V.title=I;V.src=y}V.secret=al;V.server=M;V.farm=u;V.toString=function(ap,au){var ap=(ap)?ap:this;var au=(au)?au:1;var at="";var ar="";for(var aq=0;aq<au;aq++){ar+="\t"}if(au==1){at+="global_photos["+V.id+"] = {\n"}for(pr in ap){if(typeof ap[pr]=="function"){continue}at+=ar+pr;if(typeof ap[pr]=="object"){if(ap[pr].length!=undefined){at+=" = [\n";at+=V.toString(ap[pr],au+1);at+=ar+"]\n"}else{at+=" = {\n";at+=V.toString(ap[pr],au+1);at+=ar+"}\n"}}else{if(typeof ap[pr]=="function"){at+=": function\n"}else{if(typeof ap[pr]=="string"){at+=': "'+ap[pr]+'"\n'}else{at+=": "+ap[pr]+"\n"}}}}if(au==1){at+="}\n"}return at};if(D){_rebuild_tags_for_photos(N,D)}if(H&&H!=""){V.license_id=H}if(H&&H!=""){V.is_favorite=O}if(c&&c!=""){V.date_taken=c}if(B!=undefined&&B!=""){V.date_taken_granularity=B}if(ac&&ac!=""){V.date_upload=ac}if(b&&b!=""){V.date_update=b}if(r!=undefined&&r!=""){V.latitude=r}if(U!=undefined&&U!=""){V.longitude=U}if(af!=undefined&&af!=""){V.accuracy=af}if(V.geofence_count){V.geofence_count=undefined;delete V.geofence_count;V.geofence_label=undefined;delete V.geofence_label}if(ah!=undefined&&ah!=""){V.geofence_count=ah}if(ai!=undefined&&ai!=""){V.geofence_label=ai}if(v!=undefined){V.description=v}if(o!=undefined){V.is_public=o}if(ab!=undefined){V.is_friend=ab}if(m!=undefined){V.is_family=m}if(f!=undefined&&!isNaN(f)){V.o_h=f*1}if(ae!=undefined&&!isNaN(ae)){V.o_w=ae*1}if(T&&T!=""){V.media=T}if(a!=undefined){V.forsale=a}if(W!=undefined){V.video_failed=(W==1)?1:0}if(t!=undefined){V.video_ready=(t==1)?1:0}if(L!=undefined){V.video_duration=L}if(n!=undefined){V.video_width=n}if(q!=undefined){V.video_height=q}if(h!=undefined){V.safety_level=h}if(k!=undefined){V.content_type=k}if(s!=undefined){V.is_hidden=s}if(aj!=undefined){V.moderation_mode=aj}if(ao!=undefined){V.geo_is_public=ao}if(P!=undefined){V.geo_is_friend=P}if(ak!=undefined){V.geo_is_family=ak}if(R!=undefined){V.geo_is_contact=R}if(J!=undefined){V.perm_comment=J}if(K!=undefined){V.perm_addmeta=K}if(am!=undefined){V.owner_nsid=am}if(Q!=undefined){V.owner_name=Q}if(e!=undefined){V.owner_iconserver=e}if(C!=undefined){V.originalformat=C}if(z&&z.length){V.sets=[];for(var ad=0;ad<z.length;ad++){V.sets.push(z[ad].getAttribute("id"))}}if(E&&E.length){V.pools=[];for(var ad=0;ad<E.length;ad++){V.pools.push(E[ad].getAttribute("id"));if(!global_groups[E[ad].getAttribute("id")]){_upsert_group(E[ad])}}}return V};var _upsert_set=function(g){var c=g.getAttribute("id");var h=g.getAttribute("primary");var k=g.getAttribute("server");var a=Math.ceil(k/1000);var j=g.getAttribute("secret");var e=g.getAttribute("id");var f=g.getAttribute("photos");var t=g.getAttribute("videos");var m=g.getElementsByTagName("photo");if(h&&h!=""){var b=global_photos[h];if(!b){b=global_photos[h]={};b.id=h}if(k&&k!=""&&j&&j!=""){b.src=k+"/"+b.id+"_"+j+"_s.jpg";b.farm=a}}var n=g.getElementsByTagName("title");if(n&&n[0]&&n[0].firstChild){var q=n[0].firstChild.nodeValue}else{var q=g.getAttribute("title")}var o=g.getElementsByTagName("description");if(o&&o[0]){if(o[0].firstChild){var r=o[0].firstChild.nodeValue}else{var r=""}}var u=global_sets[c];if(!u){u=global_sets[c]={id:c,primary_photo_id:h,photo_idsA:[]}}else{u.id=c;u.primary_photo_id=h}if(e&&e!=""){u.owner=e}if(q&&q!=""){u.title=q}if(r!=undefined){u.description=r}var m=g.getElementsByTagName("photo");if(m&&m.length){u.count=m.length;if(!g.getAttribute("page")||g.getAttribute("page")==1){u.photo_idsA=[]}for(var l=0;l<m.length;l++){var b=_upsert_photo(m[l]);u.photo_idsA.push(b.id)}}else{if(f!=""){u.count=_pi(f)}if(t!=""){u.count=u.count+_pi(t)}}return u};var global_reg_photo_print_ids=[1,2,3];var global_dig_photo_print_ids=[29,30,31];var global_huge_photo_print_ids=[18];var global_square_photo_print_ids=[23];var global_wallet_photo_print_ids=[32];var writeDebug=function(){};var writeAPIDebug=function(){};var writeTimerDebug=function(){};var writeFormDebug=function(){};var writeObjectDebug=function(){};var timer=function(){};timer.prototype.add=function(){};timer.prototype.add_child=function(){};timer.prototype.clear=function(){};timer.prototype.get_text=function(){};timer.prototype.dump=function(){};var _page_timer=new timer("page","start");var _ge=function(a){return document.getElementById(a)};var _pi=function(a){return parseInt(a,10)};var _pf=function(a){return parseFloat(a)};if(typeof F!=="object"){F={}}F.id="F";F.is_windows=(navigator.appVersion.toLowerCase().indexOf("mac")==-1&&navigator.appVersion.toLowerCase().indexOf("nix")==-1&&navigator.appVersion.toLowerCase().indexOf("nux")==-1);F.changes_count=0;F._ebA=[];F._decoratedO={};F.is_chrome=(navigator.userAgent.indexOf("Chrome/")>-1)?1:0;F.is_safari=(navigator.userAgent.indexOf("Safari")>-1)?1:0;F.is_safari2=(navigator.userAgent.match(/applewebkit\/4/i)?1:0);F.is_ie=(document.all&&!window.opera)?1:0;F.is_ff2=(navigator.userAgent.indexOf("Firefox/2")>-1)?1:0;F.is_ff3=(navigator.userAgent.indexOf("Firefox/3")>-1)?1:0;F.is_opera=(navigator.userAgent.match(/opera/i)?1:0);F.is_mac=(navigator.appVersion.toLowerCase().indexOf("mac")>0)?1:0;F.output={format_strs:{}};F.border_radius=(function(){var f=["borderRadius","MozBorderRadius","WebkitBorderRadius","OBorderRadius","KhtmlBorderRadius"],c=document.documentElement.style,e=false;for(var b=0,a=f.length;b<a;b++){if(typeof c[f[b]]!=="undefined"){e=true;break}}return e}());F.handle_changed_secret=function(f){var c=f.documentElement.getElementsByTagName("photoid");for(var b=0;b<c.length;b++){var g=c[b].firstChild.nodeValue;var e=global_photos[g];if(!e){continue}var a=c[b].getAttribute("secret");e.secret=a;e.src=e.server+"/"+e.id+"_"+a+"_s.jpg"}};F.preload_images_defer=true;F.preload_images_timer=null;F.preloaded_queue=[];F.preloaded_hash=[];F.preload_images=function(){for(var a=0;a<arguments.length;a++){if(arguments[a]){if(F.preloaded_hash[arguments[a]]!=true){F.preloaded_hash[arguments[a]]=true;F.preloaded_queue.push(arguments[a])}}else{}}if(!F.preload_images_defer){F._preload_images_now()}};F._preload_images_now=function(){if(!F.preloaded){F.preloaded=[]}if(!F.preload_images_timer){writeDebug("starting preload interval");F.preload_images_timer=window.setInterval(F.preload_next_image,20)}};F.preload_next_image=function(){if(!F.preloaded_queue.length){writeDebug("stopping preload interval (F.preloaded.length = "+F.preloaded.length+")");window.clearInterval(F.preload_images_timer);F.preload_images_timer=null}var a=F.preloaded_queue.pop();if(a){var b=document.createElement("img");b.src=a;F.preloaded.push(b.src)}};F._preload_images_ready=function(){F.preload_images_defer=false;F._preload_images_now()};F.get_month_index=function(b){var a=b.substr(0,3).toUpperCase();for(var c=0;c<F.output.date_strs.months_abbA.length;c++){if(a==F.output.date_strs.months_abbA[c]){return c}}return -1};F.make_unix_time_stamp=function(h,g,b,a,e,f){var c=new Date(h,g-1,b,a,e,f);return c.getTime()/1000};F.convert_unix_time_stamp=function(b,e){var c=new Date(b*1000);if(e){var a=new Date(c.getTime()+(c.getTimezoneOffset()*60*1000));return a}else{return c}};F.convert_unix_time_stamp_into_MYSQLDateTime=function(a){var b=new Date((a*1000));return this.make_MYSQLDateTime_stamp(b.getFullYear(),(b.getMonth()+1).addZeros(2),b.getDate().addZeros(2),b.getHours().addZeros(2),b.getMinutes().addZeros(2),b.getSeconds().addZeros(2))};F.convert_date_into_unix_time_stamp=function(a){return Math.floor(a.getTime()/1000)};F.convert_date_into_MYSQLDateTime=function(a){var b=a;return this.make_MYSQLDateTime_stamp(b.getFullYear(),(b.getMonth()+1).addZeros(2),b.getDate().addZeros(2),b.getHours().addZeros(2),b.getMinutes().addZeros(2),b.getSeconds().addZeros(2))};F.make_MYSQLDateTime_stamp=function(h,g,c,b,e,f){var a="";if(h!=undefined){a+=h}else{return a}if(g!=undefined){a+="-"+g}else{return a}if(c!=undefined){a+="-"+c}else{return a}if(b!=undefined){a+=" "+b}else{return a}if(e!=undefined){a+=":"+e}else{return a}if(f!=undefined){a+=":"+f}else{return a}return a};F.convert_MYSQLDateTime_into_unix_time_stamp=function(b){var a=this.convert_MYSQLDateTime(b);return Math.floor(a.getTime()/1000)};F.convert_MYSQLDateTime=function(a){var b=a.split(" ");var c=b[0].split("-");var e=b[1].split(":");if(!e[0]||isNaN(e[0])){e[0]="00"}if(!e[1]||isNaN(e[1])){e[1]="00"}if(!e[2]||isNaN(e[2])){e[2]="00"}return new Date(c[0],(c[1]*1)-1,c[2],e[0],e[1],e[2])};F.set_hash=function(c){var a=document.location.href.split("#");var b=a[0];var e=F.get_hash();if(c){document.location=b+"#"+c}else{if(e){document.location=b+"#"}else{}}};F.get_hash=function(){var a=document.location.href.split("#");return a[1]||""};F.scroll_this_el_into_view=function(m,a,n,f,e,b){var c=(typeof m=="object")?m:_ge(m);if(!c){return}if(!a){a=document.body}if(a==document.body){a=document.body;var h=_find_screen_height();var l=Y.U.Dom.getY(c)}else{var h=a.offsetHeight;var l=Y.U.Dom.getY(c)-Y.U.Dom.getY(a)+a.scrollTop}var g=l+c.offsetHeight+5+(e?e:0);var k=h+a.scrollTop;var j=g-k;var i=Math.min(a.scrollTop+j,l);if((b||j>0)&&i!=a.scrollTop){anim_do_scroll_to_scrollTop(a,10,35,i,"easeInOutQuad",n,f);return 1}if(n&&f){n.apply(null,f)}return 0};F.stop_event_propagation=function(a){if(!a){a=window.event}Y.U.Event.stopPropagation(a)};F.fit_text_in_block=function(q,h,m,i,g){writeDebug("fit_text_in_block start");var k=new Date();i=(i)?i:"";g=(g)?g:"";var r=q;var b=h.style.display;var s=h.style.visibility;h.style.visibility="hidden";h.style.display="block";h.innerHTML=i+r+g;writeDebug("BEFORE: h:"+h.offsetHeight+" max:"+m+" "+r);var l=0;if(h.offsetHeight>m&&r.length>1){l++;h.innerHTML=i+"m"+g;var o=h.offsetHeight;h.innerHTML=i+r+g;var e=(h.offsetHeight/o);var f=Math.floor(m/o);writeDebug("lh "+o+" lc "+e+" alc "+f);var n=h.offsetHeight-m;var a=Math.max(1,e-3)/f;writeDebug("DURING: diff:"+n+" times:"+a);r=r.truncate_with_ellipses(_pi(r.length/(a)));h.innerHTML=i+r+g;writeDebug("lop a bunch: h:"+h.offsetHeight+" max:"+m+" "+r)}if(h.offsetHeight>m&&r.length>1){do{l++;r=r.truncate_with_ellipses(r.length-2);h.innerHTML=i+r+g}while(h.offsetHeight>m&&r.length>1)}writeAPIDebug("AFTER: c:"+l+" h:"+h.offsetHeight+" max:"+m+" "+r);h.style.visibility=s;h.style.display=b;var j=new Date();writeDebug("fit_text_in_block Step 1 = "+(j-k)+"ms")};F.get_tags_from_input_str=function(j){j=j.trim();if(j==""){return[]}var g=[];if(j.indexOf(",")!=-1){var e=j.split(",");for(var f=0;f<e.length;f++){var a=e[f].trim();a=a.replace_global('"',"");if(a!==""){g.push(a)}}}else{var e=j.split('"');for(var f=0;f<e.length;f++){var h=e[f].trim();if(f%2==0){var c=h.split(" ");for(var b=0;b<c.length;b++){if(c[b]!=""){g.push(c[b])}}}else{if(h!=""){g.push(h)}}}}return g};F.array_copy=function(a){var e=[];for(var b=0;b<a.length;b++){e[b]=a[b]}return e};F.array_copy_except=function(a,e){var f=[];for(var b=0;b<a.length;b++){if(e==undefined||a[b]!=e){f.push(a[b])}}return f};F.array_index_of=function(a,c){if(!a){if(F.array_index_of.caller==null){writeDebug("F.array_index_of was called from the top!")}else{writeDebug("F.array_index_of caller was "+F.array_index_of.caller)}}for(var b=0;b<a.length;b++){if(a[b]==c){return b}}return -1};F.get_dates_from_form=function(l,i){var m;var b;var f;var h=_ge(l+"date_posted_exact");var k=_ge(l+"time_posted_exact");if(h){var e=h.value.split("/");m=F.convert_MYSQLDateTime_into_unix_time_stamp(e[2]+"-"+e[0]+"-"+e[1]+" "+k.value);if(i>0){m=m+i}}if(_ge(l+"date_taken_exact_div").style.display=="none"){var o=_ge(l+"date_taken_approx_month");var n=_ge(l+"date_taken_approx_year");b=n.options[n.selectedIndex].value;if(o.options[o.selectedIndex].value=="circa"){f="8";b+="-01-01"}else{if(o.options[o.selectedIndex].value!=0){f="4";b+="-"+o.options[o.selectedIndex].value+"-01"}else{f="6";b+="-01-01"}}b+=" 00:00:00"}else{var a=_ge(l+"date_taken_exact");var c=_ge(l+"time_taken_exact");var j=a.value.split("/");f="0";b=j[2]+"-"+j[0]+"-"+j[1]+" "+c.value;if(i>0){var g=F.convert_MYSQLDateTime_into_unix_time_stamp(b);g=g+i;b=F.convert_unix_time_stamp_into_MYSQLDateTime(g)}}return{date_posted:m,date_taken:b,date_taken_granularity:f}};F.remove_el=function(b,c,e){if(!b){if(F.remove_el.caller==null){writeDebug("F.remove_el was called from the top!")}else{writeDebug("F.remove_el caller was "+F.remove_el.caller)}return}if(e){F.drag_unreg(b)}for(var a=F._ebA.length-1;a>=0;a--){F._ebA[a].eb_remove(b)}c=(c)?c:b.parentNode;c.removeChild(b)};F.drag_unreg=function(c){if(c.fumb_target){c.fumb_target.unreg()}if(c.fumb_drag){c.fumb_drag.unreg()}if(c.tree_coll_target){c.tree_coll_target.unreg()}if(c.tree_coll_drag){c.tree_coll_drag.unreg()}if(c.tree_set_target){c.tree_set_target.unreg()}if(c.tree_set_drag){c.tree_set_drag.unreg()}if(c.set_photo_drag){c.set_photo_drag.unreg()}if(c.set_photo_target){c.set_photo_target.unreg()}if(c.set_div_drag){c.set_div_drag.unreg()}if(c.set_div_target){c.set_div_target.unreg()}if(c.dot_drag){c.dot_drag.unreg()}if(c.dot_target){c.dot_target.unreg()}if(c.pinwin_thumb_drag){c.pinwin_thumb_drag.unreg()}if(c.pinwin_thumb_target){c.pinwin_thumb_target.unreg()}if(c.batch_photo_drag){c.batch_photo_drag.unreg()}if(c.batch_photo_target){c.batch_photo_target.unreg()}if(c.group_photo_drag){c.group_photo_drag.unreg()}if(c.group_photo_target){c.group_photo_target.unreg()}for(var a=c.childNodes.length-1;a>=0;a--){var b=c.childNodes[a];F.drag_unreg(b)}};F.decorate=function(c,f,a,b){if(!f){return}if(!c){return}if(!c.id&&!a){writeDebug("decorated els must have ids!");return}if(b){writeAPIDebug("F.decorate called, passed obj:");writeAPIDebug(_uber_toString(f))}if(typeof f._decotype=="object"){F.decorate(c,f._decotype)}for(p in f){if(p=="_decotype"){continue}try{c[p]=f[p]}catch(e){break}}if(c.id){if(this._decoratedO[c.id]){}else{this._decoratedO[c.id]=[]}this._decoratedO[c.id].push(c)}return c};F.changes_were_made=function(){this.changes_count=1};F.changes_were_saved=function(){this.changes_count=0};F.make_one_photo_edit_pop=function(){var a=document.createElement("div");a.id="one_photo_edit_pop";document.body.appendChild(a);F.decorate(a,F._one_photo_edit_pop).pop_go_go_go();return a};F.make_batch_edit_pop=function(b,a){var c=document.createElement("div");c.id="batch_edit_pop";document.body.appendChild(c);F.decorate(c,F._batch_edit_pop).pop_go_go_go(b,a);if(F._batch_edit_pop&&!F._batch_edit_pop.pop_y){F._batch_edit_pop.pop_y={};YAHOO.lang.augmentObject(F._batch_edit_pop.pop_y,new YAHOO.util.EventProvider);F._batch_edit_pop.pop_y.createEvent("batch_ondone")}return c};F.make_shadow=function(c,g,e,b){var a=(e)?e:document.body;var f=document.createElement("div");f.id=c+"_shadow";if(b&&b.parentNode==e){a.insertBefore(f,b)}else{a.appendChild(f)}F.decorate(f,F._shadow).shadow_go_go_go(c,g,a);return f};_uber_toString=function(a,h,m,b){var a=(a)?a:window;var h=(h)?h:1;var m=(m)?m:20;var b=(b)?b:(a.id)?a.id+".":(a.api_key)?"params.":"root.";var l=[];var k="";for(var f=0;f<h;f++){k+="\t"}if(h==1){_uber_toString._handled_Os_and_As=[a];l.push("{\n")}for(pr in a){try{var j=typeof a[pr];if(typeof a[pr]=="object"){j="object";if(a[pr]==null){j="null"}else{if(a[pr].length!=undefined){j="array ("+a[pr].length+")"}}}if(a[pr]==_uber_toString){continue}if(typeof a=="object"&&a!=null&&a.length!=undefined&&typeof a[pr]=="function"){continue}l.push(k+b+pr+":"+j);if(j=="null"){l.push(": null\n")}else{if(typeof a[pr]=="object"){if(a[pr].length!=undefined){l.push(" : [");var c="]\n"}else{l.push(" : {");var c="}\n"}if(F.array_index_of(_uber_toString._handled_Os_and_As,a[pr])>-1){l.push("already been iterated over")}else{if(h>m){l.push(h+" is too deep ("+m+" is max)")}else{if(pr=="F"){l.push("F (Flickr) is not iterated over")}else{if(pr=="_decoratedO"){l.push("_decoratedO is not iterated over")}else{if(pr=="_ebA"){l.push("_ebA is not iterated over")}else{if(pr=="_eb_listeners"){l.push("_eb_listeners is not iterated over")}else{if(pr=="childNodes"){l.push("childNodes is not iterated over")}else{if(pr=="previousSibling"){l.push("previousSibling is not iterated over")}else{if(pr=="nextSibling"){l.push("nextSibling is not iterated over")}else{if(pr=="firstChild"){l.push("firstChild is not iterated over")}else{if(pr=="lastChild"){l.push("lastChild is not iterated over")}else{if(pr=="parentNode"){l.push("parentNode is not iterated over")}else{if(pr=="offsetParent"){l.push("offsetParent is not iterated over")}else{if(pr=="stvyle"){l.push("style is not iterated over")}else{if(pr=="attributes"){l.push("attributes is not iterated over")}else{if(pr=="ownerDocument"){l.push("ownerDocument is not iterated over")}else{_uber_toString._handled_Os_and_As.push(a[pr]);l.push("\n"+_uber_toString(a[pr],h+1,m,b+pr+".")+k)}}}}}}}}}}}}}}}}l.push(c)}else{if(typeof a[pr]=="function"){l.push(" "+a[pr].toString().split("\n")[0].replace_global("function ","").replace_global(" {","")+"\n")}else{if(typeof a[pr]=="string"){if(pr=="innerHTML"){l.push(': "'+pr+'"\n')}else{if(pr=="textContent"){l.push(': "'+pr+'"\n')}else{l.push(': "'+a[pr].replace_global('"','\\"')+'"\n')}}}else{l.push(": "+a[pr]+"\n")}}}}}catch(g){writeDebug("OI! "+g.message);l.push(k+b+pr+": BARF OUT "+g.message+"\n");continue}}if(h==1){l.push("}\n")}return l.join("")};var _ok_for_swf=function(){if(actualVersion<6){return false}return true};var _ok_for_scrumjax_xml=function(){return _ok_for_scrumjax()};var _ok_for_scrumjax=function(){if(!window.XHR){return false}if(navigator.appVersion.toLowerCase().indexOf("mac")>0&&navigator.userAgent.indexOf("MSIE")>0&&navigator.userAgent.indexOf("Opera")==-1){return false}return true};var _disable_select=function(){document.onselectstart=new Function("return false")};var _enable_select=function(){document.onselectstart=new Function("return true")};var _limit_textarea=function(b,a){if(b.value.length>a){b.value=b.value.substring(0,a)}};var _el_is_in_a_link=function(a){var b=a;while(b){if(b.href){return 1}b=b.parentNode}return 0};var _get_event_src=function(a){if(a&&a.target){return a.target}if(a&&a.srcElement){return a.srcElement}if(window.event){return window.event.srcElement}return null};var _get_event_keycode=function(a){if(a){return a.keyCode}if(window.event){return window.event.keyCode}return null};var _keys={TAB:9,ENTER:13,RIGHTARROW:39,DOWNARROW:40,UPARROW:38,BACKSPACE:8,CTRL:17,ESCAPE:27};var _hitch=function(b,a){return function(){return b[a].apply(b,arguments)}};myPos={getPos:function(a){return[this.getX(a),this.getY(a)]},getY:function(a){return Y.U.Dom.getY(a)},getX:function(a){return Y.U.Dom.getX(a)}};var _find_screen_height=function(){if(window.innerHeight){return window.innerHeight}else{if(document.documentElement.clientHeight){return document.documentElement.clientHeight}else{if(document.body.clientHeight){return document.body.clientHeight}}}};var _find_screen_width=function(){if(window.innerWidth){return window.innerWidth}else{if(document.documentElement.clientWidth){return document.documentElement.clientWidth}else{if(document.body.clientWidth){return document.body.clientWidth}}}};var _hyperlink=function(c,l,a,j){if(!a){a=" "}if(j==undefined){j="<br />"}if(!l){l=""}l=l.replace_global(" ",a);if(c.indexOf("http://")>-1){var f=c.split("\n");for(var h=0;h<f.length;h++){var e=f[h].split(" ");for(var k=0;k<e.length;k++){var m="";if(e[k].substr(0,1)=="("){e[k]=e[k].replace_global("(","");m="("}if(e[k].substr(0,7)=="http://"){var b=e[k];var i="";if(b.substr(b.length-1,1)==")"){b=b.substr(0,b.length-1);i=")"}var g="";if(b.substr(b.length-1,1)=="."){b=b.substr(0,b.length-1);g="."}e[k]=('<a href="'+b+'" rel="nofollow" onclick="'+l+'">'+b+"</a>"+i+g).replace_global(" ",a)}e[k]=m+e[k]}f[h]=e.join(" ")}c=f.join(j+"\n")}return c};var global_js_tip_count=0;F.get_tip_html=function(e,g,a,c){if(e.length==0){return""}a=(a==undefined)?"Tip":a;var f={};var b='<span style="display: none;" id="'+g+'">'+e+"</span>";if(!c){b+='<span class="'+a+'">[<a id="tooltip_a_'+g+'" href="#">?</a>]</span>';f.id="tooltip_a_"+g;f.handler=function(h){h.target.blur();show_tooltip(h,g,e.length)}}f.tip_html=b;return f};F.handle_mouse_tip_mouseover=function(a){this.tip_mouse_is_over=1;show_tooltip(this,this.tip_id,0,"","ToolTipSmall")};F.handle_mouse_tip_mouseout=function(a){this.tip_mouse_is_over=0;hide_tooltip()};F.change_mouse_tip_txt=function(a,f){var e="mouse_tip_div_"+a.id;var g=_ge(e);if(g&&f){var b=F.get_tip_html(f,a.tip_id,"tip_mouse",1);g.innerHTML=b.tip_html;if(a.tip_mouse_is_over){hide_tooltip();show_tooltip(a,a.tip_id,0,"","ToolTipSmall")}if(b.handler){var c=document.getElementById(b.id);if(c){c.addEventListener("click",b.handler,false)}}}};F.remove_mouse_tip=function(a){if(!a){return}if(a.tip_id){if(_ge("mouse_tip_div_"+a.id)){F.remove_el(_ge("mouse_tip_div_"+a.id))}}Y.U.Event.removeListener(a,"mouseover",F.handle_mouse_tip_mouseover);Y.U.Event.removeListener(a,"mouseout",F.handle_mouse_tip_mouseout)};F.make_new_mouse_tip=function(a,f){var g=a.title;if(!g){g="no title found on el";return}a.title="";a.alt="";var e="mouse_tip_div_"+a.id;var h=_ge(e);if(!h){global_js_tip_count++;a.tip_id="js_tooltip_"+global_js_tip_count;a.tip_placement=f;var b=F.get_tip_html(g,a.tip_id,"tip_mouse",1);var h=document.createElement("DIV");h.id=e;h.innerHTML=b.tip_html;document.body.insertBefore(h,document.body.childNodes[0]);h.tip_id=a.tip_id;if(b.handler){var c=document.getElementById(b.id);if(c){c.addEventListener("click",b.handler,false)}}}Y.U.Event.addListener(a,"mouseover",F.handle_mouse_tip_mouseover);Y.U.Event.addListener(a,"mouseout",F.handle_mouse_tip_mouseout)};var _set_cookie=function(c,f,h,e){var a="";if(h){var b=new Date();b.setTime(b.getTime()+(h*24*60*60*1000));a="; expires="+b.toUTCString()}e=e||".flickr.com";var g=c+"="+escape(f)+a+"; path=/; domain="+e;document.cookie=g;writeDebug("cookie set: "+g)};var _get_cookie=function(b){var f=b+"=";var a=document.cookie.split(";");for(var e=0;e<a.length;e++){var g=a[e];while(g.charAt(0)==" "){g=g.substring(1,g.length)}if(g.indexOf(f)==0){if(b!="js_dbg"){writeDebug(g)}return unescape(g.substring(f.length,g.length))}}return null};var _delete_cookie=function(a){_set_cookie(a,"",-1)};var _rebuild_tags_for_photos=function(c,k){if(global_photos[c]==undefined){return}global_photos[c].tagsA=[];global_photos[c].tags_rawA=[];global_photos[c].tags_idA=[];global_photos[c].tags_nameA=[];global_photos[c].tags_isOwnerA=[];global_photos[c].tags_canDeleteA=[];for(var j=0;j<k.length;j++){var e=k[j];var l=e.firstChild.nodeValue;var i=e.getAttribute("raw");var f=e.getAttribute("id");var h=(e.getAttribute("author_name")!=null)?e.getAttribute("author_name"):"";var g=(e.getAttribute("author")!=null)?e.getAttribute("author"):"";var b=(global_photos[c].isOwner||global_nsid==g)?true:false;var a=(global_nsid==g)?true:false;global_photos[c].tagsA.push(l);global_photos[c].tags_rawA.push(i);global_photos[c].tags_idA.push(f);global_photos[c].tags_nameA.push(h);global_photos[c].tags_isOwnerA.push(a);global_photos[c].tags_canDeleteA.push(b)}};var global_single_shadow_div;var _make_single_shadow=function(g,b,c,a,f){if(g==undefined){g=document.createElement("div");g.style.position="absolute";g.style.top="0px";g.style.left="0px";document.body.appendChild(g)}window.global_single_shadow_height_plus=(b==undefined)?(12-24):b;window.global_single_shadow_width_plus=(c==undefined)?(12-24):c;window.global_single_shadow_x_plus=(a==undefined)?(-3):a;window.global_single_shadow_y_plus=(f==undefined)?(-3):f;if(navigator.userAgent.match(/msie 6/i)){var e='<table class="shadow_table" cellpadding="0" cellspacing="0" border="0" style="padding:0px;"><tr><td width="11"><img class="trans_png" width="11" height="11" src="'+_images_root+'/tc_white_shadow_tl.png"></td><td id="shadow_width_controller"><img class="trans_png" width="100%" height="11" src="'+_images_root+'/tc_white_shadow_t.png"></td><td width="11"><img class="trans_png" width="11" height="11" src="'+_images_root+'/tc_white_shadow_tr.png"></td></tr><tr><td height="30" id="shadow_height_controller"><img class="trans_png" width="11" height="100%" src="'+_images_root+'/tc_white_shadow_l.png"></td><td></td><td><img class="trans_png" width="11" height="100%" src="'+_images_root+'/tc_white_shadow_r.png"></td></tr><tr><td><img class="trans_png" width="11" height="11" src="'+_images_root+'/tc_white_shadow_bl.png"></td><td><img id="shadow_width_controller2" class="trans_png" width="100%" height="11" src="'+_images_root+'/tc_white_shadow_b.png"></td><td><img class="trans_png" width="11" height="11" src="'+_images_root+'/tc_white_shadow_br.png"></td></tr></table>'}else{var e='<table class="shadow_table" cellpadding="0" cellspacing="0" border="0" style="padding:0px;"><tr><td width="11"><img width="11" height="11" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_tl"></td><td id="shadow_width_controller"><img width="100%" height="11" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_t"></td><td width="11"><img width="11" height="11" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_tr"></td></tr><tr><td height="30" id="shadow_height_controller"><img width="11" height="100%" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_l"></td><td></td><td id="shadow_height_controller2"><img width="11" height="100%" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_r"></td></tr><tr><td><img width="11" height="11" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_bl"></td><td><img id="shadow_width_controller2" width="100%" height="11" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_b"></td><td><img width="11" height="11" src="'+_images_root+'/spaceout.gif" class="shadow_sprite shadow_br"></td></tr></table>'}g.innerHTML=e;g.style.zIndex="999";g.style.display="none";g.id="shadow_div";window._set_single_shadow_x=function(h){g.style.marginLeft=(h+global_single_shadow_x_plus)+"px"};window._set_single_shadow_y=function(h){g.style.marginTop=(h+global_single_shadow_y_plus)+"px"};window._set_single_shadow_height=function(j){var i=_ge("shadow_height_controller"),h=_ge("shadow_height_controller2");if(!i){return}var k=((j.offsetHeight)+global_single_shadow_height_plus);if(k<0){k=0}i.style.height=k+"px";if(h){h.style.height=k+"px"}};window._set_single_shadow_width=function(j){var i=_ge("shadow_width_controller");var h=_ge("shadow_width_controller2");if(!i){return}var k=((j.offsetWidth)+global_single_shadow_width_plus);if(k<0){k=0}i.style.width=h.style.width=k+"px"};window.global_single_shadow_div=g};F.modal_blocker={show:function(){var a=_ge("global_modal_blocker");if(!a){a=document.createElement("DIV");a.id="global_modal_blocker";a.style.zIndex=10009;a.style.position="absolute";a.style.backgroundColor="#999";a.style.opacity=".7";a.style.filter="alpha(opacity=70)";a.style.width="100%";a.style.height="100%";document.body.appendChild(a)}this.place();Y.U.Event.addListener(window,"resize",F.modal_blocker.place,this,true);Y.U.Event.addListener(window,"scroll",F.modal_blocker.place_after_scroll,this,true);a.style.display="block"},place_after_scroll:function(){if(this.place_tim){clearTimeout(this.place_tim)}var a=this;this.place_tim=setTimeout(function(){a.place()},100)},place:function(){var c=_ge("global_modal_blocker");if(!c){return}if(window.innerWidth){var a=window.pageXOffset;var b=window.pageYOffset}else{var a=document.body.scrollLeft;var b=document.body.scrollTop}c.style.top=b+"px";c.style.left=a+"px"},hide:function(){Y.U.Event.removeListener(window,"resize",F.modal_blocker.place);Y.U.Event.removeListener(window,"scroll",F.modal_blocker.place_after_scroll);var a=_ge("global_modal_blocker");if(!a){return}a.style.display="none"}};var global_comm_div;var _make_comm_div=function(c){var b=_ge("comm_div");if(!b){b=document.createElement("DIV");b.id="comm_div";b.style.left=0;b.style.top=0;document.body.appendChild(b);b.modal_blocker=document.createElement("DIV");b.modal_blocker.id="modal_blocker";b.modal_blocker.style.position="absolute";b.modal_blocker.style.top=0;b.modal_blocker.default_style={};b.modal_blocker.style.backgroundColor=b.modal_blocker.default_style.backgroundColor="#999";b.modal_blocker.style.opacity=b.modal_blocker.default_style.opacity=".5";b.modal_blocker.style.filter=b.modal_blocker.default_style.filter="alpha(opacity=50)";document.body.appendChild(b.modal_blocker)}var a="";if(!F.border_radius){a=a+'<table id="comm_table" cellpadding="0" cellspacing="0" border="0" style="width:200px; padding:0px;"><tr><td width="3"><img width="3" height="3" src="'+_images_root+'/tc_white_tl.gif"></td><td class="td_white"></td><td class="td_white"></td><td width="3"><img width="3" height="3" src="'+_images_root+'/tc_white_tr.gif"></td></tr><tr><td class="td_white"></td><td class="td_white" style="padding:3px 0px 0px 0px" width="1" valign="top"><img id="comm_pulser_img" src="'+_images_root+'/pulser2.gif" width="32" height="15" border="0"></td><td class="td_white" style="padding:3px; font-size:12px;" id="comm_td"><div id="comm_msg_div"></div><div id="comm_form_div" style="display:none;"></div><div id="comm_progress_bar_div_wrapper" style="display:none; border:1px solid black; margin-top:10px;"><div id="comm_progress_bar_div_inner" style="width:300px; height:15px"><div id="comm_progress_bar_div" style="height:100%; width:0%; background-color:#FF0084"></div></div></div></td><td class="td_white"></td></tr><tr id="comm_button_tr"><td class="td_white"></td><td class="td_white"></td><td class="td_white" style="padding:3px"><form><nobr><input id="comm_button_ok" type="button" class="Butt" value="OK" style="margin:5px 5px 0 0;"><input id="comm_button_cancel" type="button" class="CancelButt" value="'+F.output.get("cancel")+'" style="margin:5px 5px 0 0;"></nobr></form></td><td class="td_white"></td></tr><tr><td><img width="3" height="3" src="'+_images_root+'/tc_white_bl.gif"></td><td class="td_white"></td><td class="td_white"></td><td><img width="3" height="3" src="'+_images_root+'/tc_white_br.gif"></td></tr></table>'}else{a=a+'<table id="comm_table" cellpadding="0" cellspacing="0" border="0" style="width:200px;padding:0px;background:#fff;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px"><tr><td class="td_white"></td><td class="td_white" style="padding:3px 0px 0px 0px" width="1" valign="top"><img id="comm_pulser_img" src="'+_images_root+'/pulser2.gif" width="32" height="15" border="0"></td><td class="td_white" style="padding:3px; font-size:12px;" id="comm_td"><div id="comm_msg_div"></div><div id="comm_form_div" style="display:none;"></div><div id="comm_progress_bar_div_wrapper" style="display:none; border:1px solid black; margin-top:10px;"><div id="comm_progress_bar_div_inner" style="width:300px; height:15px"><div id="comm_progress_bar_div" style="height:100%; width:0%; background-color:#FF0084"></div></div></div></td><td class="td_white"></td></tr><tr id="comm_button_tr"><td class="td_white"></td><td class="td_white"></td><td class="td_white" style="padding:3px"><form><nobr><input id="comm_button_ok" type="button" class="Butt" value="OK" style="margin:5px 5px 0 0;"><input id="comm_button_cancel" type="button" class="CancelButt" value="'+F.output.get("cancel")+'" style="margin:5px 5px 0 0;"></nobr></form></td><td class="td_white"></td></tr></table>'}b.innerHTML=a;b.button_tr=_ge("comm_button_tr");b.pulser_img=_ge("comm_pulser_img");b.button_ok=_ge("comm_button_ok");b.button_cancel=_ge("comm_button_cancel");b.button_ok.addEventListener("click",function(){b.stop_comming();this.blur();if(typeof this.onclick_plus=="function"){this.onclick_plus()}if(typeof this.onclick_do=="function"){this.onclick_do()}},false);b.button_cancel.addEventListener("click",function(){b.stop_comming();this.blur();if(typeof this.onclick_plus=="function"){this.onclick_plus()}if(typeof this.onclick_do=="function"){this.onclick_do()}},false);b.table=_ge("comm_table");b.comm_msg_div=_ge("comm_msg_div");b.comm_form_div=_ge("comm_form_div");b.comm_progress_bar_div_wrapper=_ge("comm_progress_bar_div_wrapper");b.style.zIndex=c;b.style.display="none";if(b.modal_blocker){b.modal_blocker.style.zIndex=1001;b.modal_blocker.style.display="none"}b.stop_comming=function(){if(this.modal_blocker){b.modal_blocker.style.zIndex=1001;this.modal_blocker.style.display="none"}this.style.display="none";global_single_shadow_div.style.display="none";b.comm_form_div.style.display="none";b.comm_progress_bar_div_wrapper.style.display="none";_ge("comm_progress_bar_div").style.width=0;this.comming=0};b.change_comming_msg=function(i,g,e,h){if(!i){return}this.comm_msg_div.innerHTML=i;var f=Math.ceil(g*_ge("comm_progress_bar_div_inner").offsetWidth);anim_do_width_to(_ge("comm_progress_bar_div"),8,30,f,"linearTween",e,h);_set_single_shadow_height(this.table);_set_single_shadow_width(this.table)};b.get_rid_of_form=function(){if(!b.comm_form_div.childNodes[0]){return}var e=b.comm_form_div.childNodes[0];e.style.display="none";if(e.old_parentNode){e.old_parentNode.appendChild(F.prepare_for_insertion(e))}else{F.remove_el(e,b.comm_form_div)}b.comm_form_div.style.display="none"};b.start_comming=function(i,l,E,w,f,k,C,o,q,z,g,D,h,v,e){var A=(i!="NOTHING AT ALL");var t=(!i)?F.output.get("global_working"):i;this.comm_msg_div.innerHTML=t;b.comm_form_div.style.display="none";if(g){b.get_rid_of_form();b.comm_form_div.style.display="block";g.style.display="block";if(g.old_parentNode!=b.comm_form_div){g.old_parentNode=g.parentNode}b.comm_form_div.appendChild(F.prepare_for_insertion(g))}b.comm_progress_bar_div_wrapper.style.display="none";if(h){b.comm_progress_bar_div_wrapper.style.display="block"}this.pulser_img.style.display=(w)?"none":"inline";if(f||o){this.button_tr.style.display=(F.is_ie)?"block":"table-row";this.button_ok.value=(k)?k.toUpperCase():F.output.get("ok");this.button_tr.style.display=(F.is_ie)?"block":"table-row";this.button_ok.onclick_do=(typeof C=="function")?C:null;this.button_ok.style.visibility=(f)?"visible":"hidden";this.button_ok.style.display=(f)?"inline":"none";if(e){Y.D.addClass(this.button_ok,"DeleteButt")}else{Y.D.removeClass(this.button_ok,"DeleteButt")}this.button_cancel.value=(q)?q.toUpperCase():F.output.get("cancel");this.button_cancel.onclick_do=(typeof z=="function")?z:null;this.button_cancel.style.visibility=(o)?"visible":"hidden";this.button_tr.style.display=(F.is_ie)?"block":"table-row";_ge("comm_table").style.width=(typeof v!="undefined"&&v?v+"px":"312px")}else{this.button_tr.style.display="none";_ge("comm_table").style.width=(typeof v!="undefined"&&v?v+"px":"200px")}if(A){this.style.visibility="visible";global_single_shadow_div.style.visibility="visible"}else{this.style.visibility="hidden";global_single_shadow_div.style.visibility="hidden"}this.style.display="block";if(D&&this.modal_blocker){this.modal_blocker.style.display="block";this.modal_blocker.style.backgroundColor=(D.backgroundColor)?D.backgroundColor:b.modal_blocker.default_style.backgroundColor;this.modal_blocker.style.opacity=(D.opacity)?D.opacity:b.modal_blocker.default_style.opacity;this.modal_blocker.style.filter=(D.filter)?D.filter:b.modal_blocker.default_style.filter}if(window.innerWidth){var G=window.innerWidth;var j=window.innerHeight;var n=window.pageXOffset;var m=window.pageYOffset}else{var G=document.body.clientWidth;var j=document.body.clientHeight;var n=document.body.scrollLeft;var m=document.body.scrollTop}var u=function(){var y=n+_pi((G-_pi(global_comm_div.table.offsetWidth))/2);return y};var B=function(){var x=m+_pi((j-global_comm_div.table.offsetHeight)/2);return x};var s=(typeof l=="function")?l():(typeof l=="number")?l:u();var r=(typeof E=="function")?E():(typeof E=="number")?E:B();this.style.marginLeft=s+"px";this.style.marginTop=r+"px";if(D&&this.modal_blocker){if(D.loc_style){this.modal_blocker.style.top=D.loc_style.top+"px";this.modal_blocker.style.left=D.loc_style.left+"px";this.modal_blocker.style.width=D.loc_style.width+"px";this.modal_blocker.style.height=D.loc_style.height+"px"}else{this.modal_blocker.style.top=m+"px";this.modal_blocker.style.left=n+"px";this.modal_blocker.style.width="100%";this.modal_blocker.style.height="100%"}}_set_single_shadow_x(s);_set_single_shadow_y(r);_set_single_shadow_height(this.table);_set_single_shadow_width(this.table);global_single_shadow_div.style.display="block";if(A&&f&&navigator.userAgent.indexOf("KHTML")==-1){this.button_ok.focus()}this.comming=1};window.global_comm_div=b;if(!global_single_shadow_div){_make_single_shadow(_ge("shadow_div"))}return global_comm_div};F._window_onload_dom=function(){if(F.onload_dom_timer){clearInterval(F.onload_dom_timer)}F._window_onload_dom=function(){};F.eb_broadcast("window_onload_dom")};F._window_onload=function(a){if(F._window_onload_dom){F._window_onload_dom()}F.eb_broadcast("window_onload",a)};F._window_onresize=function(){F.eb_broadcast("window_onresize")};window.onbeforeunload=function(){F.eb_broadcast("window_onbeforeunload",F.changes_count);var a=(window.page_onbeforeunload_msg)?window.page_onbeforeunload_msg:F.output.get("global_unsaved");if(F.changes_count){return a}};F._window_onblur=function(){window.blurred=1};F._window_onfocus=function(){window.blurred=0};F._window_onunload=function(){F.eb_broadcast("window_unload");for(var b=F._ebA.length-1;b>=0;b--){var a=F._ebA[b];a.eb_remove_all()}F._ebA=[];F._decoratedO={}};function _change_privacy(b){var a=_ge("is_private_"+b).checked;_ge("is_friend_"+b).disabled=!a;_ge("is_family_"+b).disabled=!a}function _get_qs_args(e){var c={};var h;var a=(e)?e.split("?")[e.split("?").length-1]:location.search.substring(1);h=a.split("&");for(var f=0;f<h.length;f++){var j=h[f].indexOf("=");if(j!=-1){var b=h[f].substring(0,j);var g=h[f].substring(j+1);c[b]=unescape(g)}}return c}var _qs_args=_get_qs_args();var promos_show=function(b){var f=_ge(b);var c=_ge(b+"_promo_div");var a=_ge(b+"_removed_div");if(!c){return}var e=b.replace("promo_","promos_hide_");var g={};g[e]=0;c.flickr_prefs_setPrefs_onLoad=function(){};F.API.callMethod("flickr.prefs.setPrefs",g,c);c.style.visibility="visible";a.style.display="none";f.style.backgroundColor=""};var promos_remove=function(b){var f=_ge(b);var c=_ge(b+"_promo_div");var a=_ge(b+"_removed_div");if(!c){return}var e=b.replace("promo_","promos_hide_");var g={};g[e]=1;c.flickr_prefs_setPrefs_onLoad=function(){};F.API.callMethod("flickr.prefs.setPrefs",g,c);c.style.visibility="hidden";a.style.display="block";f.style.backgroundColor="#efefef"};function _privacy_specific_change(e,g){e=(e)?e:"";var c=_ge(e+"is_private").checked;var b=_ge(e+"is_friend").checked;var a=_ge(e+"is_family").checked;var f=!c;_ge(e+"is_friend").disabled=!c;_ge(e+"is_family").disabled=!c;_ge(e+"is_friend_label").style.color=c?"black":"silver";_ge(e+"is_family_label").style.color=c?"black":"silver";if(c){if(b||a){_privacy_check_boxes(e+"perm_comment",false,false,true,true);_privacy_check_boxes(e+"perm_addmeta",false,false,true,true)}else{_privacy_check_boxes(e+"perm_comment",false,true,true,true);_privacy_check_boxes(e+"perm_addmeta",false,true,true,true)}}else{_privacy_check_boxes(e+"perm_comment",false,false,false,false);_privacy_check_boxes(e+"perm_addmeta",false,false,false,false)}if(!g&&(previous_public!=f||previous_friend!=b||previous_family!=a)){_privacy_try_and_check(e+"perm_comment",default_perm_comment?default_perm_comment:1);_privacy_try_and_check(e+"perm_addmeta",default_perm_addmeta?default_perm_addmeta:2);previous_public=f;previous_friend=b;previous_family=a}}function _privacy_default_change(){var c=_ge("is_private").checked;var b=_ge("is_friend").checked;var a=_ge("is_family").checked;var e=!c;_ge("is_friend").disabled=!c;_ge("is_family").disabled=!c;_ge("is_friend_label").style.color=c?"black":"silver";_ge("is_family_label").style.color=c?"black":"silver";_ge("perm_addmeta_disclaim").style.display=c?"block":"none";_ge("perm_comment_disclaim").style.display=c?"block":"none";if(c){if(b||a){_privacy_check_boxes("perm_comment",false,false,false,false);_privacy_check_boxes("perm_addmeta",false,false,false,false)}else{_privacy_check_boxes("perm_comment",false,false,false,false);_privacy_check_boxes("perm_addmeta",false,false,false,false)}}else{_privacy_check_boxes("perm_comment",false,false,false,false);_privacy_check_boxes("perm_addmeta",false,false,false,false)}}function _privacy_check_boxes(h,g,f,l,k){_ge(h+"_4").disabled=g;_ge(h+"_3").disabled=f;_ge(h+"_2").disabled=l;_ge(h+"_1").disabled=k;_ge(h+"_4_label").style.color=g?"silver":"black";_ge(h+"_3_label").style.color=f?"silver":"black";_ge(h+"_2_label").style.color=l?"silver":"black";_ge(h+"_1_label").style.color=k?"silver":"black";var e=false;for(var j=4;j>=1;j--){if(_ge(h+"_"+j).checked&&!_ge(h+"_"+j).disabled){return}}for(var j=1;j<=4;j++){if(!_ge(h+"_"+j).disabled){_ge(h+"_"+j).checked=true;return}}}function _privacy_try_and_check(a,c){for(var b=c;b<=4;b++){if(!_ge(a+"_"+b).disabled){_ge(a+"_"+b).checked=true;return}}}function _privacy_show_more(){_ge("morerow").style.display="none";_ge("lessrow").style.display=(F.is_ie)?"block":"table-row";_ge("detailrow").style.display=(F.is_ie)?"block":"table-row"}function _privacy_show_less(){_ge("morerow").style.display=(F.is_ie)?"block":"table-row";_ge("lessrow").style.display="none";_ge("detailrow").style.display="none"}F.one_photo_edit_start=function(b){var a=_ge("one_photo_edit_pop");if(!a){a=F.make_one_photo_edit_pop()}a.pop_show_start(b)};F.hide_featured_model=function(){var b=_ge("cfad");var a=0;anim_do_height_to(b,15,30,a,"easeOutQuad",function(){_ge("cfad_hide_link_p").style.display="none";_ge("cfad_show_link_p").style.display="block";b.style.display="none";F.API.callMethod("flickr.prefs.setPrefs",{promos_hide_featured_model:1},{flickr_prefs_setPrefs_onLoad:function(){}})},[])};F.show_featured_model=function(){var b=_ge("cfad_iframe");var c=_ge("cfad");if(F.is_ie||F.is_safari){c.style.height="1px";c.style.display="block";_ge("cfad_hide_link_p").style.display="block";_ge("cfad_show_link_p").style.display="none"}else{c.style.height="0px";c.style.display="block"}if(b.src=="javascript:void(0)"&&b.getAttribute("use_src")&&b.getAttribute("use_src")!=""){if(!F.is_ie&&!F.is_safari){_ge("cfad_hide_link_p").style.display="block";_ge("cfad_show_link_p").style.display="none";b.onload=function(){F.show_featured_model()}}b.src=b.getAttribute("use_src");if(!F.is_ie&&!F.is_safari){return}}var a=b.height;anim_do_height_to(c,15,30,a,"easeOutQuad",function(){F.API.callMethod("flickr.prefs.setPrefs",{promos_hide_featured_model:0},{flickr_prefs_setPrefs_onLoad:function(){}})},[])};F._photo_vanisher={remove_photo:function(b,a,c){if(this.already_removing==undefined){this.already_removing=false}F.eb_broadcast("stewart_pause");if(this.already_removing){return}if(window.confirm(F.output.get("global_sure"))){if(_ge("sv_title_"+b)&&_ge("sv_body_"+b)){this.already_removing=true;this.vanish_photo(b)}else{location.href=a+"?delete="+b+"&"+c;this.already_removing=false}}else{F.eb_broadcast("stewart_play_if_was_playing")}},vanish_photo:function(a,b){after_fade=function(){_ge("sv_title_"+a).style.display="none";_ge("sv_body_"+a).style.display="none";var c=_ge("stewart_swf"+a+"_div");if(c){c.parentNode.removeChild(c)}F.eb_broadcast("stewart_play_if_was_playing")};anim_do_opacity_to(_ge("sv_title_"+a),50,20,0,"easeOutQuad",after_fade);anim_do_opacity_to(_ge("sv_body_"+a),50,20,0,"easeOutQuad",after_fade);if(!b){F._photo_vanisher.api_remove_photo(a)}},api_remove_photo:function(a){deja_view_uh_huh();var b={flickr_photos_delete_onLoad:function(h,g,e,f){if(!h){alert(F.output.get("global_sorry"));F._photo_vanisher.un_vanish_photo(f.photo_id)}}};var c=new Object();c.photo_id=a;F.API.callMethod("flickr.photos.delete",c,b,null,null,0);this.already_removing=false},un_vanish_photo:function(a){if(_ge("sv_title_"+a)&&_ge("sv_title_"+a)){_ge("sv_title_"+a).style.display="block";_ge("sv_body_"+a).style.display="block";anim_do_opacity_to(_ge("sv_title_"+a),50,20,100,"easeInQuad");anim_do_opacity_to(_ge("sv_body_"+a),50,20,100,"easeInQuad")}this.already_removing=false}};F.possess=function(a){if(window.global_intl_lang&&global_intl_lang!="en-us"){return a}if(a.substr(a.length-1,1).toLowerCase()=="s"){return a+"'"}else{return a+"'s"}};var how_many_are_this_size=function(a,h){var g=0;var b=0;for(var f in print_photos){b++;var e=print_photos[f];g+=(Math.max(e.o_w,e.o_h)>=Math.max(a,h)&&Math.min(e.o_w,e.o_h)>=Math.min(a,h))}if(g==0){txt=" "+F.output.get("setprint_no_photos_large_enough")}else{if(g==b){txt=" "+F.output.get("setprint_all_photos_large_enough")}else{txt=" "+F.output.get("setprint_x_of_y_large_enough",g,b)}}return txt};F.yconf={loadOptional:false,filter:"raw",combine:true,timeout:10000,useBrowserConsole:true};_delete_cookie("flta_ul");