YAHOO.namespace('speedfc.product.wishlist');YAHOO.speedfc.product.wishlist={panel:null,p:{item_id:null,qty:null,size:null,color:null},postData:null,add:function(sku_selection){var oThis=YAHOO.speedfc.product.wishlist;oThis.p.item_id=sku_selection.item_id;oThis.p.qty=sku_selection.qty;oThis.p.size=sku_selection.size_id||sku_selection.defaults.size;oThis.p.color=sku_selection.color_id;oThis.makeRequest("add");return false;},rm:function(id){var oThis=YAHOO.speedfc.product.wishlist;oThis.p.item_id=typeof id=="undefined"?document.getElementById("item_hidden_0").value:id;oThis.makeRequest("remove");return false;},makeRequest:function(action){var oThis=YAHOO.speedfc.product.wishlist;oThis.preparePostData();return YAHOO.util.Connect.asyncRequest('POST',"/wishlist/"+action,oThis.callback,oThis.postData);},preparePostData:function(){var oThis=YAHOO.speedfc.product.wishlist;oThis.postData='';for(var i in oThis.p){oThis.postData+="&"+i.substr(0,1)+"="+oThis.p[i];}
oThis.postData+='&ajax=true';},callback:{success:function(o){var oThis=YAHOO.speedfc.product.wishlist;if(o.responseText==undefined)return false;if(typeof wait!='undefined'){wait.hide();}
responses=o.responseText.split('<br />');oThis.prepareHeader(responses[0]);if(responses.length==3)
oThis.lnkFavorites(responses[2]);else
oThis.lnkFavorites(responses[2],responses[3]);var wishlist=document.getElementById("wishlist_counter");if(wishlist)wishlist.innerHTML=responses[1].replace(new RegExp("^[\\s]+","g"),"");},failure:function(o){if(o.responseText==undefined)return false;YAHOO.speedfc.product.wishlist.prepareHeader("There was an error with your bag.");}},prepareHeader:function(text){if(text==''){window.location='/wishlist';return;}
YAHOO.speedfc.product.wishlist.openList(text);},openList:function(text){if(!YAHOO.speedfc.product.wishlist.panel){YAHOO.speedfc.product.wishlist.panel=new YAHOO.speedfc.utilities.sfcPanel('header_wishlist_last_item');YAHOO.speedfc.product.wishlist.panel.setProperties({width:'250px',context:['header_top_wrapper','tr','br'],fixedcenter:false,iframe:true,close:false,zindex:300,modal:false,constraintoviewport:false,scope:this});}
YAHOO.speedfc.product.wishlist.panel.setBody(text,true);YAHOO.speedfc.product.wishlist.panel.show();setTimeout('window.scrollTo(0, 0)',1);setTimeout("YAHOO.speedfc.product.wishlist.panel.hide();YAHOO.speedfc.product.wishlist.panel.setBody('');",10000);},lnkFavorites:function(){var icon=document.getElementById('wishlistFavoritesLnk_icon');var text=document.getElementById('wishlistFavoritesLnk');if(!text)
return;if(arguments.length>1){icon.innerHTML=arguments[0];text.innerHTML=arguments[1];}
else{icon.innerHTML="";text.innerHTML=arguments[0];}}};;YAHOO.namespace('speedfc.utilities.sfcPanel');YAHOO.speedfc.utilities.sfcPanel=function(id){this.originalId=id;this.id=id+"_sfc_panel";this.panelMask=this.id+"_mask";this.hideOnMaskClick=false;this.onCloseFunction=null;this.properties={fixedcenter:true,close:false,draggable:false,modal:true,visible:false,iframe:true,effect:{effect:YAHOO.widget.ContainerEffect.FADE,duration:0.5}};this.panel=new YAHOO.widget.Panel(this.id,this.properties);this.getDivContent=function(div_id){var div=document.getElementById(div_id);if(div)
return div.innerHTML;return null;};this.init=function(){this.panel.setHeader("<div class='tl'></div><span></span><div class='tr'></div>");var body=this.getDivContent(this.originalId);if(!body)body="&nbsp;";this.panel.setBody(body);this.panel.setFooter("&nbsp;");};this.initialize=this.init();this.setHeader=function(header){this.panel.setHeader("<div class='tl'></div><span>"+header+"</span><div class='tr'></div>");};this.setBody=function(body,not_rounded){not_rounded=typeof(not_rounded)!='undefined'?not_rounded:false;var prefix="<div class='outer_panel_wrapper' style='background-color: #fff'><div class='inner_panel_wrapper'>";var suffix="</div></div>";if(not_rounded){prefix="<div class='flat_panel_wrapper'>";suffix="</div>";}
this.panel.setBody(prefix+body+suffix);};this.setBodyFomDiv=function(div_id){var body=this.getDivContent(this.originalId);if(!body)body="&nbsp;";this.setBody(body);}
this.setFooter=function(footer){this.panel.setFooter(footer);};this.setProperties=function(properties,apply_now){this.panel.cfg.applyConfig(properties,true);if(apply_now)
this.panel.cfg.fireQueue();};this.setProperty=function(property_name,value,apply_now){this.panel.cfg.setProperty(property_name,value);if(apply_now)
this.panel.cfg.fireQueue();};this.show=function(){this.panel.render(document.body);this.panel.show();this.setHideOnMaskClickListener();if(YAHOO.env.ua.ie>0){settings={tl:{radius:10},tr:{radius:10},bl:{radius:10},br:{radius:10},antiAlias:true,autoPad:true,validTags:["div"]}
$('#'+this.id+' .bd .outer_panel_wrapper').corner(settings);}};this.hide=function(){if(this.onCloseFunction!=null)this.onCloseFunction()
this.panel.hide();};this.setHideOnMaskClick=function(value){this.hideOnMaskClick=value;};this.setHideOnMaskClickListener=function(){var mask=document.getElementById(this.panelMask);var sfcPanel=this;if(this.hideOnMaskClick&&mask){YAHOO.util.Event.addListener(mask,"click",function(){sfcPanel.hide()});}
else if(mask){YAHOO.util.Event.removeListener(mask,"click");}};this.setOnCloseFunction=function(value){this.onCloseFunction=value;}
this.addClass=function(className){var mainDiv=document.getElementById(this.id);var newClassName=mainDiv.className+' '+className;mainDiv.className=newClassName;}};;YAHOO.namespace('speedfc.utilities.common');YAHOO.speedfc.utilities.common={sizecharts_panel:null,gcBalancePanel:null,isArray:function(obj){if(obj.constructor.toString().indexOf("function Array")==-1)
return false;else
return true;},clean_phone:function(current){current.value=current.value.replace('-','').replace(' ','');},next_if_full:function(current,next_name,size){if(current.oldValue==current.value)return;current.oldValue=current.value;if(current.value.length>=size)document.getElementsByName(next_name)[0].focus();},printPage:function()
{if(window.print)window.print();},popupOptions:function()
{this.height=screen.availHeight/2;this.width=screen.availWidth/2;this.top=0;this.left=0;this.toolbar=false;this.location=false;this.directories=false;this.status=false;this.menubar=false;this.scrollbars=false;this.resizable=false;this.dependent=false;this.build=YAHOO.speedfc.utilities.common._buildOptions;},_buildOptions:function()
{var sTemp="";sTemp+="height="+this.height+",";sTemp+="width="+this.width+",";sTemp+="top="+this.top+",";sTemp+="left="+this.left+",";sTemp+="scrollbars="+((this.scrollbars)?"yes":"no")+",";sTemp+="toolbar="+((this.toolbar)?"yes":"no")+",";sTemp+="location="+((this.location)?"yes":"no")+",";sTemp+="directories="+((this.directories)?"yes":"no")+",";sTemp+="status="+((this.status)?"yes":"no")+",";sTemp+="menubar="+((this.menubar)?"yes":"no")+",";sTemp+="resizable="+((this.resizable)?"yes":"no")+",";sTemp+="dependent="+((this.dependent)?"yes":"no");return(sTemp);},popup:function(winlink,winname)
{var winwidth=(arguments.length>=3)?arguments[2]:screen.availWidth/2;var winheight=(arguments.length>=4)?arguments[3]:screen.availHeight/2;var winscroll=(arguments.length>=5)?((arguments[4]=='1')?true:false):false;var wintoolbar=(arguments.length>=6)?((arguments[5]=='1')?true:false):false;var winresize=(arguments.length>=7)?((arguments[6]=='1')?true:false):true;var winmenubar=(arguments.length>=8)?((arguments[7]=='1')?true:false):false;var oOption=new YAHOO.speedfc.utilities.common.popupOptions();oOption.width=winwidth;oOption.height=winheight;oOption.scrollbars=winscroll;oOption.toolbar=wintoolbar;oOption.resizable=winresize;oOption.menubar=winmenubar;oOption.top=((screen.availHeight/2)-(winheight/2));oOption.left=((screen.availWidth/2)-(winwidth/2));oOption.location=false;oOption.directories=false;oOption.status=false;oOption.dependent=false;var sOptions=oOption.build();oWin=window.open(winlink,winname,sOptions);if(oWin){oWin.focus();}},show_sizecharts:function(category_url){YAHOO.speedfc.utilities.common.sizecharts_panel=new YAHOO.speedfc.utilities.sfcPanel("sizecharts_panel");YAHOO.speedfc.utilities.common.sizecharts_panel.setBody("sizechart");YAHOO.speedfc.utilities.common.sizecharts_panel.show();},validate_email_adresses:function(email_adress){var email_1_regexp=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;var email_n_regexp=/^(((\s)*(\,){1}(\s)*){1}([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+)+$/;return String(","+email_adress).search(email_n_regexp)!=-1;},setSelectValue:function(combo,val){var valueFound=false;var select=document.getElementById(combo);for(index=0;index<select.length;index++){if(select[index].value==val){valueFound=true;select.selectedIndex=index;}}
return valueFound;},cleanInputBox:function(input,value){if(input&&(input.nodeName)&&(input.nodeName=='INPUT')&&(input.value==value)){input.value='';}},restoreInputBox:function(input,value){if(input&&(input.nodeName)&&(input.nodeName=='INPUT')&&(input.value==''||input.value==value)){input.value=value;}},emailSignupPanel:null,showEmailSignupOverlay:function(){if(this.emailSignupPanel==null){this.emailSignupPanel=new YAHOO.speedfc.utilities.sfcPanel("email_signup_overlay");this.emailSignupPanel.setProperties({width:'420px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this});var content=document.getElementById("email_signup_base");this.emailSignupPanel.setBody(content.innerHTML);}
this.emailSignupPanel.show();},submitEmailSignupOverlay:function(input){var mail=document.getElementById(input);var sUrl='/emlsgnup?emailaddress='+mail.value;mail.value="";var callback={success:function(o){var status="error";if(o.responseText=="success"){status="success"
if(typeof(cmCreateConversionEventTag)!='undefined')
cmCreateConversionEventTag('Newsletter Signup','2','Newsletter')
if(YAHOO.speedfc.utilities.common.emailSignupPanel)
YAHOO.speedfc.utilities.common.emailSignupPanel.hide();YAHOO.speedfc.utilities.footer.showSignupOverlay(status);}else{YAHOO.speedfc.utilities.common.alert(o.responseText);}},failure:function(o){YAHOO.speedfc.utilities.footer.showSignupOverlay('error');}};return YAHOO.util.Connect.asyncRequest('GET',sUrl,callback,null);},catalogRequestPanel:null,showCatalogRequestOverlay:function(){this.catalogRequestPanel=null;this.catalogRequestPanel=new YAHOO.speedfc.utilities.sfcPanel("catalog_request_ov");this.catalogRequestPanel.setProperties({width:'355px',fixedcenter:true,iframe:false,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this});this.catalogRequestPanel.setBody("<iframe src='"+location.protocol+'//'+location.host+"/catsignup' width='330' height='480' frameborder='0' id='catalog_request_iframe' scrolling='no' />");this.catalogRequestPanel.show();},customMsgPanel:null,customOverlay:function(message){if(this.customMsgPanel==null){this.customMsgPanel=new YAHOO.speedfc.utilities.sfcPanel("custom_msg");this.customMsgPanel.setProperties({width:'600px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this});}
this.customMsgPanel.setBody(message);this.customMsgPanel.show();},addRecipientPanel:null,clickedShiptToCombo:null,showAddRecipientPanel:function(clicked_combo){this.addRecipientPanel=null;this.addRecipientPanel=new YAHOO.speedfc.utilities.sfcPanel("add_recipient_overlay");this.addRecipientPanel.setProperties({width:'355px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:false,scope:this,effect:null});this.addRecipientPanel.setBody("<iframe src='/add-new-recipient' width='330' height='480' frameborder='0' id='add_recipient_iframe' scrolling='no'/>");this.addRecipientPanel.show();YAHOO.speedfc.utilities.common.clickedShiptToCombo=clicked_combo;},updateRecipientCombos:function(){var callback={success:function(o){var combos=YAHOO.util.Dom.getElementsByClassName("recipient_combo");var recipients=YAHOO.lang.JSON.parse(o.responseText);var combos_opt_selected=0;for(var i=0;i<combos.length;i++){combo_opt_selected=combos[i].selectedIndex;while(combos[i].options.length>0)combos[i].remove(0);for(var j=0;j<recipients.length;j++)
YAHOO.speedfc.utilities.common.addOption(combos[i],recipients[j].nickname,recipients[j].value);combos[i].selectedIndex=combo_opt_selected;combos[i].onchange();}
YAHOO.speedfc.utilities.common.clickedShiptToCombo.selectedIndex=recipients.length-2;YAHOO.speedfc.utilities.common.clickedShiptToCombo.onchange();},failure:function(o){window.location.reload();YAHOO.speedfc.utilities.common.clickedShiptToCombo=null;}};var sUrl="/retrieve-recipients";return YAHOO.util.Connect.asyncRequest('GET',sUrl,callback,null);},addOption:function(select_elem,label,value){if(typeof label=='undefined')return false;if(typeof select_elem=='undefined'||select_elem==null)return false;var opt=new Option(label,value);try{select_elem.add(opt,null);}catch(ex){select_elem.add(opt);}
return true;},panelAlert:null,alert:function(text){if(typeof('YAHOO.speedfc.utilities.sfcPanel')!='undefined'){var target=document.getElementById('alert');if(typeof(target)=='undefined'||target==null){var node=document.createElement('div');node.id='alert';node.style.display='none';document.getElementsByTagName('body')[0].appendChild(node);}
if(this.panelAlert==null)
this.panelAlert=new YAHOO.speedfc.utilities.sfcPanel('alert');this.panelAlert.setProperties({width:'250px',fixedcenter:true,iframe:true,close:false,zindex:3000,modal:true,constraintoviewport:false,scope:this});var body='<div id="alert_panel">'
+'<div id="alert_panel_wrapper">'
+'<div id="alert_close_btn"><a href="#" onclick="YAHOO.speedfc.utilities.common.closePanelAlert(); return false;"><img src="/images/panel_styles/default/close.jpg"></a></div>'
+'<div id="alert_message_wrapper">'+text+'</div>';this.panelAlert.setProperty("modal",true);this.panelAlert.setBody(body);this.panelAlert.setOnCloseFunction(function(){});this.panelAlert.show();}else alert(text);},closePanelAlert:function(){YAHOO.speedfc.utilities.common.panelAlert.hide();},showGCBalanceOverlay:function(msg){if(this.gcBalancePanel==null){this.gcBalancePanel=new YAHOO.speedfc.utilities.sfcPanel("gcbalance_overlay");this.gcBalancePanel.setProperties({width:'250px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this});var body='<div id="alert_panel">'
+'<div id="alert_panel_wrapper">'
+'<div id="alert_close_btn"><a href="#" onclick="YAHOO.speedfc.utilities.common.closeGCBalance(); return false;"><img src="/images/panel_styles/default/close.jpg"></a></div>'
+'<div id="alert_message_wrapper">'+msg+'</div>';this.gcBalancePanel.setBody(body);}
this.gcBalancePanel.show();},closeGCBalance:function(){YAHOO.speedfc.utilities.common.gcBalancePanel.hide();},hideContainer:function(classname,value){var elements=YAHOO.util.Dom.getElementsByClassName(classname);var display='none';if(value)
display='inline';for(var i in elements)
{elements[i].style.display=display;}},updateZipLengthOnError:function(combo_name,zip_name){var country_e=document.getElementById(combo_name);var zip_e=document.getElementById(zip_name);if(country_e&&zip_e){var curr_country=country_e.options[country_e.selectedIndex].value;if(curr_country=='US'||curr_country=='PR')
var newziplen=5;else
var newziplen=7;zip_e.maxLength=newziplen;}}};;YAHOO.namespace('speedfc.utilities.header');YAHOO.speedfc.utilities.header={orderTrackPanel:null,fragrancesPanel:null,showTrackOverlay:function(){if(this.orderTrackPanel==null){this.orderTrackPanel=new YAHOO.speedfc.utilities.sfcPanel("track_overlay");this.orderTrackPanel.setProperties({width:'368px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this});var content=document.getElementById("order_tracking_base");this.orderTrackPanel.setBody(content.innerHTML);}
this.orderTrackPanel.show();var e=document.getElementById("otracking_input");if(e){e.value="Enter your Order Number";if(YAHOO.env.ua.ie>0){e.attachEvent("onfocus",function(){YAHOO.speedfc.utilities.common.cleanInputBox(e,"Enter your Order Number")});e.attachEvent("onblur",function(){YAHOO.speedfc.utilities.common.restoreInputBox(e,"Enter your Order Number")});}}},orderNumFocus:function(el){if(el.value=="Enter your Order Number")
el.value="";},orderNumBlur:function(el){if(el.value=="")
el.value="Enter your Order Number";},catalogMsgPanel:null,showCatalogOverlay:function(status){this.catalogMsgPanel=null;this.catalogMsgPanel=new YAHOO.speedfc.utilities.sfcPanel("signup_msg");this.catalogMsgPanel.setProperties({width:'368px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this});var content="";if(status=='success'){content=document.getElementById("catalog_request_wrapper_success");}else if(status=='email_used'){content=document.getElementById("catalog_request_wrapper_email_used");}else{content=document.getElementById("catalog_request_wrapper_fail");}
this.catalogMsgPanel.setBody(content.innerHTML);this.catalogMsgPanel.show();},searchTermAlert:function(id){var obj=YAHOO.util.Dom.get(id);if(obj){value=YAHOO.lang.trim(obj.value);}else{value="";}
if(value!='Keyword or Item #')return true;YAHOO.speedfc.utilities.common.alert('Please enter a keyword or item #');return false;},searchOrderAlert:function(id){var obj=YAHOO.util.Dom.get(id);if(obj){value=YAHOO.lang.trim(obj.value);}else{value="";}
if(value!='Enter your Order Number')return true;YAHOO.speedfc.utilities.common.alert('Please enter an Order Number #');return false;}};;YAHOO.namespace('speedfc.utilities.footer');YAHOO.speedfc.utilities.footer={signupMsgPanel:null,showSignupOverlay:function(status){if(this.signupMsgPanel==null){this.signupMsgPanel=new YAHOO.speedfc.utilities.sfcPanel("signup_msg");this.signupMsgPanel.setProperties({width:'368px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this});}
var content='';if(status=='success'){content=document.getElementById("signup_msg_wrapper_success");}else{content=document.getElementById("signup_msg_wrapper_fail");}
this.signupMsgPanel.setBody(content.innerHTML);this.signupMsgPanel.show();}};;YAHOO.namespace('speedfc.utilities.giftcard');YAHOO.speedfc.utilities.giftcard={display_emailInput:function(){document.getElementById('to_emailR').style.display='';document.getElementById('to_emailR_conf').style.display='';document.getElementById('txt_email').style.display='block';document.getElementById('txt_print').style.display='none';},hide_emailInput:function(){document.getElementById('to_emailR').style.display='none';document.getElementById('to_emailR_conf').style.display='none';document.getElementById('to_email').value='';document.getElementById('to_verify_email').value='';document.getElementById('txt_email').style.display='none';document.getElementById('txt_print').style.display='block';},plasticGC_setInputErrors:function(element){var error_class=" form_error";if(element)
element.className+=error_class;},plasticGC_setErrors:function(errors){var error_container=document.getElementById("gc_error_container");var error_div=document.getElementById("gc-errors");if(error_container&&error_div&&errors){var error="<h1>ERROR</h1>";error+=errors;error_div.innerHTML=error;error_container.style.display="block";}},plasticGC_removeErrors:function(){var error_class="form_error";var gc_input_elements=new Array('size_select_0','qty_select_0');for(var i=0;i<gc_input_elements.length;i++){var element=document.getElementById(gc_input_elements[i]);if(element)
element.className="";}
var error_container=document.getElementById("gc_error_container");var error_div=document.getElementById("gc-errors");if(error_container&&error_div){error_div.innerHTML="";error_container.style.display="none";}},addGCtoBag:function(){var errors="";YAHOO.speedfc.utilities.giftcard.plasticGC_removeErrors();var color='';var elColor=document.getElementById('color_id_0');if(elColor)color=elColor.value;var amount='';var elAmount=document.getElementById('size_select_0');if(elAmount){amount=elAmount.value;};if(!amount){errors+="Please select an amount";YAHOO.speedfc.utilities.giftcard.plasticGC_setInputErrors(elAmount);}
var qty='';var elQty=document.getElementById('qty_select_0');if(elQty){qty=elQty.value;};if(!qty){var add_br="";if(errors){add_br+="<br>";};errors+=add_br+"Please select a quantity";YAHOO.speedfc.utilities.giftcard.plasticGC_setInputErrors(elQty);};var recipient='';var elRecipient=document.getElementById('ship_to_0');if(elRecipient){recipient=elRecipient.value;};if(errors){YAHOO.speedfc.utilities.giftcard.plasticGC_setErrors(errors);return;}
var gc=document.getElementsByTagName('input');var ids=new Array();var post_colors=new Array();var post_sizes=new Array();var post_qtys=new Array();for(var i=0;i<gc.length;i++){if(gc[i].type=="checkbox"&&gc[i].checked&&amount!=''&&qty!=''){ids[ids.length]=eval('gift_item_codes.'+gc[i].value+'['+amount+']');post_colors[post_colors.length]='';post_sizes[post_sizes.length]='';post_qtys[post_qtys.length]=qty;};};if(ids.length==0||qty.value==''){errors="Please choose a gift card design";YAHOO.speedfc.utilities.giftcard.plasticGC_setErrors(errors);return;};var postData='i='+ids.join(',')
+'&c='+post_colors.join(',')
+'&s='+post_sizes.join(',')
+'&q='+post_qtys.join(',')
+'&ost='+recipient
+'&st='+recipient
+'&url_from='+encodeURIComponent(window.location);var sUrl="/cart/ajaxadd";var callback={success:function(o){YAHOO.speedfc.cart.add.addedToCart(o);},failure:function(o){if(o.responseText==undefined)return;YAHOO.speedfc.cart.add.open_header_cart("There was an error while adding the item to your bag.");}};YAHOO.util.Connect.asyncRequest('POST',sUrl,callback,postData);}};;YAHOO.namespace('speedfc.utilities.topNavigation');YAHOO.speedfc.utilities.topNavigation={oMenu:null,iframe_id:null,lfragrances:null,getCatNavContainer:function(){oMenu=new YAHOO.widget.MenuBar("category_nav_container",{autosubmenudisplay:true,hidedelay:150,lazyload:true});var is_ie6=document.all&&(navigator.userAgent.toLowerCase().indexOf("msie 6.")!=-1);if(is_ie6)
oMenu.subscribe("show",YAHOO.speedfc.utilities.topNavigation.onShow);oMenu.render();},getFragrancesContainer:function(){lfragrances=new YAHOO.speedfc.utilities.sfcPanel("fragrances_wrapper");lfragrances.setProperties({width:'920px',fixedcenter:true,iframe:true,close:false,zindex:300,modal:true,constraintoviewport:true,scope:this,effect:null});var content=YAHOO.util.Dom.get("fragrances_wrapper");if(content)content=content.innerHTML;lfragrances.setBody(content);YAHOO.util.Event.addListener("fragance-quick-search","click",lfragrances.show,null,lfragrances);YAHOO.util.Event.addListener("fragance-quick-search_img","click",lfragrances.show,null,lfragrances);},onShow:function(p_sType,p_aArgs){YAHOO.speedfc.utilities.topNavigation.iframe_id=this.id;setTimeout(function(){var iframe=null;var tmp_div=YAHOO.util.Dom.getElementsByClassName('bd','div',YAHOO.speedfc.utilities.topNavigation.iframe_id);iframe=YAHOO.util.Dom.get(YAHOO.speedfc.utilities.topNavigation.iframe_id+"_f");var menu=YAHOO.util.Dom.get(YAHOO.speedfc.utilities.topNavigation.iframe_id);YAHOO.util.Dom.setStyle(iframe,"width","192px");YAHOO.util.Dom.setStyle(iframe,"height",tmp_div[0].scrollHeight+5);YAHOO.util.Dom.setStyle(iframe,"display","block");},10);}};
