var swfobject=function(){function m(){if(!v){try{var a=g.getElementsByTagName("body")[0].appendChild(g.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}v=true;a=B.length;for(var c=0;c<a;c++)B[c]()}}function w(a){if(v)a();else B[B.length]=a}function C(a){if(typeof n.addEventListener!=j)n.addEventListener("load",a,false);else if(typeof g.addEventListener!=j)g.addEventListener("load",a,false);else if(typeof n.attachEvent!=j)aa(n,"onload",a);else if(typeof n.onload=="function"){var b=
n.onload;n.onload=function(){b();a()}}else n.onload=a}function L(){var a=g.getElementsByTagName("body")[0],b=g.createElement(p);b.setAttribute("type",D);var c=a.appendChild(b);if(c){var d=0;(function(){if(typeof c.GetVariable!=j){var e=c.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");f.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]}}else if(d<10){d++;setTimeout(arguments.callee,10);return}a.removeChild(b);c=null;M()})()}else M()}function M(){var a=s.length;if(a>0)for(var b=
0;b<a;b++){var c=s[b].id,d=s[b].callbackFn,e={success:false,id:c};if(f.pv[0]>0){var i=o(c);if(i)if(E(s[b].swfVersion)&&!(f.wk&&f.wk<312)){x(c,true);if(d){e.success=true;e.ref=N(c);d(e)}}else if(s[b].expressInstall&&O()){e={};e.data=s[b].expressInstall;e.width=i.getAttribute("width")||"0";e.height=i.getAttribute("height")||"0";if(i.getAttribute("class"))e.styleclass=i.getAttribute("class");if(i.getAttribute("align"))e.align=i.getAttribute("align");var h={};i=i.getElementsByTagName("param");for(var k=
i.length,l=0;l<k;l++)if(i[l].getAttribute("name").toLowerCase()!="movie")h[i[l].getAttribute("name")]=i[l].getAttribute("value");P(e,h,c,d)}else{ba(i);d&&d(e)}}else{x(c,true);if(d){if((c=N(c))&&typeof c.SetVariable!=j){e.success=true;e.ref=c}d(e)}}}}function N(a){var b=null;if((a=o(a))&&a.nodeName=="OBJECT")if(typeof a.SetVariable!=j)b=a;else if(a=a.getElementsByTagName(p)[0])b=a;return b}function O(){return!F&&E("6.0.65")&&(f.win||f.mac)&&!(f.wk&&f.wk<312)}function P(a,b,c,d){F=true;Q=d||null;U=
{success:false,id:c};var e=o(c);if(e){if(e.nodeName=="OBJECT"){z=R(e);G=null}else{z=e;G=c}a.id=V;if(typeof a.width==j||!/%$/.test(a.width)&&parseInt(a.width,10)<310)a.width="310";if(typeof a.height==j||!/%$/.test(a.height)&&parseInt(a.height,10)<137)a.height="137";g.title=g.title.slice(0,47)+" - Flash Player Installation";d=f.ie&&f.win?"ActiveX":"PlugIn";d="MMredirectURL="+n.location.toString().replace(/&/g,"%26")+"&MMplayerType="+d+"&MMdoctitle="+g.title;if(typeof b.flashvars!=j)b.flashvars+="&"+
d;else b.flashvars=d;if(f.ie&&f.win&&e.readyState!=4){d=g.createElement("div");c+="SWFObjectNew";d.setAttribute("id",c);e.parentNode.insertBefore(d,e);e.style.display="none";(function(){e.readyState==4?e.parentNode.removeChild(e):setTimeout(arguments.callee,10)})()}S(a,b,c)}}function ba(a){if(f.ie&&f.win&&a.readyState!=4){var b=g.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(R(a),b);a.style.display="none";(function(){a.readyState==4?a.parentNode.removeChild(a):setTimeout(arguments.callee,
10)})()}else a.parentNode.replaceChild(R(a),a)}function R(a){var b=g.createElement("div");if(f.win&&f.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(p)[0])if(a=a.childNodes)for(var c=a.length,d=0;d<c;d++)!(a[d].nodeType==1&&a[d].nodeName=="PARAM")&&a[d].nodeType!=8&&b.appendChild(a[d].cloneNode(true));return b}function S(a,b,c){var d,e=o(c);if(f.wk&&f.wk<312)return d;if(e){if(typeof a.id==j)a.id=c;if(f.ie&&f.win){var i="",h;for(h in a)if(a[h]!=Object.prototype[h])if(h.toLowerCase()==
"data")b.movie=a[h];else if(h.toLowerCase()=="styleclass")i+=' class="'+a[h]+'"';else if(h.toLowerCase()!="classid")i+=" "+h+'="'+a[h]+'"';h="";for(var k in b)if(b[k]!=Object.prototype[k])h+='<param name="'+k+'" value="'+b[k]+'" />';e.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+i+">"+h+"</object>";H[H.length]=a.id;d=o(a.id)}else{k=g.createElement(p);k.setAttribute("type",D);for(var l in a)if(a[l]!=Object.prototype[l])if(l.toLowerCase()=="styleclass")k.setAttribute("class",
a[l]);else l.toLowerCase()!="classid"&&k.setAttribute(l,a[l]);for(i in b)if(b[i]!=Object.prototype[i]&&i.toLowerCase()!="movie"){a=k;h=i;l=b[i];c=g.createElement("param");c.setAttribute("name",h);c.setAttribute("value",l);a.appendChild(c)}e.parentNode.replaceChild(k,e);d=k}}return d}function W(a){var b=o(a);if(b&&b.nodeName=="OBJECT")if(f.ie&&f.win){b.style.display="none";(function(){if(b.readyState==4){var c=o(a);if(c){for(var d in c)if(typeof c[d]=="function")c[d]=null;c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,
10)})()}else b.parentNode.removeChild(b)}function o(a){var b=null;try{b=g.getElementById(a)}catch(c){}return b}function aa(a,b,c){a.attachEvent(b,c);y[y.length]=[a,b,c]}function E(a){var b=f.pv;a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?true:false}function X(a,b,c,d){if(!(f.ie&&f.mac)){var e=g.getElementsByTagName("head")[0];if(e){c=c&&typeof c=="string"?c:"screen";if(d)T=q=null;
if(!q||T!=c){d=g.createElement("style");d.setAttribute("type","text/css");d.setAttribute("media",c);q=e.appendChild(d);if(f.ie&&f.win&&typeof g.styleSheets!=j&&g.styleSheets.length>0)q=g.styleSheets[g.styleSheets.length-1];T=c}if(f.ie&&f.win)q&&typeof q.addRule==p&&q.addRule(a,b);else q&&typeof g.createTextNode!=j&&q.appendChild(g.createTextNode(a+" {"+b+"}"))}}}function x(a,b){if(Y){var c=b?"visible":"hidden";if(v&&o(a))o(a).style.visibility=c;else X("#"+a,"visibility:"+c)}}function Z(a){return/[\\\"<>\.;]/.exec(a)!=
null&&typeof encodeURIComponent!=j?encodeURIComponent(a):a}var j="undefined",p="object",D="application/x-shockwave-flash",V="SWFObjectExprInst",n=window,g=document,t=navigator,$=false,B=[function(){$?L():M()}],s=[],H=[],y=[],z,G,Q,U,v=false,F=false,q,T,Y=true,f=function(){var a=typeof g.getElementById!=j&&typeof g.getElementsByTagName!=j&&typeof g.createElement!=j,b=t.userAgent.toLowerCase(),c=t.platform.toLowerCase(),d=c?/win/.test(c):/win/.test(b);c=c?/mac/.test(c):/mac/.test(b);b=/webkit/.test(b)?
parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var e=!+"\u000b1",i=[0,0,0],h=null;if(typeof t.plugins!=j&&typeof t.plugins["Shockwave Flash"]==p){if((h=t.plugins["Shockwave Flash"].description)&&!(typeof t.mimeTypes!=j&&t.mimeTypes[D]&&!t.mimeTypes[D].enabledPlugin)){$=true;e=false;h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1");i[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10);i[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10);i[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),
10):0}}else if(typeof n.ActiveXObject!=j)try{var k=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(k)if(h=k.GetVariable("$version")){e=true;h=h.split(" ")[1].split(",");i=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)]}}catch(l){}return{w3:a,pv:i,wk:b,ie:e,win:d,mac:c}}();(function(){if(f.w3){if(typeof g.readyState!=j&&g.readyState=="complete"||typeof g.readyState==j&&(g.getElementsByTagName("body")[0]||g.body))m();if(!v){typeof g.addEventListener!=j&&g.addEventListener("DOMContentLoaded",
m,false);if(f.ie&&f.win){g.attachEvent("onreadystatechange",function(){if(g.readyState=="complete"){g.detachEvent("onreadystatechange",arguments.callee);m()}});n==top&&function(){if(!v){try{g.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}m()}}()}f.wk&&function(){v||(/loaded|complete/.test(g.readyState)?m():setTimeout(arguments.callee,0))}();C(m)}}})();(function(){f.ie&&f.win&&window.attachEvent("onunload",function(){for(var a=y.length,b=0;b<a;b++)y[b][0].detachEvent(y[b][1],
y[b][2]);a=H.length;for(b=0;b<a;b++)W(H[b]);for(var c in f)f[c]=null;f=null;for(var d in swfobject)swfobject[d]=null;swfobject=null})})();return{registerObject:function(a,b,c,d){if(f.w3&&a&&b){var e={};e.id=a;e.swfVersion=b;e.expressInstall=c;e.callbackFn=d;s[s.length]=e;x(a,false)}else d&&d({success:false,id:a})},getObjectById:function(a){if(f.w3)return N(a)},embedSWF:function(a,b,c,d,e,i,h,k,l,A){var I={success:false,id:b};if(f.w3&&!(f.wk&&f.wk<312)&&a&&b&&c&&d&&e){x(b,false);w(function(){c+="";
d+="";var u={};if(l&&typeof l===p)for(var r in l)u[r]=l[r];u.data=a;u.width=c;u.height=d;r={};if(k&&typeof k===p)for(var J in k)r[J]=k[J];if(h&&typeof h===p)for(var K in h)if(typeof r.flashvars!=j)r.flashvars+="&"+K+"="+h[K];else r.flashvars=K+"="+h[K];if(E(e)){J=S(u,r,b);u.id==b&&x(b,true);I.success=true;I.ref=J}else if(i&&O()){u.data=i;P(u,r,b,A);return}else x(b,true);A&&A(I)})}else A&&A(I)},switchOffAutoHideShow:function(){Y=false},ua:f,getFlashPlayerVersion:function(){return{major:f.pv[0],minor:f.pv[1],
release:f.pv[2]}},hasFlashPlayerVersion:E,createSWF:function(a,b,c){if(f.w3)return S(a,b,c)},showExpressInstall:function(a,b,c,d){f.w3&&O()&&P(a,b,c,d)},removeSWF:function(a){f.w3&&W(a)},createCSS:function(a,b,c,d){f.w3&&X(a,b,c,d)},addDomLoadEvent:w,addLoadEvent:C,getQueryParamValue:function(a){var b=g.location.search||g.location.hash;if(b){if(/\?/.test(b))b=b.split("?")[1];if(a==null)return Z(b);b=b.split("&");for(var c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return Z(b[c].substring(b[c].indexOf("=")+
1))}return""},expressInstallCallback:function(){if(F){var a=o(V);if(a&&z){a.parentNode.replaceChild(z,a);if(G){x(G,true);if(f.ie&&f.win)z.style.display="block"}Q&&Q(U)}F=false}}}}();function SeenlyFactory(){function m(){return swfobject.getFlashPlayerVersion().major>="9"}this.count=0;this.compatible=m;this.create=function(){if(!m())return null;this[this.count]=new Seenly(this.count);this.count++;return this[this.count-1]}}var SeenlyContainer=new SeenlyFactory;
function Seenly(m){this.write=function(w){var C={seenlyId:this.seenlyId,width:this.width,height:this.height,galleryEnabled:"true"};window.seenlyDisplay={};swfobject.embedSWF("static/v1.2/swf/main.swf",w,this.width,this.height,"9",null,C,{wmode:"window",allowScriptAccess:"always"},{id:"seenlyDisplay",name:"seenlyDisplay"},function(L){SeenlyContainer[0].divSWF=L.ref})};this.hide=function(){this.divSWF.width=1;this.divSWF.height=1};this.show=function(){this.divSWF.width=this.width;this.divSWF.height=
this.height};this.unsavedCount=function(){return document.getElementById("seenlyDisplay").unsavedCount()};this.backFromUseIt=function(){return document.getElementById("seenlyDisplay").backFromUseIt()};this.call_loaded=function(){trackPage("/ga/loaded.html")};this.call_preview=function(){};this.call_webcam=function(){if(typeof this.track_allow==="undefined"){trackEvent("Pictures","Start");trackPage("/ga/allow.html");this.track_allow=true}};this.call_error=function(){};this.call_processerror=function(){trackEvent("Error",
"Processor Error");document.getElementById("seenlyDisplay").backFromUseIt();alert("Something went wrong while saving your picture.\n\nPlease try again in a few minutes.")};this.call_processing=function(){};this.call_photo=function(w){trackEvent("Pictures","Saved");if(typeof this.track_photo==="undefined"){trackPage("/ga/saved.html");this.track_photo=true}this.url=w;this.call_preview(true);this.event_photo!=null&&this.event_photo(w)};this.call_startshutter=function(){trackEvent("Pictures","Shutter");
if(typeof this.track_snap==="undefined"){trackPage("/ga/snap.html");this.track_snap=true}};this.call_countdown=function(){};this.call_shutterinprogress=function(){};this.call_effectselected=function(){};this.seenlyId=m;this.url="";this.galleryEnabled=true;this.width=780;this.height=570;this.event_photo=null};

