function SendToEmailPopUp(URL){day=new Date();id=day.getTime();eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=441,height=520');")}window.addEvent('domready',function(){if($defined($('subnav_ro'))){$('subnav_ro').addEvent('click',function(e){element=$$('#subnav_ro dd ul').getLast();var fx=new Fx.Styles(element,{duration:200,wait:false});if(element.getStyle('display')=='none'||element.getStyle('opacity')==0){element.setStyle('opacity',0);element.setStyle('display','block');fx.start({'opacity':1})}else{fx.start({'opacity':0})}});$('subnav_ro').addEvent('mouseleave',function(e){element=$$('#subnav_ro dd ul').getLast();var fx=new Fx.Styles(element,{duration:600,wait:false});fx.start({'opacity':0})})}if($defined($('flashrequired'))){new Fx.Style($('flashrequired'),'opacity',{duration:2500}).start(0,1)}resetContentHeight=function(){if($defined($('wrapper'))){if(window.getWidth()<=1002){$('wrapper').setStyle('width','1002px')}else{$('wrapper').setStyle('width','100%')}}if($defined($('content_wrapper'))){if($defined($('subnav'))){$('content_wrapper').setStyle('height',(window.getHeight()-106))}else{$('content_wrapper').setStyle('height',(window.getHeight()-82))}var flashurl=''+window.location+'';if(flashurl.match('en/index')||flashurl.match('fr/index')||flashurl.match('en/women-clothes-collection')||flashurl.match('en/men-clothes-collection')||flashurl.match('fr/collection-vetements-femmes')||flashurl.match('fr/collection-vetements-hommes')||flashurl.match('en/women-fashion-accessories')||flashurl.match('en/men-fashion-accessories')||flashurl.match('fr/accessoires-mode-femmes')||flashurl.match('fr/accessoires-mode-hommes')||flashurl.match('en/le-chateau-fashion-history')||flashurl.match('fr/le-chateau-historique-mode')||flashurl.match('en/as-seen-in')||flashurl.match('fr/lu-dans')){$('content').setStyle('height','100%');$('content').setStyle('width','auto');var contentsize=$('content').getSize();if(contentsize['size']['y']<540){$('content').setStyle('height',540)}else{$('content').setStyle('height','100%')}}}};resetContentHeight();window.addEvent('resize',function(){resetContentHeight()});$$('.nav_primary','.bottom_menu','.subnav').each(function(thisnavitem){var MouseFx=new Fx.Style(thisnavitem,'opacity',{wait:false,duration:400,transition:Fx.Transitions.Quart.easeInOut});var src=thisnavitem.getProperty('src');src=src.replace('_ro','');var extension=src.substring(src.lastIndexOf('.'),src.length);thisnavitem.getParent().getParent().setStyle('background','url('+src.replace(extension,'_ro'+extension)+') no-repeat');thisnavitem.addEvent('mouseenter',function(){MouseFx.start(1,0.01)});thisnavitem.addEvent('mouseleave',function(){MouseFx.start(0.01,1)})});if($defined($('nav_newsletter_submit'))){$('nav_newsletter_submit').addEvent('mouseover',function(){new Fx.Style(this,"opacity",{duration:200}).start(0,1)})}$$('#content a').each(function(thisa){thisa.addEvent('mouseover',function(){new Fx.Style(thisa,'opacity',{duration:200}).start(0,1)})});if(window.webkit){$$('#content a img').each(function(thisa){thisa.removeEvents('mouseover');thisa.addEvent('mouseover',function(){new Fx.Style(thisa,'opacity',{duration:200}).start(0,1)})})}$$('.redirect_select').each(function(this_redirect){this_redirect.addEvent('change',function(){if(window.ie){if($defined(this_redirect.options[this_redirect.selectedIndex].name)){window.location=this_redirect.options[this_redirect.selectedIndex].name}}else{if($defined(this_redirect.options[this_redirect.selectedIndex].getProperty('name'))){window.location=this_redirect.options[this_redirect.selectedIndex].getProperty('name')}}})});$$('.redirect_select_new').each(function(this_redirect){var day=new Date();var windowid=day.getTime();this_redirect.addEvent('change',function(){if(window.ie){if($defined(this_redirect.options[this_redirect.selectedIndex].name)){window.open(this_redirect.options[this_redirect.selectedIndex].name,windowid)}}else{if($defined(this_redirect.options[this_redirect.selectedIndex].getProperty('name'))){window.open(this_redirect.options[this_redirect.selectedIndex].getProperty('name'),windowid)}}})});if(window.ie7){$$('.redirect_select').each(function(fixselect){fixselect.setStyle('height','18px')})}var HoverTips=new Tips($$('.tooltip'),{initialize:function(){this.fx=new Fx.Style(this.toolTip,'opacity',{duration:200,wait:false}).set(0)},onShow:function(thistip){this.fx.start(1)},onHide:function(thistip){this.fx.start(0)}})});window.addEvent('load',function(){if($defined($('node-4'))||$defined($('node-21'))){if($defined($('node-4'))){var trendstitle=$('node-4')}else{var trendstitle=$('node-21')}new Fx.Style(trendstitle,'opacity',{duration:600}).start(0,1).chain(function(){new Fx.Style($('block-views-LadiesPickOfTheWeek'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-MenPickOfTheWeek'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-TrendsReport'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-Soundstage'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-LeChateauTV'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-AsSeenIn'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-StoreOpenings'),'opacity',{duration:200}).start(0,1).chain(function(){})})})})})})})});UnloadPage=function(){new Fx.Style($('block-views-StoreOpenings'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-AsSeenIn'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-LeChateauTV'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-Soundstage'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-TrendsReport'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-MenPickOfTheWeek'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-LadiesPickOfTheWeek'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style(trendstitle,'opacity',{duration:600}).start(0).chain(function(){})})})})})})})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){if(thisaimg.target=='_blank'){thisaimg.addEvent('click',function(){window.open(thisaimg.href);thisaimg.href="#";thisaimg.target="_self";return false})}else{thisaimg.addEvent('click',UnloadPage.bind(this))}})}if($defined($('node-5'))||$defined($('node-22'))){if($defined($('node-5'))){var stylefilestitle=$('node-5')}else{var stylefilestitle=$('node-22')}new Fx.Style(stylefilestitle,'opacity',{duration:600}).start(0,1).chain(function(){new Fx.Style($('block-views-HowTo'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-WardrobeEssentials'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-WhatToWear'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-Care'),'opacity',{duration:200}).start(0,1).chain(function(){})})})})});UnloadPage=function(){new Fx.Style($('block-views-Care'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-WhatToWear'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-WardrobeEssentials'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-HowTo'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style(stylefilestitle,'opacity',{duration:600}).start(0).chain(function(){})})})})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('node-7'))||$defined($('node-24'))){new Fx.Style($('block-views-AboutLeChateau'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-History'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-Expertise'),'opacity',{duration:200}).start(0,1).chain(function(){})})});UnloadPage=function(){new Fx.Style($('block-views-Expertise'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-History'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-AboutLeChateau'),'opacity',{duration:200}).start(0).chain(function(){})})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('node-6'))||$defined($('node-23'))){new Fx.Style($('customer_title'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('locator_block'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-FAQ'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('contact_us_block'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('exchange_block'),'opacity',{duration:200}).start(0,1).chain(function(){})})})})});UnloadPage=function(){new Fx.Style($('exchange_block'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('contact_us_block'),'opacity',{duration:200}).start(0).chain(function(){new Fx.Style($('block-views-FAQ'),'opacity',{duration:200}).start(0).chain(function(){new Fx.Style($('locator_block'),'opacity',{duration:200}).start(0).chain(function(){new Fx.Style($('customer_title'),'opacity',{duration:200}).start(0).chain(function(){})})})})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))});$('contact_submit').addEvent('mouseover',function(){new Fx.Style(this,"opacity",{duration:200}).start(0,1)});new Accordion($$('.view-item-FAQ .view-data-field_faq_question_value'),$$('.view-item-FAQ .view-data-field_faq_answer_value'),{start:'all-closed',alwaysHide:true,onActive:function(toggler,element){toggler.setStyle('color','#ee2e24');toggler.setStyle('font-weight','bold');new Fx.Style(element,'padding-bottom').start('15px')},onBackground:function(toggler,element){toggler.setStyle('color','#666666');toggler.setStyle('font-weight','normal');new Fx.Style(element,'padding-bottom').start('0px')}})}if($defined($('locator_block'))){new Fx.Style($('locator_block'),'opacity',{duration:200}).start(0,1);UnloadPage=function(){new Fx.Style($('locator_block'),'opacity',{duration:50}).start(0)};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('block-views-LadiesPickOfTheWeekFull'))){new Fx.Style($('block-views-LadiesPickOfTheWeekFull'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-LadiesPreviousPicks'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('block-views-LadiesPreviousPicks'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-LadiesPickOfTheWeekFull'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('block-views-MenPickOfTheWeekFull'))){new Fx.Style($('block-views-MenPickOfTheWeekFull'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('block-views-MenPreviousPicks'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('block-views-MenPreviousPicks'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('block-views-MenPickOfTheWeekFull'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('trendsreport_left'))){new Fx.Style($('trendsreport_left'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('trendsreport_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('trendsreport_right'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('trendsreport_left'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('lechateautv_left'))){new Fx.Style($('lechateautv_title'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('lechateautv_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('lechateautv_right'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('lechateautv_title'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('howto_left'))){new Fx.Style($('howto_left'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('howto_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('howto_right'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('howto_left'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('whattowear_left'))){new Fx.Style($('whattowear_left'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('whattowear_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('whattowear_right'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('whattowear_left'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('care_left'))){new Fx.Style($('care_left'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('care_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('care_right'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('care_left'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('wardrobe_left'))){new Fx.Style($('wardrobe_left'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('wardrobe_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('wardrobe_right'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('wardrobe_left'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('subscribe_left'))){new Fx.Style($('subscribe_left'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('subscribe_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('subscribe_left'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('subscribe_right'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('careers_left'))){new Fx.Style($('careers_left'),'opacity',{duration:200}).start(0,1).chain(function(){new Fx.Style($('careers_right'),'opacity',{duration:200}).start(0,1).chain(function(){})});UnloadPage=function(){new Fx.Style($('careers_right'),'opacity',{duration:50}).start(0).chain(function(){new Fx.Style($('careers_left'),'opacity',{duration:50}).start(0).chain(function(){})})};if(window.webkit){window.addEvent('unload',UnloadPage.bind(window))}$$('a').each(function(thisaimg){thisaimg.addEvent('click',UnloadPage.bind(this))})}if($defined($('hr_ticker'))){news_ticker=new Ticker($('hr_ticker').getElement('div.item-list'),$$('#hr_ticker .item-list div'),{speed:2000,delay:3000})}if($defined($('newsletter_submit'))){$('newsletter_submit').addEvent('mouseover',function(){new Fx.Style(this,"opacity",{duration:200}).start(0,1)})}$$('.howto-share a','.howto-share a img','.pick-share a','.pick-share a img','#sizechart_download a','#sizechart_download a img','#investor_more a','#investor_more a img','.pick-send-to-friend a','.pick-send-to-friend a img','#international_more a','#international_more a img','#subnav_international','#nav_gift_card a','#nav_gift_card a img','#ir_link a','#ir_link a img','#careers_print_pdf a','#contest_rules_agree a').each(function(thisexception){thisexception.removeEvents('click')});if($defined($('subnav_international'))){$('subnav_international').getParent().removeEvents('click')}if(window.ie6){imgs=$$('#content img[src$=.png]');new pngFix({imgElements:imgs})}});var Ticker=new Class({options:{speed:1000,delay:5000,onComplete:Class.empty,onStart:Class.empty},initialize:function(container,items,options){this.setOptions(options);this.el=$(container);this.items=items;var w=0;this.items.each(function(li,index){w+=li.getSize().size.x});this.el.setStyles({position:'relative',top:0,left:0,width:w});this.periodical=this.fx=new Fx.Styles(this.el,{duration:this.options.speed,transition:Fx.Transitions.Cubic.easeInOut,onComplete:function(){var i=(this.current==0)?this.items.length:this.current;this.items[i-1].injectInside(this.el);this.el.setStyle('left',0)}.bind(this)});this.current=0;this.next.bind(this).delay(this.options.delay)},next:function(){this.current++;if(this.current>=this.items.length)this.current=0;this.fx.start({top:this.items[this.current].offsetTop,left:-this.items[this.current].offsetLeft});this.next.bind(this).delay(this.options.delay)}});Ticker.implement(new Options);