var Conf=function(){var modes={dev:{webHost:"www.polyvore.net",imgHost:"www.polyvore.net",rsrcUrlPrefix:"http://www.polyvore.net/rsrc/",noCachePrefix:"http://www.polyvore.net/rsrc/",blogUrl:"http://blog.polyvore.com",fbApiKey:"e006261993081197d9a617cbb0b6e7b6",isStaging:true},live:{webHost:"www.polyvore.net",imgHost:"www.polyvore.com",rewriteImgBase:true,rsrcUrlPrefix:"http://cdn.polyvore.com/rsrc/",noCachePrefix:"http://rsrc.polyvore.com/rsrc/",blogUrl:"http://blog.polyvore.com",fbApiKey:"3d1d18f72a710e20514cd62955686c8f",isStaging:true},prod:{webHost:"www.polyvore.com",imgHost:"www.polyvore.com",rsrcUrlPrefix:"http://cdn.polyvore.com/rsrc/",noCachePrefix:"http://rsrc.polyvore.com/rsrc/",blogUrl:"http://blog.polyvore.com",fbApiKey:"3d1d18f72a710e20514cd62955686c8f",isStaging:false}};var _2b67=window.polyvore_mode||window._polyvoreMode||"prod";var _mode=modes[_2b67];var _2b69=null;return {getFbApiKey:function(){return _mode.fbApiKey;},getWebHost:function(){return _mode.webHost;},getImgHost:function(){return _mode.imgHost;},getRsrcUrlPrefix:function(){return _mode.rsrcUrlPrefix;},getNoCachePrefix:function(){return _mode.noCachePrefix;},getBlogURL:function(){return _mode.blogUrl;},isStaging:function(){return _mode.isStaging;},setLocale:function(_2b6a){_2b69=_2b6a;},getLocale:function(){return _2b69;},getModeName:function(){return _2b67;},getSetting:function(name){return _mode[name];}};}();(function(){function windowHeight(){var _2b6c=self.innerHeight;var mode=document.compatMode;if(mode||isIE){_2b6c=(mode=="CSS1Compat")?document.documentElement.clientHeight:document.body.clientHeight;}return _2b6c;}function setNode(node,attr,style){if(!node){return null;}var i;if(style){for(i in style){if(style.hasOwnProperty(i)){node.style[i]=style[i];}}}if(attr){for(i in attr){if(attr.hasOwnProperty(i)){var value=attr[i];if(value||value===false||value===0){node.setAttribute(i,value);if(i=="className"){node.setAttribute("class",value);}}}}}return node;}function buildURL(_2b73,args){var url=[];var keys=[];var key;for(key in args){if(args.hasOwnProperty(key)){keys.push(key);}}keys=keys.sort();for(var i=0;i<keys.length;++i){key=keys[i];var value=args[key];if(value){if(typeof (value)=="function"){continue;}url.push(key+"="+encodeURIComponent(value));}}url=_2b73+"?"+url.join("&");return url;}function getStyle(node,prop){if(node.style[prop]){return node.style[prop];}else{if(node.currentStyle){return node.currentStyle[prop];}else{if(document.defaultView&&document.defaultView.getComputedStyle){prop=prop.replace(/([A-Z])/g,"-$1");prop=prop.toLowerCase();var s=document.defaultView.getComputedStyle(node,"");return s&&s.getPropertyValue(prop);}else{return null;}}}}function computeHeight(width){var _2b7e=Math.round(width*3/4);var wh=windowHeight();if(_2b7e>(wh-32)){_2b7e=wh-32;}if(_2b7e<600){_2b7e=600;}return _2b7e;}function exactPx(style){if(style&&style.match(/^([0-9]+)px$/)){var match=RegExp.$1;if(match!="0"){return match;}}return false;}var isIE=(navigator.userAgent&&navigator.userAgent.indexOf("MSIE")!=-1);if(!window.polyvore_uid){}var base="http://"+Conf.getWebHost()+"/cgi/";var url=buildURL(base+"widget.editor",{".out":"include",".locale":window.polyvore_locale,uid:window.polyvore_uid,tid:window.polyvore_tid,cat:window.polyvore_categories,ref:window.location.href,pop:window.polyvore_pop?"1":"",nosave:window.polyvore_nosave?"1":"",setalias:window.polyvore_set_alias,setsalias:window.polyvore_sets_alias,fontfamily:window.polyvore_font_family,fontsize:window.polyvore_font_size,linkcolor:window.polyvore_link_color,showfav:window.polyvore_show_fav,bgmode:window.polyvore_background_mode,emailoptin:window.polyvore_email_optin,agecheck:window.polyvore_age_check,contestthankyou:window.polyvore_contest_thank_you_msg,signupmsg:window.polyvore_signup_msg,src:window.location.href});document.write("<span id=\"polyvore_span\"></span>");var span=document.getElementById("polyvore_span");var _2b86=span.parentNode;var width=getStyle(_2b86,"width");var _2b88=getStyle(_2b86,"height");var tmp;var _2b8a;if((tmp=exactPx(width))){width=tmp;_2b88=computeHeight(width);}else{width="100%";if((tmp=exactPx(_2b88))){_2b88=tmp;}else{_2b88=computeHeight(_2b86.offsetWidth);if(isIE){var _2b8b=function(){_2b8a.height=computeHeight(_2b86.offsetWidth);};window.attachEvent("onresize",_2b8b);window.attachEvent("onload",_2b8b);}}}_2b8a=setNode(document.createElement("iframe"),{name:"polyvore_inline",scrolling:"no",allowTransparency:"true",frameBorder:0,width:width,height:_2b88,src:url},{scroll:"none",overflow:"hidden",border:0,backgroundColor:"transparent"});_2b86.replaceChild(_2b8a,span);})();