(function(A,B,C){A.fn.jScrollPane=function(D){function F(An,AY){var Ag,AW=this,AO,A1,d,Az,AT,AN,a,AA,Ae,BE,Ao,AI,Ad,AJ,AH,AM,AS,Av,AP,f,Ar,Au,A6,Ay,Ah,AF,Aq,Ai,b,Am,BB,AL,Ab,A2=true,AX=true,BC=false,AG=false,Aw=An.clone(false,false).empty(),A9=A.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";BB=An.css("paddingTop")+" "+An.css("paddingRight")+" "+An.css("paddingBottom")+" "+An.css("paddingLeft");AL=(parseInt(An.css("paddingLeft"),10)||0)+(parseInt(An.css("paddingRight"),10)||0);function At(I){var K,J,O,M,N,G,H,L;Ag=I;if(AO===C){H=An.scrollTop();L=An.scrollLeft();An.css({overflow:"hidden",padding:0});A1=An.innerWidth()+AL;d=An.innerHeight();An.width(A1);AO=A('<div class="jspPane" />').css("padding",BB).append(An.children());Az=A('<div class="jspContainer" />').css({width:A1+"px",height:d+"px"}).append(AO).appendTo(An)}else{An.css("width","");G=An.innerWidth()+AL!=A1||An.outerHeight()!=d;if(G){A1=An.innerWidth()+AL;d=An.innerHeight();Az.css({width:A1+"px",height:d+"px"})}if(!G&&Ab==AT&&AO.outerHeight()==AN){An.width(A1);return }Ab=AT;AO.css("width","");An.width(A1);Az.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}K=AO.clone(false,false).css("position","absolute");J=A('<div style="width:1px; position: relative;" />').append(K);A("body").append(J);AT=Math.max(AO.outerWidth(),K.outerWidth());J.remove();AN=AO.outerHeight();a=AT/A1;AA=AN/d;Ae=AA>1;BE=a>1;if(!(BE||Ae)){An.removeClass("jspScrollable");AO.css({top:0,width:Az.width()-AL});AD();Al();AV();c();A3()}else{An.addClass("jspScrollable");O=Ag.maintainPosition&&(Ad||AM);if(O){M=BG();N=BI()}BD();As();Aj();if(O){AZ(M,false);Aa(N,false)}Ac();A5();Ax();if(Ag.enableKeyboardNavigation){AU()}if(Ag.clickOnTrack){AB()}Ap();if(Ag.hijackInternalLinks){AE()}}if(Ag.autoReinitialise&&!Am){Am=setInterval(function(){At(Ag)},Ag.autoReinitialiseDelay)}else{if(!Ag.autoReinitialise&&Am){clearInterval(Am)}}H&&An.scrollTop(0)&&Aa(H,false);L&&An.scrollLeft(0)&&AZ(L,false);An.trigger("jsp-initialised",[BE||Ae])}function BD(){if(Ae){Az.append(A('<div class="jspVerticalBar" />').append(A('<div class="jspCap jspCapTop" />'),A('<div class="jspTrack" />').append(A('<div class="jspDrag" />').append(A('<div class="jspDragTop" />'),A('<div class="jspDragBottom" />'))),A('<div class="jspCap jspCapBottom" />')));AS=Az.find(">.jspVerticalBar");Av=AS.find(">.jspTrack");Ao=Av.find(">.jspDrag");if(Ag.showArrows){Au=A('<a class="jspArrow jspArrowUp" />').bind("mousedown.jsp",BF(0,-1)).bind("click.jsp",BH);A6=A('<a class="jspArrow jspArrowDown" />').bind("mousedown.jsp",BF(0,1)).bind("click.jsp",BH);if(Ag.arrowScrollOnHover){Au.bind("mouseover.jsp",BF(0,-1,Au));A6.bind("mouseover.jsp",BF(0,1,A6))}A0(Av,Ag.verticalArrowPositions,Au,A6)}f=d;Az.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){f-=A(this).outerHeight()});Ao.hover(function(){Ao.addClass("jspHover")},function(){Ao.removeClass("jspHover")}).bind("mousedown.jsp",function(H){A("html").bind("dragstart.jsp selectstart.jsp",BH);Ao.addClass("jspActive");var G=H.pageY-Ao.position().top;A("html").bind("mousemove.jsp",function(I){AR(I.pageY-G,false)}).bind("mouseup.jsp mouseleave.jsp",Ak);return false});AC()}}function AC(){Av.height(f+"px");Ad=0;AP=Ag.verticalGutter+Av.outerWidth();AO.width(A1-AP-AL);if(AS.position().left===0){AO.css("margin-left",AP+"px")}}function As(){if(BE){Az.append(A('<div class="jspHorizontalBar" />').append(A('<div class="jspCap jspCapLeft" />'),A('<div class="jspTrack" />').append(A('<div class="jspDrag" />').append(A('<div class="jspDragLeft" />'),A('<div class="jspDragRight" />'))),A('<div class="jspCap jspCapRight" />')));Ay=Az.find(">.jspHorizontalBar");Ah=Ay.find(">.jspTrack");AJ=Ah.find(">.jspDrag");if(Ag.showArrows){Ai=A('<a class="jspArrow jspArrowLeft" />').bind("mousedown.jsp",BF(-1,0)).bind("click.jsp",BH);b=A('<a class="jspArrow jspArrowRight" />').bind("mousedown.jsp",BF(1,0)).bind("click.jsp",BH);if(Ag.arrowScrollOnHover){Ai.bind("mouseover.jsp",BF(-1,0,Ai));b.bind("mouseover.jsp",BF(1,0,b))}A0(Ah,Ag.horizontalArrowPositions,Ai,b)}AJ.hover(function(){AJ.addClass("jspHover")},function(){AJ.removeClass("jspHover")}).bind("mousedown.jsp",function(H){A("html").bind("dragstart.jsp selectstart.jsp",BH);AJ.addClass("jspActive");var G=H.pageX-AJ.position().left;A("html").bind("mousemove.jsp",function(I){AQ(I.pageX-G,false)}).bind("mouseup.jsp mouseleave.jsp",Ak);return false});AF=Az.innerWidth();A4()}}function A4(){Az.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){AF-=A(this).outerWidth()});Ah.width(AF+"px");AM=0}function Aj(){if(BE&&Ae){var H=Ah.outerHeight(),G=Av.outerWidth();f-=H;A(Ay).find(">.jspCap:visible,>.jspArrow").each(function(){AF+=A(this).outerWidth()});AF-=G;d-=G;A1-=H;Ah.parent().append(A('<div class="jspCorner" />').css("width",H+"px"));AC();A4()}if(BE){AO.width((Az.outerWidth()-AL)+"px")}AN=AO.outerHeight();AA=AN/d;if(BE){Aq=Math.ceil(1/a*AF);if(Aq>Ag.horizontalDragMaxWidth){Aq=Ag.horizontalDragMaxWidth}else{if(Aq<Ag.horizontalDragMinWidth){Aq=Ag.horizontalDragMinWidth}}AJ.width(Aq+"px");AH=AF-Aq;A7(AM)}if(Ae){Ar=Math.ceil(1/AA*f);if(Ar>Ag.verticalDragMaxHeight){Ar=Ag.verticalDragMaxHeight}else{if(Ar<Ag.verticalDragMinHeight){Ar=Ag.verticalDragMinHeight}}Ao.height(Ar+"px");AI=f-Ar;A8(Ad)}}function A0(L,J,M,H){var G="before",K="after",I;if(J=="os"){J=/Mac/.test(navigator.platform)?"after":"split"}if(J==G){K=J}else{if(J==K){G=J;I=M;M=H;H=I}}L[G](M)[K](H)}function BF(I,G,H){return function(){Af(I,G,this,H);this.blur();return false}}function Af(K,L,G,I){G=A(G).addClass("jspActive");var J,M,N=true,H=function(){if(K!==0){AW.scrollByX(K*Ag.arrowButtonSpeed)}if(L!==0){AW.scrollByY(L*Ag.arrowButtonSpeed)}M=setTimeout(H,N?Ag.initialDelay:Ag.arrowRepeatFreq);N=false};H();J=I?"mouseout.jsp":"mouseup.jsp";I=I||A("html");I.bind(J,function(){G.removeClass("jspActive");M&&clearTimeout(M);M=null;I.unbind(J)})}function AB(){c();if(Ae){Av.bind("mousedown.jsp",function(I){if(I.originalTarget===C||I.originalTarget==I.currentTarget){var K=A(this),G=K.offset(),J=I.pageY-G.top-Ad,M,N=true,H=function(){var P=K.offset(),O=I.pageY-P.top-Ar/2,R=d*Ag.scrollPagePercent,Q=AI*R/(AN-d);if(J<0){if(Ad-Q>O){AW.scrollByY(-R)}else{AR(O)}}else{if(J>0){if(Ad+Q<O){AW.scrollByY(R)}else{AR(O)}}else{L();return }}M=setTimeout(H,N?Ag.initialDelay:Ag.trackClickRepeatFreq);N=false},L=function(){M&&clearTimeout(M);M=null;A(document).unbind("mouseup.jsp",L)};H();A(document).bind("mouseup.jsp",L);return false}})}if(BE){Ah.bind("mousedown.jsp",function(I){if(I.originalTarget===C||I.originalTarget==I.currentTarget){var K=A(this),G=K.offset(),J=I.pageX-G.left-AM,M,N=true,H=function(){var P=K.offset(),O=I.pageX-P.left-Aq/2,R=A1*Ag.scrollPagePercent,Q=AH*R/(AT-A1);if(J<0){if(AM-Q>O){AW.scrollByX(-R)}else{AQ(O)}}else{if(J>0){if(AM+Q<O){AW.scrollByX(R)}else{AQ(O)}}else{L();return }}M=setTimeout(H,N?Ag.initialDelay:Ag.trackClickRepeatFreq);N=false},L=function(){M&&clearTimeout(M);M=null;A(document).unbind("mouseup.jsp",L)};H();A(document).bind("mouseup.jsp",L);return false}})}}function c(){if(Ah){Ah.unbind("mousedown.jsp")}if(Av){Av.unbind("mousedown.jsp")}}function Ak(){A("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp");if(Ao){Ao.removeClass("jspActive")}if(AJ){AJ.removeClass("jspActive")}}function AR(G,H){if(!Ae){return }if(G<0){G=0}else{if(G>AI){G=AI}}if(H===C){H=Ag.animateScroll}if(H){AW.animate(Ao,"top",G,A8)}else{Ao.css("top",G);A8(G)}}function A8(K){if(K===C){K=Ao.position().top}Az.scrollTop(0);Ad=K;var H=Ad===0,J=Ad==AI,I=K/AI,G=-I*(AN-d);if(A2!=H||BC!=J){A2=H;BC=J;An.trigger("jsp-arrow-change",[A2,BC,AX,AG])}e(H,J);AO.css("top",G);An.trigger("jsp-scroll-y",[-G,H,J]).trigger("scroll")}function AQ(H,G){if(!BE){return }if(H<0){H=0}else{if(H>AH){H=AH}}if(G===C){G=Ag.animateScroll}if(G){AW.animate(AJ,"left",H,A7)}else{AJ.css("left",H);A7(H)}}function A7(K){if(K===C){K=AJ.position().left}Az.scrollTop(0);AM=K;var H=AM===0,I=AM==AH,J=K/AH,G=-J*(AT-A1);if(AX!=H||AG!=I){AX=H;AG=I;An.trigger("jsp-arrow-change",[A2,BC,AX,AG])}s(H,I);AO.css("left",G);An.trigger("jsp-scroll-x",[-G,H,I]).trigger("scroll")}function e(H,G){if(Ag.showArrows){Au[H?"addClass":"removeClass"]("jspDisabled");A6[G?"addClass":"removeClass"]("jspDisabled")}}function s(H,G){if(Ag.showArrows){Ai[H?"addClass":"removeClass"]("jspDisabled");b[G?"addClass":"removeClass"]("jspDisabled")}}function Aa(G,I){var H=G/(AN-d);AR(H*AI,I)}function AZ(I,G){var H=I/(AT-A1);AQ(H*AH,G)}function BA(I,N,G){var P,S,R,T=0,J=0,H,O,L,M,K;try{P=A(I)}catch(Q){return }S=P.outerHeight();R=P.outerWidth();Az.scrollTop(0);Az.scrollLeft(0);while(!P.is(".jspPane")){T+=P.position().top;J+=P.position().left;P=P.offsetParent();if(/^body|html$/i.test(P[0].nodeName)){return }}H=BI();O=H+d;if(T<H||N){M=T-Ag.verticalGutter}else{if(T+S>O){M=T-d+S+Ag.verticalGutter}}if(M){Aa(M,G)}viewportLeft=BG();L=viewportLeft+A1;if(J<viewportLeft||N){K=J-Ag.horizontalGutter}else{if(J+R>L){K=J-A1+R+Ag.horizontalGutter}}if(K){AZ(K,G)}}function BG(){return -AO.position().left}function BI(){return -AO.position().top}function A5(){Az.unbind(A9).bind(A9,function(I,H,J,L){var K=AM,G=Ad;AW.scrollBy(J*Ag.mouseWheelSpeed,-L*Ag.mouseWheelSpeed,false);return K==AM&&G==Ad})}function AD(){Az.unbind(A9)}function BH(){return false}function Ac(){AO.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(G){BA(G.target,false)})}function Al(){AO.find(":input,a").unbind("focus.jsp")}function AU(){var G,I;AO.focus(function(){An.focus()});An.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(J){if(J.target!==this){return }var K=AM,L=Ad;switch(J.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:G=J.keyCode;H();break;case 35:Aa(AN-d);G=null;break;case 36:Aa(0);G=null;break}I=J.keyCode==G&&K!=AM||L!=Ad;return !I}).bind("keypress.jsp",function(J){if(J.keyCode==G){H()}return !I});if(Ag.hideFocus){An.css("outline","none");if("hideFocus" in Az[0]){An.attr("hideFocus",true)}}else{An.css("outline","");if("hideFocus" in Az[0]){An.attr("hideFocus",false)}}function H(){var J=AM,K=Ad;switch(G){case 40:AW.scrollByY(Ag.keyboardSpeed,false);break;case 38:AW.scrollByY(-Ag.keyboardSpeed,false);break;case 34:case 32:AW.scrollByY(d*Ag.scrollPagePercent,false);break;case 33:AW.scrollByY(-d*Ag.scrollPagePercent,false);break;case 39:AW.scrollByX(Ag.keyboardSpeed,false);break;case 37:AW.scrollByX(-Ag.keyboardSpeed,false);break}I=J!=AM||K!=Ad;return I}}function AV(){An.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp")}function Ap(){if(location.hash&&location.hash.length>1){var H,I;try{H=A(location.hash)}catch(G){return }if(H.length&&AO.find(location.hash)){if(Az.scrollTop()===0){I=setInterval(function(){if(Az.scrollTop()>0){BA(location.hash,true);A(document).scrollTop(Az.position().top);clearInterval(I)}},50)}else{BA(location.hash,true);A(document).scrollTop(Az.position().top)}}}}function A3(){A("a.jspHijack").unbind("click.jsp-hijack").removeClass("jspHijack")}function AE(){A3();A("a[href^=#]").addClass("jspHijack").bind("click.jsp-hijack",function(){var G=this.href.split("#"),H;if(G.length>1){H=G[1];if(H.length>0&&AO.find("#"+H).length>0){BA("#"+H,true);return false}}})}function Ax(){var K,L,I,J,H,G=false;Az.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(N){var M=N.originalEvent.touches[0];K=BG();L=BI();I=M.pageX;J=M.pageY;H=false;G=true}).bind("touchmove.jsp",function(M){if(!G){return }var N=M.originalEvent.touches[0],O=AM,P=Ad;AW.scrollTo(K+I-N.pageX,L+J-N.pageY);H=H||Math.abs(I-N.pageX)>5||Math.abs(J-N.pageY)>5;return O==AM&&P==Ad}).bind("touchend.jsp",function(M){G=false}).bind("click.jsp-touchclick",function(M){if(H){H=false;return false}})}function AK(){var G=BI(),H=BG();An.removeClass("jspScrollable").unbind(".jsp");An.replaceWith(Aw.append(AO.children()));Aw.scrollTop(G);Aw.scrollLeft(H)}A.extend(AW,{reinitialise:function(G){G=A.extend({},Ag,G);At(G)},scrollToElement:function(H,I,G){BA(H,I,G)},scrollTo:function(H,G,I){AZ(H,I);Aa(G,I)},scrollToX:function(H,G){AZ(H,G)},scrollToY:function(G,H){Aa(G,H)},scrollToPercentX:function(H,G){AZ(H*(AT-A1),G)},scrollToPercentY:function(H,G){Aa(H*(AN-d),G)},scrollBy:function(I,G,H){AW.scrollByX(I,H);AW.scrollByY(G,H)},scrollByX:function(G,I){var J=BG()+G,H=J/(AT-A1);AQ(H*AH,I)},scrollByY:function(G,I){var J=BI()+G,H=J/(AN-d);AR(H*AI,I)},positionDragX:function(G,H){AQ(G,H)},positionDragY:function(H,G){AQ(H,G)},animate:function(K,H,G,I){var J={};J[H]=G;K.animate(J,{duration:Ag.animateDuration,ease:Ag.animateEase,queue:false,step:I})},getContentPositionX:function(){return BG()},getContentPositionY:function(){return BI()},getContentWidth:function(){return AT()},getContentHeight:function(){return AN()},getPercentScrolledX:function(){return BG()/(AT-A1)},getPercentScrolledY:function(){return BI()/(AN-d)},getIsScrollableH:function(){return BE},getIsScrollableV:function(){return Ae},getContentPane:function(){return AO},scrollToBottom:function(G){AR(AI,G)},hijackInternalLinks:function(){AE()},destroy:function(){AK()}});At(AY)}D=A.extend({},A.fn.jScrollPane.defaults,D);A.each(["mouseWheelSpeed","arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){D[this]=D[this]||D.speed});var E;this.each(function(){var H=A(this),G=H.data("jsp");if(G){G.reinitialise(D)}else{G=new F(H,D);H.data("jsp",G)}E=E?E.add(H):H});return E};A.fn.jScrollPane.defaults={showArrows:false,maintainPosition:true,clickOnTrack:true,autoReinitialise:false,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,animateScroll:false,animateDuration:300,animateEase:"linear",hijackInternalLinks:false,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:0,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:false,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:true,hideFocus:false,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:0.8}})(jQuery,this);var Log=(function(){function A(){var C=arguments,B=C.length,D;if(window.console&&jQuery.isFunction(console.log)){if(B){for(D=0;D<B;D=D+1){}}}else{}}return{write:A}}());var DUMAS=(function(E){var Z={},D=[],U={},J;function G(a){if(U[a]&&U[a].length){jQuery.each(U[a],function(){this(Z[a])})}}function B(){jQuery.each(D,function(){this()});jQuery.each(U,function(a){G(a)});J=true}function O(a,b){if(a){if(Z[a]){jQuery.extend(Z[a],b)}else{Z[a]=b}}else{jQuery.extend(Z,b)}if(J){G(a)}}function L(a){D.push(a);return Z}function I(b,c){var a=U[b];if(!a){a=U[b]=[]}a.push(c);if(J){c(Z[b])}return Z}function H(){var b=location.hash,a;if(!(b==""||b=="#")){a=b.substring(1);if(a.charAt(a.length-1)==":"){a=a.substring(0,a.length-1)}a=encodeURI(window.location.protocol+"//"+window.location.host+a)}return a}function R(d){var e="",c="",b=";tile=1",a;if(d){if(d.attr("data-pos")){e=";pos="+d.attr("data-pos")}if(d.attr("data-tile")){b=";tile="+d.attr("data-tile")}if(d.attr("data-trial")){c=";"+d.attr("data-trial");c=c.substring(0,c.length-1)}a=['<script src="http://ad.doubleclick.net/adj/ems.',d.attr("data-page"),"/;rs="+d.attr("data-regionalSite"),b,";sz=",d.attr("data-size"),e,c,";ord=",d.attr("data-ord"),'?" type="text/javascript"><\/script>'].join("");d.writeCapture().html(a)}}function A(){var b=window.ord||Math.floor(Math.random()*10000000000000000),a='<script type="text/javascript" src="http://ad.doubleclick.net/N5421/adj/SFL_Booster_Widget;sz=316x80;ord='+b+'?"><\/script>';E("#dartSFL").writeCapture().html(a)}jQuery.extend(Z,{getFullyQualifiedUrl:H,createDartLinks:R,createSFLDartLink:A,init:L,context:I,_initAllContext:B,_ctxData:O});jQuery.extend(String.prototype,{constrain:function(a){return this.length<a?this:this.substring(0,a-3)+"..."},trim:function(){return E.trim(this)}});jQuery.fn.extend({serializeObj:function(){var c,b=[],a=this.get(0);for(c in a){if(Object.hasOwnProperty.call(a,c)){b.push([c,"=",a[c],"&"].join(""))}}return b.join("")},setClass:function(c,b,a){this[c?"addClass":"removeClass"](b);return(a)?this[!c?"addClass":"removeClass"](a):this},deserialize:function(a){return jQuery.deserialize(this.attr(a||"href"))},updateQueryString:function(b,a){return this.each(function(){var g=E(this),c,d,f,e;a=a||"href";c=g.attr(a);if(c){e=c.indexOf("?");d=(e>=0)?c.substring(0,e+1):c;f=jQuery.deserialize(c);b(f,g,d);g.attr(a,d+jQuery.param(f))}})},setVisible:function(a){return this.css("visibility",a?"visible":"hidden")}});jQuery.extend({deserialize:function(c){var a={},f,e,b,d;b=c.indexOf("?");if(b>=0){f=c.substring(b+1).split("&");for(d=0;d<f.length;){e=f[d].split("=");a[e[0]]=e[1];d=d+1}}return a}});function Q(){var a=false;E(".singleSubmit").live("submit",function(){if(a){window.setTimeout(function(){a=false},1000);return false}else{a=true;return true}})}function M(){return false}function F(){var d,c=E(this),e=[],b,a;if(c.attr("onclick")&&!(c.attr("onclick").length===0)){a=c.attr("onclick")}b=c.data("events");if(b&&b.click){for(d in b.click){e.push(b.click[d])}}window.setTimeout(function(){c.unbind("click");c.removeAttr("onclick");c.click(M)},10);window.setTimeout(function(){if(e){for(var f in e){if(Object.hasOwnProperty.call(e,f)){c.bind("click",e[f].handler)}}}if(a){c.click(a)}c.one("click",F)},1000)}function X(){E(".singleClick").one("click",F)}function N(a){self.location=a}function V(){if(P()){Y()}else{self.close()}}function Y(){history.back()}function P(){return location.hostname.substring(0,3)==="wmp"}function S(d){var c,a,e="",b;c={height:620,width:565,menubar:0,resizable:1,status:0,scrollbars:1,toolbar:0};a=jQuery.extend(c,d);for(b in c){if(c.hasOwnProperty){e+=b+"="+c[b]+","}}e=e.substring(0,e.length-1);return e}function W(b,a,d){var c=S(d);if(a===undefined){a=""}window.open(b,a,c);return false}function C(c,b,a){return function(d){if(!P()){a=a||d.target.href;W(a,b,c);return false}}}function T(){E("a.genericPop").click(C());E("a.privacy").click(C({width:765,height:500}));E("a.closeWindow").click(V);E("a.goBack").click(Y);K("#phasedOfferMessage")}function K(a){E(a).bind("click.googleEvents",function(){_gaq.push(["_trackEvent","Trial Event","Clicked on Phased Offer Account Page Link"]);window.location.href=elem.attr("href");return false})}E(function(){X();Q();T()});return Z}(jQuery));(function(E){E.fn.jqm=function(F){var A={overlay:50,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:O,ajaxText:"",target:O,modal:O,toTop:O,onShow:O,onHide:O,onLoad:O};return this.each(function(){if(this._jqm){return N[this._jqm].c=E.extend({},N[this._jqm].c,F)}P++;this._jqm=P;N[P]={c:E.extend(A,E.jqm.params,F),a:O,w:E(this).addClass("jqmID"+P),s:P};if(A.trigger){E(this).jqmAddTrigger(A.trigger)}})};E.fn.jqmAddClose=function(A){return M(this,A,"jqmHide")};E.fn.jqmAddTrigger=function(A){return M(this,A,"jqmShow")};E.fn.jqmShow=function(A){return this.each(function(){A=A||window.event;E.jqm.open(this._jqm,A)})};E.fn.jqmHide=function(A){return this.each(function(){A=A||window.event;E.jqm.close(this._jqm,A)})};E.jqm={hash:{},open:function(V,U){var L=N[V],Q=L.c,H="."+Q.closeClass,R=(parseInt(L.w.css("z-index"))),R=(R>0)?R:3000,F=E("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":R-1,opacity:Q.overlay/100});if(L.a){return O}L.t=U;L.a=true;L.w.css("z-index",R);if(Q.modal){if(!B[0]){K("bind")}B.push(V)}else{if(Q.overlay>0){L.w.jqmAddClose(F)}else{F=O}}L.o=(F)?F.addClass(Q.overlayClass).prependTo("body"):O;if(D){E("html,body").css({height:"100%",width:"100%"});if(F){F=F.css({position:"absolute"})[0];for(var S in {Top:1,Left:1}){F.style.setExpression(S.toLowerCase(),"(_=(document.documentElement.scroll"+S+" || document.body.scroll"+S+"))+'px'")}}}if(Q.ajax){var A=Q.target||L.w,T=Q.ajax,A=(typeof A=="string")?E(A,L.w):E(A),T=(T.substr(0,1)=="@")?E(U).attr(T.substring(1)):T;A.html(Q.ajaxText).load(T,function(){if(Q.onLoad){Q.onLoad.call(this,L)}if(H){L.w.jqmAddClose(E(H,L.w))}J(L)})}else{if(H){L.w.jqmAddClose(E(H,L.w))}}if(Q.toTop&&L.o){L.w.before('<span id="jqmP'+L.w[0]._jqm+'"></span>').insertAfter(L.o)}(Q.onShow)?Q.onShow(L):L.w.show();J(L);return O},close:function(F){var A=N[F];if(!A.a){return O}A.a=O;if(B[0]){B.pop();if(!B[0]){K("unbind")}}if(A.c.toTop&&A.o){E("#jqmP"+A.w[0]._jqm).after(A.w).remove()}if(A.c.onHide){A.c.onHide(A)}else{A.w.hide();if(A.o){A.o.remove()}}return O},params:{}};var P=0,N=E.jqm.hash,B=[],D=E.browser.msie&&(E.browser.version=="6.0"),O=false,G=E('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0}),J=function(A){if(D){if(A.o){A.o.html('<p style="width:100%;height:100%"/>').prepend(G)}else{if(!E("iframe.jqm",A.w)[0]){A.w.prepend(G)}}}I(A)},I=function(F){try{E(":input:visible",F.w)[0].focus()}catch(A){}},K=function(A){E()[A]("keypress",C)[A]("keydown",C)[A]("mousedown",C)},C=function(H){var A=N[B[B.length-1]],F=(!E(H.target).parents(".jqmID"+A.s)[0]);if(F){I(A)}return !F},M=function(A,F,H){return A.each(function(){var L=this._jqm;E(F).each(function(){if(!this[H]){this[H]=[];E(this).click(function(){for(var Q in {jqmShow:1,jqmHide:1}){for(var R in this[Q]){if(N[this[Q][R]]){N[this[Q][R]].w[Q](this)}}}return O})}this[H].push(L)})})}})(jQuery);"use strict";var Cookie=(function(D){var C={};function B(E){return encodeURIComponent(E)}function A(E){return decodeURIComponent(E)}return function(E){var I,R,F={},N;if(!E||!E.name||!E.path){throw"invalid name and path for cookie"}if(E.pairDelimiter==undefined){var J="@"}else{var J=E.pairDelimiter}if(E.keyValueDelimiter==undefined){var P=":"}else{var P=E.keyValueDelimiter}N=C[E.name];if(N){N.setPath(E.path);return N}R=jQuery.extend({expires:3},E);R.expires*=86400000;I=new RegExp(R.name+"=(.*?)(?:;|$)");function Q(){var S=new Date(),U=[],W,V=true,T;S.setTime(S.getTime()+R.expires);for(W in F){if(Object.hasOwnProperty.call(F,W)){if(!V){U.push(J)}}U.push(B(W));U.push(P);U.push(B(F[W]));V=false}T=R.name+"="+U.join("")+"; expires="+S.toGMTString()+"; path="+R.path;document.cookie=T}function G(){var T=(document.cookie.match(I)||[])[1],U,S,V;if(T){U=T.split(J);for(S=0;S<U.length;S+=1){V=U[S].split(P);F[A(V[0])]=A(V[1])}return true}return false}function L(){document.cookie=R.name+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path="+R.path}function O(S,T){if(S){F[S]=T;Q()}}function H(S){return F[S]}function K(S){var T;if(S){delete F[S];for(T in F){if(Object.hasOwnProperty.call(F,T)){Q();return }}L()}}function M(S){if(S!==R.path){R.path=S;Q()}}G();return(C[R.name]={clear:L,set:O,get:H,remove:K,read:G,setPath:M})}}());(function(A){function B(){var C,D,E=A(this);D=encodeURIComponent(E.find('input[name="s"]').val());C=encodeURIComponent(E.find('input[name="search_context"]').val());if("/listen/"===window.location.pathname&&"#/search/"===E.attr("action")){A.hashsignal.location.href(":/search/"+C+"/"+D+"/")}else{window.location.href="http://"+window.location.host+"/search/"+C+"/"+D+"/"}return false}A(document).ready(function(){A("#global-search").live("submit",B)})})(jQuery);jQuery.extend(DUMAS,{ajax:function(B){var A,C=B.url.indexOf("?");if(C>=0){A=B.url;B.url=A.substring(0,C);B.data=A.substring(C+1)+"&js=yes"}else{B.data=""}return $.ajax(B)},loadCss:function(A,E){if(!E||DUMAS.browser(E)){var D,C,B=document.getElementsByTagName("head")[0];for(C=0;C<B.childNodes.length;C=C+1){if(B.childNodes[C].nodeName.toLowerCase()==="link"&&B.childNodes[C].href.indexOf(A)>=0){return }}D=document.createElement("link");D.href=A;D.rel="stylesheet";D.type="text/css";B.appendChild(D)}},loadJs:function(D){var B,C,A=document.getElementsByTagName("head")[0];for(B=0;B<A.childNodes.length;B=B+1){if(A.childNodes[B].nodeName.toLowerCase()==="script"&&A.childNodes[B].src.indexOf(D)>=0){return }}C=document.createElement("script");C.src=D;C.type="text/javascript";A.appendChild(C)},param:function(A){var B=new RegExp("[\\?&]"+A+"=([^&#]*)").exec(window.location.href);return B===null?null:B[1]},browser:function(A){return(A==="ie"&&$.browser.msie)||(A==="mozilla"&&$.browser.mozilla)||(A==="safari"&&$.browser.safari)||(A==="mac"&&navigator.userAgent.indexOf("Mac")>=0)||(A==="ie6"&&$.browser.msie&&parseInt($.browser.version,10)===6)||(A==="ie7"&&$.browser.msie&&parseInt($.browser.version,10)===7)||(A==="pc_mozilla"&&$.browser.mozilla&&navigator.userAgent.indexOf("Windows")>=0)},clientWidth:function(C){var B=C?window.top.window:window,A=C?window.top.window.document:document;return this.f_filterResults(B.innerWidth?B.innerWidth:0,A.documentElement?A.documentElement.clientWidth:0,A.body?A.body.clientWidth:0)},clientHeight:function(){return this.f_filterResults(window.innerHeight?window.innerHeight:0,document.documentElement?document.documentElement.clientHeight:0,document.body?document.body.clientHeight:0)},scrollLeft:function(){return this.f_filterResults(window.pageXOffset?window.pageXOffset:0,document.documentElement?document.documentElement.scrollLeft:0,document.body?document.body.scrollLeft:0)},scrollTop:function(C){var B=C?window.top.window:window,A=C?window.top.window.document:document;return this.f_filterResults(B.pageYOffset?B.pageYOffset:0,A.documentElement?A.documentElement.scrollTop:0,A.body?A.body.scrollTop:0)},f_filterResults:function(D,B,A){var C=D?D:0;if(B&&(!C||(C>B))){C=B}return A&&(!C||(C>A))?A:C}});var EventCache=(function(){var A=[];return{listEvents:A,add:function(B,D,C){A.push(arguments)},flush:function(){var B,C;for(B=A.length-1;B>=0;B=B-1){C=A[B];if(C[0].removeEventListener){C[0].removeEventListener(C[1],C[2],C[3])}if(C[1].substring(0,2)!=="on"){C[1]="on"+C[1]}if(C[0].detachEvent){C[0].detachEvent(C[1],C[2])}C[0][C[1]]=null}}}}());function addEvent(C,B,A){if(C.addEventListener){C.addEventListener(B,A,false);EventCache.add(C,B,A)}else{if(C.attachEvent){C["e"+B+A]=A;C[B+A]=function(){C["e"+B+A](window.event)};C.attachEvent("on"+B,C[B+A]);EventCache.add(C,B,A)}else{C["on"+B]=C["e"+B+A]}}}function goQuickLink(B){var A=B.options[B.selectedIndex].value;if(A){window.location.href=A}else{}return false}function expandCol(C,A){var B=document.getElementById(C);if(B.style.display==="block"||B.style.display===""){B.style.display="none";A.src="/images/butFullRev.gif"}else{B.style.display="";A.src="/images/butCloseRev.gif"}}function pop(A,B,J,F,C,D,I){var E,H,G="mypop";if(F){G=F;if(F=="1"){E=new Date();G=E.getTime()}}if(!C){C="yes"}H="width="+B+",height="+J+", scrollbars=yes, left="+D+", top="+I;window.open(A,G,"resizable="+C+",toolbar=no,"+H)}function nopop(C,A,B){window.location.href=C}function imgSwap(B,A){B.src="/images/tabs/"+A}function HeaderImgSwap(B,A){B.src=A}function stopPitch(){window.location.href="/registration/1.html"}function center(){if(document.getElementById("exitPop")){var A,B;if(self.innerWidth){A=self.innerWidth;B=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientWidth){A=document.documentElement.clientWidth;B=document.documentElement.clientHeight}else{if(document.body){A=document.body.clientWidth;B=document.body.clientHeight}}}self.moveTo((screen.width-A)/2,(screen.height-B)/2)}}(function(A){addEvent(window,"unload",EventCache.flush);addEvent(window,"load",center);if(A(".jsPageHref").length){A(".jsPageHref").each(function(){var C=A(this),B;B=C.attr("href");if(B.indexOf("?open=true")>-1){C.attr("href",B.replace("open=true",""))}})}if(A("#myselectbox").length&&!A("#myselectbox").find("ul").length){A("#myselectbox").selectbox({wrapper:A("#search")})}}(jQuery));(function(A){if(A.hashsignal){A.hashsignal.registerTransition("legacy.js",[],{alwaysReload:true,load:function(D){D.bind("#dashboard li a","mouseenter",function(){A(this).next("span.upgrade").show()});D.bind("#dashboard li a","mouseleave",function(){A("span.upgrade").hide()});if(A(".jsPageHref").length){A(".jsPageHref").each(function(){var F=A(this),E;E=F.attr("href");if(E.indexOf("?open=true")>-1){F.attr("href",E.replace("open=true",""))}})}if(A("#myselectbox").length&&!A("#myselectbox_container").length){A("#myselectbox").selectbox({wrapper:A("#search")})}if(typeof (Cookie)!=="undefined"){var B=new Cookie({name:"collapsed",path:"/"});A(".collapsible").each(function(){var E=A(this);if(+B.get(E.attr("data-key"))===1){E.addClass("closed")}});A(".collapse-trigger").click(function(){var H=A(this),F,G,E;F=H.closest(".collapsible");E=F.attr("data-key");G=F.find(".collapse-me");if(F.hasClass("closed")){B.set(E,0);F.removeClass("closed")}else{B.set(E,1);F.addClass("closed")}return false})}(function C(){var E=DUMAS.loyalty?DUMAS.loyalty.dalRight:false;if(E){A("#loyaltyDialog").jqm({ajax:"/remote/loyalty.html",closeClass:"jqmClose",overlay:50,target:A(".fancyBoxContent"),toTop:"true",onShow:function(F){F.w.css("top",DUMAS.scrollTop()+40+"px").css("left",(DUMAS.clientWidth()/2)-(F.w.width()/2)+"px").fadeIn("normal")}}).jqmShow()}}())},unload:function(B){}})}})(jQuery);var GA_Search=(function(){var A,B;function C(){B=$("#search").find("form:not(.ga_search)");B.bind("submit.googleEvents",function(){A=$("#myselectbox_container").find(".selected").text()===""?"search all music":$("#myselectbox option:selected").attr("class");_gaq.push(["_trackEvent","Search","Submit",A])}).addClass("ga_search")}function D(){C()}DUMAS.init(D)}());var GA_Notification=(function(){function A(E,G,D,F){_gaq.push(["_trackEvent",E,G,D,F])}function B(D){_gaq.push(["_trackEvent","Notification",D])}function C(E,D){return _gaq.push(["_trackEvent","Notification","Clicked on "+E,D])}return{shown:B,external:C,trackPageEvent:A}}());var HeaderNotification=(function(X){var O,V,c,D,N,M,e,C,U="wideShadow",F="openSesame",g=false;function a(){return V.find("li").not("[data-notification-has-seen='true']").length}function i(){return V.find('li[data-notification-required="true"]').not('[data-notification-has-seen="true"]').length}function R(){if(a()){X("#count").text("("+a()+")")}else{X("#count").remove()}}function T(){V.find("li:visible").filter(":last").find(".msgRule").remove()}function E(){C.toggleClass(U)}function K(){D.toggleClass(F);if(D.hasClass(F)){D.find("#count").hide().end().find("#closeDrawer").show()}else{R();D.find("#count").show().end().find("#closeDrawer").hide()}}function I(l){jQuery.ajax({url:l,type:"POST",data:{foo:"baz"},cache:false})}function d(){c.remove()}function Q(){var o,n,l,m;o=V.find("li:visible").not('[data-notification-has-seen="true"]');o.each(function(){n=X(this);m=n.attr("data-notification-id");l="/apiCall/setUserOption.html?notificationId="+m+"&optionName=hasSeen&optionValue=true";I(l);GA_Notification.trackPageEvent("Notification","MessageViewed",m)});o.attr("data-notification-has-seen","true")}function Y(){var l=V.find("li").filter('[data-notification-required="false"], [data-notification-has-seen="true"]');return l.filter(":hidden").length}function W(){V.find("li").show();N.hide();Q();T()}function J(){var l=Y();var m="You have "+l+" more message"+(l>1?"s":"");M.text(m).bind("click",function(){W()})}function S(){if(Y()){N.show();J()}else{N.hide()}}function j(){var l=X("#notificationDrawer").find('li[data-notification-required="true"]').not('[data-notification-has-seen="true"]');if(l.length){l.show();S();X("#notificationDrawer").show();E();T();K()}}function P(){if(c&&c.length){if(i()){j()}}}function Z(){if(!D.hasClass(F)){E();V.slideDown("medium",function(){K();W()})}else{Q();K();V.slideUp("fast",function(){E()})}return false}function A(o){var m,n,l;n=X(o.target);l=n.attr("href");m=n.parent();I(l);if(!m.siblings().filter(":visible").length){if(N.filter(":visible").length){Z()}else{d()}}T();m.remove();return false}function B(){var l=X(this);l.find(".msgClose").bind("click.close",A)}function H(){D.bind("click",Z);V.find("li").each(B)}function L(){V.find("li").each(function(){var n,l,m;n=X(this);m=n.attr("data-notification-id");l=n.find(".noticeBody").find("a");l.bind("click.eventTracking",function(){GA_Notification.trackPageEvent("Notification","MessageUrlClicked",m)})})}function G(){var l=X(this);l.find(".msgClose").unbind("click.close")}function f(){D.unbind("click");V.find("li").each(G)}function k(){V.find("li").each(function(){var n,l,m;n=X(this);m=n.attr("data-notification-id");l=n.find(".noticeBody").find("a");l.unbind("click.eventTracking")})}function h(){O=X("body");c=O.find("#globalNavWrapper").find("#navAndTools").find(".notificationPositioner").find("#notificationBoxWrapper");if(c.length){D=c.find("#notificationTab");V=c.find("#notificationDrawer");N=V.find("#showMore");M=N.find("#moreMsg");C=V.prev();e=V.find("li").find(".noticeBody").find("a");L();H();P()}g=true}function b(){O=X("body");c=O.find("#globalNavWrapper").find("#navAndTools").find(".notificationPositioner").find("#notificationBoxWrapper");if(c.length){D=c.find("#notificationTab");V=c.find("#notificationDrawer");N=V.find("#showMore");M=N.find("#moreMsg");C=V.prev();e=V.find("li").find(".noticeBody").find("a");k();f()}g=false}return{init:h,checkForRequired:P,destroy:b,isInitialized:g}}(jQuery));(function(A){if(A&&A.hashsignal){A.hashsignal.registerTransition("header-notification",[],{alwaysReload:true,load:function(B){HeaderNotification.init()},unload:function(B){HeaderNotification.destroy()}})}if(!HeaderNotification.isInitialized){HeaderNotification.init()}})(jQuery);(function(E){var K,G,H,J,D,F,B,M=[];function A(){E(M).each(function(){var O=this.toString(),N;N=B.find("."+O);if(F.get(N.attr("data-notificationType"))===undefined){N.slideDown(function(){GA_Notification.shown(O)})}})}function L(){G=E(this).parents(".notify_box");D=G.attr("data-notificationType");G.hide();F.set(D,0)}function I(O){O.stopPropagation();O.preventDefault();var N=E(this);if(0===GA_Notification.external(N.text(),this.href)){if(N.attr("target")){window.open(this.href)}else{window.location.href=this.href}}else{window.location.href=this.href}return false}function C(){A();J.find("a").click(I);K.click(L)}E(document).ready(function(){if(E(".notify_box").length){H="notification";F=new Cookie({name:H,path:"/",expires:60});B=E(".notificationWrapper");B.show();K=E(".closer");J=B.find(".notify_box");J.each(function(){this.className=this.className.replace(/[\.\-]/g,"");M.push(this.className.split(" ")[1])});C()}})}(jQuery));var GA_Landing=(function(){function C(E,D){_gaq.push(["_trackEvent","Open Site Features",E,D||""])}function B(D){_gaq.push(["_trackEvent","Clicked Landing Module",D])}function A(){_gaq.push(["_trackEvent","Open Site Features","Landing Page Viewed"])}return{clicked:B,used:C,viewed:A}}());var LazySusan=(function(B){var A=0;return function(L,M,R,D,K){var I=0,O,H;function G(){return I+1>=H?0:I+1}function E(){return I-1<0?H-1:I-1}function P(S){var T;if(S.eq(I).length){S.each(function(U){var V=B(this);if(I===U){V.fadeIn(D||"fast",function(){V.removeClass("hidden").addClass("current")})}else{V.hide().removeClass("current").addClass("hidden")}});T=S.eq(I).find("img[data-src]");T.each(function(){var U=B(this);U.attr("src",U.attr("data-src"));U.removeAttr("data-src")});if(R){R(S.eq(I))}}}function J(){if(M.constructor===Array){B(M).each(function(){P(this)})}else{P(M)}if(O.length){O.removeClass("on").eq(I).addClass("on")}}function N(){I=E();J();return false}function Q(){I=G();J();return false}function F(){I=O.index(this);J();return false}O=L.find(".dot");if(K){K.bind(O,"click",F)}else{O.click(F)}H=O.length?O.length:M.length;L.data("lazy-susan",A);if(K){K.bind(L.find(".prev"),"click",N);K.bind(L.find(".next"),"click",Q)}else{L.find(".prev").click(N);L.find(".next").click(Q)}if("eq" in M){M.each(function(S){var T=B(this);if(T.hasClass("current")||T.find(".current, .on").length){I=S}});P(M)}function C(S){I=S}A+=1;return{setCurrent:C,next:Q,prev:N,move:J}}}(jQuery));(function(h,A){var J=A.document;function c(Q){var AB=J.createElement("div");J.body.insertBefore(AB,null);h.replaceWith(AB,'<script type="text/javascript">'+Q+"<\/script>")}h=h||(function(Q){return{ajax:Q.ajax,$:function(AB){return Q(AB)[0]},replaceWith:function(AB,AF){var AE=Q(AB)[0];var AD=AE.nextSibling,AC=AE.parentNode;Q(AE).remove();if(AD){Q(AD).before(AF)}else{Q(AC).append(AF)}},onLoad:function(AB){Q(AB)},copyAttrs:function(AH,AD){var AF=Q(AD),AC=AH.attributes;for(var AE=0,AB=AC.length;AE<AB;AE++){if(AC[AE]&&AC[AE].value){try{AF.attr(AC[AE].name,AC[AE].value)}catch(AG){}}}}}})(A.jQuery);h.copyAttrs=h.copyAttrs||function(){};h.onLoad=h.onLoad||function(){throw"error: autoAsync cannot be used without jQuery or defining writeCaptureSupport.onLoad"};function s(AD,AC){for(var AB=0,Q=AD.length;AB<Q;AB++){if(AC(AD[AB])===false){return }}}function W(Q){return Object.prototype.toString.call(Q)==="[object Function]"}function P(Q){return Object.prototype.toString.call(Q)==="[object String]"}function V(AC,AB,Q){return Array.prototype.slice.call(AC,AB||0,Q||AC&&AC.length)}function g(AD,AC){var Q=false;s(AD,AB);function AB(AE){return !(Q=AC(AE))}return Q}function o(Q){this._queue=[];this._children=[];this._parent=Q;if(Q){Q._addChild(this)}}o.prototype={_addChild:function(Q){this._children.push(Q)},push:function(Q){this._queue.push(Q);this._bubble("_doRun")},pause:function(){this._bubble("_doPause")},resume:function(){this._bubble("_doResume")},_bubble:function(AB){var Q=this;while(!Q[AB]){Q=Q._parent}return Q[AB]()},_next:function(){if(g(this._children,Q)){return true}function Q(AC){return AC._next()}var AB=this._queue.shift();if(AB){AB()}return !!AB}};function I(Q){if(Q){return new o(Q)}o.call(this);this.paused=0}I.prototype=(function(){function Q(){}Q.prototype=o.prototype;return new Q()})();I.prototype._doRun=function(){if(!this.running){this.running=true;try{while(this.paused<1&&this._next()){}}finally{this.running=false}}};I.prototype._doPause=function(){this.paused++};I.prototype._doResume=function(){this.paused--;this._doRun()};function p(){}p.prototype={_html:"",open:function(){this._opened=true;if(this._delegate){this._delegate.open()}},write:function(Q){if(this._closed){return }this._written=true;if(this._delegate){this._delegate.write(Q)}else{this._html+=Q}},writeln:function(Q){this.write(Q+"\n")},close:function(){this._closed=true;if(this._delegate){this._delegate.close()}},copyTo:function(Q){this._delegate=Q;Q.foobar=true;if(this._opened){Q.open()}if(this._written){Q.write(this._html)}if(this._closed){Q.close()}}};var E=(function(){var Q={f:J.getElementById};try{Q.f.call(J,"abc");return true}catch(AB){return false}})();function l(Q){s(Q,function(AB){var AC=J.getElementById(AB.id);if(!AC){L("<proxyGetElementById - finish>","no element in writen markup with id "+AB.id);return }s(AB.el.childNodes,function(AD){AC.appendChild(AD)});if(AC.contentWindow){A.setTimeout(function(){AB.el.contentWindow.document.copyTo(AC.contentWindow.document)},1)}h.copyAttrs(AB.el,AC)})}function T(AB,Q){if(Q&&Q[AB]===false){return false}return Q&&Q[AB]||O[AB]}function Z(AC,AP){var AJ=[],AH=T("proxyGetElementById",AP),AK=T("forceLastScriptTag",AP),AO=T("writeOnGetElementById",AP),AE=T("immediateWrites",AP),Q={write:J.write,writeln:J.writeln,finish:function(){},out:""};AC.state=Q;J.write=AE?AI:AN;J.writeln=AE?AL:AB;if(AH||AO){Q.getEl=J.getElementById;J.getElementById=AD;if(AO){findEl=AM}else{findEl=AF;Q.finish=function(){l(AJ)}}}if(AK){Q.getByTag=J.getElementsByTagName;J.getElementsByTagName=function(AR){var AQ=V(E?Q.getByTag.call(J,AR):Q.getByTag(AR));if(AR==="script"){AQ.push(h.$(AC.target))}return AQ};var AG=Q.finish;Q.finish=function(){AG();J.getElementsByTagName=Q.getByTag}}function AN(AQ){Q.out+=AQ}function AB(AQ){Q.out+=AQ+"\n"}function AI(AQ){var AR=h.$(AC.target);var AS=J.createElement("div");AR.parentNode.insertBefore(AS,AR);h.replaceWith(AS,t(AQ))}function AL(AQ){var AR=h.$(AC.target);var AS=J.createElement("div");AR.parentNode.insertBefore(AS,AR);h.replaceWith(AS,t(AQ)+"\n")}function AF(AR){var AQ=J.createElement("div");AJ.push({id:AR,el:AQ});AQ.contentWindow={document:new p()};return AQ}function AM(AS){var AQ=h.$(AC.target);var AR=J.createElement("div");AQ.parentNode.insertBefore(AR,AQ);h.replaceWith(AR,Q.out);Q.out="";return E?Q.getEl.call(J,AS):Q.getEl(AS)}function AD(AR){var AQ=E?Q.getEl.call(J,AR):Q.getEl(AR);return AQ||findEl(AR)}return Q}function x(Q){J.write=Q.write;J.writeln=Q.writeln;if(Q.getEl){J.getElementById=Q.getEl}return Q.out}function q(Q){return Q&&Q.replace(/^\s*<!(\[CDATA\[|--)/,"").replace(/(\]\]|--)>\s*$/,"")}function B(){}function D(AB,Q){}var L=W(A.console&&console.error)?D:B;function u(AC,AB,Q){var AD=Z(AB,Q);try{c(q(AC))}catch(AE){L(AC,AE)}finally{x(AD)}return AD}function r(AB){var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(AB);return Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)}function v(Q){return new RegExp("[\\s\\r\\n]"+Q+"=(?:([\"'])([\\s\\S]*?)\\1|([^\\s>]+))","i")}function K(Q){var AB=v(Q);return function(AC){var AD=AB.exec(AC)||[];return AD[2]||AD[3]}}var S=/(<script[^>]*>)([\s\S]*?)<\/script>/ig,e=/<script[^>]*\/>/ig,N=v("src"),z=K("src"),R=K("type"),AA=K("language"),f="__document_write_ajax_callbacks__",d="__document_write_ajax_div-",G="window['"+f+"']['%d']();",M=A[f]={},Y='<script type="text/javascript">'+G+"<\/script>",k=0;function C(){return(++k).toString()}function j(AB,AC){var Q;if(W(AB)){Q=AB;AB=null}AB=AB||{};Q=Q||AB&&AB.done;AB.done=AC?function(){AC(Q)}:Q;return AB}var b=new I();var a=[];var F=window._debugWriteCapture?function(){}:function(Q,AC,AB){a.push({type:Q,src:AC,data:AB})};var n=window._debugWriteCapture?function(){}:function(){a.push(arguments)};function y(Q){var AB=C();M[AB]=function(){Q();delete M[AB]};return AB}function m(Q){return Y.replace(/%d/,y(Q))}function t(AF,AJ,AC,AH){var AG=AC&&new I(AC)||b;AJ=j(AJ);var AE=T("done",AJ);var Q="";var AB=T("fixUrls",AJ);if(!W(AB)){AB=function(AK){return AK}}if(W(AE)){Q=m(function(){AG.push(AE)})}return AF.replace(S,AI).replace(e,AD)+Q;function AD(AK){return AI(AK,AK.substring(0,AK.length-2)+">","")}function AI(AM,AX,AL){var AQ=z(AX),AP=R(AX)||"",Ae=AA(AX)||"",Ad=(!AP&&!Ae)||AP.toLowerCase().indexOf("javascript")!==-1||Ae.toLowerCase().indexOf("javascript")!==-1;F("replace",AQ,AM);if(!Ad){return AM}var AY=y(AS),AR=d+AY,AW,AO={target:"#"+AR,parent:AH};function AS(){AG.push(AW)}if(AQ){AQ=AB(AQ);AX=AX.replace(N,"");if(r(AQ)){AW=Ac}else{if(T("asyncAll",AJ)){AW=Ab()}else{AW=AV}}}else{AW=Aa}function Aa(){AK(AL)}function AV(){h.ajax({url:AQ,type:"GET",dataType:"text",async:false,success:function(Af){AK(Af)}})}function AN(Ah,Af,Ag){L("<XHR for "+AQ+">",Ag);AG.resume()}function AT(){return m(function(){AG.resume()})}function Ab(){var Ah,Ag;function Af(Aj,Ai){if(!Ah){Ag=Aj;return }try{AK(Aj,AT())}catch(Ak){L(Aj,Ak)}}h.ajax({url:AQ,type:"GET",dataType:"text",async:true,success:Af,error:AN});return function(){Ah=true;if(Ag){AK(Ag)}else{AG.pause()}}}function Ac(Af){var Ah=Z(AO,AJ);AG.pause();F("pause",AQ);h.ajax({url:AQ,type:"GET",dataType:"script",success:Ag,error:AN});function Ag(Ak,Aj,Ai){F("out",AQ,Ah.out);AU(x(Ah),m(Ah.finish)+AT());F("resume",AQ)}}function AK(Ag,Af){var Ah=u(Ag,AO,AJ);Af=m(Ah.finish)+(Af||"");AU(Ah.out,Af)}function AZ(Af){var Ah={};for(var Ag in Af){if(Af.hasOwnProperty(Ag)){Ah[Ag]=Af[Ag]}}delete Ah.done;return Ah}function AU(Ag,Af){h.replaceWith(AO.target,t(Ag,AZ(AJ),AG,AO)+(Af||""))}return'<div style="display: none" id="'+AR+'"></div>'+AX+G.replace(/%d/,AY)+"<\/script>"}}function i(AB,AC){var Q=b;s(AB,function(AD){Q.push(AE);function AE(){AD.action(t(AD.html,AD.options,Q),AD)}});if(AC){Q.push(AC)}}function w(Q){var AB=Q;while(AB&&AB.nodeType===1){Q=AB;AB=AB.lastChild;while(AB&&AB.nodeType!==1){AB=AB.previousSibling}}return Q}function H(Q){var AC=J.write,AF=J.writeln,AB,AD=[];J.writeln=function(AG){J.write(AG+"\n")};var AE;J.write=function(AH){var AG=w(J.body);if(AG!==AB){AB=AG;AD.push(AE={el:AG,out:[]})}AE.out.push(AH)};h.onLoad(function(){var AJ,AM,AH,AL,AK;Q=j(Q);AK=Q.done;Q.done=function(){J.write=AC;J.writeln=AF;if(AK){AK()}};for(var AI=0,AG=AD.length;AI<AG;AI++){AJ=AD[AI].el;AM=J.createElement("div");AJ.parentNode.insertBefore(AM,AJ.nextSibling);AH=AD[AI].out.join("");AL=AG-AI===1?t(AH,Q):t(AH);h.replaceWith(AM,AL)}})}function X(AF){var AG=document.getElementsByTagName("script"),AM,AB,AK,Q,AC,AE,AD=0,AI=AF?m(function(){if(++AD>=AH.length){AF()}}):"",AH=[];for(var AJ=0,AL=AG.length;AJ<AL;AJ++){AM=AG[AJ];AC=AM.getAttribute("extsrc");AE=AM.getAttribute("asyncsrc");if(AC||AE){AH.push({ext:AC,async:AE,s:AM})}}for(AJ=0,AL=AH.length;AJ<AL;AJ++){AB=AH[AJ];if(AB.ext){AK='<script type="text/javascript" src="'+AB.ext+'"> <\/script>';h.replaceWith(AB.s,t(AK)+AI)}else{if(AB.async){AK='<script type="text/javascript" src="'+AB.async+'"> <\/script>';h.replaceWith(AB.s,t(AK,{asyncAll:true},new I())+AI)}}}}var U="writeCapture";var O=A[U]={_original:A[U],support:h,fixUrls:function(Q){return Q.replace(/&amp;/g,"&")},noConflict:function(){A[U]=this._original;return this},debug:a,proxyGetElementById:false,_forTest:{Q:I,GLOBAL_Q:b,$:h,matchAttr:K,slice:V,capture:Z,uncapture:x,captureWrite:u},replaceWith:function(Q,AC,AB){h.replaceWith(Q,t(AC,AB))},html:function(Q,AD,AB){var AC=h.$(Q);AC.innerHTML="<span/>";h.replaceWith(AC.firstChild,t(AD,AB))},load:function(Q,AC,AB){h.ajax({url:AC,dataType:"text",type:"GET",success:function(AD){O.html(Q,AD,AB)}})},extsrc:X,autoAsync:H,sanitize:t,sanitizeSerial:i}})(this.writeCaptureSupport,this);(function(G,D,N){var C={html:H};G.each(["append","prepend","after","before","wrap","wrapAll","replaceWith","wrapInner"],function(){C[this]=I(this)});function A(Q){return Object.prototype.toString.call(Q)=="[object String]"}function P(U,T,S,R){if(arguments.length==0){return O.call(this)}var Q=C[U];if(U=="load"){return L.call(this,T,S,R)}if(!Q){J(U)}return B.call(this,T,S,Q)}G.fn.writeCapture=P;var K="__writeCaptureJsProxied-fghebd__";function O(){if(this[K]){return this}var R=this;function Q(){var T=this,S=false;this[K]=true;G.each(C,function(V){var U=R[V];if(!U){return }T[V]=function(Y,X,W){if(!S&&A(Y)){try{S=true;return P.call(T,V,Y,X,W)}finally{S=false}}return U.apply(T,arguments)}});this.pushStack=function(){return O.call(R.pushStack.apply(T,arguments))};this.endCapture=function(){return R}}Q.prototype=R;return new Q()}function B(T,S,U){var Q,R=this;if(S&&S.done){Q=S.done;delete S.done}else{if(G.isFunction(S)){Q=S;S=null}}D.sanitizeSerial(G.map(this,function(V){return{html:T,options:S,action:function(W){U.call(V,W)}}}),Q&&function(){Q.call(R)}||Q);return this}function H(Q){G(this).html(Q)}function I(Q){return function(R){G(this)[Q](R)}}function L(T,S,V){var R=this,Q,U=T.indexOf(" ");if(U>=0){Q=T.slice(U,T.length);T=T.slice(0,U)}if(G.isFunction(V)){S=S||{};S.done=V}return G.ajax({url:T,type:S&&S.type||"GET",dataType:"html",data:S&&S.params,complete:F(R,S,Q)})}function F(R,S,Q){return function(U,T){if(T=="success"||T=="notmodified"){var V=M(U.responseText,Q);B.call(R,V,S,H)}}}var E=/jquery-writeCapture-script-placeholder-(\d+)-wc/g;function M(S,R){if(!R||!S){return S}var T=0,Q={};return G("<div/>").append(S.replace(/<script(.|\s)*?\/script>/g,function(U){Q[T]=U;return"jquery-writeCapture-script-placeholder-"+(T++)+"-wc"})).find(R).html().replace(E,function(U,V){return Q[V]})}function J(Q){throw"invalid method parameter "+Q}G.writeCapture=D})(jQuery,writeCapture.noConflict());var DartHeader=(function(F){var G,B,R,I,L,K,D,C=window.ord||Math.floor(Math.random()*10000000000000000),P,E;function M(){var S=F("html").attr("data-rsc")?F("html").attr("data-rsc"):"";return S}function J(){B=new Cookie({name:"oatmeal",path:"/",pairDelimiter:"&",keyValueDelimiter:"="});B.read();R=new Cookie({name:"sugar",path:"/",pairDelimiter:"&",keyValueDelimiter:"="});R.read();E=R.get("ftu")?R.get("ftu"):false;I=B.get("p")?";planid="+B.get("p"):"";L=B.get("bp")?";bonusplanid="+B.get("bp"):"";K=B.get("t")?";fref="+B.get("t"):"";D=";rs="+M()}function A(){var T=location.pathname+location.search+location.hash;var S;if(T.indexOf("listen/#/")!=-1){T=T.replace("listen/#/","")}T=T.split("/");S=T[1].indexOf(".")!=-1?T[1].substring(0,T[1].indexOf(".")):T[1];S=";cat="+S;return S}function H(){var T="",S=F("html").attr("data-guestmember");if(S){T=";gm="+S}return T}function Q(){var S;if(location.hostname.indexOf("emusic-test")!=-1){S="http://ad.doubleclick.net/N5421/adj/DEV_SiteBanner"}else{S="http://ad.doubleclick.net/N5421/adj/SiteBanner"}P=['<script type="text/javascript" src="',S,I,L,K,A(),D,H(),";sz=992x98;ord=",C,'?"><\/script>'].join("")}function N(){if(E==="true"){G.writeCapture().html(P)}}function O(){G=F("#dart-site-banner");J();Q();N()}return{init:O}})(jQuery);(function(A){if(A.hashsignal){A.hashsignal.registerTransition("dartHeader.js",["PAGEJS"],{alwaysReload:true,load:function(){DartHeader.init(A)}})}})(jQuery);
