//<!--

function affEnvironmentSetLocals() {
	this.bCountryDoubleByte=false;
	this.sCountryDomain=".annsfabulousfinds.com/";
	this.sCookieDomain=".annsfabulousfinds.com";
	this.sCountry="us";
	this.sCountryDesc="US";
}

function AFFEnvironment(pParent,pName) {
	if(!this.objType) this.objType="AFFEnvironment";
	if(!pParent.objType.is("AFFGlobals"))
return;this.base=AFFObject;this.base(pParent,pName);this.sCountry=this.sCountryDomain=this.sCountryDesc="";this.sTrainId="e497";this.sEnvironment="";this.bCountryDoubleByte=false;this.sAFF="annsfabulousfinds";this.sDomain=".annsfabulousfinds";this.sInclude="include";this.sQADomain=".qa.";this.sQAMachine=this.sIncludeDir=this.sCountryIncludeDir="";this.sPicsDir="";this.sIncludeHost="";this.sJSPackageSuffix="";this.sCSSPackageSuffix="";this.sJSPackagesDir="";this.sCSSPackagesDir="";this.sThisPage=this.sLastPage=this.sThisPagePath=this.sThisPageQuery=this.sLastPagePath=this.sLastPageQuery=this.sProtocol=this.sThisPagePool=this.sThisPageHost=this.sCaseSensiLastPage=this.sThisPageRaw="";this.init=function()
{with(this)
{var pro=sProtocol=location.protocol,sb="sandbox";sIncludeHost=typeof(includeHost)!="undefined"?includeHost:(!pro.has("http")?"http:":pro)+"//"+(pro.has("https")?"secure":"")+sInclude+sDomain+"static.com/";sThisPageRaw=document.location.href;var tp=sThisPage=sThisPagePath=getUnencodedHost();sThisPagePool=tp.substring(tp.indexOf("://")+3,tp.indexOf("."));sThisPageHost=location.hostname;var qInd=tp.indexOf("?");if(qInd!=-1)
{sThisPagePath=tp.substring(0,qInd);sThisPageQuery=tp.substring(qInd);}
if(typeof(document.referrer)!='undefined'&&document.referrer.length>0)
{sCaseSensiLastPage=document.referrer;var lp=sLastPage=sLastPagePath=sLastPageQuery=getUnencodedHost(sCaseSensiLastPage.toLowerCase());qInd=lp.indexOf("?");if(qInd!=-1)
{sLastPagePath=lp.substring(0,qInd);sLastPageQuery=lp.substring(qInd);}}
this.setLocals=affEnvironmentSetLocals;this.setLocals();var qacd=".annsfabulousfinds.com/",tpp=sThisPagePath;qacd=(sCountry=="us")?".":"."+sCountry+".";if(tpp.has(".dev."))
{sCountryDomain=tpp.substring(tpp.indexOf("."),tpp.indexOf(".com")+4);sCountryDomain+="/";sCookieDomain=sDomain+".com";}
var isSecure=pro.is("https:"),isQA=tpp.has(sQADomain);if(isSecure)
{sInclude="secure"+sInclude;sPicsDir="secure"+sPicsDir;}
if(isQA)
{var ih=sIncludeHost,qi=ih.indexOf(sQADomain),di=ih.lastIndexOf(".",qi-1)+1;if(di)
sQAMachine=ih.substring(di,qi);sCountryDomain=sQAMachine.is("")?"":qacd;sCountryDomain+=sQAMachine+sQADomain+sAFF+".com/";sCookieDomain=sDomain+".com";}
if(!isSecure)
pro="http:";pro+="//";sPicsDir=pro+sPicsDir;sIncludeDir=sIncludeHost+"";sCountryIncludeDir=sIncludeDir+sCountry+"/";sIncludeDir+="_global/";sJSPackageSuffix=(sTrainId.is("v")?"":("_e4973"+sCountry))+".js";sCSSPackageSuffix=(isSecure?"_SSL":"")+((sTrainId.is("v")?"":("_e497"+"1"+sCountry))+".css");sJSPackagesDir=sIncludeHost+"js/"+sTrainId+"/"+sCountry+"/";sCSSPackagesDir=sIncludeHost+"css/"+sTrainId+"/"+sCountry+"/";if(sThisPageHost.has(sb+".")&&!sCountry.hasAny("befr","benl","tw","us"))
sCookieDomain="."+sb+sCookieDomain;}}
this.getUnencodedHost=function(pURL)
{var tp=unescape(pURL?pURL:document.location);if(tp.has("_W0QQ"))
{if(tp.split("/").length==4)
{tp=tp.replace(/_W0QQ/,"?");tp=tp.replace(/Z/g,"=");tp=tp.replace(/Q3A/g,":");tp=tp.replace(/Q3a/g,":");tp=tp.replace(/Q3B/g,";");tp=tp.replace(/Q3b/g,";");tp=tp.replace(/QQ/g,"&");}}
return tp;}
this.init();}

Number.prototype.dec2Hex=function(){return parseInt(this,10).toString(16)}

String.prototype.has=function(pStr){return(this.indexOf(pStr)!=-1);}
String.prototype.hasArg=function(pArg)
{var a=pArg,rv=false;if(typeof(a)=="string")
rv=this.has(a);else
{var aL=a.length;for(var j=0;j<aL&&!rv;j++)
rv=this.has(a[j]);}
return rv;}
String.prototype.hasAny=function()
{var a=arguments,l=a.length,rv=false;for(var i=0;i<l&&!rv;i++)
rv=this.hasArg(a[i]);return rv;}
String.prototype.hasAll=function()
{var a=arguments,l=a.length;for(var i=0;i<l;i++)
{if(!this.hasArg(a[i]))
return false;}
return true;}
String.prototype.is=function(s)
{return(this==s);}
String.prototype.isAny=function()
{var a=arguments,l=a.length,rv=false,aL;for(var i=0;i<l&&!rv;i++)
{if(typeof(a[i])=="string")
rv=(this==a[i]);else
{aL=a[i].length;for(var j=0;j<aL&&!rv;j++)
rv=(this==a[i][j]);}}
return rv;}

String.prototype.hex2Dec=function(){return parseInt(this,16);}

String.prototype.parseSets=function(s,v,n)
{s=s?s:"^";v=v?v:",";n=n?n:"=";var a=[];var ma=this.split(s);if(ma)
{for(i in ma)
{var t=ma[i].split(n);if(t[0]!=""&&t[1]!="")
a[t[0]]=t[1].split(v);}}
return a;}

String.prototype.replaceToken=function(pStr,pToken,pRepl)
{var rv=pStr;while(rv.has(pToken))
rv=rv.replace(pToken,pRepl);return rv;}
String.prototype.replaceTokens=function()
{var rv=this,re,tkn,a=arguments,l=a.length;for(var i=0;i<l;i++)
rv=this.replaceToken(rv,"<#"+(i+1)+"#>",a[i]);return rv;}
String.prototype.replaceTokensEx=function(pPattern)
{var rv=this,re,tkn,a=arguments,l=a.length;for(var i=1;i<l+1;i++)
rv=this.replaceToken(rv,pPattern.replace("n",(i)),a[i]);return rv;}

String.prototype.trim=function()
{var s=this;while(s.substring(0,1).isAny(' ','\n','\r'))
s=s.substring(1,s.length);while(s.substring(s.length-1,s.length).isAny(' ','\n','\r'))
s=s.substring(0,s.length-1);return s;}

function AFFObject(pParent,pName)
{if(!this.objType)
this.objType="AFFObject";this.parent=pParent;this.name=pName;this.bSupportsErrors=(typeof(AFFError)!="undefined");var aff=(typeof(annsfabulousfinds)=="object");this.oDocument=aff?annsfabulousfinds.oDocument:null;this.oGlobals=aff?annsfabulousfinds.oGlobals:null;this.oUtils=aff?annsfabulousfinds.oUtils:null;this._get=affObjectGet;this._exec=affObjectExecute;this.createError=affObjectCreateErrorWrapper;this.throwDaffug=affObjectThrowDaffugWrapper;this.throwWarning=affObjectThrowWarningWrapper;this.throwError=affObjectThrowErrorWrapper;this.EVENT_BEFORE=0;this.EVENT_AFTER=1;}
function affObjectGet(pName)
{var p=eval("this."+pName);if(typeof(p)=="undefined")
{p="";}
return p;}
function affObjectExecute(pFunction)
{var s="this."+pFunction,f=eval(s);if(typeof(f)=="function")
{var _a=arguments;s+='(';for(var i=1,len=_a.length;i<len;i++)
{s+=((i>1)?',':'')+'_a['+i+']';}
s+=');';return eval(s);}
return true;}
function affObjectCreateErrorWrapper(pType,pMsg,pCmd)
{if(typeof(affObjectCreateError)=="function")
{this.createError=affObjectCreateError;return this.createError(pType,pMsg,pCmd);}}
function affObjectThrowDaffugWrapper(pMsg,pCmd)
{if(typeof(affObjectThrowDaffug)=="function")
{this.throwDaffug=affObjectThrowDaffug;this.throwDaffug(pMsg,pCmd);}}
function affObjectThrowWarningWrapper(pMsg,pCmd)
{if(typeof(affObjectThrowWarning)=="function")
{this.throwWarning=affObjectThrowWarning;this.throwWarning(pMsg,pCmd);}}
function affObjectThrowErrorWrapper(pMsg,pCmd)
{if(typeof(affObjectThrowError)=="function")
{this.throwError=affObjectThrowError;this.throwError(pMsg,pCmd);}}

function AFFBase(pParent,pName,pDoNotAdd)
{if(!this.objType)
this.objType="AFFBase";this.base=AFFObject;this.base(pParent,pName);this.controls=[];this._addControl=affBaseAddControl;this._getControl=affBaseGetControl;this._getControlEx=affBaseGetControlEx;this.actualGetControl=affBaseActualGetControl;this.clearControl=affControlClearControl;var p=this.parent;if(!pDoNotAdd&&p&&p._addControl)
p._addControl(pName,this,true);}
function affBaseAddControl(pName,pObj,pReplace)
{var c=this.controls,n=pName;if(!c[n]||pReplace)
c[n]=pObj;return c[n];}
function affBaseActualGetControl(pName)
{var c=this.controls,rc;if(c)
{for(var i in c)
{if(i==pName)
return c[i];else if(c[i]&&c[i].controls)
{rc=c[i].actualGetControl(pName);if(rc)
return rc;}}}
return null;}
function affBaseGetControl()
{var a=arguments,l=a.length,i=0,ct=this,n=a[i];while(ct.controls[n])
{ct=ct.controls[n];if(i==(l-1))
return ct;i++;n=a[i];}
with(this)
{var c=actualGetControl(n);if(c)return c;}
this.throwError("Control not found at '"+n+"'","_getControl");return null;}
function affBaseGetControlEx()
{var a=arguments,s="this._getControl(";for(var i=0,len=a.length;i<len;i++)
{s+=((i>0)?",":"")+"a["+i+"]";}
s+=")";var c=eval(s);if(!c)
{this.throwWarning("Control not found at '"+a[0]+"'","_getControlEx");c=new AFFObject();}
return c;}
function affControlClearControl(pName)
{var e=this._getControl(pName),p;if(!e)
return;if(e.cleanupMemory)
e.cleanupMemory();p=e?e.parent:null;if(p&&p.controls[pName])
p.controls[pName]=null;}

function AFFConfig(pName)
{if(!this.objType)
this.objType="AFFConfig";this.name=pName;this.oGlobals=annsfabulousfinds.oGlobals;}

function AFF(pName)
{if(!this.objType)
this.objType="AFF";this.base=AFFBase;this.base(parent,pName,true);this.oServer=this.oErrorManager=null;this.init=function()
{this.oDocument=new AFFDOM(this,"Document object");this.oGlobals=new AFFGlobals(this,"Global objects");this.oUtils=new AFFUtils(this,"Common functions");this.attachParent();}
this.attachParent=function()
{var doc=this.oDocument,cl=this.oGlobals.oClient,dd=doc.getQueryValue("downgradeDomain").is("true");if(dd&&!(cl.bMac&&cl.bIE))
doc.downgradeDomain();this._addControl(doc.name,doc,true);var doc=this.oDocument,wo=(window.parent!=window)?window.parent:window.opener,srch=location.search,prt=(wo&&(typeof(wo.document)!="unknown")&&(dd||doc.getQueryValue("ej2child").is("true")))?(wo.g_annsfabulousfindsParent||wo.g_affPopupParent):null;var ej2p=doc.getQueryValue("ej2parent");prt=(ej2p&&prt)?prt[ej2p]:null;if(prt)
{this.parent=prt;prt._addControl(this.name,this,true);}}
this.init();}
window.annsfabulousfinds=new AFF("AFFJavascript2");

(function()
{var od=annsfabulousfinds.oDocument;od.base=AFFBaseControl;od.base(od.parent,od.name,true);od.aCustomDocFunctions=[];od.onload=function()
{jsObj._exec("load");}
od.onunload=function()
{if(jsObj)
{jsObj._exec("unload");jsObj=null;}
window.annsfabulousfinds=null;}
od.onresize=function(pEvent)
{jsObj._exec("resize");}
od.onDocLoad=function()
{with(this)
{executeCustomFunction(aCustomDocFunctions["onDocLoad"]);if(bind)
bind();}}
od.onDocUnload=function()
{with(this)
{executeCustomFunction(aCustomDocFunctions["onDocUnload"]);doc=win=null;}
with(window)
_showAFFAlert=dataLoader=null;}
od.executeCustomFunction=function(pFunction)
{var f=pFunction;if(f)
{if(f[0])
{for(var i=0,len=f.length;i<len;i++)
{if(typeof(f[i])!="undefined")
f[i]();}}
else if(typeof(f)!="undefined")
f();}}
od.registerDocEvent=function(pEvent,pEJ2Event,pDOMElem,pExist,pChildControl)
{var e=pEvent,j2e=pEJ2Event,twoe="this."+pDOMElem+".on"+e;if(pExist.is("unknown"))
eval(twoe+"=null;");var cc=pChildControl,tEvt=eval(twoe),tej2e="this."+(cc?(cc+"."):"")+"on"+e,tej2ef=eval(tej2e);if(tEvt!=tej2ef)
{if(!tEvt||!tej2ef||!tEvt.toString().is(tej2ef.toString()))
{var acdf=this.aCustomDocFunctions;acdf[j2e]=acdf[j2e]?[acdf[j2e],tEvt]:tEvt;this._registerEvent(e,j2e);eval(twoe+"="+tej2e);}}}
od.registerEvents=function()
{with(this)
{win.jsObj=this;registerDocEvent("load","onDocLoad","win",typeof(win.onload));registerDocEvent("unload","onDocUnload","win",typeof(win.onunload));registerDocEvent("resize","","win",typeof(win.onresize));_registerEvent("bind");}}
od.registerEvents();od.restoreEventHandlers=function()
{var cts=this.controls;this.registerEvents();for(var i in cts)
{if(cts[i].registerEvents)
cts[i].registerEvents();}}
od._registerEvent("footer","_footer");od._footer=function()
{this.restoreEventHandlers();}})();

function AFFBaseControl(pParent,pName,pDoNotAdd)
{if(!this.objType)
this.objType="AFFBaseControl";this.base=AFFBase;this.base(pParent,pName,pDoNotAdd);this.controls=[];var eh=this.oEventHandler=new AFFEventHandler(this,"Event Handler");this._registerEvent=eh.registerEvent;this._getEvent=eh.getEvent;this._getEventEx=eh.getEventEx;this._registerListener=affBaseControlRegisterListener;this._unregisterListener=affBaseControlUnregisterListener;this._processEvent=eh.processEvent;}
function affBaseControlRegisterListener(pEvent,pSequence,pHandler,pBlocking)
{pEvent.registerListener(pSequence,this,pHandler,pBlocking);}
function affBaseControlUnregisterListener(pEvent,pSequence,pHandler)
{pEvent.unregisterListener(pSequence,this,pHandler);}

function AFFEvent(pParent,pName,pHandler)
{if(!this.objType)
this.objType="AFFEvent";this.base=AFFObject;this.base(pParent,pName);this.aHandlers=[pHandler];this.aListeners=[[],[]];this.registerListener=affEventRegisterListener;this.unregisterListener=affEventUnregisterListener;this.notify=affEventNotify;this.addHandler=affEventAddHandler;}
function affEventRegisterListener(pSequence,pParent,pHandler,pBlocking)
{var sa=this.aListeners[pSequence];sa[sa.length]=new AFFEventListener(pParent,pHandler,pBlocking);}
function affEventUnregisterListener(pSequence,pParent,pHandler)
{var t=[],al=this.aListeners[pSequence];for(var i=0,len=al.length;i<len;i++)
{if(!((al[i].sHandler==pHandler)&&(al[i].parent==pParent)))
t[t.length]=al[i];}
al=this.aListeners[pSequence]=[];for(var i=0,len=t.length;i<len;i++)
al[i]=t[i];}
function affEventNotify(pSequence)
{with(this)
{var a=arguments,aStr="";for(var i=1,len=a.length;i<len;i++)
aStr+=",a["+i+"]";var l=aListeners[pSequence],rv,fn="_listener_",lp="l[i].parent.",sH;for(var i=0,len=l.length;i<len;i++)
{sH=l[i].sHandler;if(eval("typeof("+lp+sH+") == 'function'"))
eval(lp+fn+"="+lp+sH+";rv="+lp+fn+"(this"+aStr+");");if(!rv&&l[i].bBlocking)
return false;}}
return true;}
function affEventAddHandler(pName)
{this.aHandlers[this.aHandlers.length]=pName;}

function AFFEventListener(pParent,pHandler,pBlocking)
{if(!this.objType)
this.objType="AFFEventListener";this.base=AFFObject;this.base(pParent,"Event Listener");this.sHandler=pHandler;this.bBlocking=pBlocking;}

function AFFEventHandler(pParent,pName)
{if(!this.objType)
this.objType="AFFEventHandler";this.base=AFFObject;this.base(pParent,pName);this.aEvents=[];this.registerEvent=affEventHandlerRegisterEvent;this.getEvent=affEventHandlerGetEvent;this.getEventEx=affEventHandlerGetEventEx;this.processEvent=affEventHandlerProcessEvent;}
function affEventHandlerRegisterEvent(pName,pHandler)
{var eh=this.oEventHandler,e=eh.aEvents[pName];if(e)
{e.addHandler(pHandler);}
else
{with(eh)
aEvents[pName]=e=new AFFEvent(eh,pName,pHandler);var s="this."+pName+" = function() {"+'var a = arguments, len = a.length, s = "";'+'for (var i=0; i<len; i++)'+' s += ",a[" + i + "]";'+" return eval('this._processEvent(\""+pName+"\"' + s + ')'); }";eval(s);}
return e;}
function affEventHandlerGetEvent(pName,pEx)
{var e=this.oEventHandler.aEvents[pName];if(!e)
e=pEx?new AFFEvent():null;return e;}
function affEventHandlerGetEventEx(pName)
{return this._getEvent(pName,true)}
function affEventHandlerProcessEvent(pEventID)
{var rv=false;with(this)
{var e=oEventHandler.aEvents[pEventID];if(e)
{var a=arguments,l=a.length,aStr="";for(var i=1;i<l;i++)
aStr+=",a["+i+"]";rv=eval("e.notify(EVENT_BEFORE"+aStr+");");if(rv)
{var hs=e.aHandlers,ef,fn="this._event_";for(var i=0,l=hs.length;i<l;i++)
{ef=hs[i];if(ef&&eval('typeof('+ef+')=="function"'))
eval(fn+"="+ef+";rv="+fn+"(e"+aStr+")");}
eval("e.notify(EVENT_AFTER"+aStr+");");}}}
return rv;}

function AFFClient(pParent,pName)
{if(!this.objType)
this.objType="AFFClient";if(!pParent.objType.is("AFFGlobals"))
return;this.base=AFFObject;this.base(pParent,pName);this.bFirefox=this.bWaffTV=this.bOpera=this.bNav=this.bIE=this.bSafari=this.bWin=this.bMac=this.bMacppc=this.bMactel=this.bActiveXLibLoaded=this.bActiveXSupported=this.bWinXp=this.bXpSp2=this.bAOL=false;this.iVer=this.fVer=-1;this.fMinorVer=0;this.aMimeTypes=null;this.init=function()
{var nv=navigator,agt=nv.userAgent.toLowerCase(),i=0,ver;with(this)
{if(agt.has("wafftv"))
{bWaffTV=true;i=agt.indexOf("wafftv/")+6;}
else if(agt.has("firefox"))
{bFirefox=true;i=agt.lastIndexOf("firefox")+8;}
else if(agt.has("safari"))
{bSafari=true;i=agt.lastIndexOf("safari")+7;}
else if(typeof(window.opera)!="undefined")
{bOpera=true;i=agt.lastIndexOf("opera")+6;}
else if(nv.appName.is("Netscape"))
{bNav=true;i=agt.lastIndexOf("/")+1;}
else if(agt.has("msie"))
{bIE=true;i=agt.indexOf("msie")+4;if(agt.has('aol')||agt.has('america online'))
bAOL=true;}
ver=agt.substring(i);iVer=parseInt(ver);fVer=parseFloat(ver);fMinorVer=fVer-iVer;bWin=agt.has("win");bWinXp=(bWin&&agt.has("windows nt 5.1"));bXpSp2=(bWinXp&&agt.has("sv1"));bMac=agt.has("mac");bMacppc=(bMac&&agt.hasAny("ppc","powerpc"));bMactel=(bMac&&agt.has("intel"));aMimeTypes=nv.mimeTypes;bActiveXSupported=(!bMac&&(typeof(ActiveXObject)=='function'));writeActiveXHelper();}}
this.activeXLibLoaded=function(pName)
{return(this.bIE&&!this.bMac)?vbCheckActiveXControl(pName):false;}
this.writeActiveXHelper=function()
{if(this.bIE)
{var d=this.parent.parent.oDocument.doc;dw=function(s){d.writeln(s);}
dw('<scr'+'ipt language="vbscript" type="text/vbscript">');dw(' Function vbCheckActiveXControl (pActXName)');dw('  aX = false');dw('  on error resume next');dw('  aX = IsObject(CreateObject(pActXName))');dw('  vbCheckActiveXControl = aX');dw('End Function');dw('</scr'+'ipt>');}}
this.init();}

function AFFGlobals(pParent,pName)
{if(!this.objType)
this.objType="AFFGlobals";if(pParent.objType.is("AFF"))
{this.base=AFFObject;this.base(pParent,pName);this.oClient=new AFFClient(this,"Client Information");if(typeof(AFFEnvironment)!="undefined")
this.oEnvironment=new AFFEnvironment(this,"Environment Information");}}

function AFFUtils(pParent,pName)
{if(!this.objType)
this.objType="AFFUtils";if(!pParent.objType.is("AFF"))
return;this.base=AFFObject;this.base(pParent,pName);this.scriptTag=function(pPath)
{return'<sc'+'ript src="'+pPath+'" language="javascript" type="text/javascript"> </sc'+'ript>';}
this.isInArray=function(pArr,pVal,pInd)
{var rv=false,l=pArr.length,av,ind=(typeof(pInd)!="undefined");for(var i=0;i<l&&!rv;i++)
rv=((ind?pArr[i][pInd]:pArr[i])==pVal);return rv;}
this.controlPath=function(pObj)
{with(pObj)
{var s="",o=pObj;while(o!=annsfabulousfinds)
{s=",'"+o.name+"'"+s;o=o.parent;}
s=s.substr(1);return"annsfabulousfinds._getControl("+s+")";}}
this.getTopmostObject=function()
{var t=annsfabulousfinds;while(t.parent&&t.parent.oDocument)
t=t.parent.oDocument.win.annsfabulousfinds;return t;}}

function AFFDOM(pParent,pName)
{if(!this.objType)
this.objType="AFFDOM";this.base=AFFBase;this.base(pParent,pName,true);if(!pParent.objType.is("AFF"))
{this.throwError("Illegal object creation","constructor");return;}
this.doc=document;this.win=window;this.aParams=[];this.aConfigs=[];this.bBindHTMLElems=true;var bQueryLoaded=false;this.getQueryValue=function(pKey)
{with(this)
{if(!bQueryLoaded)
loadParams();return aParams[pKey]?aParams[pKey]:"";}}
this.loadParams=function()
{var str=this.doc.location.search;if(str.length==0)
return;str=unescape(str.substr(1));var ps=str.split("&"),psLen=ps.length;for(var i=0;i<psLen;i++)
{var p=ps[i].split("=");if(this.parent.oGlobals.oEnvironment.bCountryDoubleByte)
p=ps[i].split("=");this.aParams[p[0]]="";if(p[1])
{var tmp="",c,len=p[1].length;for(var j=0;j<len;j++)
{c=p[1].charAt(j);if(c.is("'"))tmp+="\\'";else if(c.is("+"))tmp+=" ";else tmp+=c;}
this.aParams[p[0]]=tmp;}}
bQueryLoaded=true;}
this.restoreEventHandlers=function(){}
this.addConfig=function(pConfig)
{var n=pConfig.name,c=this.aConfigs[n]=pConfig;return c;}
this.createConfig=function(pName)
{return this.addConfig(new AFFConfig(pName));}
this.getConfig=function(pName)
{return this.aConfigs[pName];}
this.downgradeDomain=function()
{var dd=document.domain,i=dd.indexOf(".annsfabulousfinds.");if(i!=-1)
document.domain=new String(dd).substr(i+1);}
this.closeWindow=function(pWin)
{if(pWin&&!pWin.closed)
{pWin.close();}}
this.write=function(pStr)
{with(this.doc)
{if(typeof(standardWrite)=="undefined")
write(pStr);else
standardWrite(pStr);}}
this.writeln=function(pStr)
{with(this.doc)
{if(typeof(standardWriteln)=="undefined")
writeln(pStr);else
standardWriteln(pStr);}}
this.createElement=function(pStr)
{with(this.doc)
{return(typeof(standardCreateElement)=="undefined")?createElement(pStr):standardCreateElement(pStr);}}
this.redirect=function(pUrl,pReplace)
{var l=this.doc.location;if(pReplace)l.replace(pUrl);else l.href=pUrl;}
this.gotoAnchor=function(pName)
{var l=this.doc.location,t=l.href.split("#"),n=pName||t[1];if(n)
l.href=t[0]+'#'+n;}
this.getCookie=function(pName,pSubName)
{var cj=this._getControl('cookieJar');return cj?(pSubName?cj.readCookielet(pName,pSubName):cj.readCookie(pName)):"";}
this.setCookie=function(pName,pSubName,pValue,pExpires,pSecure)
{var cj=this._getControl('cookieJar');if(cj)
pSubName?cj.writeCookielet(pName,pSubName,pValue,"","",pExpires):cj.writeCookie(pName,pValue,"","",pExpires,pSecure);}
this.getFormElem=function(pName,pType)
{var d=this.doc;if(!d)
return null;var frms=d.forms,ln=frms.length,e,eLen;for(var i=0;i<ln;i++)
{e=frms[i].elements;eLen=e.length;for(var j=0;j<eLen;j++)
{if(e[j].name==pName)
{if(pType)
{if(e[j].type==pType)
return e[pName];}
else
return e[j];}}}
return null;}
this.getUIElem=function(pName)
{var s=pName,d=this.doc;if(d.getElementById)
return d.getElementById(s);else if(d.all)
return d.all(s);return null;}
this.messageBox=function(pTxt)
{window._showAFFAlert(pTxt);}
this.setGlobalParent=function(pObj)
{var w=this.win,ep=w.g_annsfabulousfindsParent;if(!ep)
w.g_annsfabulousfindsParent=ep=[];ep[pObj.name]=pObj;}}
window._showAFFAlert=window.alert;

function affObjectCreateError(pType,pMsg,pCmd)
{return new AFFError(pType,pMsg,null,this.name,this.objType,pCmd);}
function affObjectThrowDaffug(pMsg,pCmd)
{this.createError(2,pMsg,pCmd);}
function affObjectThrowWarning(pMsg,pCmd)
{this.createError(1,pMsg,pCmd);}
function affObjectThrowError(pMsg,pCmd)
{this.createError(0,pMsg,pCmd);}

function AFFError(pErrType,pErrDesc,pInnerError,pSource,pCmd)
{if(!this.objType)
this.objType="AFFError";this.vType=pErrType||0;this.sDesciption=pErrDesc;this.sSource=pSource||"unknown";this.sCommand=pCmd||"unknown";this.dDate=new Date();this.sBrowser=navigator.userAgent;this.oInnerError=pInnerError||null;this.toString=affErrorToString;this.getMessage=affErrorGetMessage;var em=annsfabulousfinds.oErrorManager;if(em==null)
annsfabulousfinds.oErrorManager=em=new AFFErrorManager();em.add(this);}
function affErrorToString(pHideMore)
{with(this)
{var h=getMessage();if(oInnerError)
h+="->>"+oInnerError.toString(true);if(pHideMore!=true)
{h+="\n <Browser: "+sBrowser+">";h+="\n <Page Location: "+location.href+">";}
return h;}}
function affErrorGetMessage()
{with(this)
{var ty="ERROR";switch(vType)
{case 1:{ty="WARNING";break;}
case 2:{ty="INFO";break;}}
return"["+ty+": "+sSource+"."+sCommand+"] "+sDesciption+" @"+dDate;}}

function AFFErrorManager(pDaffug,pShowWindow)
{if(!this.objType)
this.objType="AFFErrorManager";var evtSupp=typeof(AFFBaseControl!="undefined");this.base=evtSupp?AFFBaseControl:AFFBase;this.base(annsfabulousfinds,"error manager");this.bDaffug=pDaffug;this.bShowWindow=pShowWindow;this.aErrors=[];this.oDaffugWin=new AFFHTMLPopup(this,"daffugWin");if(evtSupp)
{with(this)
_registerListener(oDocument._getEvent("unload"),EVENT_BEFORE,"onBeforeUnload");this.onBeforeUnload=function()
{this.show=function(){};}}
this.convertErrorTo=function(pErrors,pIsHTML)
{var h="",e=pErrors,l=e.length,sBr=pIsHTML?"<br>":"\n",col;for(var i=0;i<l;i++)
{if(pIsHTML)
col=(e[i].vType==0)?"red":"green";h+=((i==0)?"":sBr)+(i+1)+". "+"<font color="+col+">"+e[i].toString()+"</font>";}
return h;}
this.add=function(pError)
{this.aErrors[this.aErrors.length]=pError;if(this.bShowWindow)
this.show();}
this.toString=function()
{return this.convertErrorTo(this.aErrors,false)}
this.toHTML=function()
{return this.convertErrorTo(this.aErrors,true)}
this.show=function()
{if(this.bShowWindow)
{annsfabulousfinds.oDocument.downgradeDomain();var pUrl="http://pages"+annsfabulousfinds.oGlobals.oEnvironment.sCountryDomain+"js_daffug/daffugger.html?downgradeDomain=true&ej2child=true";this.oDaffugWin.showEx(pUrl,800,500,false,false,true,true,true,true,400,25);}}
this.onError=function()
{var eMsg=eMsg||"Unknown JS error occured",eUrl=eUrl||location.href,eLine=eLine||0,eO=new AFFError(0,eMsg+" (Line: "+eLine+")",null,"Script","Unknown");eO.location=eUrl;annsfabulousfinds.oErrorManager.show();return true;}}

(function()
{var doc=annsfabulousfinds.oDocument,dw=doc.getQueryValue("invokejsdaffug").is("true");if(dw||(!annsfabulousfinds.oGlobals.oEnvironment.sThisPageHost.hasAny(".qa.",".corp.annsfabulousfinds.com")&&!doc.getQueryValue("invokejsdaffugger").is("true")))
{var em=annsfabulousfinds.oErrorManager=new AFFErrorManager(true,dw);window.onerror=em.onError;}})();

function AFFPage(pParent,pName)
{if(!this.objType)
this.objType="AFFPage";this.base=AFFBaseControl;this.base(pParent,pName);this.oConfig=new AFFConfig(pName);this.onBeforeLoad=this.onAfterLoad=this.onBeforeUnload=this.onAfterUnload=null;with(this)
{var p=parent,e=p._getEvent("load"),aff=EVENT_BEFORE,ea=EVENT_AFTER;_registerListener(e,aff,"onBeforeLoad");_registerListener(e,ea,"onAfterLoad");e=p._getEvent("unload");_registerListener(e,aff,"onBeforeUnload");_registerListener(e,ea,"onAfterUnload");}}
annsfabulousfinds.oDocument.oPage=new AFFPage(annsfabulousfinds.oDocument,"page");

function AFFHTML(pParent,pName,pElemName,pDisabled,pCfg)
{if(!this.objType)
this.objType="AFFHTML";this.base=AFFBaseControl;this.base(pParent,pName);this.sElemName=pElemName;this.bDisabled=pDisabled||false;this.eElem=null;this.aBindEvents=[];this.oConfig=pCfg||null;this.getDocElem=affHTMLGetDocumentElement;this.getElem=affHTMLGetElem;this.bind=affHTMLBind;this.bindHTML=affHTMLBindHTML;this.bindEvents=affHTMLBindEvents;this.bindEventString=affHTMLBindEventsString;this.assignJSObject=affHTMLAssignJSObject;this.enable=affHTMLEnable;this.show=affHTMLShow;this.focus=affHTMLFocus;this.setLTWH=affHTMLSetLTWH;this.left=affHTMLLeft;this.top=affHTMLTop;this.width=affHTMLWidth;this.height=affHTMLHeight;this.setStyle=affHTMLSetStyle;this.getStyle=affHTMLGetStyle;this.setClass=affHTMLSetClass;this.getClass=affHTMLGetClass;this.cleanupMemory=affHTMLCleanupMemory;this.onBeforeUnload=affHTMLOnBeforeUnload;this.subscribeEvents=affHTMLSubscribeEvents;with(this)
{if(oDocument.bBindHTMLElems)
_registerListener(oDocument._getEvent("bind"),EVENT_AFTER,"bind");_registerListener(oDocument._getEvent("unload"),EVENT_BEFORE,"onBeforeUnload");}}
function affHTMLSubscribeEvents()
{var aA=arguments,e,len=aA.length;for(var i=0;i<len;i++)
{e=aA[i].toLowerCase();this.aBindEvents[e]=e;}}
function affHTMLCleanupMemory()
{var e=this.eElem;if(e&&e.jsObjs)
{for(var i in e.jsObjs)
e.jsObjs[i]=null;e.jsObjs=null;this.eElem=null;}
var cts=this.controls;for(var i in cts)
{if(cts[i]&&cts[i].objType.is("AFF"))
cts[i]=null;}}
function affHTMLOnBeforeUnload()
{this.cleanupMemory();}
function affHTMLGetDocumentElement(pName,pColl)
{var c=eval("this.oDocument.doc."+pColl);return c?c[pName]:null;}
function affHTMLGetElem(pName)
{var d=this.oDocument.doc,e=null;if(d.all)
e=d.all[pName];if(!e&&d.getElementById)
e=d.getElementById(pName);return e;}
function affHTMLBind()
{with(this)
{bindHTML();bindEvents();}}
function affHTMLBindHTML()
{with(this)
{var eN=sElemName;if(typeof(eN)!="undefined"&&eN.length>0)
{eElem=getElem(eN);if(eElem)
{assignJSObject(eElem);if(bDisabled)
enable(false);}}}}
function affHTMLAssignJSObject(pElem)
{var set=false,jso=pElem.jsObjs;for(var i in jso)
{if(jso[i]==this)
{jso[i]=this;set=true;break;}}
if(!set)
{if(!jso)
jso=pElem.jsObjs=[];jso[jso.length]=this;}}
function affHTMLBindEvents()
{var e=this.eElem;if(e&&e.type!='hidden')
{for(var i in this.aBindEvents)
{eval("e."+i+" = function (){"+this.bindEventString(i,0)+"}");}}}
function affHTMLBindEventsString(pEventId,pIndex)
{var s="var rv = true, jso = this.jsObjs, o;"+"if (jso)"+"{"+"for (var i in jso)"+"{"+"o=jso[i];"+"if (!o.bDisabled && (typeof(o."+pEventId+") == 'function'))"+"rv = o."+pEventId+"(this,arguments[0],"+pIndex+");"+"}"+"}"+"return rv;";return s;}
function affHTMLEnable(pEnable)
{var e=this.eElem;if(e)
{e.disabled=!pEnable;}
this.bDisabled=!pEnable;}
function affHTMLShow(pShow,pNoDisplayChange)
{var e=this.eElem;if(e)
{var s=e.style;if(s)
{s.visibility=pShow?"visible":"hidden";if(!pNoDisplayChange)
s.display=pShow?"":"none";}}}
function affHTMLFocus(pFocus)
{var e=this.eElem;if(e)
{with(e)
pFocus?focus():blur();}}
function affHTMLSetLTWH(pVal,pName)
{var e=this.eElem;if(e)
{if((pVal!=null)&&!isNaN(parseInt(pVal)))
eval("e.style."+pName.toLowerCase()+"=pVal;");return eval("e.offset"+pName);}}
function affHTMLLeft(pLeft)
{return this.setLTWH(pLeft,"Left");}
function affHTMLTop(pTop)
{return this.setLTWH(pTop,"Top");}
function affHTMLWidth(pWidth)
{return this.setLTWH(pWidth,"Width");}
function affHTMLHeight(pHeight)
{return this.setLTWH(pHeight,"Height");}
function affHTMLSetStyle(pName,pVal)
{var e=this.eElem;if(e&&!e.length)
{if(pVal!=null)
eval("e.style."+pName+"=pVal;");return eval("e.style."+pName+";");}}
function affHTMLGetStyle(pName)
{return this.setStyle(pName);}
function affHTMLSetClass(pClass)
{var e=this.eElem;if(e)
e.className=pClass;}
function affHTMLGetClass()
{var e=this.eElem;return e?e.className:"";}

function AFFHTMLPopup(pParent,pName,pCfg)
{if(!this.objType)
this.objType="AFFHTMLPopup";this.base=AFFBaseControl;this.base(pParent,pName);this.oConfig=pCfg||null;if(!pCfg)
{this.sUrl="";this.iWidth=this.iHeight=this.iLeft=this.iTop=null;this.bToolbar=this.bLocation=this.bStatus=this.bScrollbars=this.bResizable=this.bMenubar=true;}
else
{var u="undefined";this.sUrl=typeof(pCfg.sUrl)!=u?pCfg.sUrl:"";this.iWidth=typeof(pCfg.iWidth)!=u?pCfg.iWidth:null;this.iHeight=typeof(pCfg.iHeight)!=u?pCfg.iHeight:null;this.iLeft=typeof(pCfg.iLeft)!=u?pCfg.iLeft:null;this.iTop=typeof(pCfg.iTop)!=u?pCfg.iTop:null;this.bToolbar=typeof(pCfg.bToolbar)!=u?pCfg.bToolbar:true;this.bLocation=typeof(pCfg.bLocation)!=u?pCfg.bLocation:true;this.bStatus=typeof(pCfg.bStatus)!=u?pCfg.bStatus:true;this.bScrollbars=typeof(pCfg.bScrollbars)!=u?pCfg.bScrollbars:true;this.bResizable=typeof(pCfg.bResizable)!=u?pCfg.bResizable:true;this.bMenubar=typeof(pCfg.bMenubar)!=u?pCfg.bMenubar:true;}
this.oWin=null;this.sProps=this.sCustomProps="";this.bModal=false;this.sSavedFocusFunction=null;this.iHBuffer=this.iWBuffer=0;this.show=affHTMLPopupShow;this.getParamString=affHTMLGetParamString;this.modality=affHTMLModality
this.showEx=affHTMLPopupShowEx;this.resizeParent=affHTMLPopupResizeParent;this.close=affHTMLPopupClose;this.focus=affHTMLPopupFocus;this.sizeToContent=affHTMLPopupSizeToContent;this.clearControls=affHTMLPopupClearControls;}
function affHTMLPopupShow()
{with(this)
{if(sUrl.length==0)
return null;var sP=getParamString();var oD=oDocument,tWin=oD.win;oD.setGlobalParent(this);modality(tWin);if(sUrl.has("ej2child=true")&&!sUrl.has("ej2parent="))
sUrl+="&ej2parent="+name;var w=tWin.open(sUrl,name,sP);if(w)
w.focus();oWin=w;return w;}}
function affHTMLGetParamString()
{with(this)
{sP=(iWidth!=null)?",width="+iWidth:"";sP+=(iHeight!=null)?",height="+iHeight:"";sP+=(iLeft!=null)?",screenX="+iLeft+",left="+iLeft:"";sP+=(iTop!=null)?",screenY="+iTop+",top="+iTop:"";sP+=",toolbar="+((bToolbar)?"1":"0");sP+=",location="+((bLocation)?"1":"0");sP+=",status="+((bStatus)?"1":"0");sP+=",scrollbars="+((bScrollbars)?"1":"0");sP+=",resizable="+((bResizable)?"1":"0");sP+=",menubar="+((bMenubar)?"1":"0");sP+=(sCustomProps.length>0)?","+sCustomProps:"";if(sP.length>0)
sP=sP.substring(1);sProps=sP;return sP;}}
function affHTMLModality(pWin)
{if(pWin)
{with(this)
{if(bModal)
{pWin.g_affPopupObject=this;sSavedFocusFunction=pWin.onfocus;pWin.onfocus=function()
{g_affPopupObject.focus();}}}}}
function affHTMLPopupShowEx(pUrl,pWidth,pHeight,pToolbar,pLocation,pStatus,pScrollbars,pResizable,pMenubar,pLeft,pTop,pCustomsProps,pModal,pWBuffer,pHBuffer)
{with(this)
{if(pUrl)
sUrl=pUrl;iWidth=pWidth;iHeight=pHeight;iLeft=pLeft;iTop=pTop;bToolbar=pToolbar;bLocation=pLocation;bStatus=pStatus;bScrollbars=pScrollbars;bResizable=pResizable;bMenubar=pMenubar;if(pCustomsProps)
sCustomProps=pCustomsProps;bModal=pModal;iHBuffer=pHBuffer;iWBuffer=pWBuffer;return show();}}
function affHTMLPopupResizeParent(pX,pY,pW,pH)
{var p=this.parent;if(p)
{if(!isNaN(pX)&&!isNaN(pY))
p.moveTo(pX,pY);if(!isNaN(pW)&&!isNaN(pH))
p.resizeTo(pW,pH);}}
function affHTMLPopupClose()
{with(this)
{if(bModal)
oDocument.win.onfocus=sSavedFocusFunction;oDocument.closeWindow(oWin);}
this.clearControls();}
function affHTMLPopupClearControls()
{this.controls=[];}
function affHTMLPopupFocus()
{var w=this.oWin;if(w&&!w.closed)
w.focus();else
this.close();}
function affHTMLPopupSizeToContent()
{with(this)
{var c=oGlobals.oClient;if(!(c.bNav&&(c.iVer<5)))
{var ims=oWin.document.images,len=ims.length;var bottom=0,right=0,cB,cR;for(var i=0;i<len;i++)
{cB=ims[i].offsetTop+ims[i].offsetHeight;cR=ims[i].offsetLeft+ims[i].offsetWidth;if(cB>bottom)bottom=cB;if(cR>right)right=cR;}
oWin.resizeTo(right+iWBuffer,bottom+iHBuffer);}}}

function AFFDPCookieFormat(p,n)
{if(!this.objType)
this.objType="AFFDPCookieFormat";this.base=AFFCookieFormat;this.base(p,n);this.version="b";this.bUseExpDate=true;this.setExp=function(e)
{this.expires=e?e:this.parent.getDate(2);}
this.parse2Str=function()
{var cl,i,e,s="",t;cl=this.aCookielets;if(cl)
{for(i in cl)
{if(cl[i])
{with(cl[i])
{t=name+"/"+escape(value);if(this.bUseExpDate)
{e=expDate-new Date();if(e>0)
s+=t+expHex+"^";}
else
{s+=t+"^";}}}}}
this.value=s?this.version+s:"";}
this.parse2Objs=function()
{var v,m,c,l,e="",x,o;with(this)
{v=value;v=v.substring(version.length,v.length);m=v.split("^");if(m)
{for(i in m)
{c=m[i];l=c.length;if(bUseExpDate)
{e=c.substring(l-8,l);c=c.substring(0,l-8);}
x=c.split("/");if(x[0]!=""&&x[1]!="")
{o=unescape(c.substring(c.indexOf("/")+1,l));if(!bUseExpDate)
o=o.replace(/\+/g," ");add(x[0],o,e);}}}}}}

//"

function AFFDSCookieFormat(p,n)
{if(!this.objType)
this.objType="AFFDSCookieFormat";this.base=AFFDPCookieFormat;this.base(p,n);this.version="a";this.bUseExpDate=false;this.setExp=function(e){}}

function AFFSessionCookieFormat(p,n)
{if(!this.objType)
this.objType="AFFSessionCookieFormat";this.base=AFFCookieFormat;this.base(p,n);this.version="b";this.bUseExpDate=false;this.setExp=function(e){}
this.parse2Str=function()
{var n,s="^";var cl=this.aCookielets;if(cl)
{for(i in cl)
{n=cl[i].name;if(cl[i]&&n)
s+=n+"="+cl[i].value+"^";}}
this.value=escape(s);}
this.parse2Objs=function()
{var v=unescape(this.value);var mc=v.split("^");if(mc)
{for(i in mc)
{var x=mc[i].split("=");if(x[0]!=""&&x[1]!="")
{var o=x[1];for(var j=2;j<x.length;j++)
{o+="="+x[j];}
this.add(x[0],o);}}}}}

function AFFCookieJar(pParent,pName,pCfg)
{if(!this.objType)
this.objType="AFFCookieJar";this.oConfig=pCfg;this.COMPAT="10";this.CONVER="01";this.STRICT="00";this.base=AFFBaseControl;this.base(pParent,pName);this.sCookie='';this.aMap=[];this.aModes=[];this.aCookies=[];this.aFormats=[];this.oEnv=pCfg.oGlobals.oEnvironment;this.getMode=function(c)
{var t=this.aModes[c];return(t?t:"");}
this.fillModes=function()
{with(this)
{var h,cL,a,i,l,f,j,b="";h=getCookielet(pCfg.sModesCookie,pCfg.sModesCookielet);cL=pCfg.sConvCookieList.split(",");j=cL.length;for(i=0;i<j;i++)
{aModes[cL[i]]=(h=="0")?STRICT:"";}
if(h&&h!="0")
{if(h.has("."))
{a=h.split(".");j=a.length;for(i=0;i<j;i++)
{b=a[i].hex2Dec().toString(2)+b;}}
else
{b=h.hex2Dec().toString(2);}
i=0;l=b.length;if(aModes)
{for(o in aModes)
{j=l-(2*(i+1));f=b.substring(j,j+2).toString(10);f=(!f)?STRICT:f;aModes[o]=(f.length==1)?"0"+f:f;i++;}}}}}
this.getFormat=function(pN)
{var m,o,i;m=this.aMap;if(m)
{for(o in m)
{if(m[o])
{for(i in m[o])
{if(m[o][i]==pN)
return o;}}}}
return"AFFCookieFormat";}
this.get=function(pN)
{var c=this.aCookies[pN];return c?c:(pN?this.add(pN,""):"");}
this.add=function(pN,pV)
{with(this)
{var o,fo;o=new AFFCookieEx(this,pN,pV,oEnv.sCookieDomain,"/","",false);o.format=getFormat(pN);fo=getFormatObj(o.format);o.parse2Objs=fo.parse2Objs;o.parse2Str=fo.parse2Str;o.add=fo.add;o.write=fo.write;o.read=fo.read;o.setExp=fo.setExp;o.version=fo.version;o.bUseExpDate=fo.bUseExpDate;o.parse2Objs();aCookies[pN]=o;return o;}}
this.getFormatObj=function(pN)
{f=this.aFormats[pN];return f?f:"";}
this.init=function()
{with(this)
{var a,o,n,j;readDocCookie();a=sCookie.split("; ");j=a.length;for(o=0;o<j;o++)
{n=a[o].split("=");if(n.length==2)
{add(n[0],n[1]);}}}}
this.addCookielet=function(pCont,pName,pVal,pExp)
{var c=this.get(pCont);if(c)
c.add(pName,pVal,pExp);}
this.getCookielet=function(pC,pCl)
{with(this)
{refresh();var c=get(pC);return c?c.read(pCl):"";}}
this.write=function(pCont,pExp)
{var c=this.get(pCont);if(c)
{c.setExp(pExp);c.write();}}
this.read=function(pName)
{with(this)
{refresh();var c=get(pName);return c?c.ueValue():"";}}
this.writeRawCookie=function(pName,pVal,pExp,pDomain,pPath,pSec)
{with(this)
{var c=get(pName);if(c)
{if(pVal)
c.value=pVal;if(pExp)
{if(pExp=="yes"||pExp=="delete")
expires=new Date(pCfg.sCookieDeleteDate);c.expires=pExp;}
if(pDomain)
c.domain=pDomain;if(pPath)
c.path=pPath;if(pSec)
c.secure=pSec;c.write();}}}
this.refresh=function()
{with(this)
{if(sCookie.indexOf(parent.doc.cookie)!=0)
init();}}
this.initFmts=function()
{with(this)
{var o;aMap=pCfg.sFormatMap.parseSets();if(aMap)
{for(o in aMap)
{aFormats[o]=eval("new "+o+"(this, o)");}}}}
this.readDocCookie=function()
{this.sCookie=this.parent.doc.cookie;}
this.initFmts();this.init();this.fillModes();this.getDest=function(n,bCL)
{var aM=this.oConfig.aNewMapping;if(aM[n])
return bCL?aM[n][1]:aM[n][0];return"";}
this.readCookie=function(c)
{with(this)
{var m=getMode(c);var v=nv="";v=read(c);nv=getCookielet(getDest(c,false),getDest(c,true));if(m==COMPAT)
{v=v?v:nv;}
else if(m==CONVER)
{v=nv?nv:v;}
else if(m==STRICT)
{v=nv;}
return v;}}
this.readCookielet=function(c,cl)
{with(this)
{var m=getMode(c);var v="";if(m==STRICT||m==CONVER)
{nc=getDest(c,false);ncl=getDest(c,true);v=getCookielet(nc,ncl);v=pareseReg(c,cl,nc,ncl,v);}
else
{v=getCookielet(c,cl);}
return v;}}
this.writeCookielet=function(c,cl,v,d,p,e1,e2)
{with(this)
{var m=getMode(c);if(m==STRICT||m==CONVER)
{nc=getDest(c,false);ncl=getDest(c,true);nv=getCookielet(nc,ncl);v=buildReg(c,cl,nc,ncl,v,nv);c=nc;cl=ncl;}
addCookielet(c,cl,v,e1);write(c,(typeof(e2)!="undefined")?e2:'')}}
this.writeCookie=function(c,v,d,p,e,s)
{with(this)
{var m=getMode(c);if(m==STRICT||m==CONVER)
{var nc=getDest(c,false);e=new Date(e);addCookielet(nc,getDest(c,true),v,e);write(nc);}
else
{writeRawCookie(c,v,e,d,p,s);}}}
this.deleteCookie=function(c,d,p)
{this.writeCookie(c,null,d,p,new Date(1),false);}
this.pareseReg=function(c,cl,nc,ncl,v)
{if(c=="reg")
{if(v.has("=")&&v.has("^"))
{var a=v.parseSets();if(a[cl])
return a[cl][0];}
return"";}
else
return v;}
this.buildReg=function(c,cl,nc,ncl,v,nv)
{if(c!="reg")
return v;var r="";if(nv.has("=")&&nv.has("^"))
{var a=nv.parseSets();if(!a[cl])
a[cl]=new Array();a[cl][0]=v;if(a)
{for(var m in a)
{r+=m+"="+a[m][0]+"^";}}}
else
{r=cl+"="+v+"^";}
return"^"+r;}
this.setOptimizationCookie=function()
{with(this.oGlobals.oClient)
{if(((bIE||bNav)&&iVer>=4)||bFirefox||bSafari||(bOpera&&iVer>=9))
this.writeCookielet("annsfabulousfinds","js","1");}}
this.getDate=function(pYears,pMonths,pDays)
{pYears=pYears?pYears:0;pMonths=pMonths?pMonths:0;pDays=pDays?pDays:0;var dt=new Date(),y=dt.getUTCFullYear(),m=dt.getMonth(),h=dt.getHours();y+=(y<1900)?1900:0;dt.setUTCFullYear(y+pYears);dt.setMonth(m+pMonths);dt.setHours(h+pDays*24);return dt;}
this.getBitFlag=function(pDec,pPos)
{pDec=parseInt(pDec,10);var b=pDec.toString(2),r=pDec?b.charAt(b.length-pPos-1):"";return(r=="1")?1:0;}
this.setBitFlag=function(pDec,pPos,pVal)
{var b="",p,i,e,l;pDec=parseInt(pDec,10);if(pDec)
{b=pDec.toString(2);}
l=b.length;if(l<pPos)
{e=pPos-l;for(i=0;i<=e;i++)
{b="0"+b;}}
p=b.length-pPos-1;return parseInt(b.substring(0,p)+pVal+b.substring(p+1),2);}}
function AFFCookieEx(pParent,pName,pVal,pDomain,pPath,pExp,pSec)
{if(!this.objType)
this.objType="AFFCookieEx";this.base=AFFBaseControl;this.base(pParent,pName);this.name=pName;this.value=pVal;this.ueValue=function(){return unescape(this.value)}
this.domain=pDomain;this.path=pPath;this.secure=pSec;this.expires=pExp;this.format="";this.version="b";this.bUseExpDate=true;this.aCookielets=[];this.add=function(pName,pVal,pExp)
{this.aCookielets[pName]=new AFFCookieletEx(this,pName,pVal,pExp);}}
function AFFCookieletEx(pParent,pName,pVal,pExp)
{if(!this.objType)
this.objType="AFFCookieletEx";this.base=AFFBaseControl;this.base(pParent,pName);this.name=pName;this.value=pVal?pVal:'';this.expires=pExp?pExp:'';var exd=edk=ed=eh='';this.init=function()
{with(this)
{e=expires;if(typeof(e)=="object")
{exd=e;y=e.getUTCFullYear();if(y<1900)
y=y+1900;e=Date.UTC(y,e.getUTCMonth(),e.getUTCDate());}
var un="undefined";if(typeof(e.hex2Dec)!=un)
{e=e.hex2Dec();edk=e;e=e*1000;exd=new Date(e);ed=e;eh=edk.dec2Hex();}
else
{ed=e;edk=Math.floor(e/1000);eh=edk.dec2Hex();}}
this.expDate=exd;this.expDec=ed;this.expHex=eh;this.expDecBy1000=edk;}
this.init();}
function AFFCookieFormat(pParent,pName)
{if(!this.objType)
this.objType="AFFCookieFormat";this.base=AFFCookieEx;this.base(pParent,pName);this.setExp=function(e)
{if(e)
this.expires=e;}
this.parse2Str=function()
{this.value=escape(this.value);}
this.parse2Objs=function(){}
this.write=function()
{with(this)
{parse2Str();v=value;if((isNaN(v)&&v.length<4000)||(v+'').length<4000)
{if(expires)
{var t=new Date(expires);expires=(isNaN(t))?expires:t;}
document.cookie=(name?name+'=':'')+(v?v:'')+(domain?'; domain='+domain:'')+(path?'; path='+path:'')+(expires?'; expires='+expires.toGMTString():'')+(secure?'; secure='+escape(secure):'');parent.readDocCookie();}
else
{t=parent.oEnv;if(t.sThisPagePath.has(t.sQADomain))
alert("ERROR: Cookie data could not be set over 4kb.");}}}
this.read=function(pName)
{var c=this.aCookielets[pName];return c?c.value:"";}}
function AFFCookieJarConfig(name)
{if(!this.objType)
this.objType="AFFCookieJarConfig";this.base=AFFConfig;this.base(name);this.sConvCookieList="";this.sFormatMap="";this.sCookieDeleteDate="May, 01 1999 12:00:00 GMT";this.sModesCookie="annsfabulousfinds";this.sModesCookielet="cv";this.aNewMapping="";}

(function(){var c=new AFFCookieJarConfig('CJ'),oDoc=annsfabulousfinds.oDocument;c.sConvCookieList="recent_vi,annsfabulousfindssignin,keepmesignin,item_list,back_to_list,reg,p,etfc,history_item";c.sFormatMap="AFFCookieFormat=r^AFFDPCookieFormat=dp1,npii^AFFSessionCookieFormat=annsfabulousfinds,reg,apcCookies^AFFDSCookieFormat=ds2";c.aNewMapping="recent_vi=annsfabulousfinds,lvmn^annsfabulousfindssignin=annsfabulousfinds,sin^reg=dp1,reg^p=dp1,p^etfc=dp1,etfc^keepmesignin=dp1,kms^ItemList=annsfabulousfinds,wl^BackToList=s,BIBO_BACK_TO_LIST".parseSets();oCJ=oDoc.oCookieJar=new AFFCookieJar(oDoc,"cookieJar",c);var o=new Date()
o=o.getTimezoneOffset();oCJ.writeCookielet("dp1","tzo",o.dec2Hex(),"","",oCJ.getDate(2));oDoc.oCookieJar=new AFFCookieJar(oDoc,"cookieJar",c);})();

function getCJ()
{return annsfabulousfinds.oDocument.oCookieJar;}
function readCookieEx(c)
{return getCJ().readCookie(c);}
function readCookieletEx(c,cl)
{return getCJ().readCookielet(c,cl);}
function writeCookieletEx(c,cl,v,d,p,e1,e2)
{getCJ().writeCookielet(c,cl,v,d,p,e1,e2);}
function writeCookieEx(c,v,d,p,e,s)
{getCJ().writeCookie(c,v,d,p,e,s);}
function deleteCookieEx(c,d,p)
{getCJ().deleteCookie(c,d,p);}
with(window)
{Write2YearCookie=function(c,v,d,p,e,s)
{if(!e)
{e=getCJ().getDate(2).valueOf();}
writeCookieEx(c,v,d,p,e,s)}}
 -->




