Array.prototype.uniq=function(){var C=this.sort();var D=0;while(D<(C.length-1)){if(C[D]!=C[D+1]){D++}else{C.splice(D,1)}}return C};function testArrayUniq(){var F=new Array();var E=0;F[0]={before:["a","a","c","c","b","b"],after:"a,b,c"};E++;for(var E=0;E<F.length;E++){var D=F[E].before.uniq().join(",");assertTrue("Array.uniq() test "+E,(D==F[E].after))}debug("Array.uniq() is defined",(D==F[E-1].after))}if(!Array.prototype.push){Array.prototype.push=function(B){this[this.length]=B}}if(!Array.prototype.splice){Array.prototype.splice=function(Q,V){var U=Math.max,M=Math.min,S=[],W,X=U(arguments.length-2,0),N=0,O=this.length,P,R,T;Q=Q||0;if(Q<0){Q+=O}Q=U(M(Q,O),0);V=U(M(isNumber(V)?V:O,O-Q),0);R=X-V;P=O+R;while(N<V){W=this[Q+N];if(!isUndefined(W)){S[N]=W}N+=1}T=O-Q-V;if(R<0){N=Q+X;while(T){this[N]=this[N-R];N+=1;T-=1}this.length=P}else{if(R>0){N=1;while(T){this[P-N]=this[O-N];N+=1;T-=1}}}for(N=0;N<X;++N){this[Q+N]=arguments[N+2]}return S}}if((typeof (HTMLElement)!="undefined")&&(typeof (HTMLElement.innerText)=="undefined")){HTMLElement.prototype.__defineGetter__("innerText",function(){return(this.textContent)});HTMLElement.prototype.__defineSetter__("innerText",function(B){this.textContent=B})}Number.prototype.nth=function(){var B=this.toString();return B.nth()};function testNumberNth(){var B=1;debug("Number.nth() is defined",(typeof (B.nth)!="undefined"));B=1;assertTrue(B+" nth()",(B.nth()=="1st"));B=2;assertTrue(B+" nth()",(B.nth()=="2nd"));B=3;assertTrue(B+" nth()",(B.nth()=="3rd"));B=4;assertTrue(B+" nth()",(B.nth()=="4th"));B=11;assertTrue(B+" nth()",(B.nth()=="11th"));B=12;assertTrue(B+" nth()",(B.nth()=="12th"));B=13;assertTrue(B+" nth()",(B.nth()=="13th"));B=14;assertTrue(B+" nth()",(B.nth()=="14th"));B=101;assertTrue(B+" nth()",(B.nth()=="101st"));B=111;assertTrue(B+" nth()",(B.nth()=="111th"));B=112;assertTrue(B+" nth()",(B.nth()=="112th"));B=232;assertTrue(B+" nth()",(B.nth()=="232nd"));B=334;assertTrue(B+" nth()",(B.nth()=="334th"));B=1003;assertTrue(B+" nth()",(B.nth()=="1003rd"))}String.prototype.nth=function(){var F=this.charAt(this.length-1);var E="";switch(F){case"1":E="st";break;case"2":E="nd";break;case"3":E="rd";break;default:E="th"}if(this.length>1){var D=this.charAt(this.length-2)+F;D=parseInt(D);if((D>10)&&(D<20)){return this+"th"}else{return this+E}}else{return this+E}};function testStringNth(){debug("String.nth() is defined",(typeof ("1".nth)!="undefined"));assertTrue("1 nth()",("1".nth()=="1st"));assertTrue("2 nth()",("2".nth()=="2nd"));assertTrue("3 nth()",("3".nth()=="3rd"));assertTrue("4 nth()",("4".nth()=="4th"));assertTrue("11 nth()",("11".nth()=="11th"));assertTrue("12 nth()",("12".nth()=="12th"));assertTrue("13 nth()",("13".nth()=="13th"));assertTrue("14 nth()",("14".nth()=="14th"));assertTrue("101 nth()",("101".nth()=="101st"));assertTrue("111 nth()",("111".nth()=="111th"));assertTrue("112 nth()",("112".nth()=="112th"));assertTrue("232 nth()",("232".nth()=="232nd"));assertTrue("334 nth()",("334".nth()=="334th"));assertTrue("1003 nth()",("1003".nth()=="1003rd"))}String.prototype.isEmail=function(){var B=/^[^@]+@[^@.]+\..+$/;return B.test(this)};function testStringIsEmail(){var D=new Array();D.push("scottg@babycenter.com");debug("String.isEmail() is defined",(typeof (D[0].isEmail)!="undefined"));for(var C=0;C<D.length;C++){assertTrue(D[C]+" is email",D[C].isEmail())}}String.prototype.toTitleCase=function(H){if(!H){H=4}var J=this.split(" ");for(var F=0;F<J.length;F++){if(J[F].length>=H){var I=J[F].substr(0,1).toUpperCase();var G=J[F].substr(1).toLowerCase();J[F]=I+G}}return J.join(" ")};function testStringToTitleCase(){var C=new Array();C.push("now is the time for all good men to come to the aid of the party.");debug("String.toTitleCase() is defined",(typeof (C[0].toTitleCase)!="undefined"));var D=0;assertTrue(C[D]+" toTitleCase()",(C[D].toTitleCase()=="now is the Time for all Good men to Come to the aid of the Party."));assertTrue(C[D]+" toTitleCase()",(C[D].toTitleCase(3)=="Now is The Time For All Good Men to Come to The Aid of The Party."))}String.prototype.trim=function(B){switch(B){case"left":return this.replace(/^\s+/g,"");break;case"right":return this.replace(/\s+$/g,"");break;default:return this.replace(/^\s+|\s+$/g,"")}};function testStringTrim(){var C=new Array();C.push("   blah blah blah         ");debug("String.trim() is defined",(typeof (C[0].trim)!="undefined"));var D=0;assertTrue(C[D]+" trim()",(C[D].trim()=="blah blah blah"));assertTrue(C[D]+' trim("left")',(C[D].trim("left")=="blah blah blah         "));assertTrue(C[D]+' trim("right")',(C[D].trim("right")=="   blah blah blah"))}if(typeof (bc)=="undefined"){bc={}}bc.eolaswrite=function(B){document.write(B)};function button_on(imgId){if(document.images){butOn=eval(imgId+"_o.src");document.getElementById(imgId).src=butOn}}function button_off(imgId){if(document.images){butOff=eval(imgId+".src");document.getElementById(imgId).src=butOff}}var mboxCopyright="Copyright 1996-2009. Adobe Systems Incorporated. All rights reserved";mboxUrlBuilder=function(D,C){this.a=D;this.b=C;this.c=new Array();this.d=function(A){return A};this.f=null};mboxUrlBuilder.prototype.addParameter=function(H,I){var J=new RegExp("('|\")");if(J.exec(H)){throw"Parameter '"+H+"' contains invalid characters"}for(var K=0;K<this.c.length;K++){var L=this.c[K];if(L.name==H){L.value=I;return this}}var G=new Object();G.name=H;G.value=I;this.c[this.c.length]=G;return this};mboxUrlBuilder.prototype.addParameters=function(E){if(!E){return this}for(var F=0;F<E.length;F++){var D=E[F].indexOf("=");if(D==-1||D==0){continue}this.addParameter(E[F].substring(0,D),E[F].substring(D+1,E[F].length))}return this};mboxUrlBuilder.prototype.setServerType=function(B){this.o=B};mboxUrlBuilder.prototype.setBasePath=function(B){this.f=B};mboxUrlBuilder.prototype.setUrlProcessAction=function(B){this.d=B};mboxUrlBuilder.prototype.buildUrl=function(){var I=this.f?this.f:"/m2/"+this.b+"/mbox/"+this.o;var J=document.location.protocol=="file:"?"http:":document.location.protocol;var H=J+"//"+this.a+I;var K=H.indexOf("?")!=-1?"&":"?";for(var L=0;L<this.c.length;L++){var G=this.c[L];H+=K+encodeURIComponent(G.name)+"="+encodeURIComponent(G.value);K="&"}return this.t(this.d(H))};mboxUrlBuilder.prototype.getParameters=function(){return this.c};mboxUrlBuilder.prototype.setParameters=function(B){this.c=B};mboxUrlBuilder.prototype.clone=function(){var D=new mboxUrlBuilder(this.a,this.b);D.setServerType(this.o);D.setBasePath(this.f);D.setUrlProcessAction(this.d);for(var C=0;C<this.c.length;C++){D.addParameter(this.c[C].name,this.c[C].value)}return D};mboxUrlBuilder.prototype.t=function(B){return B.replace(/\"/g,"&quot;").replace(/>/g,"&gt;")};mboxStandardFetcher=function(){};mboxStandardFetcher.prototype.getType=function(){return"standard"};mboxStandardFetcher.prototype.fetch=function(B){B.setServerType(this.getType());document.write('<script src="'+B.buildUrl()+'" language="JavaScript"><\/script>')};mboxStandardFetcher.prototype.cancel=function(){};mboxAjaxFetcher=function(){};mboxAjaxFetcher.prototype.getType=function(){return"ajax"};mboxAjaxFetcher.prototype.fetch=function(C){C.setServerType(this.getType());var D=C.buildUrl();this.x=document.createElement("script");this.x.src=D;document.body.appendChild(this.x)};mboxAjaxFetcher.prototype.cancel=function(){};mboxMap=function(){this.y=new Object();this.z=new Array()};mboxMap.prototype.put=function(D,A){if(!this.y[D]){this.z[this.z.length]=D}this.y[D]=A};mboxMap.prototype.get=function(A){return this.y[A]};mboxMap.prototype.remove=function(A){this.y[A]=undefined};mboxMap.prototype.each=function(A){for(var G=0;G<this.z.length;G++){var H=this.z[G];var F=this.y[H];if(F){A(H,F)}}};mboxFactory=function(C,B,H){this.D=false;this.B=C;this.C=H;this.E=new mboxList();mboxFactories.put(H,this);this.F=typeof document.createElement("div").replaceChild!="undefined"&&(function(){return true})()&&typeof document.getElementById!="undefined"&&typeof (window.attachEvent||document.addEventListener||window.addEventListener)!="undefined"&&typeof encodeURIComponent!="undefined";this.G=this.F&&mboxGetPageParameter("mboxDisable")==null;var I=H=="default";this.I=new mboxCookieManager("mbox"+(I?"":("-"+H)),(function(){return mboxCookiePageDomain()})());this.G=this.G&&this.I.isEnabled()&&(this.I.getCookie("disable")==null);if(this.isAdmin()){this.enable()}this.J=mboxGenerateId();this.K=mboxScreenHeight();this.L=mboxScreenWidth();this.M=mboxBrowserWidth();this.N=mboxBrowserHeight();this.O=mboxScreenColorDepth();this.P=mboxBrowserTimeOffset();this.Q=new mboxSession(this.J,"mboxSession","session",31*60,this.I);this.R=new mboxPC("PC",2592000,this.I);this.w=new mboxUrlBuilder(C,B);this.S(this.w,I);this.T=new Date().getTime();this.U=this.T;var J=this;this.addOnLoad(function(){J.U=new Date().getTime()});if(this.F){this.addOnLoad(function(){J.D=true;J.getMboxes().each(function(A){A.setFetcher(new mboxAjaxFetcher());A.finalize()})});this.limitTraffic(100,10368000);if(this.G){this.X();this.Y=new mboxSignaler(function(D,A){return J.create(D,A)},this.I)}}};mboxFactory.prototype.isEnabled=function(){return this.G};mboxFactory.prototype.getDisableReason=function(){return this.I.getCookie("disable")};mboxFactory.prototype.isSupported=function(){return this.F};mboxFactory.prototype.disable=function(C,D){if(typeof C=="undefined"){C=60*60}if(typeof D=="undefined"){D="unspecified"}if(!this.isAdmin()){this.G=false;this.I.setCookie("disable",D,C)}};mboxFactory.prototype.enable=function(){this.G=true;this.I.deleteCookie("disable")};mboxFactory.prototype.isAdmin=function(){return document.location.href.indexOf("mboxEnv")!=-1};mboxFactory.prototype.limitTraffic=function(D,C){};mboxFactory.prototype.addOnLoad=function(B){if(window.addEventListener){window.addEventListener("load",B,false)}else{if(document.addEventListener){document.addEventListener("load",B,false)}else{if(document.attachEvent){window.attachEvent("onload",B)}}}};mboxFactory.prototype.getEllapsedTime=function(){return this.U-this.T};mboxFactory.prototype.getEllapsedTimeUntil=function(B){return B-this.T};mboxFactory.prototype.getMboxes=function(){return this.E};mboxFactory.prototype.get=function(D,C){return this.E.get(D).getById(C||0)};mboxFactory.prototype.update=function(C,D){if(!this.isEnabled()){return }if(this.E.get(C).length()==0){throw"Mbox "+C+" is not defined"}this.E.get(C).each(function(A){A.getUrlBuilder().addParameter("mboxPage",mboxGenerateId());A.load(D)})};mboxFactory.prototype.create=function(P,T,U){if(!this.isSupported()){return null}var V=this.w.clone();V.addParameter("mboxCount",this.E.length()+1);V.addParameters(T);var Q=this.E.get(P).length();var N=this.C+"-"+P+"-"+Q;var R;if(U){R=new mboxLocatorNode(U)}else{if(this.D){throw"The page has already been loaded, can't write marker"}R=new mboxLocatorDefault(N)}try{var M=this;var W="mboxImported-"+N;var O=new mbox(P,Q,V,R,W);if(this.G){O.setFetcher(this.D?new mboxAjaxFetcher():new mboxStandardFetcher())}O.setOnError(function(B,A){O.setMessage(B);O.activate();if(!O.isActivated()){M.disable(60*60,B);window.location.reload(false)}});this.E.add(O)}catch(S){this.disable();throw'Failed creating mbox "'+P+'", the error was: '+S}var X=new Date();V.addParameter("mboxTime",X.getTime()-(X.getTimezoneOffset()*60000));return O};mboxFactory.prototype.getCookieManager=function(){return this.I};mboxFactory.prototype.getPageId=function(){return this.J};mboxFactory.prototype.getPCId=function(){return this.R};mboxFactory.prototype.getSessionId=function(){return this.Q};mboxFactory.prototype.getSignaler=function(){return this.Y};mboxFactory.prototype.getUrlBuilder=function(){return this.w};mboxFactory.prototype.S=function(D,C){D.addParameter("mboxHost",document.location.hostname).addParameter("mboxSession",this.Q.getId());if(!C){D.addParameter("mboxFactoryId",this.C)}if(this.R.getId()!=null){D.addParameter("mboxPC",this.R.getId())}D.addParameter("mboxPage",this.J);D.addParameter("screenHeight",this.K);D.addParameter("screenWidth",this.L);D.addParameter("browserWidth",this.M);D.addParameter("browserHeight",this.N);D.addParameter("browserTimeOffset",this.P);D.addParameter("colorDepth",this.O);D.addParameter("mboxXDomain","enabled");D.setUrlProcessAction(function(A){A+="&mboxURL="+encodeURIComponent(document.location);var B=encodeURIComponent(document.referrer);if(A.length+B.length<2000){A+="&mboxReferrer="+B}A+="&mboxVersion="+mboxVersion;return A})};mboxFactory.prototype.mb=function(){return""};mboxFactory.prototype.X=function(){document.write("<style>.mboxDefault { visibility:hidden; }</style>")};mboxFactory.prototype.isDomLoaded=function(){return this.D};mboxSignaler=function(N,K){this.I=K;var M=K.getCookieNames("signal-");for(var L=0;L<M.length;L++){var J=M[L];var I=K.getCookie(J).split("&");var H=N(I[0],I);H.load();K.deleteCookie(J)}};mboxSignaler.prototype.signal=function(D,C){this.I.setCookie("signal-"+D,mboxShiftArray(arguments).join("&"),45*60)};mboxList=function(){this.E=new Array()};mboxList.prototype.add=function(B){if(B!=null){this.E[this.E.length]=B}};mboxList.prototype.get=function(G){var F=new mboxList();for(var H=0;H<this.E.length;H++){var E=this.E[H];if(E.getName()==G){F.add(E)}}return F};mboxList.prototype.getById=function(B){return this.E[B]};mboxList.prototype.length=function(){return this.E.length};mboxList.prototype.each=function(D){if(typeof D!="function"){throw"Action must be a function, was: "+typeof (D)}for(var C=0;C<this.E.length;C++){D(this.E[C])}};mboxLocatorDefault=function(B){this.g="mboxMarker-"+B;document.write('<div id="'+this.g+'" style="visibility:hidden;display:none">&nbsp;</div>')};mboxLocatorDefault.prototype.locate=function(){var B=document.getElementById(this.g);while(B!=null){if(B.nodeType==1){if(B.className=="mboxDefault"){return B}}B=B.previousSibling}return null};mboxLocatorDefault.prototype.force=function(){var C=document.createElement("div");C.className="mboxDefault";var D=document.getElementById(this.g);D.parentNode.insertBefore(C,D);return C};mboxLocatorNode=function(B){this.ub=B};mboxLocatorNode.prototype.locate=function(){return typeof this.ub=="string"?document.getElementById(this.ub):this.ub};mboxLocatorNode.prototype.force=function(){return null};mboxCreate=function(D){var C=mboxFactoryDefault.create(D,mboxShiftArray(arguments));if(C){C.load()}return C};mboxDefine=function(F,E){var D=mboxFactoryDefault.create(E,mboxShiftArray(mboxShiftArray(arguments)),F);return D};mboxUpdate=function(B){mboxFactoryDefault.update(B,mboxShiftArray(arguments))};mbox=function(H,F,J,I,G){this.Ab=null;this.Bb=0;this.gb=I;this.hb=G;this.Cb=null;this.Db=new mboxOfferContent();this.vb=null;this.w=J;this.message="";this.Eb=new Object();this.Fb=0;this.yb=F;this.g=H;this.Gb();J.addParameter("mbox",H).addParameter("mboxId",F);this.Hb=function(){};this.Ib=function(){};this.Jb=null};mbox.prototype.getId=function(){return this.yb};mbox.prototype.Gb=function(){if(this.g.length>250){throw"Mbox Name "+this.g+" exceeds max length of 250 characters."}else{if(this.g.match(/^\s+|\s+$/g)){throw"Mbox Name "+this.g+" has leading/trailing whitespace(s)."}}};mbox.prototype.getName=function(){return this.g};mbox.prototype.getParameters=function(){var E=this.w.getParameters();var F=new Array();for(var D=0;D<E.length;D++){if(E[D].name.indexOf("mbox")!=0){F[F.length]=E[D].name+"="+E[D].value}}return F};mbox.prototype.setOnLoad=function(B){this.Ib=B;return this};mbox.prototype.setMessage=function(B){this.message=B;return this};mbox.prototype.setOnError=function(B){this.Hb=B;return this};mbox.prototype.setFetcher=function(B){if(this.Cb){this.Cb.cancel()}this.Cb=B;return this};mbox.prototype.getFetcher=function(){return this.Cb};mbox.prototype.load=function(E){if(this.Cb==null){return this}this.setEventTime("load.start");this.cancelTimeout();this.Bb=0;var F=(E&&E.length>0)?this.w.clone().addParameters(E):this.w;this.Cb.fetch(F);var D=this;this.Lb=setTimeout(function(){D.Hb("browser timeout",D.Cb.getType())},15000);this.setEventTime("load.end");return this};mbox.prototype.loaded=function(){this.cancelTimeout();if(!this.activate()){var B=this;setTimeout(function(){B.loaded()},100)}};mbox.prototype.activate=function(){if(this.Bb){return this.Bb}this.setEventTime("activate"+ ++this.Fb+".start");if(this.show()){this.cancelTimeout();this.Bb=1}this.setEventTime("activate"+this.Fb+".end");return this.Bb};mbox.prototype.isActivated=function(){return this.Bb};mbox.prototype.setOffer=function(B){if(B&&B.show&&B.setOnLoad){this.Db=B}else{throw"Invalid offer"}return this};mbox.prototype.getOffer=function(){return this.Db};mbox.prototype.show=function(){this.setEventTime("show.start");var B=this.Db.show(this);this.setEventTime(B==1?"show.end.ok":"show.end");return B};mbox.prototype.showContent=function(B){if(B==null){return 0}if(this.vb==null||!this.vb.parentNode){this.vb=this.getDefaultDiv();if(this.vb==null){return 0}}if(this.vb!=B){this.Nb(this.vb);this.vb.parentNode.replaceChild(B,this.vb);this.vb=B}this.Ob(B);this.Ib();return 1};mbox.prototype.hide=function(){this.setEventTime("hide.start");var B=this.showContent(this.getDefaultDiv());this.setEventTime(B==1?"hide.end.ok":"hide.end.fail");return B};mbox.prototype.finalize=function(){this.setEventTime("finalize.start");this.cancelTimeout();if(this.getDefaultDiv()==null){if(this.gb.force()!=null){this.setMessage("No default content, an empty one has been added")}else{this.setMessage("Unable to locate mbox")}}if(!this.activate()){this.hide();this.setEventTime("finalize.end.hide")}this.setEventTime("finalize.end.ok")};mbox.prototype.cancelTimeout=function(){if(this.Lb){clearTimeout(this.Lb)}if(this.Cb!=null){this.Cb.cancel()}};mbox.prototype.getDiv=function(){return this.vb};mbox.prototype.getDefaultDiv=function(){if(this.Jb==null){this.Jb=this.gb.locate()}return this.Jb};mbox.prototype.setEventTime=function(B){this.Eb[B]=(new Date()).getTime()};mbox.prototype.getEventTimes=function(){return this.Eb};mbox.prototype.getImportName=function(){return this.hb};mbox.prototype.getURL=function(){return this.w.buildUrl()};mbox.prototype.getUrlBuilder=function(){return this.w};mbox.prototype.Qb=function(B){return B.style.display!="none"};mbox.prototype.Ob=function(B){this.Rb(B,true)};mbox.prototype.Nb=function(B){this.Rb(B,false)};mbox.prototype.Rb=function(D,C){D.style.visibility=C?"visible":"hidden";D.style.display=C?"block":"none"};mboxOfferContent=function(){this.Ib=function(){}};mboxOfferContent.prototype.show=function(C){var D=C.showContent(document.getElementById(C.getImportName()));if(D==1){this.Ib()}return D};mboxOfferContent.prototype.setOnLoad=function(B){this.Ib=B};mboxOfferAjax=function(B){this.Mb=B;this.Ib=function(){}};mboxOfferAjax.prototype.setOnLoad=function(B){this.Ib=B};mboxOfferAjax.prototype.show=function(D){var F=document.createElement("div");F.id=D.getImportName();F.innerHTML=this.Mb;var E=D.showContent(F);if(E==1){this.Ib()}return E};mboxOfferDefault=function(){this.Ib=function(){}};mboxOfferDefault.prototype.setOnLoad=function(B){this.Ib=B};mboxOfferDefault.prototype.show=function(C){var D=C.hide();if(D==1){this.Ib()}return D};mboxCookieManager=function mboxCookieManager(D,C){this.g=D;this.Ub=C==""||C.indexOf(".")==-1?"":"; domain="+C;this.Vb=new mboxMap();this.loadCookies()};mboxCookieManager.prototype.isEnabled=function(){this.setCookie("check","true",60);this.loadCookies();return this.getCookie("check")=="true"};mboxCookieManager.prototype.setCookie=function(G,H,E){if(typeof G!="undefined"&&typeof H!="undefined"&&typeof E!="undefined"){var F=new Object();F.name=G;F.value=escape(H);F.expireOn=Math.ceil(E+new Date().getTime()/1000);this.Vb.put(G,F);this.saveCookies()}};mboxCookieManager.prototype.getCookie=function(C){var D=this.Vb.get(C);return D?unescape(D.value):null};mboxCookieManager.prototype.deleteCookie=function(B){this.Vb.remove(B);this.saveCookies()};mboxCookieManager.prototype.getCookieNames=function(C){var D=new Array();this.Vb.each(function(B,A){if(B.indexOf(C)==0){D[D.length]=B}});return D};mboxCookieManager.prototype.saveCookies=function(){var F=new Array();var D=0;this.Vb.each(function(B,A){F[F.length]=B+"#"+A.value+"#"+A.expireOn;if(D<A.expireOn){D=A.expireOn}});var E=new Date(D*1000);document.cookie=this.g+"="+F.join("|")+"; expires="+E.toGMTString()+"; path=/"+this.Ub};mboxCookieManager.prototype.loadCookies=function(){this.Vb=new mboxMap();var K=document.cookie.indexOf(this.g+"=");if(K!=-1){var I=document.cookie.indexOf(";",K);if(I==-1){I=document.cookie.indexOf(",",K);if(I==-1){I=document.cookie.length}}var H=document.cookie.substring(K+this.g.length+1,I).split("|");var M=Math.ceil(new Date().getTime()/1000);for(var N=0;N<H.length;N++){var J=H[N].split("#");if(M<=J[2]){var L=new Object();L.name=J[0];L.value=J[1];L.expireOn=J[2];this.Vb.put(L.name,L)}}}};mboxSession=function(H,G,I,F,J){this.hc=G;this.pb=I;this.ic=F;this.I=J;this.jc=false;this.yb=typeof mboxForceSessionId!="undefined"?mboxForceSessionId:mboxGetPageParameter(this.hc);if(this.yb==null||this.yb.length==0){this.yb=J.getCookie(I);if(this.yb==null||this.yb.length==0){this.yb=H;this.jc=true}}J.setCookie(I,this.yb,F)};mboxSession.prototype.getId=function(){return this.yb};mboxSession.prototype.forceId=function(B){this.yb=B;this.I.setCookie(this.pb,this.yb,this.ic)};mboxPC=function(E,D,F){this.pb=E;this.ic=D;this.I=F;this.yb=typeof mboxForcePCId!="undefined"?mboxForcePCId:F.getCookie(E);if(this.yb!=null){F.setCookie(E,this.yb,D)}};mboxPC.prototype.getId=function(){return this.yb};mboxPC.prototype.forceId=function(B){if(this.yb!=B){this.yb=B;this.I.setCookie(this.pb,this.yb,this.ic);return true}return false};mboxGetPageParameter=function(H){var F=null;var E=new RegExp(H+"=([^&]*)");var G=E.exec(document.location);if(G!=null&&G.length>=2){F=G[1]}return F};mboxSetCookie=function(E,F,D){return mboxFactoryDefault.getCookieManager().setCookie(E,F,D)};mboxGetCookie=function(B){return mboxFactoryDefault.getCookieManager().getCookie(B)};mboxCookiePageDomain=function(){var F=(/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1];var E=/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/;if(!E.exec(F)){var D=(/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(F);if(D){F=D[0]}}return F?F:""};mboxShiftArray=function(F){var E=new Array();for(var D=1;D<F.length;D++){E[E.length]=F[D]}return E};mboxGenerateId=function(){return(new Date()).getTime()+"-"+Math.floor(Math.random()*999999)};mboxScreenHeight=function(){return screen.height};mboxScreenWidth=function(){return screen.width};mboxBrowserWidth=function(){return(window.innerWidth)?window.innerWidth:document.documentElement?document.documentElement.clientWidth:document.body.clientWidth};mboxBrowserHeight=function(){return(window.innerHeight)?window.innerHeight:document.documentElement?document.documentElement.clientHeight:document.body.clientHeight};mboxBrowserTimeOffset=function(){return -new Date().getTimezoneOffset()};mboxScreenColorDepth=function(){return screen.pixelDepth};if(typeof mboxVersion=="undefined"){var mboxVersion=39;var mboxFactories=new mboxMap();var mboxFactoryDefault=new mboxFactory("babycenter.tt.omtrdc.net","babycenter","default")}if(mboxGetPageParameter("mboxDebug")!=null||mboxFactoryDefault.getCookieManager().getCookie("debug")!=null){setTimeout(function(){if(typeof mboxDebugLoaded=="undefined"){alert("Could not load the remote debug.\nPlease check your connection to Test&amp;Target servers")}},60*60);document.write('<script language="Javascript1.2" src="http://admin3.testandtarget.omniture.com/admin/mbox/mbox_debug.jsp?mboxServerHost=babycenter.tt.omtrdc.net&clientCode=babycenter"><\/script>')}function hideMDO(D){var F=top.document.getElementById(D+"MDO");var E=top.document.getElementById(D+"MDOIFRAME");F.style.display="none";E.style.display="none"}if(typeof (s_account)=="undefined"){var s_account=null}if(!s_account){switch(window.location.hostname){case"qa-trunk.www.babycenter.com":case"qa-branch.www.babycenter.com":s_account="babycenterqa";break;case"stag.babycenter.com":s_account="babycenterbeta";break;case"community.babycenter.com":case"www.babycenter.com":s_account="babycentercom";break;case"blogs.babycenter.com":s_account="babycenterprofessionalblogs";break;default:s_account="babycenter2.0test";break}}var s=s_gi(s_account);s.currencyCode="USD";s.trackDownloadLinks=true;s.trackExternalLinks=true;s.trackInlineStats=true;s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx";s.linkInternalFilters="javascript:,babycenter.com";s.linkLeaveQueryString=false;s.linkTrackVars="None";s.linkTrackEvents="None";s.charset="UTF-8";s.server=location.hostname;s.usePlugins=true;function s_doPlugins(B){if(!B.eVar1){B.eVar1=B.getQueryParam("intcmp")}if(B.eVar1){B.prop35=B.getQueryParam("pn")}if(!B.campaign){B.campaign=B.getQueryParam("scid")}B.campaign=B.getValOnce(B.campaign,"s_campaign",0);B.prop32=B.getNewRepeat();if(B.prop2){B.prop2=B.prop2.toLowerCase()}if(B.eVar2){B.eVar2=B.eVar2.toLowerCase()}if(B.prop2){B.eVar2=B.prop2;B.eVar2=B.getValOnce(B.eVar2,"ev2",0)}if(B.eVar1){B.prop31=B.eVar1}B.events=B.getCartOpen("s_scOpen");B.events=B.resetGetCartOpen();if(!B.eVar36){B.eVar36=B.getQueryParam("frompopunder")}(function(){var I,A,G;var J={content:"partner-pub-5908659995666945:o0l6wl3rqks",community:"000086970581329932031:mzjuupyzieg"};var H=unescape(unescape(document.referrer));for(I in J){if(H.indexOf(J[I])>-1){A=true}}if(A){G=H.match(/&rurl=([^&]+).*&q=([^&]+)/);if(G&&(G.length>1)){B.referrer=G[1];B.prop2=G[2]}if(B.prop2){B.prop2=B.prop2.replace(/[+]/g," ");B.eVar2=B.prop2}}})()}s.doPlugins=s_doPlugins;s.getPreviousValue=new Function("v","c","el","var s=this,t=new Date,i,j,r='';t.setTime(t.getTime()+1800000);if(el){if(s.events){i=s.split(el,',');j=s.split(s.events,',');for(x in i){for(y in j){if(i[x]==j[y]){if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}");s.apl=new Function("L","v","d","u","var s=this,m=0;if(!L)L='';if(u){var i,n,a=s.split(L,d);for(i=0;i<a.length;i++){n=a[i];m=m||(u==1?(n==v):(n.toLowerCase()==v.toLowerCase()));}}if(!m)L=L?L+d+v:v;return L");s.getValOnce=new Function("v","c","e","var s=this,a=new Date,v=v?v:v='',c=c?c:c='s_gvo',e=e?e:0,k=s.c_r(c);if(v){a.setTime(a.getTime()+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v");s.getNewRepeat=new Function("var s=this,e=new Date(),cval,ct=e.getTime(),y=e.getYear();e.setTime(ct+30*24*60*60*1000);cval=s.c_r('s_nr');if(cval.length==0){s.c_w('s_nr',ct,e);return 'New';}if(cval.length!=0&&ct-cval<30*60*1000){s.c_w('s_nr',ct,e);return 'New';}if(cval<1123916400001){e.setTime(cval+30*24*60*60*1000);s.c_w('s_nr',ct,e);return 'Repeat';}else return 'Repeat';");s.repl=new Function("x","o","n","var i=x.indexOf(o),l=n.length;while(x&&i>=0){x=x.substring(0,i)+n+x.substring(i+o.length);i=x.indexOf(o,i+l)}return x");s.split=new Function("l","d","var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x++]=l.substring(0,i);l=l.substring(i+d.length);}return a");s.getCartOpen=new Function("c","var s=this,t=new Date,e=s.events?s.events:'',i=0;t.setTime(t.getTime()+1800000);if(s.c_r(c)||e.indexOf('scOpen')>-1){if(!s.c_w(c,1,t)){s.c_w(c,1,0)}}else{if(e.indexOf('scAdd')>-1){if(s.c_w(c,1,t)){i=1}else if(s.c_w(c,1,0)){i=1}}}if(i){e=e+',scOpen'}return e");s.resetGetCartOpen=new Function("var s=this,t=new Date,e=s.events?s.events:'';t.setTime(t.getTime()+10000);if(e.indexOf('purchase')>-1){if(s.c_r('s_scOpen')||e.indexOf('scOpen')>-1){if(!s.c_w('s_scOpen','',t)){s.c_w('s_scOpen','',0);}}}return e");s.getQueryParam=new Function("p","d","u","var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.location);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p.length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i==p.length?i:i+1)}return v");s.p_gpv=new Function("k","u","var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v=s.pt(q,'&','p_gvf',k)}return v");s.p_gvf=new Function("t","k","if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'True':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s.epa(v)}return ''");s.trackingServer="metrics.babycenter.com";s.trackingServerSecure="smetrics.babycenter.com";s.dc=112;var s_code="",s_objectID;function s_gi(b,a,S){var Y="=fun^I(~){`Ls=^Z~$w ~.substring(~.indexOf(~;@t~`c@t~=new Fun^I(~.toLowerCase()~};s.~.length~s_c_il['+s@4n+']~=new Object~`aMigrationServer~.toUpperCase~){@t~`V$x=^O=s.`X`q=s.`X^c=`I^zobjectID=s.ppu=$8=$8v1=$8v2=$8v3=~','~s.wd~t^S~')q='~var ~s.pt(~=new Array~ookieDomainPeriods~.location~^KingServer~dynamicAccount~s.apv~='+#D~BufferedRequests~);s.~)@tx^w!Object$pObject.prototype$pObject.prototype[x])~link~s.m_~Element~visitor~referrer~else ~.get#9()~}c#B(e){~.lastIndexOf(~.protocol~=new Date~=''~;@d^ss[k],255)}~javaEnabled~conne^I^c~^zc_i~:'')~onclick~}@t~Name~ternalFilters~javascript~s.dl~@9s.b.addBehavior(\"# default# ~for(~=parseFloat(~'+tm.get~typeof(v)==\"~window~cookie~s.rep(~s.vl_g~tfs~s.un~&&s.~o^zoid~browser~.parent~document~colorDepth~String~while(~.host~s.maxDelay~r=s.m(f)?s[f](~s.sq~parseInt(~ction~t=s.ot(o)~track~nload~j='1.~#NURL~s.eo~lugins~'){q='~dynamicVariablePrefix~=='~set#9out(~Sampling~s.rc[un]~Event~;i++)~');~this~resolution~}else{~Type~s.c_r(~s.c_w(~s.eh~s.isie~s.vl_l~s.vl_t~Secure~Height~t,h#Wt?t~tcf~isopera~ismac~escape(~.href~screen.~s.fl(~s=s_gi(~Version~harCode~&&(~_'+~variableProvider~.s_~f',~){s.~)?'Y':'N'~:'';h=h?h~._i~e&&l!='SESSION'~s_sv(v,n[k],i)}~name~home#N~;try{~s.ssl~s.oun~s.rl[u~Width~o.type~\"m_\"+n~Lifetime~s.gg('objectID~sEnabled~.mrq($run+'\"~ExternalLinks~charSet~onerror~currencyCode~.src~disable~etYear(~MigrationKey~&&!~Opera~'s_~Math.~s.fsg~s.$x~s.ns6~InlineStats~&&l!='NONE'~Track~'0123456789~s[k]=~'+n+'~loadModule~+\"_c\"]~s.epa(~t.m_nl~m._d~n=s.oid(o)~,'sqs',q);~LeaveQuery~(''+~')>=~'=')~){n=~\",''),~&&t!='~if(~vo)~s.sampled~=s.oh(o);~+(y<1900?~n]=~true~sess~campaign~lif~ in ~'http~,100)~s.co(~ffset~s.pe~'&pe~m._l~s.c_d~s.brl~s.nrs~s.gv(~s[mn]~s.qav~,'vo~s.pl~=(apn~Listener~\"s_gs(\")~vo._t~b.attach~2o7.net'~d.create~=s.n.app~n){~t&&~)+'/~s()+'~){p=~():''~a):f(~'+n;~+1))~a['!'+t]~){v=s.n.~channel~.target~x.split~o.value~[\"s_\"+g~s_si(t)~')dc='1~\".tl(\")~etscape~s_')t=t~omePage~s.d.get~')<~||!~'||~\"'+~[b](e);~\"){n[k]~a+1,b):~m[t+1](~return~lnk~mobile~height~events~random~code~wd.~=un~un,~,pev~'MSIE ~rs,~Time~floor(~atch~s.num(~s.ape(~s.pg~m._e~s.c_gd~,'lt~.inner~transa~;s.gl(~idt='+~',s.bc~page~Group,~.fromC~sByTag~?'&~+';'~&&o~1);~}}}}~){t=~[t]=~[n];~>=5)~[t](~,1)!='~!a[t])~~s._c=@Uc';`I=`z`5!`I`m$R`I`ml`N;`I`mn=0;}s@4l=`I`ml;s@4n=`I`mn;s@4l[s@4@ys;`I`mn++;s.m`0m){`2@nm)`4'{$o0`9fl`0x,l){`2x?@nx)`30,l):x`9co`0o`F!o)`2o;`Ln`C,x;`vx$3o)@tx`4'select$o0&&x`4'filter$o0)n[x]=o[x];`2n`9num`0x){x`i+x;`v`Lp=0;p<x`A;p++)@t(@c')`4x`3p,p$Z<0)`20;`21`9rep=s_r;s.spf`0t,a){a[a`A]=t;`20`9sp`0x,d`1,a`N`5$e)a=$e(d);`c`Mx,d,'s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T'`V^o=(s.u`4'Mac@o0)`5o>0)`S`ws.u`3o+6));`6ie>0){`S=^Hi=v`3ie+5))`5`S>3)`S`wi)}`6@Y>0)`S`ws.u`3@Y+10));`c`S`wv`Vem=0`5^B#P^v){i=^p^B#P^v(256))`E(`Vem=(i^S%C4%80'?2:(i^S%U0100'?1:0))}s.sa(un`Vvl_l='^R,`aID,vmk,`a@R,`D,`D^j,ppu,@L,`a`qspace,c`O,^0@G,#N`q,^N,`b,@N';^i=^h+',^y,$c,server,#N^c,#J^IID,purchaseID,$1,state,zip,#0,products,`X`q,`X^c';`v`Ln=1;n<51;n++)^i+=',prop@e,eVar@e,hier@e,list$Y^h2=',tnt,pe#61#62#63,^a,^A,`s^u,`k,^0@I,^7@D,^7^k,`l,@8,p^P';^i+=^h2;^2=^i+',`Q,`Q^j,`QBase,fpC`O,@P`U,$y,`a^U,`a^U#O`RSele^I,`RList,`RM#B,^KDow^LLinks,^K@K,^K@Z,`X@m^B,`XDow^LFile^cs,`XEx`r,`XIn`r,`X@bVa#8`X@b^Ws,`X`qs,$x,eo,_1_`b';#E=pg#K^2)`5!ss)`Is()",W=window,P=W.s_c_il,R=navigator,U=R.userAgent,V=R.appVersion,Z=V.indexOf("MSIE "),Q=U.indexOf("Netscape6/"),X,O,T;if(b){b=b.toLowerCase();if(P){for(O=0;O<P.length;O++){T=P[O];if(T._c=="s_c"){if(T.oun==b){return T}else{if(T.fs&&T.sa&&T.fs(T.oun,b)){T.sa(b);return T}}}}}}W.s_r=new Function("x","o","n","var i=x.indexOf(o);if(i>=0&&x.split)x=(x.split(o)).join(n);else while(i>=0){x=x.substring(0,i)+n+x.substring(i+o.length);i=x.indexOf(o)}return x");W.s_d=new Function("x","var t='`^@$#',l='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',d,n=0,b,k,w,i=x.lastIndexOf('~~');if(i>0){d=x.substring(0,i);x=x.substring(i+2);while(d){w=d;i=d.indexOf('~');if(i>0){w=d.substring(0,i);d=d.substring(i+1)}else d='';b=(n-n%62)/62;k=n-b*62;k=t.substring(b,b+1)+l.substring(k,k+1);x=s_r(x,k,w);n++}for(i=0;i<5;i++){w=t.substring(i,i+1);x=s_r(x,w+' ',w)}}return x");W.s_fe=new Function("c","return s_r(s_r(s_r(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");W.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')a+='\",\"';else if((\"\\n\\r\\t \").indexOf(c)<0)a+=c;s++}return a?'\"'+a+'\"':a");W.s_ft=new Function("c","c+='';var s,e,o,a,d,q,f,h,x;s=c.indexOf('=function(');while(s>=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){if(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")'+c.substring(e+1);s=c.indexOf('=function(')}return c;");Y=s_d(Y);if(Z>0){X=parseInt(O=V.substring(Z+5));if(X>3){X=parseFloat(O)}}else{if(Q>0){X=parseFloat(U.substring(Q+10))}else{X=parseFloat(V)}}if(X>=5&&V.indexOf("Opera")<0&&U.indexOf("Opera")<0){W.s_c=new Function("un","pg","ss","var s=this;"+Y);return new s_c(b,a,S)}else{T=new Function("un","pg","ss","var s=new Object;"+s_ft(Y)+";return s")}return T(b,a,S)}if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(R,O,Q,M,U,T,W,X,N,S){if(!document.getElementById){return }this.DETECT_KEY=S?S:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(R){this.setAttribute("swf",R)}if(O){this.setAttribute("id",O)}if(Q){this.setAttribute("width",Q)}if(M){this.setAttribute("height",M)}if(U){this.setAttribute("version",new deconcept.PlayerVersion(U.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(T){this.addParam("bgcolor",T)}var P=W?W:"high";this.addParam("quality",P);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var V=(X)?X:window.location;this.setAttribute("xiRedirectUrl",V);this.setAttribute("redirectUrl","");if(N){this.setAttribute("redirectUrl",N)}};deconcept.SWFObject.prototype={useExpressInstall:function(B){this.xiSWFPath=!B?"expressinstall.swf":B;this.setAttribute("useExpressInstall",true)},setAttribute:function(C,D){this.attributes[C]=D},getAttribute:function(B){return this.attributes[B]},addParam:function(D,C){this.params[D]=C},getParams:function(){return this.params},addVariable:function(D,C){this.variables[D]=C},getVariable:function(B){return this.variables[B]},getVariables:function(){return this.variables},getVariablePairs:function(){var E=new Array();var F;var D=this.getVariables();for(F in D){E[E.length]=F+"="+D[F]}return E},getSWFHTML:function(){var L="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}L='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';L+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var H=this.getParams();for(var I in H){L+=[I]+'="'+H[I]+'" '}var J=this.getVariablePairs().join("&");if(J.length>0){L+='flashvars="'+J+'"'}L+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}L='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';L+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var K=this.getParams();for(var I in K){L+='<param name="'+I+'" value="'+K[I]+'" />'}var G=this.getVariablePairs().join("&");if(G.length>0){L+='<param name="flashvars" value="'+G+'" />'}L+="</object>"}return L},write:function(F){if(this.getAttribute("useExpressInstall")){var D=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(D)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var E=(typeof F=="string")?document.getElementById(F):F;E.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var G=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var F=navigator.plugins["Shockwave Flash"];if(F&&F.description){G=new deconcept.PlayerVersion(F.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var J=1;var I=3;while(J){try{I++;J=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+I);G=new deconcept.PlayerVersion([I,0,0])}catch(H){J=null}}}else{try{var J=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(H){try{var J=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");G=new deconcept.PlayerVersion([6,0,21]);J.AllowScriptAccess="always"}catch(H){if(G.major==6){return G}}try{J=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(H){}}if(J!=null){G=new deconcept.PlayerVersion(J.GetVariable("$version").split(" ")[1].split(","))}}}return G};deconcept.PlayerVersion=function(B){this.major=B[0]!=null?parseInt(B[0]):0;this.minor=B[1]!=null?parseInt(B[1]):0;this.rev=B[2]!=null?parseInt(B[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(B){if(this.major<B.major){return false}if(this.major>B.major){return true}if(this.minor<B.minor){return false}if(this.minor>B.minor){return true}if(this.rev<B.rev){return false}return true};deconcept.util={getRequestParameter:function(G){var F=document.location.search||document.location.hash;if(G==null){return F}if(F){var H=F.substring(1).split("&");for(var E=0;E<H.length;E++){if(H[E].substring(0,H[E].indexOf("="))==G){return H[E].substring((H[E].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var F=document.getElementsByTagName("OBJECT");for(var E=F.length-1;E>=0;E--){F[E].style.display="none";for(var D in F[E]){if(typeof F[E][D]=="function"){F[E][D]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(B){return document.all[B]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;if("undefined"==typeof (bc)){bc=new Object()}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};bc.VALID_NAMESPACE_REG_EXP=new RegExp("^([a-z]+[a-z0-9]?)+(\\.[a-z]+[a-z0-9]?)*$");bc._TOOLKIT_DOJO_041="dojo_0.41";bc._TOOLKIT_DOJO_12="dojo_1.2";bc._toolkit=bc._TOOLKIT_DOJO_041;bc.namespace=function(I){var L="bc.namespace():\n";var N=L;if(("string"!=typeof (I))||!bc.VALID_NAMESPACE_REG_EXP.test(I)){N+="  The namespace input must be a string of the form level1.level2.level3...where each level is of the form /[a-z]+[a-z0-9]?/.\n"}if(N==L){var J=(new String(I)).split(".");var K=window;for(var M=0;M<J.length;M++){var H=J[M];if("undefined"==typeof (K[H])){K[H]=new Object()}K=K[H]}}if(N!=L){throw (N)}};bc.GeneralUtilities={};bc.GeneralUtilities._nonWhitespaceRE=new RegExp("\\S");bc.GeneralUtilities._trueRE=new RegExp("^\\s*true\\s*$","i");bc.GeneralUtilities.isSet=function(B){if(("undefined"!=typeof (B))&&(null!=B)){return true}else{return false}};bc.GeneralUtilities.isNotSet=function(B){return !this.isSet(B)};bc.GeneralUtilities.isNotBlank=function(B){if(this.isSet(B)&&(this.isArray(B)||this._nonWhitespaceRE.test(B))){return true}else{return false}};bc.GeneralUtilities.isBlank=function(B){return !this.isNotBlank(B)};bc.GeneralUtilities.stringToBoolean=function(D){var C=false;if(this.isNotBlank(D)&&this._trueRE.test(D)){C=true}return C};bc.GeneralUtilities.isArray=function(B){if(!B||!B.constructor||(B.constructor!=Array)){return false}else{return true}};bc.GeneralUtilities.prefillField=function(E,F){var D=document.getElementById(F);if(D.value==""){D.value=E}};bc.Ajax={};bc.Ajax._POST_REG_EXP=new RegExp("^\\s*POST\\s*$","i");bc.Ajax._XML_CONTENT_TYPE_REG_EXP=new RegExp("xml","i");bc.Ajax._JSON_CONTENT_TYPE_REG_EXP=new RegExp("json","i");bc.Ajax._FORM_ELEMENT_REG_EXP=new RegExp("^form$","i");bc.Ajax._PREVENT_CACHE_PARAM_NAME="bcPreventCache";bc.Ajax._xhrObject=null;bc.Ajax._getXhrObject=function(){if(window.XMLHttpRequest){bc.Ajax._xhrObject=new XMLHttpRequest()}else{if(window.ActiveXObject){try{bc.Ajax._xhrObject=new ActiveXObject("Msxml2.XMLHTTP")}catch(D){try{bc.Ajax._xhrObject=new ActiveXObject("Microsoft.XMLHTTP")}catch(C){throw ("Could not get an XMLHTTP instance.")}}}}return bc.Ajax._xhrObject};bc.Ajax._getQueryStringFromParams=function(I){var G=null;var H=[];if(bc.GeneralUtilities.isSet(I)&&("object"==typeof (I))){for(var F in I){var J=I[F];H.push(encodeURIComponent(F)+"="+encodeURIComponent(J))}}if(H.length>0){G=H.join("&")}return G};bc.Ajax._setQueryStringOnUrl=function(D,E){var F=null;if(bc.GeneralUtilities.isSet(D)){F=D.toString();if(bc.GeneralUtilities.isNotBlank(E)){if(F.indexOf("?")>-1){F+="&"}else{F+="?"}F+=E}}return F};bc.Ajax._getQueryStringFromForm=function(J){var H="";if(bc.GeneralUtilities.isSet(J)&&bc.GeneralUtilities.isSet(J.elements)){var G="";for(var K=0;K<J.elements.length;K++){var I=J.elements[K];switch(I.type){case"text":case"hidden":case"password":case"textarea":case"button":case"reset":case"submit":case"select-one":H+=encodeURIComponent(I.name)+"="+encodeURIComponent(I.value)+"&";break;case"image":break;case"radio":if(I.checked){H+=encodeURIComponent(I.name)+"="+encodeURIComponent(I.value)+"&"}break;case"checkbox":if(I.checked){if(I.name==G){if(H.lastIndexOf("&")==H.length-1){H=H.substr(0,H.length-1)}H+=","+encodeURIComponent(I.value)}else{H+=encodeURIComponent(I.name)+"="+encodeURIComponent(I.value)}H+="&";G=I.name}break;case"select-multiple":H+=encodeURIComponent(I.name)+"=";for(var L=0;L<I.options.length;L++){if(I.options[L].selected){H+=encodeURIComponent(I.options[L].value)+","}}if(H.lastIndexOf(",")==H.length-1){H=H.substr(0,H.length-1)}H+="&";break}}H=H.substr(0,H.length-1)}else{H=null}return H};bc.Ajax._handleResponse=function(xhrObject,successCallback,errorCallback,timeoutRef){var response=null;if(xhrObject.readyState==4){if(!isNaN(parseFloat(timeoutRef))){clearTimeout(timeoutRef)}if(xhrObject.status==200||xhrObject.status==304){var contentType=xhrObject.getResponseHeader("Content-type");if(bc.Ajax._XML_CONTENT_TYPE_REG_EXP.test(contentType)){response=xhrObject.responseXML}else{if(bc.Ajax._JSON_CONTENT_TYPE_REG_EXP.test(contentType)){response=eval("("+xhrObject.responseText+")")}else{if(bc.GeneralUtilities.isNotBlank(xhrObject.responseText)){response=xhrObject.responseText}}}if(bc.GeneralUtilities.isSet(successCallback)){delete (bc.Ajax._xhrObject);successCallback.call(null,response)}}else{response=xhrObject.responseText;if(bc.GeneralUtilities.isSet(errorCallback)){delete (bc.Ajax._xhrObject);errorCallback.call(null,xhrObject.status,response)}}}return response};bc.Ajax.doRequest=function(h,f,T,Z,a,j,e,c,V){var b="bc.Ajax.doRequest():\n";var X=b;if(bc.GeneralUtilities.isBlank(h)){X+="  The method argument must be a non-blank string.\n"}if(bc.GeneralUtilities.isBlank(f)){X+="  The url argument must be a non-blank string.\n"}Z=bc.GeneralUtilities.stringToBoolean(Z);a=bc.GeneralUtilities.stringToBoolean(a);if(bc.GeneralUtilities.isSet(j)&&("function"!=typeof (j))){X+="  If the successCallback argument is set it must be a function.\n"}if(bc.GeneralUtilities.isSet(e)&&("function"!=typeof (e))){X+="  If the errorCallback argument is set it must be a function.\n"}if(bc.GeneralUtilities.isSet(c)&&(isNaN(parseFloat(c)))){X+="  If the timeout argument is set it must be a number.\n"}if(bc.GeneralUtilities.isSet(V)&&("function"!=typeof (V))){X+="  If the timeoutCallback argument is set it must be a function.\n"}if(!isNaN(parseFloat(c))&&(c>0)&&!Z){X+="  Can't abort a synchronous request.\n"}if(X==b){var m=null;var W=bc.Ajax._POST_REG_EXP.test(h);var g=bc.Ajax._getXhrObject();var l=null;var k=false;if(!isNaN(parseFloat(c))&&(c>0)){var U=function(){g.onreadystatechange=function(){};g.abort();k=true;if(bc.GeneralUtilities.isSet(V)){delete (bc.Ajax._xhrObject);V.call(null)}};l=setTimeout(U,c)}if(Z){g.onreadystatechange=function(){bc.Ajax._handleResponse(g,j,e,l)}}if(a){var Y=((new Date()).valueOf()).toString()+Math.floor(Math.random()*1000).toString();var d=bc.Ajax._PREVENT_CACHE_PARAM_NAME+"="+Y;f=bc.Ajax._setQueryStringOnUrl(f,d)}g.open(h,f,Z);if(W){g.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}g.send(T);if(!Z&&!k){m=bc.Ajax._handleResponse(g,j,e,l)}return m}if(X!=b){throw (X)}};bc.Ajax.doGet=function(L,J,M,K,H,N){var I=bc.Ajax._getQueryStringFromParams(J);L=bc.Ajax._setQueryStringOnUrl(L,I);return bc.Ajax.doRequest("GET",L,null,M,K,H,N)};bc.Ajax.doPost=function(L,J,M,K,H,N){var I=bc.Ajax._getQueryStringFromParams(J);return bc.Ajax.doRequest("POST",L,I,M,K,H,N)};bc.Ajax.doPostForm=function(K,O,N,J,R){var Q="bc.Ajax.doPostForm():\n";var P=Q;if(bc.GeneralUtilities.isNotSet(K)||!bc.Ajax._FORM_ELEMENT_REG_EXP.test(K.nodeName)){P+="  The form argument must be set to an HTML form DOM element.\n"}if(P==Q){var L=bc.Ajax._getQueryStringFromForm(K);var M=K.action;return bc.Ajax.doRequest("POST",M,L,O,N,J,R)}if(P!=Q){throw (P)}};bc.Ajax.doPut=function(L,J,M,K,H,N){var I=bc.Ajax._getQueryStringFromParams(J);L=bc.Ajax._setQueryStringOnUrl(L,I);return bc.Ajax.doRequest("PUT",L,null,M,K,H,N)};bc.Ajax.doPutForm=function(K,O,N,J,R){var Q="bc.Ajax.doPutForm():\n";var P=Q;if(bc.GeneralUtilities.isNotSet(K)||!bc.Ajax._FORM_ELEMENT_REG_EXP.test(K.nodeName)){P+="  The form argument must be set to an HTML form DOM element.\n"}if(P==Q){var L=bc.Ajax._getQueryStringFromForm(K);var M=bc.Ajax._setQueryStringOnUrl(K.action,L);return bc.Ajax.doRequest("PUT",M,null,O,N,J,R)}if(P!=Q){throw (P)}};bc.Ajax.doDelete=function(L,J,M,K,H,N){var I=bc.Ajax._getQueryStringFromParams(J);L=bc.Ajax._setQueryStringOnUrl(L,I);return bc.Ajax.doRequest("DELETE",L,null,M,K,H,N)};bc.Ajax.doDeleteForm=function(K,O,N,J,R){var Q="bc.Ajax.doDeleteForm():\n";var P=Q;if(bc.GeneralUtilities.isNotSet(K)||!bc.Ajax._FORM_ELEMENT_REG_EXP.test(K.nodeName)){P+="  The form argument must be set to an HTML form DOM element.\n"}if(P==Q){var L=bc.Ajax._getQueryStringFromForm(K);var M=bc.Ajax._setQueryStringOnUrl(K.action,L);return bc.Ajax.doRequest("DELETE",M,null,O,N,J,R)}if(P!=Q){throw (P)}};bc.Environment=new function(){this.browserName=null;this.browserVersion=null;this.osName=null;this.isIe=false;this.isFireFox=false;this.isSafari=false;this.isOtherBrowser=false;this.isWindows=false;this.isMac=false;this.isOtherOs=false};bc.Environment.init=function(){var B=bc.Environment._getSignature();this.browserName=bc.Environment._getBrowserName(B);this.browserVersion=bc.Environment._getBrowserVersion(B);this.osName=bc.Environment._getOsName(B);this.isIe=(bc.Environment._BROWSER.IE==this.browserName);this.isFireFox=(bc.Environment._BROWSER.FIREFOX==this.browserName);this.isSafari=(bc.Environment._BROWSER.SAFARI==this.browserName);this.isOtherBrowser=(!this.isIe&&!this.isFF&&!this.isSafari);this.isWindows=(B.indexOf(bc.Environment.OS.WIN)!=-1);this.isMac=(B.indexOf(bc.Environment.OS.MAC)!=-1);this.isOtherOs=(!this.isWin&&!this.isMac)};bc.Environment._BROWSER={IE:"msie",FIREFOX:"firefox",SAFARI:"safari",NETSCAPE:"netscape",MOZILLA:"mozilla",OPERA:"opera",AOL:"aol",OTHER:"other"};bc.Environment.OS={WIN:"win",MAC:"mac",OTHER:"other"};bc.Environment._getSignature=function(){var B=arguments[0]||window.navigator.userAgent;B=B.toLowerCase();return B};bc.Environment._getBrowserName=function(C){if(D(bc.Environment._BROWSER.OPERA)){return bc.Environment._BROWSER.OPERA}else{if(D(bc.Environment._BROWSER.AOL)){return bc.Environment._BROWSER.AOL}else{if(D(bc.Environment._BROWSER.IE)){return bc.Environment._BROWSER.IE}else{if(D(bc.Environment._BROWSER.FIREFOX)){return bc.Environment._BROWSER.FIREFOX}else{if(D(bc.Environment._BROWSER.SAFARI)){return bc.Environment._BROWSER.SAFARI}else{if(D(bc.Environment._BROWSER.NETSCAPE)){return bc.Environment._BROWSER.NETSCAPE}else{if(D(bc.Environment._BROWSER.MOZILLA)){return bc.Environment._BROWSER.MOZILLA}else{return bc.Environment._BROWSER.UNKOWN}}}}}}}function D(A){var B=(C.indexOf(A)!=-1);return B}};bc.Environment._getBrowserVersion=function(K){var I="";var L=0;switch(this.browserName){case this._BROWSER.OPERA:case this._BROWSER.IE:case this._BROWSER.FIREFOX:case this._BROWSER.SAFARI:case this._BROWSER.NETSCAPE:case this._BROWSER.MOZILLA:I=this.browserName;break;case this._BROWSER.AOL:I="america online browser";break;default:I="";break}try{var J=K.indexOf(I);var G=K.substring(J+I.length+1);L=parseFloat(G)}catch(H){L=0}finally{return L}};bc.Environment._getOsName=function(B){if(B.indexOf(bc.Environment.OS.WIN)!=-1){return bc.Environment.OS.WIN}else{if(B.indexOf(bc.Environment.OS.MAC)!=-1){bc.Environment.OS.MAC}else{return bc.Environment.OS.WIN.OTHER}}};bc.Environment.init();bc.namespace("bc");bc.Event={CHANGE:"change",FOCUS:"focus",BLUR:"blur",KEYDOWN:"keydown",KEYUP:"keyup",KEYPRESS:"keypress",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEMOVE:"mousemove",CLICK:"click",DOUBLECLICK:"dblclick",RESIZE:"resize",SCROLL:"scroll",LOAD:"load",UNLOAD:"unload",SUBMIT:"submit",RESET:"reset"};bc.Event.init=function(){if(bc.Environment.isIe){bc.Event.addEventListener=function(G,E,F){var H="on"+E;G.attachEvent(H,F)};bc.Event.removeEventListener=function(G,E,F){var H="on"+E;G.dettachEvent(H,F)};bc.Event.addBindingEventListener=function(I,F,G,H){var J="on"+F;I.attachEvent(J,function(A){bc.Event._bind(H,G,A)})};bc.Event.getTarget=function(B){return B.srcElement};bc.Event.preventDefault=function(B){B.returnValue=false};bc.Event.stopPropagation=function(B){B.cancelBubble=true};bc.Event.getEvent=function(B){return window.event};bc.Event.getPageX=function(B){return B.clientX+document.body.parentNode.scrollLeft};bc.Event.getPageY=function(B){return B.clientY+document.body.parentNode.scrollTop}}else{bc.Event.addEventListener=function(F,D,E){F.addEventListener(D,E,false)};bc.Event.removeEventListener=function(F,D,E){F.removeEventListener(D,E,false)};bc.Event.addBindingEventListener=function(H,E,F,G){H.addEventListener(E,function(A){bc.Event._bind(G,F,A)},false)};bc.Event.getTarget=function(B){return B.target};bc.Event.preventDefault=function(B){B.preventDefault()};bc.Event.stopPropagation=function(B){B.stopPropagation()};bc.Event.getEvent=function(B){return B};bc.Event.getPageX=function(B){return B.pageX};bc.Event.getPageY=function(B){return B.pageY}}};bc.Event.getTarget=function(B){};bc.Event.preventDefault=function(B){};bc.Event.stopPropagation=function(B){};bc.Event.getEvent=function(B){};bc.Event._bind=function(G,F){var I=new Array();for(var J=2,H=arguments.length;J<H;J++){I.push(arguments[J])}F.call(G,I)};bc.Event.getPageX=function(B){};bc.Event.getPageY=function(B){};bc.Event.addEventListener=function(F,D,E){};bc.Event.addBindingEventListener=function(H,E,G,F){};bc.Event.removeEventListener=function(F,D,E){};bc.Event.addEventListenerToElements=function(H,F,I){for(var J=0,G=H.length;J<G;J++){bc.Event.addEventListener(H[J],F,I)}};bc.Event.addEventListenerToElementsByName=function(H,G,J){var K;for(var L=0,I=H.length;L<I;L++){K=document.getElementsByName(H[L]);bc.Event.addEventListenerToElements(K,G,J)}};bc.Event.addEventListenerToElementsById=function(J,H,K){var M;var L=[];for(var N=0,I=J.length;N<I;N++){L[N]=document.getElementById(J[N])}bc.Event.addEventListenerToElements(L,H,K)};bc.Event.init();bc.namespace("bc");bc.Exception=function(J,H,G){if(bc.Exception.debugLevel==bc.Exception.IGNORE){return true}var L=J.name||"Unkown";var K=J.message||" No message";var H=H||J.fileName||"Unkown possibly parent location "+window.location.href;var G=G||J.lineNumber||"No line number";var I="Name    : "+L+" \n";I+="Message     : "+K+" \n";I+="File Name:"+H+"\n";I+="Line Number : "+G+"\n";I+="User Agent : "+bc.Exception.userAgent+"\n";bc.Exception._notify(I)};bc.Exception.userAgent=bc.Environment.browserName+" v."+bc.Environment.browserVersion;bc.Exception.serverLoggerUrl="";bc.Exception.SERVER_NOTIFICATION_FREQUENCY=bcDebugServerNotificationFrequency||1000;bc.Exception.bcErrorConsole="bcErrorConsole";bc.Exception.debugLevel=bcDebugLevel||0;bc.Exception.IGNORE=0;bc.Exception.ALERT=1;bc.Exception.CONSOLE=2;bc.Exception.POPUP=3;bc.Exception.SERVER=4;bc.Exception.debugPopupWindow=null;bc.Exception._serverNotifier=function(B){if(new Date().getTime%bc.Exception.SERVER_NOTIFICATION_FREQUENCY!=0){return true}return true};bc.Exception._popupNotifier=function(B){bc.Exception.debugPopupWindow.document.getElementById(bc.Exception.bcErrorConsole).innerHTML+=(B.replace(/\n/gi,"<br>")+"<hr><br>");return true};bc.Exception._consoleNotifier=function(B){document.getElementById(bc.Exception.bcErrorConsole).innerHTML+=(B.replace(/\n/gi,"<br>")+"<hr><br>");return true};bc.Exception._alertNotifier=function(B){alert(B);return true};bc.Exception.windowErrorHandler=function(F,E,D){bc.Exception(new Error(F),E,D);return true};bc.Exception.imageErrorHandler=function(G){var F=bc.Event.getEvent(G);var J=bc.Event.getTarget(F);var H=J.src;var I="Image did not load correctly.";bc.Exception(new Error(I),H,null);return true};bc.Exception._notify=function(B){};bc.Exception._init=function(){switch(bcDebugLevel){case bc.Exception.SERVER:bc.Exception._notify=bc.Exception._serverNotifier;break;case bc.Exception.CONSOLE:bc.Exception._notify=bc.Exception._consoleNotifier;break;case bc.Exception.POPUP:bc.Exception.debugPopupWindow=window.open("/html/debugConsole.html","DebugConsole","width=650,height=620,status=no,resizable=yes,menubar=no,location=no,titlebar=no,toolbar=no");bc.Exception._notify=bc.Exception._popupNotifier;break;case bc.Exception.ALERT:bc.Exception._notify=bc.Exception._alertNotifier;break;case bc.Exception.IGNORE:default:return }}();window.onerror=bc.Exception.windowErrorHandler;bc.namespace("bc.frag");bc.frag.AdManager=new function(){this._queue=new Array();this._POST_PAGE_LOAD_AD_INJECT_TIME=600;this._baseUrl="";this._hostName="";this._site="";this._zone="";this._keyValue="";this._articleIdKeyValue="";this._topicIdKeyValue="";this._specificTargetingKeyValue="";this._topicSubtopicPhaseBandKeyValue="";this._environmentKeyValue="";this._exclude="";this._print="";this._tile=1;this._overDeliver=";dcove=d";this.timeStamp=null;this.DEFAULT_AD_MARKER="grey.gif"};bc.frag.AdManager.init=function(L,Q,R,N,J,P,O,K,M){this._site=L;this._zone=Q;this._keyValue=R;this._articleIdKeyValue=N;this._topicIdKeyValue=J;this._specificTargetingKeyValue=P;this._topicSubtopicPhaseBandKeyValue=O;this._exclude=K;this._print=M;this._hostName="ad.doubleclick.net";this._environmentKeyValue=this._setEnvironment();this.timeStamp=(new Date()).getTime();this._setBaseUrl()};bc.frag.AdManager._setBaseUrl=function(){this._baseUrl="http://"+this._hostName+"/adj/bc3."+this._site+"/"+this._zone+";"+this._keyValue+";aid="+this._articleIdKeyValue+";tid="+this._topicIdKeyValue+";tem="+this._specificTargetingKeyValue+";tp="+this._topicSubtopicPhaseBandKeyValue+";env="+this._environmentKeyValue+";!c="+this._exclude+";print="+this._print+this._overDeliver};bc.frag.AdManager.createAdUrl=function(J,F){var G="";if(J=="sz=1x1"){G=";dcopt=ist"}var I="";if(!F){I=";pos="}else{I=";"+F}var H=this._baseUrl+G+I+";tile="+this._tile+";"+J+";ord="+this.timeStamp+"?";this._tile++;return H};bc.frag.AdManager.getUrlParameters=function(H){var H=H.slice(1);var G=H.split("&");var I={signature:"",position:""};for(var F=0,J=G.length;F<J;F++){if(G[F].indexOf("sz=")>-1){I.signature=G[F]}if(G[F].indexOf("pos=")>-1){I.position=G[F]}}return I};bc.frag.AdManager._setEnvironment=function(){var B="test";switch(window.location.hostname){case"www.babycenter.com":B="prod";break;case"bc20dev.babycenter.com":case"integ-trunk.www.babycenter.com":case"stag.babycenter.com":case"qa-trunk.www.babycenter.com":default:break}return B};bc.frag.AdManager.addToQueue=function(D,E){var F={containerId:D,adUrl:E};bc.frag.AdManager._queue.push(F)};bc.frag.AdManager._changeIframeUrls=function(F){var E=frames[bc.frag.AdManager._queue[F].containerId];var H=bc.frag.AdManager._queue[F].adUrl;try{E.document.location.replace(H)}catch(G){}};bc.frag.AdManager._cleanAdResidue=function(H){var E=document.getElementById(H);var G=E.parentNode;try{G.removeChild(E.previousSibling)}catch(F){}try{G.removeChild(E.nextSibling)}catch(F){}E.style.width=null;E.style.height=null};bc.frag.AdManager.insertAdsToPage=function(){for(var C=0,D=bc.frag.AdManager._queue.length;C<D;C++){window.setTimeout(new Function("","bc.frag.AdManager._changeIframeUrls("+C+");"),30)}};bc.frag.AdManager.callbackExpandFunction=function(iframeIdentifier){var callbackFunctionName=iframeIdentifier+"ExpandCallback";try{var callbackFunction=eval(callbackFunctionName);if(typeof (callbackFunction)=="function"){callbackFunction()}}catch(e){}};bc.frag.AdManager.expand=function(B){window.setTimeout(new Function("document.getElementById('"+B+"').style.display = 'block';"),150);bc.frag.AdManager.callbackExpandFunction(B)};bc.frag.AdManager.notifyAdLoaded=function(B){document.getElementById(B).className+=" SUCCESS"};bc.frag.AdManager.notifyDefaultAdLoaded=function(B){document.getElementById(B).className+=" DEFAULT"};bc.frag.AdManager.resizeAdContainer=function(I,J,F){try{var G=document.getElementById(I);G.style.width=J+"px";G.style.height=F+"px"}catch(H){}};bc.frag.AdManager.refreshAds=function(){var F=bc.frag.AdManager;F._tile=1;F.timeStamp=(new Date()).getTime();F._setBaseUrl();bc.frag.AdManager.insertAdsToPage();for(var E=0,H=bc.frag.AdManager._queue,G=H.length;E<G;E++){bc.frag.AdManager._cleanAdResidue(H[E].containerId)}};bc.AdManager=bc.frag.AdManager;bc.Event.addEventListener(window,bc.Event.LOAD,function(C){var D="old";if(!bc.navType){}else{if(bc.navType=="new"){D="new"}else{if(bc.navType=="control"){D="control"}}}bc.frag.AdManager._baseUrl+=";nav="+D;window.setTimeout("bc.frag.AdManager.insertAdsToPage();",bc.frag.AdManager._POST_PAGE_LOAD_AD_INJECT_TIME)});bc.namespace("bc.frag");bc.frag.CustomAdHelper=new function(){};bc.frag.CustomAdHelper.resizePushDownAd=function(){var I=window.frames.pushDownAd.document.getElementById("adBody");var K=100;var J=970;var L=66;var H=418;var G=function(){return I.scrollHeight};if(bc.Environment.isFireFox){G=function(){var A=L;if(I.scrollHeight>L){A=H}return A}}return ;setInterval(function(){var A=G();bc.frag.AdManager.resizeAdContainer("pushDownAd",J,A)},K)};bc.frag.CustomAdHelper.interstitialAd=function(){var G=100;var H=5000;setTimeout(E,G);function E(){if(document.getElementById("interstitialAd").className.indexOf("DEFAUT")==-1){setTimeout(F,H)}else{F()}}function F(){document.getElementById("interstitialAdContainer").style.display="none";document.getElementById("allContent").style.display="block"}};bc.namespace("bc.frag");bc.frag.ThirdPartyPixelManager=new function(){};bc.frag.ThirdPartyPixelManager._POST_PAGE_LOAD_PIXEL_INJECT_TIME=1100;bc.frag.ThirdPartyPixelManager._THIRD_PARTY_PIXEL_HTML_URL="/html/thirdPartyPixel.html?x="+(new Date()).getTime();bc.frag.ThirdPartyPixelManager.setLocation=function(){if(!window.frames.thirdPartyPixelContainer){return }window.frames.thirdPartyPixelContainer.location.replace(bc.frag.ThirdPartyPixelManager._THIRD_PARTY_PIXEL_HTML_URL)};bc.Event.addEventListener(window,bc.Event.LOAD,function(){window.setTimeout("bc.frag.ThirdPartyPixelManager.setLocation();",bc.frag.ThirdPartyPixelManager._POST_PAGE_LOAD_PIXEL_INJECT_TIME)});bc.namespace("bc.util");bc.util.BrowserUtilities={};bc.util.BrowserUtilities.init=function(){if(!document.getElementById("topBannerBrowserDefaultLink")){return }var B=window.location.protocol+"//"+window.location.host+"/?intcmp=usedBCmyHP";bc.util.BrowserUtilities.addDefaultPageElementListner("topBannerBrowserDefaultLink",B,"makeBCmyHP")};bc.util.BrowserUtilities.addDefaultPageElementListner=function(J,H,F){var I=document.getElementById(J);var G=function(B,A){return function(C){bc.util.BrowserUtilities._setBrowserDefaultPage(C,B,A)}}(H,F);bc.Event.addEventListener(I,bc.Event.CLICK,G)};bc.util.BrowserUtilities._setBrowserDefaultPage=function(F,H,E){bc.Event.preventDefault(F);s.eVar1=E;s.tl();var G=bc.Event.getTarget(F);G.style.behavior="url(#default#homepage)";G.setHomePage(H)};if(bc.Environment.isIe){bc.Event.addEventListener(window,bc.Event.LOAD,function(B){bc.util.BrowserUtilities.init()})}bc.namespace("bc.module");bc.module.appendUrlParam=function(J,H,I,K){this._containingElementId=J;this._paramName=H;this._paramValuePrefix=I;this._incrementElements=this._incrementElements;this._container=document.getElementById(this._containingElementId);this.baseNameValuePair=this._paramName+"="+this._paramValuePrefix;this._linkArray=this._container.getElementsByTagName("a");for(var L=0,G=this._linkArray.length;L<G;L++){this._hasQuery=this._linkArray[L].href.indexOf("?");if(this._hasQuery==-1){this._connector="?"}else{this._connector="&"}this._linkArray[L].href=this._linkArray[L].href+this._connector+this.baseNameValuePair;if(K==true){this._number=L+1;this._linkArray[L].href=this._linkArray[L].href+this._number}}};bc.namespace("bc.module");bc.module.SocialBookmark=new function(){this._bookmarksContainer=null;this._bookmarksLink=null;this._bookmarksImage=null;this._BOOKMARKS_EXPAND_IMAGE_SRC="/images/toolbox/plus.gif";this._BOOKMARKS_COLLAPSE_IMAGE_SRC="/images/toolbox/minus.gif";this._imageIndex=0;this._numberOfRotation=0;this._MAX_NUMBER_OF_ROTATION=3;this._pageTitle=null;this._pageUrl=null;this._intervalId=null;this._timeoutId=null;this._bookmarks=[{name:"delicious",baseUrl:"http://del.icio.us/post?url=",image:new Image(),imageSrc:"/images/toolbox/delicious.gif",element:null},{name:"stumble",baseUrl:"http://www.stumbleupon.com/submit?url=",image:new Image(),imageSrc:"/images/toolbox/stumble.gif",element:null},{name:"facebook",baseUrl:"http://www.facebook.com/sharer.php?u=",image:new Image(),imageSrc:"/images/toolbox/facebook.gif",element:null},{name:"digg",baseUrl:"http://digg.com/submit?phase=2&url=",image:new Image(),imageSrc:"/images/toolbox/digg.gif",element:null},{name:"mixx",baseUrl:"http://www.mixx.com/submit?page_url=",image:new Image(),imageSrc:"/images/toolbox/mix.gif",element:null}];this._NUMBER_OF_BOOKMARKS=this._bookmarks.length;this._DISPLAY_DURATION=300;this._IMAGE_UPDATE_INTERVAL=1000};bc.module.SocialBookmark.init=function(){this._bookmarksContainer=document.getElementById("bookmarksContainer");this._bookmarksLink=document.getElementById("bookmarksLink");this._bookmarksImage=document.getElementById("bookmarksImage");this._pageTitle=document.getElementsByTagName("title")[0].innerHTML;this._pageUrl=window.location.href;for(var B=0;B<this._NUMBER_OF_BOOKMARKS;B++){this._bookmarks[B].image.src=this._bookmarks[B].imageSrc;this._bookmarks[B].element=document.getElementById(this._bookmarks[B].name+"Bookmark");this._bookmarks[B].element.href=this._getSocialBookmarkUrl(B)}};bc.module.SocialBookmark._getSocialBookmarkUrl=function(B){return bc.module.SocialBookmark._bookmarks[B].baseUrl+this._pageUrl+"&title="+this._pageTitle};bc.module.SocialBookmark.showBookmarks=function(){this._bookmarksImage.src=this._BOOKMARKS_COLLAPSE_IMAGE_SRC;this._bookmarksContainer.style.display=""};bc.module.SocialBookmark.hideBookmarks=function(){this._bookmarksImage.src=this._BOOKMARKS_EXPAND_IMAGE_SRC;this._bookmarksContainer.style.display="none"};bc.module.SocialBookmark.startAnimation=function(){var B=bc.module.SocialBookmark;B.intervalId=window.setInterval(function(){var A=B._imageIndex%B._NUMBER_OF_BOOKMARKS;if(B._imageIndex==B._NUMBER_OF_BOOKMARKS){B._numberOfRotation++}B._imageIndex=A+1;if(B._numberOfRotation==B._MAX_NUMBER_OF_ROTATION){window.clearInterval(B._intervalId);B._bookmarksImage.src=B._BOOKMARKS_EXPAND_IMAGE_SRC;return }B._bookmarksImage.src=B._bookmarks[A].image.src},B._IMAGE_UPDATE_INTERVAL)};bc.module.SocialBookmark.stopAnimation=function(){window.clearInterval(this._intervalId)};bc.module.SocialBookmark.registerEvents=function(){bc.Event.addEventListener(this._bookmarksLink,bc.Event.MOUSEOVER,function(){window.clearTimeout(bc.module.SocialBookmark._timeoutId);bc.module.SocialBookmark.stopAnimation();bc.module.SocialBookmark.showBookmarks()});bc.Event.addEventListener(this._bookmarksLink,bc.Event.MOUSEOUT,function(){bc.module.SocialBookmark._timeoutId=window.setTimeout("bc.module.SocialBookmark.hideBookmarks();",bc.module.SocialBookmark._DISPLAY_DURATION)});bc.Event.addEventListener(this._bookmarksContainer,bc.Event.MOUSEOVER,function(){window.clearTimeout(bc.module.SocialBookmark._timeoutId);bc.module.SocialBookmark.stopAnimation();bc.module.SocialBookmark.showBookmarks()});bc.Event.addEventListener(this._bookmarksContainer,bc.Event.MOUSEOUT,function(){bc.module.SocialBookmark._timeoutId=window.setTimeout("bc.module.SocialBookmark.hideBookmarks();",bc.module.SocialBookmark._DISPLAY_DURATION)})};bc.Event.addEventListener(window,bc.Event.LOAD,function(){if(!document.getElementById("bookmarksContainer")){return }bc.module.SocialBookmark.init();bc.module.SocialBookmark.registerEvents()});bc.namespace("bc.module");bc.module.Toolbox=new function(){};bc.module.Toolbox.printContent=function(){if(!document.getElementById("contentBody")){window.print();return }var B="/page/print/printableContent.htm";window.open(B,"PrintWindow","status=false,resizable,scrollbars=yes,toolbar=no,top=10")};bc.module.Toolbox.registerEvents=function(){if(document.getElementById("toolboxPrintLink")){bc.Event.addEventListener(document.getElementById("toolboxPrintLink"),bc.Event.CLICK,bc.module.Toolbox.printContent)}};bc.Event.addEventListener(window,bc.Event.LOAD,function(){bc.module.Toolbox.registerEvents();if(document.getElementById("bookmarksContainer")){bc.module.SocialBookmark.startAnimation()}});bc.namespace("bc.module");bc.module.Dialog=function(D,C){this._dialogContainerId=D;this._open=false;this._isDialogPositionCenter=C};bc.module.Dialog.prototype.open=function(B){if(this._open){return }this._open=true;document.getElementById(this._dialogContainerId).style.display="";this._position(B)};bc.module.Dialog.prototype.close=function(){if(!this._open){return }this._open=false;document.getElementById(this._dialogContainerId).style.display="none"};bc.module.Dialog.prototype.toggle=function(B){if(this._open){this.close()}else{this.open(B)}};bc.module.Dialog.prototype._position=function(P){var M=document.getElementById(this._dialogContainerId);var L=M.clientWidth;var J=M.clientHeight;if(this._isDialogPositionCenter){try{var N=$("#"+this._dialogContainerId);N.css("position","absolute");N.css("top",($(window).height()-N.height())/2+$(window).scrollTop()+"px");N.css("left",($(window).width()-N.width())/2+$(window).scrollLeft()+"px")}catch(K){}}else{try{var O=bc.Event.getEvent(P);var Q=bc.Event.getPageX(O);var R=bc.Event.getPageY(O);M.style.position="absolute";M.style.top=parseInt(R-(J/2))+"px";M.style.left=parseInt(Q-(L/2))+"px"}catch(K){}}};bc.namespace("bc.frag");bc.frag.CharacterCounter=function(){this.maxAllowedCharacters=null;this.inputField=null;this.charactersLeftPageComponent=null;this.defaultText=null};bc.frag.CharacterCounter.prototype.init=function(J,F,H,I){this.inputField=document.getElementById(J);this.charactersLeftPageComponent=document.getElementById(F);this.maxAllowedCharacters=H;this.defaultText=I;var G=this;G._connectEvents();G._updateCharacterCount(null,G)};bc.frag.CharacterCounter.prototype._connectEvents=function(){var B=this;bc.Event.addEventListener(this.inputField,bc.Event.KEYUP,function(A){B._updateCharacterCount(A,B)})};bc.frag.CharacterCounter.prototype._updateCharacterCount=function(E,F){if(!F){return }if((F.defaultText!=null)&&(F.inputField.value==F.defaultText)){return }var G=F.inputField.value.length;if(G<=F.maxAllowedCharacters){var H=F.maxAllowedCharacters-G;F.charactersLeftPageComponent.innerHTML=H}else{F.inputField.value=F.inputField.value.substring(0,F.maxAllowedCharacters)}};bc.namespace("bc.page.diapers");bc.page.diapers.diapersTourManager=new function(){};bc.page.diapers.diapersTourManager.init=function(D){bc.page.diapers.diapersTourManager._tourBaseUrl=D;var C=bc.page.diapers.diapersTourManager._getTourLinks();bc.page.diapers.diapersTourManager._attachClickHandlers(C)};bc.page.diapers.diapersTourManager._getTourLinks=function(){var F=[];for(var G=0,E=document.links.length;G<E;G++){var H=document.links[G];if(H.className=="diapersTour"){F[F.length]=H}}return F};bc.page.diapers.diapersTourManager.attachClickHandler=function(B){bc.Event.addEventListener(B,bc.Event.CLICK,function(I){var G=document.getElementById("diapersTourFrame");var A=bc.page.diapers.diapersTourManager._getQueryParam("intcmp",this.href);var H=bc.page.diapers.diapersTourManager._getQueryParam("pn",this.href);G.src=bc.page.diapers.diapersTourManager._tourBaseUrl+"&intcmp="+A+"&pn="+H;bc.page.diapers.diapersTourManager.openDiapersTour();var J=bc.Event.getEvent(I);bc.Event.preventDefault(J)})};bc.page.diapers.diapersTourManager._getQueryParam=function(H,G){var F=new RegExp("[\\?&]"+H+"=([^&#]*)");var E=F.exec(G);if(E==null){return""}else{return E[1]}};bc.page.diapers.diapersTourManager._attachClickHandlers=function(E){for(var F=0;F<E.length;F++){var D=E[F];bc.page.diapers.diapersTourManager.attachClickHandler(D)}};bc.page.diapers.diapersTourManager.closeDiapersTour=function(){var B=document.getElementById("diapersTourWrapper");B.style.display="none"};bc.page.diapers.diapersTourManager.openDiapersTour=function(){var B=new bc.module.Dialog("diapersTourWrapper",true);B.open()};bc.namespace("bc.util");bc.util.GeneralUtilities=new function(){this._newlineRegExp=new RegExp("\\n","g");this._trueRE=new RegExp("^\\s*true\\s*$","i");this._nonWhitespaceRE=new RegExp("\\S");this._trimWhitespaceRE=new RegExp("(^\\s*)|(\\s*$)","g");this.isUndefined=function(B){if((undefined==B)&&("undefined"==typeof (B))){return true}else{return false}};this.isDefined=function(B){return !this.isUndefined(B)};this.isSet=function(B){if((undefined!=B)&&(null!=B)){return true}else{return false}};this.isNotSet=function(B){return !this.isSet(B)};this.isNotBlank=function(B){if(this.isSet(B)&&this._nonWhitespaceRE.test(B)){return true}else{return false}};this.isBlank=function(B){return !this.isNotBlank(B)};this.stringToBoolean=function(D){var C=false;if(this.isNotBlank(D)&&this._trueRE.test(D)){C=true}return C};this.setQueryStringOnURL=function(D,E){var F=new String(D);if(this.isNotBlank(E)){if(F.indexOf("?")>-1){F+="&"}else{F+="?"}F+=E}return F};this.deleteProperty=function(F,E){try{F[E]=null}catch(D){}try{delete F[E]}catch(D){}try{F.removeAttribute(E)}catch(D){}};this.isArray=function(B){if(this.isSet(B)&&B.constructor&&(B.constructor==Array)){return true}else{return false}};this.arrayContainsValue=function(D,E){if(this.isArray(D)){for(var F=0;F<D.length;F++){if(D[F]==E){return true}}}return false};this.nlToBr=function(B){return B.replace(this._newlineRegExp,"<br>")};this.updateParamValue=function(G,J,H){var I=new RegExp(J+"=[^&]*","g");var L=J+"="+H;var K=G.replace(I,L);return K};this.trim=function(D){var C=null;if(this.isSet(D)){C=D.replace(this._trimWhitespaceRE,"")}return C}};bc.namespace("bc.util");bc.util.DOMUtilities=new function(){var _genUtils=bc.util.GeneralUtilities;this.addEventListener=function(element,eventName,handler){if(window.addEventListener){element.addEventListener(eventName,handler,false)}else{element.attachEvent("on"+eventName,handler)}};this.preventDefault=function(event){var _event=null;if(_genUtils.isSet(event)){_event=event}else{if(_genUtils.isSet(window.event)){_event=window.event}}if(_genUtils.isSet(_event)){if(_event.preventDefault){_event.preventDefault()}else{_event.returnValue=false}}};this.createEvent=function(eventType){var event=null;if(document.createEvent){event=document.createEvent("MouseEvents");event.initMouseEvent(eventType,true,true,window,0,0,0,0,0,false,false,false,false,0,null)}else{if(document.createEventObject){event=document.createEventObject();event.detail=0;event.screenX=0;event.screenY=0;event.clientX=0;event.clientY=0;event.ctrlKey=false;event.altKey=false;event.shiftKey=false;event.metaKey=false;event.button=0;event.relatedTarget=null}}return event};this.dispatchEvent=function(element,eventType){var eventCanceled=false;var event=this.createEvent(eventType);if(element.dispatchEvent){alert("element = "+element);eventCanceled=!element.dispatchEvent(event)}else{if(element.fireEvent){eventCanceled=!element.fireEvent("on"+eventType,event)}}return eventCanceled};this.getInputElementByValue=function(div,value){var inputElement=null;var inputElements=div.getElementsByTagName("input");for(var i=0;i<inputElements.length;i++){var thisInputElement=inputElements[i];if(value==thisInputElement.value){inputElement=thisInputElement;break}}return inputElement};this.getFormElement=function(div){var formElement=null;var formElements=div.getElementsByTagName("form");if(formElements.length>=1){formElement=formElements[0]}return formElement};this.getElementsByNameandClass=function(node,elementName,classValue){var elements=new Array();var elementsInNode=node.getElementsByTagName(elementName);for(var i=0;i<elementsInNode.length;i++){var thisElement=elementsInNode[i];if(classValue==thisElement.className){elements[elements.length]=thisElement}}return elements};this.getTarget=function(event){var target;if(!event){event=window.event}if(event.target){target=event.target}else{if(event.currentTarget){target=event.currentTarget}else{if(event.srcElement){target=event.srcElement}}}if(target.nodeType&&target.nodeType==3){target=target.parentNode}return target};this.isAnchorNode=function(element){if(_genUtils.isSet(element)&&/^a$/i.test(element.nodeName)){return true}else{return false}};this.isInputNode=function(node){if(/^(input)$/i.test(node.nodeName)){return true}else{return false}};this.isInputOrSelectNode=function(node){if(/^(input|select)$/i.test(node.nodeName)){return true}else{return false}};this.isSelectNode=function(node){if(/^select$/i.test(node.nodeName)){return true}else{return false}};this.isIframeNode=function(node){if(/^iframe$/i.test(node.nodeName)){return true}else{return false}};this.isImgNode=function(node){if(/^img$/i.test(node.nodeName)){return true}else{return false}};this.toggleComponentState=function(component,disabledStyle,enable){component.disabled=!enable;if(enable){dojo.html.removeClass(component,disabledStyle)}else{dojo.html.addClass(component,disabledStyle)}};this.evalScriptsInComponent=function(element){var scriptTags=element.getElementsByTagName("script");for(var i=0;i<scriptTags.length;i++){var thisScriptTag=scriptTags[i];var scriptTagInnerHTML=thisScriptTag.innerHTML;eval(scriptTagInnerHTML)}};this.setSelectByValue=function(selectElement,value){var options=selectElement.options;for(var i=0;i<options.length;i++){if(options[i].value==value){selectElement.selectedIndex=i;break}}};this.getCookieValue=function(cookieName){var cookieValue=null;var cookies=document.cookie.split(";");for(var i=0,cookiePair=null,cookieParts=null,thisCookieName=null,thisCookieValue=null;i<cookies.length;i++){var cookiePair=cookies[i];cookieParts=cookiePair.split("=");thisCookieName=cookieParts[0];thisCookieValue=null;if(cookieParts.length>0){thisCookieValue=cookieParts[1]}if(thisCookieName.trim()==cookieName){cookieValue=thisCookieValue}}return cookieValue}};bc.namespace("bc.util");bc.util.DebugUtilities=new function(){var B=bc.util.GeneralUtilities;this.objToString=function(A,Q,T,R){if(B.isBlank(T)){T=false}var L=new RegExp("function","i");var N=Q;N+=this.formatString(A);if(B.isSet(A)){N+=":\n";for(var M in A){if(B.isBlank(R)||this.arrayContainsValue(R,M)){try{var P=A[M];var O=L.test(P);if(!O||T){N+="  "+Q+"["+M+"] = "+this.formatString(P)+"\n"}}catch(S){}}}}return N};this.formatString=function(A){var D=A;if((undefined==A)&&("undefined"==typeof (A))){D="undefined"}else{if((null==A)&&("object"==typeof (A))){D="null"}else{if("string"==typeof (A)){D='"'+A+'"'}}}return D};this.debug=function(E,F,A){if(!A){A=0}if(A<=F){dojo.debug(E)}};this.debugShallow=function(E,F,A){if(!A){A=0}if(A<=F){dojo.debugShallow(E)}}};dojo.require("bc.Topics");dojo.require("bc.ajax.AjaxUtilities");bc.namespace("bc.login");bc.login.LoginManager=new function(){var _CLASS_NAME="bc.login.LoginManager";var _ajaxUtils=bc.ajax.AjaxUtilities;var _domUtils=bc.util.DOMUtilities;var _genUtils=bc.util.GeneralUtilities;var _DO_FADE=true;var _FADE_INTERVAL=500;var _argsHash=null;var _loginValidator=null;var _loginElements=null;var _currentLoginElement=null;var _currentClickTarget=null;var _initialized=false;var _formLoaded=false;var _loggedIn=false;var _getFormURL=null;var _publicKeyURL=null;var _usernameErrorMessage=null;var _passwordErrorMessage=null;var _usernameAndPasswordErrorMessage=null;var _loginContentContainerZIndex=null;var _loginContentContainerId="loginContentContainer";var _iframeElementId="loginIframe";var _iframeAttachElementId=null;var _headerMessageContainerId=null;var _statusContainerId=null;var _formId=null;var _errorsContainerId=null;var _usernameInputId=null;var _passwordInputId=null;var _cancelElementId=null;var _submitElementId=null;var _focusElementId=null;var _indicateStatus=true;var _publicKey=null;var _rsaKey=null;var _defaultHeaderMessage=null;var _defaultErrorMessage=null;var _loginContentContainer=null;var _iframeElement=null;var _iframeAttachElement=null;var _headerMessageContainer=null;var _statusContainer=null;var _form=null;var _errorsContainer=null;var _usernameInput=null;var _passwordInput=null;var _cancelElement=null;var _submitElement=null;var _focusElement=null;var _clonedForm=null;this.init=function(argsHash){_loggedIn=_genUtils.stringToBoolean(argsHash.loggedIn);_getFormURL=argsHash.getFormURL;_publicKeyURL=argsHash.publicKeyURL;_usernameErrorMessage=argsHash.usernameErrorMessage;_passwordErrorMessage=argsHash.passwordErrorMessage;_usernameAndPasswordErrorMessage=argsHash.usernameAndPasswordErrorMessage;_loginContentContainerZIndex=argsHash.loginContentContainerZIndex;_iframeAttachElementId=argsHash.iframeAttachElementId;_headerMessageContainerId=argsHash.headerMessageContainerId;_statusContainerId=argsHash.statusContainerId;_formId=argsHash.formId;_errorsContainerId=argsHash.errorsContainerId;_usernameInputId=argsHash.usernameInputId;_passwordInputId=argsHash.passwordInputId;_cancelElementId=argsHash.cancelElementId;_submitElementId=argsHash.submitElementId;_focusElementId=argsHash.focusElementId;_indicateStatus=_genUtils.stringToBoolean(argsHash.indicateStatus);_init()};this.addLoginElement=function(loginElement){if(_genUtils.isNotSet(_loginElements[loginElement.triggerElementId])){_loginElements[loginElement.triggerElementId]=loginElement;dojo.event.connect(loginElement.triggerElement,"onclick",_handleLoginElementClick)}};this.removeLoginElement=function(loginElement){if(_genUtils.isSet(_loginElements[loginElement.triggerElementId])){_genUtils.deleteProperty(_loginElements,loginElement.triggerElementId);dojo.event.disconnect(loginElement.triggerElement,"onclick",_handleLoginElementClick);_genUtils.deleteProperty(loginElement.triggerElement,"onclick")}};this.cancelLogin=function(evt){bc.Event.preventDefault(evt);document.getElementById("login").reset();var referringUrl=document.getElementById("referringUrl");window.location=(referringUrl.value)?referringUrl.value:"/index.htm";return false};this.focusEmail=function(evt){bc.Event.preventDefault(evt);document.getElementById("member.email").focus();return false};this.submitenter=function(myfield,e){var keycode;if(window.event){keycode=window.event.keyCode}else{if(e){keycode=e.which}else{return true}}if(keycode==13){myfield.form.submit();return false}else{return true}};var _init=function(){if(_genUtils.isSet(document.body)){_loginElements=new Object();_loginContentContainer=document.createElement("div");_loginContentContainer.id=_loginContentContainerId;_loginContentContainer.style.position="absolute";_loginContentContainer.style.zIndex=_loginContentContainerZIndex;_hideForm(false);document.body.appendChild(_loginContentContainer);dojo.event.topic.subscribe(bc.topic.login,_handleLogin);dojo.event.topic.subscribe(bc.topic.logout,_handleLogout);_initialized=true}};var _handleLogin=function(params){_loggedIn=true};var _handleLogout=function(params){_publicKey=null;_loggedIn=false};var _createIframe=function(){_iframeElement=document.createElement("iframe");with(_iframeElement){id=_iframeElementId;scrolling="no";frameBorder=0}var loginContentContainerMarginBox=_getMarginBox(_loginContentContainer);var iframeAttachElementMarginBox=_getMarginBox(_iframeAttachElement);var iframeWidth=iframeAttachElementMarginBox.width;var iframeHeight=loginContentContainerMarginBox.height;var loginContentContainerCoords=_getAbsolutePosition(_loginContentContainer);var iframeAttachElementCoords=_getAbsolutePosition(_iframeAttachElement);var iframeLeft=iframeAttachElementCoords.left-loginContentContainerCoords.left;var iframeTop=iframeAttachElementCoords.top-loginContentContainerCoords.top;var iframeZIndex=-1;with(_iframeElement.style){display="block";position="absolute";left=iframeLeft+"px";top=iframeTop+"px";width=iframeWidth+"px";height=iframeHeight+"px";zIndex=iframeZIndex}_loginContentContainer.appendChild(_iframeElement)};var _getPublicKey=function(){var ajaxParams={method:"GET",sync:true,url:_publicKeyURL,content:null,mimetype:"text/json",preventCache:true,load:function(_type,_data,_event){ajaxParams.data=_data},error:function(_type,_errObj){alert("Error in "+_CLASS_NAME+"._getPublicKey().\n\ntype = "+_type+"\nmessage = "+_errObj.message)}};dojo.io.bind(ajaxParams);return ajaxParams.data};var _setPublicAndRSAKeys=function(){var retrievedKey=false;var getPublicKeyStartTime=(new Date()).getTime();_publicKey=_getPublicKey();var getPublicKeyEndTime=(new Date()).getTime();if(_genUtils.isSet(_publicKey)){retrievedKey=true;var modulus=_publicKey.security.publickey.modulus;var exponent=_publicKey.security.publickey.exponent;_rsaKey=new RSAKey();_rsaKey.setPublic(modulus,exponent)}return retrievedKey};var _getForm=function(){var getFormParams=null;var ajaxParams={method:"GET",sync:true,url:_getFormURL,content:getFormParams,mimetype:"text/html",preventCache:true,load:function(_type,_data,_event){ajaxParams.data=_data},error:function(_type,_errObj){alert("Error in "+_CLASS_NAME+"._getForm().\n\ntype = "+_type+"\nmessage = "+_errObj.message)}};dojo.io.bind(ajaxParams);return ajaxParams.data};var _setFormElementReferences=function(){_iframeAttachElement=dojo.byId(_iframeAttachElementId);_headerMessageContainer=dojo.byId(_headerMessageContainerId);_statusContainer=dojo.byId(_statusContainerId);_form=dojo.byId(_formId);_errorsContainer=dojo.byId(_errorsContainerId);_usernameInput=dojo.byId(_usernameInputId);_passwordInput=dojo.byId(_passwordInputId);_cancelElement=dojo.byId(_cancelElementId);_submitElement=dojo.byId(_submitElementId);_focusElement=dojo.byId(_focusElementId);return true};var _prepareForm=function(){if(_setFormElementReferences()){_defaultHeaderMessage=_headerMessageContainer.innerHTML;_defaultErrorMessage=_errorsContainer.innerHTML;var loginValidatorParams={usernameErrorMessage:_usernameErrorMessage,passwordErrorMessage:_passwordErrorMessage,usernameAndPasswordErrorMessage:_usernameAndPasswordErrorMessage,errorsContainerId:_errorsContainerId,usernameInputId:_usernameInputId,passwordInputId:_passwordInputId};_loginValidator=new bc.login.LoginValidator(loginValidatorParams);dojo.event.connect(window,"onresize",_positionForm);dojo.event.connect(_cancelElement,"onclick",_cancelForm);dojo.event.connect(_submitElement,"onclick",_postForm);dojo.event.connect(_form,"onkeypress",_handleOnKeyPress);_setClonedForm();if(dojo.render.html.ie){_createIframe()}_formLoaded=true}};var _getMarginBox=function(element){if(null==_currentLoginElement){dojo.html.setVisibility(_loginContentContainer,false);dojo.html.show(_loginContentContainer)}var marginBox=dojo.html.getMarginBox(element);if(null==_currentLoginElement){dojo.html.hide(_loginContentContainer);dojo.html.setVisibility(_loginContentContainer,true)}return marginBox};var _getAbsolutePosition=function(element){if(null==_currentLoginElement){dojo.html.setVisibility(_loginContentContainer,false);dojo.html.show(_loginContentContainer)}var absolutePosition=dojo.html.getAbsolutePosition(element,true,dojo.html.boxSizing.MARGIN_BOX);if(null==_currentLoginElement){dojo.html.hide(_loginContentContainer);dojo.html.setVisibility(_loginContentContainer,true)}return absolutePosition};var _positionForm=function(){var scrollOffset=dojo.html.getScroll().offset;var viewportSize=dojo.html.getViewport();var loginContentContainerMarginBox=_getMarginBox(_loginContentContainer);var x=scrollOffset.x+(viewportSize.width-loginContentContainerMarginBox.width)/2;var y=scrollOffset.y+(viewportSize.height-loginContentContainerMarginBox.height)/2;with(_loginContentContainer.style){left=x+"px";top=y+"px"}};var _focusForm=function(){_focusElement.focus()};var _displayForm=function(doFade,fadeInterval){_loginContentContainer.style.display="block"};var _hideForm=function(doFade,fadeInterval){_loginContentContainer.style.display="none"};var _displayStatus=function(doFade,fadeInterval){_statusContainer.style.display="block"};var _hideStatus=function(doFade,fadeInterval){_statusContainer.style.display="none"};var _handleLoginElementClick=function(event){if(!_loggedIn){event.preventDefault();if(!_formLoaded){var getFormStartTime=(new Date()).getTime();var formContents=_getForm();var getFormEndTime=(new Date()).getTime();_loginContentContainer.innerHTML=formContents;_prepareForm()}var targetElementId=_getRelatedEventTargetId(event);var loginElement=_loginElements[targetElementId];if(_genUtils.isSet(loginElement)&&(loginElement!=_currentLoginElement)){_currentLoginElement=loginElement;_currentClickTarget=_domUtils.getTarget(event);_clearForm();if(_genUtils.isNotBlank(_currentLoginElement.displayMessage)){_headerMessageContainer.innerHTML=_currentLoginElement.displayMessage}else{_headerMessageContainer.innerHTML=_defaultHeaderMessage}if(_genUtils.isNotBlank(_currentLoginElement.intcmpCode)){s.eVar1=_currentLoginElement.intcmpCode;s.tl()}_displayForm(_DO_FADE,_FADE_INTERVAL);_positionForm();_focusForm()}}};var _getRelatedEventTargetId=function(event){var targetId=null;var initTarget=_domUtils.getTarget(event);var target=initTarget;while(_genUtils.isSet(target)&&_genUtils.isNotSet(_loginElements[target.id])){if(_genUtils.isSet(target.last)){target.last=null;break}target=target.parentNode}if(_genUtils.isSet(target)){targetId=target.id}return targetId};var _cancelForm=function(event){event.preventDefault();_hideForm(_DO_FADE,_FADE_INTERVAL);_clearForm();_currentLoginElement=null;_currentClickTarget=null};var _clearForm=function(){if(_indicateStatus){_hideStatus(_DO_FADE,_FADE_INTERVAL)}_errorsContainer.innerHTML=_defaultErrorMessage;_usernameInput.value="";_passwordInput.value=""};var _postForm=function(event){event.preventDefault();var doPost=true;if(_indicateStatus){_displayStatus(_DO_FADE,_FADE_INTERVAL)}_errorsContainer.innerHTML=_defaultErrorMessage;if(_genUtils.isNotSet(_publicKey)){if(!_setPublicAndRSAKeys()){doPost=false;alert("Error in "+_CLASS_NAME+"._postForm(): Could not get the public key.\n\n")}}if(doPost){if(_loginValidator.validate()){_encryptForm();_ajaxUtils.post(_clonedForm,"text/json",true,_postFormCallback,_ajaxUtils.error,this)}else{if(_indicateStatus){_hideStatus(_DO_FADE,_FADE_INTERVAL)}}}};var _postFormCallback=function(type,data,xhr){var vaildResponseObj=true;var responseObj=data;if(_genUtils.isSet(responseObj)&&_genUtils.isDefined(responseObj.success)){if(_genUtils.stringToBoolean(responseObj.success)){if(_currentLoginElement.refreshPage||_genUtils.isNotBlank(_currentLoginElement.redirectURL)){var refreshURL=window.location;if(_genUtils.isNotBlank(_currentLoginElement.redirectURL)){refreshURL=_currentLoginElement.redirectURL}if(_currentLoginElement.refreshPage){var urlParts=refreshURL.split("#");var url=urlParts[0];if(urlParts.length>1){var hash=urlParts[1];window.location.href=url+"?r="+Math.round(Math.random()*100000)+"#"+hash}else{window.location.href=url}return true}else{window.location.href=refreshURL}}else{var publishParams={loginElement:_currentLoginElement,targetElementId:_currentClickTarget.id};dojo.event.topic.publish(bc.topic.login,publishParams);_hideForm(_DO_FADE,_FADE_INTERVAL);_clearForm();_loggedIn=true;if(_currentLoginElement.followClick){_dispatchClickToCurrentTarget()}_currentClickTarget=null;_currentLoginElement=null}}else{if(_genUtils.isDefined(responseObj.errors)&&_genUtils.isDefined(responseObj.errors.login)){if(_indicateStatus){_hideStatus(_DO_FADE,_FADE_INTERVAL)}_errorsContainer.innerHTML=responseObj.errors.login}else{vaildResponseObj=false}}}else{vaildResponseObj=false}if(!vaildResponseObj){alert("Error in "+_CLASS_NAME+"._postFormCallback(): Invalid response object.")}};var _dispatchClickToCurrentTarget=function(){if(dojo.render.html.ie){_currentClickTarget.click()}else{_domUtils.dispatchEvent(_currentClickTarget,"click")}};var _setClonedForm=function(){_clonedForm=_form.cloneNode(true);_genUtils.deleteProperty(_clonedForm[_passwordInputId],"maxlength")};var _copyFormValues=function(){_clonedForm[_usernameInputId].value=_form[_usernameInputId].value;_clonedForm[_passwordInputId].value=_form[_passwordInputId].value};var _encryptForm=function(){_copyFormValues();var usernameElement=_clonedForm[_usernameInputId];var usernameValue=usernameElement.value;var newUsernameValue=_rsaKey.encrypt(usernameValue);usernameElement.value=newUsernameValue;var passwordElement=_clonedForm[_passwordInputId];var passwordValue=passwordElement.value;var newPasswordValue=_rsaKey.encrypt(passwordValue);passwordElement.value=newPasswordValue};var _handleOnKeyPress=function(event){var target=_domUtils.getTarget(event);if(event.keyCode==event.KEY_ENTER&&(_genUtils.isNotSet(target)||_isSubmitElement(target))){_postForm(event)}};var _isSubmitElement=function(element){var isSubmitElement=false;if(_genUtils.isSet(element)){isSubmitElement=_domUtils.isInputOrSelectNode(element)&&(element!=_cancelElement)}return isSubmitElement}};dojo.lang.declare("bc.login.LoginElement",null,{triggerElementId:null,refreshPage:false,redirectURL:null,intcmpCode:null,displayMessage:null,triggerElement:null,followClick:false,initializer:function(B){if(bc.util.GeneralUtilities.isDefined(B.triggerElementId)){this.triggerElementId=B.triggerElementId}if(bc.util.GeneralUtilities.isDefined(B.refreshPage)){this.refreshPage=bc.util.GeneralUtilities.stringToBoolean(B.refreshPage)}if(bc.util.GeneralUtilities.isDefined(B.redirectURL)){this.redirectURL=B.redirectURL}if(bc.util.GeneralUtilities.isDefined(B.intcmpCode)){this.intcmpCode=B.intcmpCode}if(bc.util.GeneralUtilities.isDefined(B.displayMessage)){this.displayMessage=B.displayMessage}if(bc.util.GeneralUtilities.isDefined(B.followClick)){this.followClick=bc.util.GeneralUtilities.stringToBoolean(B.followClick)}else{this.followClick=false}this._init()},_init:function(){this._preparePage()},_setPageElementReferences:function(){this.triggerElement=document.getElementById(this.triggerElementId);return true},_preparePage:function(){if(this._setPageElementReferences()){}}});bc.namespace("bc.interactivemodule");dojo.require("bc.ajax.AjaxUtilities");dojo.require("bc.Topics");dojo.lang.declare("bc.interactivemodule.InteractiveModuleHandler",null,function(){this.init(arguments)},{numPairs:null,pairContainerIdPrefix:null,handleImageId:null,barImageId:null,barTdId:null,barLeftArrowTdId:null,barRightArrowTdId:null,_baUtils:bc.ajax.AjaxUtilities,_handleImage:null,_barImage:null,_barTd:null,_barLeftArrowTd:null,_barRightArrowTd:null,_pairContainerDivs:null,_maxPosition:null,_handlerWidth:null,_barWidth:null,_positionWidth:null,_paddingWidth:null,_currentPosition:0,_mouseDown:false,_barPositionX:null,_mouseDownX:null,_leftPositionRemainder:null,_rightPositionRemainder:null,_lastUpdatedMillis:null,_updateInspectionMillis:500,_minimumChangeMillis:500,init:function(L){var M="Error in "+this.declaredClass+" constructor.\n\n";if(L.length==7){var K=0;this.numPairs=L[K++];this.pairContainerIdPrefix=L[K++];this.handleImageId=L[K++];this.barImageId=L[K++];this.barTdId=L[K++];this.barLeftArrowTdId=L[K++];this.barRightArrowTdId=L[K++];this._handleImage=dojo.byId(this.handleImageId);this._barImage=dojo.byId(this.barImageId);this._barTd=dojo.byId(this.barTdId);this._barLeftArrowTd=dojo.byId(this.barLeftArrowTdId);this._barRightArrowTd=dojo.byId(this.barRightArrowTdId);if((null!=this._handleImage)&&(null!=this._barImage)&&(null!=this._barTd)&&(null!=this._barLeftArrowTd)&&(null!=this._barRightArrowTd)){this._maxPosition=this.numPairs-1;this._handlerWidth=this._handleImage.width;this._barWidth=this._barImage.width;this._positionWidth=this._barWidth/this.numPairs;this._paddingWidth=(this._positionWidth-this._handlerWidth)/2;this._barPositionX=dojo.html.getAbsolutePosition(this._barImage).x;dojo.event.connect(window,"onresize",this,"handleOnResize");dojo.event.connect(this._barTd,"onmousedown",this,"handleBarOnMouseDown");dojo.event.connect(this._barImage,"onmousedown",this,"handleBarOnMouseDown");dojo.event.connect(document,"onmouseup",this,"handleBarOnMouseUp");dojo.event.connect(document,"onmousemove",this,"handleBarOnMouseMove");if(dojo.render.html.mozilla&&this._barTd.addEventListener){this._barTd.addEventListener("DOMMouseScroll",dojo.lang.hitch(this,"handleBarOnMouseWheel"),false)}else{dojo.event.connect(this._barTd,"onmousewheel",this,"handleBarOnMouseWheel")}dojo.event.connect(this._barLeftArrowTd,"onmousedown",this,"handleLeftArrowOnMouseDown");dojo.event.connect(this._barRightArrowTd,"onmousedown",this,"handleRightArrowOnMouseDown")}else{if(null==this._handleImage){M+="Could not get the handle image element.\n"}if(null==this._barImage){M+="Could not get the handle bar image element.\n"}if(null==this._barTd){M+="Could not get the handle bar table cell element.\n"}if(null==this._barLeftArrowTd){M+="Could not get the left arrow table cell element.\n"}if(null==this._barRightArrowTd){M+="Could not get the right arrow table cell element.\n"}alert(M)}this._pairContainerDivs=new Array();for(var N=0;N<this.numPairs;N++){var J=2*N;var I=this.pairContainerIdPrefix+J;var H=dojo.byId(I);if(null!=H){this._pairContainerDivs.push(H)}else{M+="Could not interactive pair container with id "+I+".\n";alert(M)}}}else{M+="Must provide the following arguments:\n";M+="  numPairs\n";M+="  pairContainerIdPrefix\n";M+="  handleImageId\n";M+="  barImageId\n";M+="  barTdId\n";M+="  barLeftArrowTdId\n";M+="  barRightArrowTdId\n";alert(M)}},handleBarOnMouseDown:function(H){H.preventDefault();this._mouseDown=true;var G=this._baUtils.getTarget(H);if(G.id==this.handleImageId){this._updateMousePostion(H)}else{var I=H.clientX-this._barPositionX;var J=Math.floor(I/this._positionWidth);var F=J-this._currentPosition;this._updateDisplayFromDelta(F,H,false)}},handleBarOnMouseUp:function(B){if(this._mouseDown){B.preventDefault();this._mouseDown=false}},handleBarOnMouseMove:function(E){if(this._mouseDown){E.preventDefault();var F=E.clientX-this._mouseDownX;var D=0;if(F>this._rightPositionRemainder){D=1}else{if((F<0)&&(Math.abs(F)>this._leftPositionRemainder)){D=-1}}this._updateDisplayFromDelta(D,E,true)}},handleBarOnMouseWheel:function(E){E.preventDefault();var F=0;if(E.wheelDelta){F=E.wheelDelta/120;if(dojo.render.html.opera){F=-F}}else{if(E.detail){F=-E.detail/3}}var D=0;if(F>0){D=1}else{if(F<0){D=-1}}this._updateDisplayFromDelta(D,E,false)},handleOnResize:function(B){this._barPositionX=dojo.html.getAbsolutePosition(this._barImage).x},handleLeftArrowOnMouseDown:function(D){D.preventDefault();var C=-1;this._updateDisplayFromDelta(C,D,false)},handleRightArrowOnMouseDown:function(D){D.preventDefault();var C=1;this._updateDisplayFromDelta(C,D,false)},_updateDisplayFromDelta:function(F,H,I){if(0!=F){var J=this._currentPosition+F;var G=true;if(J<0){J=0;G=false}else{if(J>this._maxPosition){J=this._maxPosition;G=false}}if(G){this._currentPosition=J;this._updateDisplay();if(I){this._updateMousePostion(H)}}}},_updateMousePostion:function(D){this._mouseDownX=D.clientX;var C=(D.clientX-this._barPositionX)-(this._positionWidth*this._currentPosition);this._leftPositionRemainder=C+this._paddingWidth;this._rightPositionRemainder=this._positionWidth-this._paddingWidth-C},_updateDisplay:function(){var M=this._currentPosition*this._positionWidth;this._handleImage.style.left=M+"px";for(var N=0;N<this._pairContainerDivs.length;N++){var K=this._pairContainerDivs[N];if(this._currentPosition==N){K.style.display="block"}else{K.style.display="none"}}this._lastUpdatedMillis=(new Date()).getTime();var I=dojo.dom.getUniqueId();var J="InteractiveModuleHandler"+I;var H="inspectIntervalMethod"+I;window[J]=this;var L='window["'+J+'"]._inspectUpdateInterval();';setTimeout(L,this._updateInspectionMillis)},_inspectUpdateInterval:function(){var D=(new Date()).getTime();var C=D-this._lastUpdatedMillis;if(C>=this._minimumChangeMillis){dojo.event.topic.publish(bc.topic.omnitureEvent,{eventNum:27})}}});dojo.require("bc.Topics");dojo.lang.declare("bc.gatedContent.GatedContentHandler",null,{_triggerElementId:null,_refreshPage:false,_redirectURL:null,_intcmpCode:null,_displayMessage:null,_followClick:false,_triggerElement:null,_loginElement:null,initializer:function(B){if(bc.util.GeneralUtilities.isDefined(B.triggerElementId)){this._triggerElementId=B.triggerElementId}if(bc.util.GeneralUtilities.isDefined(B.refreshPage)){this._refreshPage=bc.util.GeneralUtilities.stringToBoolean(B.refreshPage)}if(bc.util.GeneralUtilities.isDefined(B.redirectURL)){this._redirectURL=B.redirectURL}if(bc.util.GeneralUtilities.isDefined(B.intcmpCode)){this._intcmpCode=B.intcmpCode}if(bc.util.GeneralUtilities.isDefined(B.displayMessage)){this._displayMessage=B.displayMessage}if(bc.util.GeneralUtilities.isDefined(B.followClick)){this._followClick=bc.util.GeneralUtilities.stringToBoolean(B.followClick)}else{this._followClick=false}this._init()},_init:function(){this._preparePage()},_setPageElementReferences:function(){this._triggerElement=document.getElementById(this._triggerElementId);return true},_preparePage:function(){if(this._setPageElementReferences()){dojo.event.topic.subscribe(bc.topic.login,this,"_handleLogin");var B={triggerElementId:this._triggerElementId,refreshPage:this._refreshPage,redirectURL:this._redirectURL,intcmpCode:this._intcmpCode,displayMessage:this._displayMessage,followClick:this._followClick};this._loginElement=new bc.login.LoginElement(B);bc.login.LoginManager.addLoginElement(this._loginElement)}},_handleLogin:function(){bc.login.LoginManager.removeLoginElement(this._loginElement)}});bc.namespace("bc.omniture");bc.omniture.IntcmpAppenderHandler=new function(){var F="bc.omniture.IntcmpAppenderHandler";var H=bc.util.DOMUtilities;var G=bc.util.GeneralUtilities;var E=null;this.INTCMP_PARAM_NAME="intcmp";this.PAGE_NAME_PARAM_NAME="pn";this.init=function(A){this._pageName=A;this.appendParamForElement(document.body)};this.appendParamForElement=function(B){var A=B.getElementsByTagName("a");if(G.isSet(A)){for(var C=0;C<A.length;C++){var D=A[C];if(!this._hasNamedAnchor(D)&&this._hasIntcmpCode(D)){this._appendPageNameParameter(D)}}}else{alert(F+".appendParamForElement: The specified element does not have a links collection.")}};this._hasIntcmpCode=function(J){var C=false;if(H.isAnchorNode(J)){var D=J.href;var B=D.split("?");if(B.length==2){var A=B[1];if(A.indexOf(this.INTCMP_PARAM_NAME+"=")>-1){C=true}}}return C};this._hasNamedAnchor=function(C){var A=false;if(H.isAnchorNode(C)){var B=C.href;if(B.indexOf("#")>-1){A=true}}return A};this._appendPageNameParameter=function(K){if(H.isAnchorNode(K)){var C=K.innerHTML;var D=K.href;var A=D;var B="";var L=D.indexOf("#");if(L>-1){A=D.substring(0,L);B=D.substring(L)}A+="&"+this.PAGE_NAME_PARAM_NAME+"="+escape(this._pageName)+B;K.href=A;K.innerHTML=C}}};dojo.addOnLoad(function(){if(typeof (s_account)=="undefined"){return }var C=s.pageName;try{bc.omniture.IntcmpAppenderHandler.init(C)}catch(D){}});bc.namespace("bc.frag.tracking");bc.frag.tracking.OmnitureManager=new function(){};bc.frag.tracking.OmnitureManager.addTrackingParams=function(F,E,G){if(F!=null){s.linkTrackVars+=",events";s.events=F;s.linkTrackEvents=F}if(E!=null){for(var H in E){s[H]=E[H];s.linkTrackVars+=","+H}}if(G!=null){for(var H in G){s[H]=G[H];s.linkTrackVars+=","+H}}};bc.frag.tracking.OmnitureManager._track=function(H,L,I,K){s.linkTrackVars="pageName,channel";bc.frag.tracking.OmnitureManager.addTrackingParams(H,L,I);var G=(K==true?this:true);bc.frag.tracking.OmnitureManager.debug();try{s.tl(G,"o","Track Action")}catch(J){}};bc.frag.tracking.OmnitureManager.trackAction=function(E,D,F){bc.frag.tracking.OmnitureManager._track(E,D,F,false)};bc.frag.tracking.OmnitureManager.trackPageExitAction=function(E,D,F){bc.frag.tracking.OmnitureManager._track(E,D,F,true)};bc.frag.tracking.OmnitureManager.trackActionLinksInContainer=function(I,J,L,K){for(var M=0,N=I.getElementsByTagName("a"),H=N.length;M<H;M++){bc.Event.addEventListener(N[M],bc.Event.CLICK,function(A){bc.frag.tracking.OmnitureManager.trackAction(J,L,K)})}};bc.frag.tracking.OmnitureManager.addTrackingParams=function(F,E,G){if(F!=null){s.linkTrackVars+=",events";s.events=F;s.linkTrackEvents=F}if(E!=null){for(var H in E){s[H]=E[H];s.linkTrackVars+=","+H}}if(G!=null){for(var H in G){s[H]=G[H];s.linkTrackVars+=","+H}}};bc.frag.tracking.OmnitureManager.debug=function(){if(s.getQueryParam("MarieLivesIn").toLowerCase()!="france"){return }window.open("","stats_debugger","width=600,height=600,location=0,menubar=0,status=1,toolbar=0,resizable=1,scrollbars=1").document.write('<script language="JavaScript" src="https://sitecatalyst.omniture.com/sc_tools/stats_debugger.html"><\/script><script language="JavaScript">window.focus();<\/script>')};dojo.require("bc.Topics");dojo.require("bc.ajax.AjaxUtilities");dojo.lang.declare("bc.login.LoginHandler",null,{_ajaxUtils:bc.ajax.AjaxUtilities,_domUtils:bc.util.DOMUtilities,_genUtils:bc.util.GeneralUtilities,_FADE_INTERVAL:500,_getContentURL:null,_containerId:null,_container:null,initializer:function(D){var E="Error in "+this.declaredClass+" constructor.\n\n";var F=E;if(arguments.length==1){this._argsHash=D}else{F+="There must only be one input argument.\n"}if(F==E){if(this._genUtils.isNotSet(this._argsHash)){F+="The input argument is not set.\n"}else{if("object"!=typeof (this._argsHash)){F+="The input argument must be an associative array.\n"}}}if(F==E){if(this._genUtils.isDefined(this._argsHash.getContentURL)){this._getContentURL=this._argsHash.getContentURL}else{F+="The getContentURL parameter must be set in the input arguments.\n"}if(this._genUtils.isDefined(this._argsHash.containerId)){this._containerId=this._argsHash.containerId}else{F+="The containerId parameter must be set in the input arguments.\n"}}if(F==E){this._init()}else{alert(F)}},_init:function(){this._preparePage()},_setPageElementReferences:function(){var D="Error in "+this.declaredClass+"._setPageElementReferences().\n\n";var C=D;this._container=dojo.byId(this._containerId);if(this._genUtils.isNotSet(this._container)){C+='  Could not get the DOM element with id = "'+this._containerId+'"\n'}if(C==D){return true}else{alert(C);return false}},_preparePage:function(){if(this._setPageElementReferences()){dojo.event.topic.subscribe(bc.topic.login,this,"_getContent");dojo.event.topic.subscribe(bc.topic.registration,this,"_getContent");dojo.event.topic.subscribe(bc.topic.logout,this,"_getContent")}},_getContent:function(B){this._ajaxUtils.get(this._getContentURL,{},"text/html",true,this._handleGetContent,this._ajaxUtils.error,this)},_handleGetContent:function(D,F,E){this.thisInstance._container.innerHTML=F;this.thisInstance._domUtils.evalScriptsInComponent(this.thisInstance._container);dojo.lfx.html.fadeShow(this.thisInstance._container,this._FADE_INTERVAL).play()}});dojo.require("dojo.lang.declare");dojo.lang.declare("bc.login.LoginValidator",null,{_usernameErrorMessage:null,_passwordErrorMessage:null,_usernameAndPasswordErrorMessage:null,_errorsContainerId:null,_usernameInputId:null,_passwordInputId:null,_errorsContainer:null,_usernameInput:null,_passwordInput:null,initializer:function(B){this._usernameErrorMessage=B.usernameErrorMessage;this._passwordErrorMessage=B.passwordErrorMessage;this._usernameAndPasswordErrorMessage=B.usernameAndPasswordErrorMessage;this._errorsContainerId=B.errorsContainerId;this._usernameInputId=B.usernameInputId;this._passwordInputId=B.passwordInputId;this._init()},_init:function(){this._preparePage()},_setPageElementReferences:function(){this._errorsContainer=document.getElementById(this._errorsContainerId);this._usernameInput=document.getElementById(this._usernameInputId);this._passwordInput=document.getElementById(this._passwordInputId);return true},_preparePage:function(){if(this._setPageElementReferences()){}},validate:function(){var B=true;if(bc.util.GeneralUtilities.isBlank(this._usernameInput.value)&&bc.util.GeneralUtilities.isBlank(this._passwordInput.value)){this._errorsContainer.innerHTML=this._usernameAndPasswordErrorMessage;B=false}else{if(bc.util.GeneralUtilities.isBlank(this._usernameInput.value)){this._errorsContainer.innerHTML=this._usernameErrorMessage;B=false}if(bc.util.GeneralUtilities.isBlank(this._passwordInput.value)){this._errorsContainer.innerHTML=this._passwordErrorMessage;B=false}}return B}});dojo.provide("bc.flash.getFlashVersion");bc.flash.getFlashVersion=function(){var K=0;var M=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var O=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;if(M&&O){var N=2;var J=true;var P;while(J){N++;try{P=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+N)}catch(L){J=false;N--}}if(N>2){K=N}}else{if(navigator.plugins){if(navigator.plugins["Shockwave Flash"]){var I=navigator.plugins["Shockwave Flash"].description;K=parseInt(I.substring(16))}}if(navigator.userAgent.indexOf("WebTV")!=-1){K=4}}return K};dojo.provide("bc.flash.isEnabledFlash");dojo.require("bc.flash.getFlashVersion");bc.flash.isEnabledFlash=function(E){var D=false;var F="";if(bc.flash.getFlashVersion()>=E){D=true}return D};dojo.provide("bc.lib.browser");dojo.require("bc.lib.toString");bc.lib.browser=(function(){var ua=navigator.userAgent.toLowerCase();var pl=navigator.platform.toLowerCase();var an=navigator.appName.toLowerCase();var av=navigator.appVersion.toLowerCase();var isNav=((ua.indexOf("mozilla")>-1)&&(ua.indexOf("compatible")<0)&&(ua.indexOf("netscape")>0));var isMoz=((ua.indexOf("mozilla")>-1)&&(ua.indexOf("compatible")<0)&&(ua.indexOf("netscape")<0));var isIe=(ua.indexOf("msie")>0);var isSafari=(ua.indexOf("safari")>0);var isGecko=(ua.indexOf("gecko")>0);var isFirefox=(ua.indexOf("firefox")>0);var isAol=(ua.indexOf("aol")>0);var isOpera=(ua.indexOf("opera")>0);var version=null;var versions=null;if(isIe){versions=ua.match(/msie ([0-9.]+)/);version=parseFloat(versions[1])}else{if(isSafari){versions=ua.match(/safari\/([0-9.]+)/);version=parseFloat(versions[1])}else{if(isFirefox){versions=ua.match(/firefox\/([0-9.]+)/);version=parseFloat(versions[1])}else{if(isNav&&isGecko){versions=ua.substring(ua.indexOf("netscape"));if(versions>-1){version=parseFloat(versions.substring(versions.indexOf("/")+1))}else{versions=ua.match(/rv:([0-9.]+)/);version=parseFloat(versions[1])}}else{version=parseFloat(av)}}}}var buildDate=null;if(isGecko){if(isSafari){versions=ua.match(/applewebkit\/([0-9.]+)/);buildDate=parseInt(versions[1])}else{versions=ua.match(/gecko\/([0-9.]+)/);buildDate=parseInt(versions[1])}}var isWin=(ua.indexOf("win")>0);var isXPSP2=(ua.indexOf("sv")>0);var isMac=(ua.indexOf("mac")>0);var isUnix=(ua.indexOf("x11")>0);var isOs2=(ua.indexOf("os/2")>0);var isWinIe=(isWin&&isIe);var isMacIe=(isMac&&isIe);var winVersion=null;if(isWin){versions=["16","95","98","nt","2000","xp"];for(var i=0;i<versions.length;i++){eval('test = (ua.indexOf("'+versions[i]+'")>0)');if(test){winVersion=versions[i]}}}var macVersion=null;if(isMac){macVersion=(ua.indexOf("68k")>0||ua.indexOf("68000")>0)?"68k":(ua.indexOf("ppc")>0||ua.indexOf("powerpc")>0)?"ppc":null}return{isNav:isNav,isMoz:isMoz,isIe:isIe,isSafari:isSafari,isGecko:isGecko,isFirefox:isFirefox,isAol:isAol,isOpera:isOpera,version:version,buildDate:buildDate,isWin:isWin,isXPSP2:isXPSP2,isMac:isMac,isUnix:isUnix,isOs2:isOs2,isMacIe:isMacIe,isWinIe:isWinIe,winVersion:winVersion,macVersion:macVersion,toString:bc.lib.toString}})();dojo.provide("bc.lib.toString");bc.lib.toString=function(H){var J=this;if(dojo.lang.isUndefined(J.recurseToString)){J.recurseToString=true}if(!H){H=0}var M="";for(var I in J){var K=typeof (J[I]);switch(K){case"string":case"number":case"boolean":for(var L=0;L<H;L++){M+=" "}M+=I+": "+J[I]+"\n";break;case"object":for(var L=0;L<H;L++){M+=" "}M+=I+": (object)";if(!J[I]){M+=" "+J[I]}M+="\n";if(J[I]){if(J.recurseToString){try{J[I].toString=bc.lib.toString;M+=J[I].toString((H+2))}catch(N){}}}break;case"function":for(var L=0;L<H;L++){M+=" "}M+=I+": (method)\n";break;default:break}}return M};dojo.provide("bc.flash.FlashMovie");dojo.require("bc.flash.getFlashVersion");dojo.require("bc.flash.isEnabledFlash");dojo.require("bc.lib.browser");dojo.require("bc.lib.toString");bc.flash.FlashMovie=function(H){for(var J in H){this[J]=H[J]}if(typeof (bc.flash.FlashMovie.instances)=="undefined"){bc.flash.FlashMovie.instances=new Array()}var F="";if(typeof (this.clickTagsStartNum)=="undefined"){this.clickTagsStartNum=1}if(typeof (this.clickTags)=="object"){for(i=0;i<this.clickTags.length;i++){if(F!=""){F+="&"}F+="clickTag"+(i+this.clickTagsStartNum)+"="+escape(this.clickTags[i])}}if(typeof (this.clickTAGs)=="object"){for(i=0;i<this.clickTags.length;i++){if(F!=""){F+="&"}F+="clickTAG"+(i+this.clickTagsStartNum)+"="+escape(this.clickTags[i])}}if(typeof (this.jsTags)=="object"){for(i=0;i<this.jsTags.length;i++){if(F!=""){F+="&"}F+="jsTag"+(i+1)+"="+escape(this.jsTags[i])}}this.url=(F!="")?this.url+((this.url.indexOf("?")>-1)?"&":"?")+F:this.url;if(!this.quality){this.quality="autohigh"}if(!this.bgcolor){this.bgcolor="#ffffff"}if(!this.wmode){this.wmode="opaque"}if(bc.lib.browser.isIe){if(!this.id){this.id="flashId"+bc.flash.FlashMovie.instances.length}}if(!this.FlashVars){this.FlashVars=""}if(typeof (this.FlashVars)=="object"){var I="";for(var G in this.FlashVars){if(I){I+="&"}I+=G+"="+escape(this.FlashVars[G])}this.FlashVars=I}if(!this.name){this.name="FlashObj"+Math.random();this.name=this.name.replace(/0[.]/,"")}if(!this.allowScriptAccess){this.allowScriptAccess="always"}bc.flash.FlashMovie.instances[bc.flash.FlashMovie.instances.length]=this};bc.flash.FlashMovie.prototype.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";bc.flash.FlashMovie.prototype.pluginspage="http://www.macromedia.com/go/getflashplayer";bc.flash.FlashMovie.prototype.codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0";bc.flash.FlashMovie.prototype.type="application/x-shockwave-flash";bc.flash.FlashMovie.instances=new Array();bc.flash.FlashMovie.prototype.toString=bc.lib.toString;bc.flash.FlashMovie.prototype.addFlashVars=function(C){if(typeof (C)=="object"){this.FlashVars="";for(var D in C){if(this.FlashVars){this.FlashVars+="&"}this.FlashVars+=D+"="+escape(C[D])}}};bc.flash.FlashMovie.prototype.getHtml=function(){var B="";if(typeof (this.width)=="undefined"){this.width=null}if(typeof (this.height)=="undefined"){this.height=null}if(!this.url){return B}else{if(bc.flash.FlashMovie.isEnabled){B+="<object";B+=' classid="'+this.classid+'"';B+=' codebase="'+this.codebase+'"';B+=' id="'+this.id+'"';if(this.width){B+=' width="'+this.width+'"'}if(this.height){B+=' height="'+this.height+'"'}B+=">\n";B+=((this.FlashVars)?'<param name="FlashVars" value="'+this.FlashVars+'">\n':"");B+=((this.base)?'<param name="base" value="'+this.base+'">\n':"");B+='<param name="movie" value="'+this.url+'">\n';B+='<param name="wmode" value="'+this.wmode+'">\n';B+='<param name="quality" value="'+this.quality+'">\n';B+='<param name="bgcolor" value="'+this.bgcolor+'">\n';B+='<param name="allowScriptAccess" value="'+this.allowScriptAccess+'">\n';B+="<embed";B+=((this.name)?' name="'+this.name+'"':"");B+=((this.base)?' base="'+this.base+'"':"");B+=((this.FlashVars)?' FlashVars="'+this.FlashVars+'"':"");B+=' src="'+this.url+'"';B+=' quality="'+this.quality+'"';B+=' bgcolor="'+this.bgcolor+'"';B+=' wmode="'+this.wmode+'"';if(this.width){B+=' width="'+this.width+'"'}if(this.height){B+=' height="'+this.height+'"'}B+=' type="'+this.type+'"';B+=' pluginspage="'+this.pluginspage+'"';B+=' allowScriptAccess="'+this.allowScriptAccess+'"';B+="></embed>\n";B+="</object>"}else{if(this.altUrl){B+=(this.altClick)?'<a href="'+this.altClick+'">':"";B+='<img src="'+this.altUrl+'" width="'+this.width+'" height="'+this.height+'" alt="" border="0">';B+=(this.altClick)?"</a>":""}else{if(this.altHTML){B=this.altHTML}}}}return B};bc.flash.FlashMovie.prototype.eolaswrite=function(){document.write(this.getHtml())};bc.flash.FlashMovie.prototype.handle=function(){return(dojo.render.html.ie)?window[this.name]:document[this.name]};bc.flash.FlashMovie.version=bc.flash.getFlashVersion();bc.flash.FlashMovie.isEnabled=bc.flash.isEnabledFlash(5);