function includeJS(a){document.writeln('<script type="text/javascript" src="'+a+'"><\/script>')}function includeCSS(a){document.writeln('<style type="text/css">@import url("'+a+'");</style>')}function runOnLoad(a){if(runOnLoad.loaded){a()}else{runOnLoad.funcs.push(a)}}runOnLoad.funcs=[];runOnLoad.loaded=false;runOnLoad.run=function(){if(runOnLoad.loaded){return}for(var a=0;a<runOnLoad.funcs.length;a++){try{runOnLoad.funcs[a]()}catch(b){}}runOnLoad.loaded=true;delete runOnLoad.funcs;delete runOnLoad.run};if(window.addEventListener){window.addEventListener("load",runOnLoad.run,false)}else{if(window.attachEvent){window.attachEvent("onload",runOnLoad.run)}else{window.onload=runOnLoad.run}}function getElements(h,g,a){if(!a){a=document}else{if(typeof a=="string"){a=document.getElementById(a)}}if(!g){g="*"}var d=a.getElementsByTagName(g);if(!h){return d}var f=[];for(var c=0;c<d.length;c++){var b=d[c];if(e(b,h)){f.push(b)}}return f;function e(m,n){var l=m.className;if(!l){return false}if(l==n){return true}var j=/\s+/;if(!j.test(l)){return false}var o=l.split(j);for(var k=0;k<o.length;k++){if(o[k]==n){return true}}return false}}function getOffsets(a){var b={left:a.offsetLeft,top:a.offsetTop,right:a.offsetWidth,bottom:a.offsetHeight};while(a.offsetParent!=null){a=a.offsetParent;b.left+=a.offsetLeft;b.top+=a.offsetTop}b.right+=b.left;b.bottom+=b.top;return b}function isDescendant(b,a){if(!b){return false}else{if(b==a){return true}else{return isDescendant(b.parentNode,a)}}}var Geometry={};if(window.screenLeft){Geometry.getWindowX=function(){return window.screenLeft};Geometry.getWindowY=function(){return window.screenTop}}else{if(window.screenX){Geometry.getWindowX=function(){return window.screenX};Geometry.getWindowY=function(){return window.screenY}}}if(window.innerWidth){Geometry.getViewportWidth=function(){return window.innerWidth};Geometry.getViewportHeight=function(){return window.innerHeight};Geometry.getHorizontalScroll=function(){return window.pageXOffset};Geometry.getVerticalScroll=function(){return window.pageYOffset}}else{if(document.documentElement&&document.documentElement.clientWidth){Geometry.getViewportWidth=function(){return document.documentElement.clientWidth};Geometry.getViewportHeight=function(){return document.documentElement.clientHeight};Geometry.getHorizontalScroll=function(){return document.documentElement.scrollLeft};Geometry.getVerticalScroll=function(){return document.documentElement.scrollTop}}else{if(document.body.clientWidth){Geometry.getViewportWidth=function(){return document.body.clientWidth};Geometry.getViewportHeight=function(){return document.body.clientHeight};Geometry.getHorizontalScroll=function(){return document.body.scrollLeft};Geometry.getVerticalScroll=function(){return document.body.scrollTop}}}}if(document.documentElement&&document.documentElement.scrollWidth){Geometry.getDocumentWidth=function(){return document.documentElement.scrollWidth};Geometry.getDocumentHeight=function(){return document.documentElement.scrollHeight}}else{if(document.body.scrollWidth){Geometry.getDocumentWidth=function(){return document.body.scrollWidth};Geometry.getDocumentHeight=function(){return document.body.scrollHeight}}}var Handler={};if(document.addEventListener){Handler.add=function(b,a,c){b.addEventListener(a,c,false)};Handler.remove=function(b,a,c){b.removeEventListener(a,c,false)}}else{if(document.attachEvent){Handler.add=function(c,b,f){if(Handler._find(c,b,f)!=-1){return}var g=function(h){if(!h){h=window.event}var d={_event:h,type:h.type,target:h.srcElement,currentTarget:c,relatedTarget:h.fromElement?h.fromElement:h.toElement,eventPhase:(h.srcElement==c)?2:3,clientX:h.clientX,clientY:h.clientY,screenX:h.screenX,screenY:h.screenY,altKey:h.altKey,ctrlKey:h.ctrlKey,shiftKey:h.shiftKey,charCode:h.keyCode,stopPropagation:function(){this._event.cancelBubble=true},preventDefault:function(){this._event.returnValue=false}};if(Function.prototype.call){f.call(c,d)}else{c._currentHandler=f;c._currentHandler(d);c._currentHandler=null}};c.attachEvent("on"+b,g);var e={element:c,eventType:b,handler:f,wrappedHandler:g};var j=c.document||c;var a=j.parentWindow;var k=Handler._uid();if(!a._allHandlers){a._allHandlers={}}a._allHandlers[k]=e;if(!c._handlers){c._handlers=[]}c._handlers.push(k);if(!a._onunloadHandlerRegistered){a._onunloadHandlerRegistered=true;a.attachEvent("onunload",Handler._removeAllHandlers)}};Handler.remove=function(e,c,g){var b=Handler._find(e,c,g);if(b==-1){return}var k=e.document||e;var a=k.parentWindow;var j=e._handlers[b];var f=a._allHandlers[j];e.detachEvent("on"+c,f.wrappedHandler);e._handlers.splice(b,1);delete a._allHandlers[j]};Handler._find=function(e,a,l){var b=e._handlers;if(!b){return -1}var j=e.document||e;var k=j.parentWindow;for(var f=b.length-1;f>=0;f--){var c=b[f];var g=k._allHandlers[c];if(g.eventType==a&&g.handler==l){return f}}return -1};Handler._removeAllHandlers=function(){var a=this;for(id in a._allHandlers){var b=a._allHandlers[id];b.element.detachEvent("on"+b.eventType,b.wrappedHandler);delete a._allHandlers[id]}};Handler._counter=0;Handler._uid=function(){return"h"+Handler._counter++}}}function wrapEventHandler(a,b){return function(){a[b].apply(a,arguments)}}var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(d){for(var a=0;a<d.length;a++){var b=d[a].string;var c=d[a].prop;this.versionSearchString=d[a].versionSearch||d[a].identity;if(b){if(b.indexOf(d[a].subString)!=-1){return d[a].identity}}else{if(c){return d[a].identity}}}},searchVersion:function(b){var a=b.indexOf(this.versionSearchString);if(a==-1){return}return parseFloat(b.substring(a+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init();function hasClass(b,a){return b.className.match(new RegExp("(\\s|^)"+a+"(\\s|$)"))}function addClass(b,a){if(!hasClass(b,a)){b.className+=" "+a;return true}else{return false}}function removeClass(b,a){if(hasClass(b,a)){b.className=b.className.replace(new RegExp("(\\s+|^)"+a+"(\\s+|$)")," ");return true}else{return false}}function replaceClass(c,b,a){if(hasClass(c,b)){c.className=c.className.replace(new RegExp("(\\s|^)"+b+"(\\s|$)")," "+a+" ");return true}else{return false}}function Dropdown(dropdownNode,options){this.options=((options)?options:Dropdown.defaultOptions);this.nodes={};with(this.nodes){this.nodes.dropdown=dropdownNode;this.nodes.contentarea=getElements("dd_contentarea","div",dropdown)[0];this.nodes.content=getElements("dd_content","div",contentarea)[0];this.nodes.list=content.getElementsByTagName("ul")[0];this.nodes.listItems=list.getElementsByTagName("li");this.nodes.selector=getElements("dd_selector","div",dropdown)[0];this.nodes.leftborder=getElements("dd_leftborder","div",selector)[0];this.nodes.title=getElements("dd_title","div",selector)[0];this.nodes.button=getElements("dd_button","div",selector)[0];this.nodes.rightborder=getElements("dd_rightborder","div",selector)[0];this.nodes.parent=dropdown.parentNode;this.nodes.nextSibling=dropdown.nextSibling}if(typeof this.options.display.contentAreaOffset!="number"){this.options.display.contentAreaOffset=0}if(typeof this.options.display.contentOffset!="number"){this.options.display.contentOffset=0}if(typeof this.options.display.windowPadding!="number"){this.options.display.windowPadding=25}if(typeof this.options.display.autoWidthScrollbarPadding!="number"){this.options.display.autoWidthScrollbarPadding=10}Dropdown.registerDropdown(this);Handler.add(this.nodes.selector,"click",wrapEventHandler(this,"toggleDropdown"))}Dropdown.defaultOptions={display:{windowPadding:25,maxItemsShowing:10,fitWidth:true,autoWidthScrollbarPadding:10,contentAreaOffset:-5,contentOffset:5}};Dropdown.emptyFunction=function(){};Dropdown.dropdowns=[];Dropdown.registerDropdown=function(a){Dropdown.dropdowns[Dropdown.dropdowns.length]=a.nodes.dropdown};Dropdown.prototype.getState=function(){if(hasClass(this.nodes.selector,"active")){return"active"}else{return"inactive"}};Dropdown.prototype.getSelectorWidth=function(){return this.nodes.leftborder.offsetWidth+this.nodes.title.offsetWidth+this.nodes.button.offsetWidth+this.nodes.rightborder.offsetWidth};Dropdown.prototype.toggleState=function(){if(this.getState()=="active"){replaceClass(this.nodes.selector,"active","inactive")}else{replaceClass(this.nodes.selector,"inactive","active")}};Dropdown.prototype.toggleDropdown=function(a){if(this.nodes.listItems.length==0){return}this.toggleState();if(this.getState()=="active"){this.activate();this.documentClick=wrapEventHandler(this,"documentClickHandler");this.windowResize=wrapEventHandler(this,"windowResizeHandler");Handler.add(document,"click",this.documentClick);Handler.add(window,"resize",this.windowResize)}else{this.deactivate();Handler.remove(document,"click",this.documentClick);Handler.remove(window,"resize",this.windowResize)}};Dropdown.prototype.activate=function(){var b=getOffsets(this.nodes.selector);this.nodes.contentarea.style.visibility="hidden";this.nodes.contentarea.style.display="block";(document.body)?document.body.appendChild(this.nodes.contentarea):document.documentElement.appendChild(this.nodes.contentarea);this.nodes.selector.style.visibility="hidden";(document.body)?document.body.appendChild(this.nodes.selector):document.documentElement.appendChild(this.nodes.selector);var f=b.right-Geometry.getHorizontalScroll()-2*this.options.display.windowPadding;var k=Geometry.getViewportWidth()-(b.left-Geometry.getHorizontalScroll())-2*this.options.display.windowPadding;var h=b.top-Geometry.getVerticalScroll()-2*this.options.display.windowPadding;var j=Geometry.getViewportHeight()-(b.top-Geometry.getVerticalScroll())-2*this.options.display.windowPadding;var n=typeof this.options.display.minWidth=="number"&&this.nodes.content.offsetWidth<this.options.display.minWidth;var l=typeof this.options.display.maxWidth=="number"&&this.nodes.contentarea.offsetWidth>this.options.display.maxWidth;var d=typeof this.options.display.fitWidth=="boolean";var m=typeof this.options.display.minHeight=="number"&&this.nodes.contentarea.offsetHeight<this.options.display.minHeight;var g=typeof this.options.display.maxHeight=="number"&&this.nodes.contentarea.offsetHeight>this.options.display.maxHeight;if(n){this.nodes.content.style.width=this.options.display.minWidth+"px";this.nodes.content.style.width=(this.options.display.minWidth-(this.nodes.content.offsetWidth-this.options.display.minWidth))+"px"}if(l){this.nodes.content.style.width=this.options.display.maxWidth+"px";this.nodes.content.style.width=(this.options.display.maxWidth-(this.nodes.content.offsetWidth-this.options.display.maxWidth))+"px"}else{if(d){this.nodes.content.style.width=this.nodes.selector.offsetWidth+"px";this.nodes.content.style.width=(this.nodes.selector.offsetWidth-(this.nodes.contentarea.offsetWidth-this.nodes.contentarea.clientWidth))+"px";d=true}}if(!n&&!l&&!d){this.nodes.content.style.whiteSpace="nowrap"}if(m){this.nodes.content.style.height=this.options.display.minHeight+"px";this.nodes.content.style.height=(this.options.display.minHeight-(this.nodes.content.offsetHeight-this.options.display.minHeight))+"px"}else{if(g){this.nodes.content.style.height=this.options.display.maxHeight+"px";this.nodes.content.style.height=(this.options.display.maxHeight-(this.nodes.contentarea.offsetHeight-this.nodes.contentarea.clientHeight))+"px";g=true}}var c=false;if(this.nodes.contentarea.offsetHeight>j&&h>j){c=true}if(typeof this.options.display.maxItemsShowing=="number"){var o=0;for(var e=0;e<this.options.display.maxItemsShowing&&e<this.nodes.listItems.length;++e){o+=this.nodes.listItems[e].offsetHeight}this.nodes.content.style.height=o+"px"}if(c){if(this.nodes.contentarea.offsetHeight>h){this.nodes.content.style.height=h+"px";this.nodes.content.style.height=(h-(this.nodes.content.offsetHeight-h))+"px"}this.nodes.contentarea.style.top=(b.top-this.nodes.contentarea.offsetHeight-this.options.display.contentAreaOffset)+"px";this.nodes.content.style.marginBottom=this.options.display.contentOffset+"px"}else{if(this.nodes.contentarea.offsetHeight>j){this.nodes.content.style.height=j+"px";this.nodes.content.style.height=(j-(this.nodes.content.offsetHeight-j))+"px"}this.nodes.contentarea.style.top=(b.bottom+this.options.display.contentAreaOffset)+"px";this.nodes.content.style.marginTop=this.options.display.contentOffset+"px"}if(this.nodes.content.clientWidth<this.nodes.content.scrollWidth){var a=this.nodes.content.clientWidth;while(this.nodes.content.clientWidth<this.nodes.content.scrollWidth){this.nodes.content.style.width=++a+"px"}if(typeof this.options.display.autoWidthScrollbarPadding=="number"){this.nodes.content.style.width=(a+this.options.display.autoWidthScrollbarPadding)+"px"}}this.nodes.contentarea.style.left=b.left+"px";this.nodes.selector.style.top=b.top+"px";this.nodes.selector.style.left=b.left+"px";this.nodes.selector.style.position="absolute";this.nodes.contentarea.style.visibility="visible";this.nodes.selector.style.visibility="visible"};Dropdown.prototype.deactivate=function(){this.nodes.contentarea.style.visibility="hidden";this.nodes.contentarea.style.display="none";this.nodes.selector.style.visibility="hidden";this.nodes.contentarea.style.position="";this.nodes.contentarea.style.top="";this.nodes.contentarea.style.left="";this.nodes.selector.style.position="";this.nodes.selector.style.top="";this.nodes.selector.style.left="";this.nodes.content.style.height="";this.nodes.content.style.width="";this.nodes.content.style.whiteSpace="";this.nodes.dropdown.appendChild(this.nodes.contentarea);this.nodes.dropdown.appendChild(this.nodes.selector);this.nodes.selector.style.visibility="visible"};Dropdown.prototype.documentClickHandler=function(a){if(!isDescendant(a.target,this.nodes.selector)&&!isDescendant(a.target,this.nodes.contentarea)){this.toggleDropdown()}};Dropdown.prototype.windowResizeHandler=function(a){this.toggleDropdown();this.toggleDropdown()};runOnLoad(function(){var f=getElements("dropdown","*",document);for(var b=0;b<f.length;++b){var c=false;for(var a=0;a<Dropdown.dropdowns.length;++a){if(f[b]==Dropdown.dropdowns[a]){c=true;break}}if(!c){try{new Dropdown(f[b],Dropdown.default_options)}catch(d){alert('Error creating dropdown:\nNode id: "'+f[b].id+'"\nNode class: "'+f[b].className+'"')}}}});runOnLoad(addMainNavEvents);runOnLoad(addSearchEvents);function addMainNavEvents(){var g;var c=[];var e=[];var f=[];if(document.getElementById("main_nav")){g=document.getElementById("main_nav");c=g.getElementsByTagName("a");for(var d=0;d<c.length;d++){if(c[d].parentNode.nodeName=="DIV"){e.push(c[d])}}for(var b=0;b<e.length;++b){Handler.add(e[b],"mouseover",function(h){mainNavMenus("dd_"+this.id,true)});Handler.add(e[b],"mouseout",function(h){mainNavMenus("dd_"+this.id,false)})}f=g.getElementsByTagName("ul");for(var a=0;a<f.length;++a){Handler.add(f[a],"mouseover",function(h){mainNavMenus(this.id,true)});Handler.add(f[a],"mouseout",function(h){mainNavMenus(this.id,false)})}}}function mainNavMenus(f,e){var d;var a;var b;var c=document.body.id;d=f.replace(/dd_/,"");if(document.getElementById(f)){b=document.getElementById(f)}if(e){if(document.getElementById(d)){a=document.getElementById(d);a.style.backgroundColor="#0e1113";a.style.color="#9cc5dc"}if(b&&c!="trendsshopping_candy_index"){b.style.visibility="visible"}}else{if(document.getElementById(d)){a=document.getElementById(d);a.style.backgroundColor="transparent";a.style.color="#fff"}if(b&&c!="trendsshopping_candy_index"){b.style.visibility="hidden"}}}function addSearchEvents(){var a;if(document.getElementById("google_input")){a=document.getElementById("google_input");Handler.add(a,"focus",function(b){searchInput(true)});Handler.add(a,"blur",function(b){searchInput(false)})}}function searchInput(a){var b;if(document.getElementById("google_input")){b=document.getElementById("google_input");if(a){b.value="";b.style.color="#000"}if(!a&&b.value==""){b.style.color="#999";b.value="Search Style.com"}}}function openSlideshow(a){if(BrowserDetect.browser=="Explorer"&&BrowserDetect.version=="6"){var b=window.open(a,"Slideshow","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,width=931,height=650")}else{if(BrowserDetect.browser=="Firefox"){var b=window.open(a,"Slideshow","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,width=915,height=650")}else{if(BrowserDetect.browser=="Safari"){var b=window.open(a,"Slideshow","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,width=930,height=650")}else{var b=window.open(a,"Slideshow","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,width=920,height=650")}}}}var popUpBigImage,popUpTallImage;popUpBigImage=popUpTallImage=openSlideshow;function popUpVideoConsole(a){var b="";b=window.open(a,"videoConsole","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=1050,height=723")}function popWinners(a){var b="";b=window.open(a,"Winners","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=350,height=550")}function updateAd(b){var d=parseInt(b),e,a;var c="";if(d==1){c="banner"}if(d==2){c="box_ad"}editBody(c,b.substr(b.indexOf("|")+1))}function styleFlash_DoFSCommand(e,b){var d=parseInt(b),f,a;var c="";if(e=="updateAd"){if(d==1){c="banner"}if(d==2){c="box_ad"}if(d==3){c="box_ad2"}editBody(c,b.substr(b.indexOf("|")+1))}}if(navigator.appName&&navigator.appName.indexOf("Microsoft")!=-1&&navigator.userAgent.indexOf("Windows")!=-1&&navigator.userAgent.indexOf("Windows 3.1")==-1){document.write("<SCRIPT LANGUAGE=VBScript> \n");document.write("on error resume next \n");document.write("Sub styleFlash_FSCommand(ByVal command, ByVal args)\n");document.write(" call styleFlash_DoFSCommand(command, args)\n");document.write("end sub\n");document.write("</SCRIPT> \n")}function editBody(b,a){if(document.getElementById(b)!=null){document.getElementById(b).innerHTML=a}}window.name="opener";function go(a){if(opener&&!opener.closed){opener.location.href=a;window.close()}else{self.location.href=a}}function popUpVogue(a){var b="";b=window.open(a,"BIGPopUp","menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=733,height=471")}var agt=navigator.userAgent.toLowerCase();var is_safari=true;function ReadCookie(d){var b=""+document.cookie;var c=b.indexOf(d);if(c==-1||d==""){return""}var a=b.indexOf(";",c);if(a==-1){a=b.length}return unescape(b.substring(c+d.length+1,a))}var currEntryId;function UserInfo(){}UserInfo.USERNAME_COOKIE="amg_user_info";UserInfo.prototype.getUserName=function(){var a=ReadCookie(UserInfo.USERNAME_COOKIE);if(a==""){return null}return a};UserInfo.prototype.isLoggedIn=function(){return this.getUserName()!=null};function showMouseOverPointer(a){document.getElementById(this.id).style.cursor="pointer"}function appendReturnto(){window.location="/user/login/retrieve?returnto="+escape(window.location.pathname+window.location.search)}function doLogoutPost(){var a={method:"post",onSuccess:function(b){window.location=window.location}};new Ajax.Request("/user/logout",a)}function gotoLogin(){window.location="/user/login?returnto="+escape(window.location.pathname+window.location.search)}function registerLoginLink(){var a=document.getElementById("login_link");if(a){if(a.addEventListener){a.addEventListener("click",gotoLogin,false)}else{a.attachEvent("onclick",gotoLogin)}}}runOnLoad(showUserStatusInNav);runOnLoad(registerLoginLink);function showUserStatusInNav(){if(new UserInfo().isLoggedIn()){doShowSignedInNavbar()}else{doShowSignedOutNavbar()}}function doShowSignedOutNavbar(){if(document.getElementById("logged_out")!=null){document.getElementById("logged_out").style.display="block"}if(document.getElementById("logged_in")!=null){document.getElementById("logged_in").style.display="none"}if(document.getElementById("userId")!=null){document.getElementById("userId").innerHTML=""}}function doShowSignedInNavbar(){if(document.getElementById("logged_in")!=null){document.getElementById("logged_in").style.display="block"}if(document.getElementById("logged_out")!=null){document.getElementById("logged_out").style.display="none"}if(document.getElementById("userId")!=null){document.getElementById("userId").innerHTML='<a id="userProfileHome" href="/user/preferences">'+new UserInfo().getUserName()+"</a>"}}var dartCalls=new Array();var noDart=false;var dart=new Object();dart.tile_num=undefined;dart.ord=Math.random()*10000000000000000;dart.url="http://ad.doubleclick.net/adj/";function dartSwap(c){var b=document.getElementById("dartFrame_"+c);var d=(b.contentDocument||b.contentWindow.document).getElementById("adHolder").innerHTML;(b.contentDocument||b.contentWindow.document).location.replace("/nolayout/blankadcontent");d=d.toString();var a=new RegExp(dart[c].dartCall,"i");var e=new String(d);e=e.replace(a,"");e=e.replace(/<script .*?src="\?".*?><\/script>/i,"");document.getElementById("dartTarget_"+c).innerHTML=e}function dartReload(){dart.ord=Math.random()*10000000000000000;var a=document.getElementsByTagName("iframe");for(i=0;i<a.length;i++){if(a[i].className=="hiddenDAU"){adParts=a[i].id.split("_");if(i==0){dart.tile_num=undefined}dartRequest(adParts[1])}}}function dartRequest(b){if(typeof dart.tile_num=="undefined"){dart.tile_num=1}else{dart.tile_num++}var a="tile="+dart.tile_num+";ord="+dart.ord;dart[b].dartCall=dart.url+dart[b].dartCall+dart[b].dcopt+dart[b].placement+a+"?";var c="/nolayout/displayad";c+='?exe=dartSwap("'+b+'")';c+="&req="+dart[b].dartCall;if(noDart==true){document.write("No Ads, removed in DartCall.js")}else{document.write('<script type="text/javascript" src="'+dart[b].dartCall+'"><\/script>')}}var isSafari="false";var debug={log:function(d){var b=document.getElementsByTagName("head").item(0);debugCSS=document.createElement("link");debugCSS.href="/css/debug.css";debugCSS.type="text/css";debugCSS.rel="stylesheet";var a=document.getElementsByTagName("body").item(0);var c=document.getElementById("debug");if(!c){b.appendChild(debugCSS);c=document.createElement("div");c.id="debug";a.appendChild(c);$("debug").innerHTML="Debug Output window <span><a href=\"javascript: $('debug').style.display='none'; void 0;\">[X]Close</a></span><hr>"}$("debug").innerHTML=$("debug").innerHTML+d+"<br>"}};includeJS("/scripts/flashDetect.js");function flashupdateads(){cnp.ad.manager.reloadAds()}if(/\/user\/preferences/i.test(location.href)||/\/user\/registration/i.test(location.href)||/\/community\/lookbooks/i.test(location.href)||/\/community\/mylookbooks/i.test(location.href)||/\/stylefile/i.test(location.href)||/\/beautycounter/i.test(location.href)||/\/vogue\/scene/i.test(location.href)||/\/vogue\/voguedaily/i.test(location.href)||/\/fashionshows\/sartorialist/i.test(location.href)){includeJS("/scripts/yui/build/yahoo-dom-event/yahoo-dom-event.js");includeJS("/scripts/yui/build/container/container_core-min.js");includeJS("/scripts/prototype/prototype.js")}includeJS("/scripts/jquery.js");if(/\/fashionshows\/powersearch/i.test(location.href)||/\/peopleparties\/celebritysearch/i.test(location.href)||/\/peopleparties\/modelsearch/i.test(location.href)||/\/beauty\/beautysearch/i.test(location.href)){includeJS("/scripts/clearcase/prototype/prototype.js");includeJS("/scripts/prototype/scriptaculous/effects.js")}if(/\/vogue\/voguediaries/i.test(location.href)){includeJS("/scripts/vogue/voguediaries/jquery-1.2.1.pack.js");includeJS("/scripts/jquery_noconflict.js")};