                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if(!window.__td){window.__MT=100;window.__ti=0;window.__td=[];window.__td.length=window.__MT;window.__noTrace=false;}


if(!vp.emailSignup)
{
vp.emailSignup={};
}

vp.emailSignup.navEmailPopup=function $vpfn_kEA_d20lw$iAyHeLu6m3tA9$31(url,inputId,popupMode,msourceUrl)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
window.open(url+'&signupsourceurl='+msourceUrl+'%2Fdefault%2Easpx&email='+document.getElementById(inputId).value+'&pop='+popupMode,'pcsignup','toolbar=no,status=no,menubar=no,scrollbars=no,width=500,height=700,resizable=no');
return false;
};

vp.emailSignup.focusHandler=function $vpfn_H82b7Xw9lkhnFXE4LdIG5Q15$30(id)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var el=document.getElementById(id);

if(el.value.toLowerCase()==el.getAttribute("default-text").toLowerCase())
{
el.value="";
}
};

vp.emailSignup.blurHandler=function $vpfn_yZUykHq9HPKy2UeiSTRBvQ25$29(id)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var el=document.getElementById(id);

if(!el.value)
{
el.value=el.getAttribute("default-text");
}
};

vp.emailSignup.navEmailOnEnterPress=function $vpfn_S1t5Z8rS9U$HvH9YJSkGOg35$38(e,url,inputId,popupMode,msourceUrl)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var keynum;
if(window.event)
{
keynum=e.keyCode;
}
else if(e.which)
{
keynum=e.which;
}
if(keynum==13)
{
vp.emailSignup.navEmailPopup(url,inputId,popupMode,msourceUrl);
return false;
}
return true;
};

vp.emailSignup.emailOptInPop=function $vpfn_g7EYpNlZuHXqixSk4EiCBA54$31()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if((document.getElementById('aem')&&document.getElementById('aem').value.length>0)||(document.getElementById('email')&&document.getElementById('email').value.length>0))
{
var email;

if(document.getElementById('aem')&&document.getElementById('aem').value.length>0)
{
email=document.getElementById('aem').value;
}

if(document.getElementById('email')&&document.getElementById('email').value.length>0)
{
email=document.getElementById('email').value;
}

vp.dialog.IFrameDialog.open(
"optin",
"",
"/vp/ns/mini_sign_in.aspx?dialog=1&noguest=1&returnURL=/exclusive-offer-opt-in.aspx?op=1&aem="+email,
vp.dialog.chrome.Primary,
450,
360);
}

return false;
};
