function popUp(a,b){c1.common.popUpUrl(a,b)}(function(){var b={};var a={execWhenReady:function(c,d){c1.common.execWhenReady(c,d)},setReady:function(c){c1.common.setReady(c)},common:{documentReady:function(){c1.common.prepareBubbleHelp()},assignPops:function(){$("a.pop1").click(function(c){c1.common.popUpUrl($(this).attr("href"),1);c.preventDefault()});$("a.pop2").click(function(c){c1.common.popUpUrl($(this).attr("href"),2);c.preventDefault()});$("a.pop3").click(function(c){c1.common.popUpUrl($(this).attr("href"),3);c.preventDefault()});$("a.pop4").click(function(c){c1.common.popUpUrl($(this).attr("href"),4);c.preventDefault()});$("a.pop5").click(function(c){c1.common.popUpUrl($(this).attr("href"),5);c.preventDefault()});$("a.pop6").click(function(c){c1.common.popUpUrl($(this).attr("href"),6);c.preventDefault()});$("a.pop7").click(function(c){c1.common.popUpUrl($(this).attr("href"),7);c.preventDefault()});$("a.pop8").click(function(c){c1.common.popUpUrl($(this).attr("href"),8);c.preventDefault()});$("a.pop9").click(function(c){c1.common.popUpUrl($(this).attr("href"),9);c.preventDefault()});$("a.pop10").click(function(c){c1.common.popUpUrl($(this).attr("href"),10);c.preventDefault()});$("a.pop11").click(function(c){c1.common.popUpUrl($(this).attr("href"),11);c.preventDefault()});$("a.pop12").click(function(c){c1.common.popUpUrl($(this).attr("href"),12);c.preventDefault()})},execWhenReady:function(c,d){if(b[c]!==undefined){d();return}$(a).queue(c,function(){d();$(this).dequeue(c)})},openDialog:function(d){var c=$(window).scrollTop();$(d).dialog("open").dialog("moveToTop");if($.browser.msie&&$.browser.version.substr(0,1)<8){scroll(0,c)}},openWindow:function(c,d,e,m,h,l,g,j,n){var k=0,i=0;if(screen.availWidth){k=(parseInt(screen.availHeight)-m)/2;i=(parseInt(screen.availWidth)-e)/2}else{k=(parseInt(screen.height)-m)/2;i=(parseInt(screen.width)-e)/2}var f="directories=0";f+=",top="+k;f+=",left="+i;f+=",height="+m;f+=",width="+e;f+=",menubar="+((g)?"yes":"no");f+=",toolbar="+((g)?"yes":"no");f+=",location="+((g)?"yes":"no");f+=",status="+((j)?"yes":"no");f+=",scrollbars="+((l)?"yes":"no");f+=",resizable="+((h)?"yes":"no");f+=","+n.toString();if(d.toLowerCase().indexOf("popup")==-1){d+="PopUp"}window[d]=window.open(c,d,f,true);window.setTimeout("window['"+d+"'].focus()",100);return window[d]},popUpUrl:function(c,d){if(d==null){d=0}switch(parseInt(d)){case 0:case 1:return c1.common.openWindow(c,"Medium",520,420,true,true,false,false,"");case 2:return c1.common.openWindow(c,"HelpCenter",574,520,true,true,false,false,"");case 3:return c1.common.openWindow(c,"MediaPlayer",359,384,false,false,false,false,"");case 4:return c1.common.openWindow(c,"DigSigAgreement",820,550,true,true,true,true,"");case 5:return c1.common.openWindow(c,"Chat",580,450,true,true,true,true,"");case 6:return c1.common.openWindow(c,"Tall",520,620,true,true,false,false,"");case 7:return c1.common.openWindow(c,"PaymentDate",874,580,true,true,false,false,"");case 8:return c1.common.openWindow(c,"Short",520,310,true,true,false,false,"");case 9:return c1.common.openWindow(c,"MediaPlayer",359,440,false,false,false,false,"");case 10:return c1.common.openWindow(c,"ExitSurvey",750,580,true,true,false,false,"");case 11:return c1.common.openWindow(c,"Privacy",574,480,true,true,false,false,"");case 12:return c1.common.openWindow(c,"LicensingAndDisclosures",750,445,false,false,false,false,"")}},addBookmark:function(d,c){if(window.chrome){alert("Press Ctrl+D to bookmark")}else{if(window.sidebar){window.sidebar.addPanel(d,c,"")}else{if(window.external){window.external.AddFavorite(c,d)}else{alert("Not supported in your browser. Please add bookmark manually.")}}}},prepareBubbleHelp:function(){$("a[title]:not(.nosweettitle)").mouseover(function(){this.style.cursor="default";this.style.textDecoration="none"});$("a[title]:not(.nosweettitle)").click(function(c){c.preventDefault()});c1.common.toolTip("a[title]:not(.nosweettitle)","toolTip")},setReady:function(c){b[c]=true;$(a).dequeue(c)},showOverlay:function(e,g,i,d,h){var f=$("#dialog");var c=f[0];if(arguments.length==0||!g){if(c){f.dialog("close")}return}if(c){f.dialog("close");f.dialog("destroy")}else{c=document.createElement("div");c.id="dialog";c.style.display="none";document.body.appendChild(c);f=$("#dialog")}if(!i){c.title=""}else{c.title=i}c.innerHTML=g;var j=$(window).scrollTop();f.dialog({width:e+1,close:function(k,l){$(this).html("")}});if($.browser.msie&&$.browser.version.substr(0,1)<8){scroll(0,j)}},toolTip:function(d,c){$(d).each(function(h){var e=$(this).attr("title");$("body").append("<div style='display:none' class='"+c+"' id='"+c+h+"'><p>"+e+"</p><span class='Balloon' height='10'>&nbsp;</span></div>");var g=$("#"+c+h);if(e!=""&&e!==undefined){$(this).addClass(c).removeAttr("title").mouseover(function(i){g.css({display:"none",left:i.pageX+15,top:i.pageY+15}).show()}).mouseout(function(){g.hide()})}});try{if($.browser.msie&&$.browser.version.substr(0,1)==6){$("."+c).bgiframe({height:"expression(this.parentNode.offsetWidth+20+'px')"})}}catch(f){}}},debtReliefPlans:{docReady:function(){$("div#options",$("div#debtreliefplanselector")).click(function(c){c1.debtReliefPlans.showSection("options")});$("div#choosing",$("div#debtreliefplanselector")).click(function(c){c1.debtReliefPlans.showSection("choosingaplan")});$("div#howwehelp",$("div#debtreliefplanselector")).click(function(c){c1.debtReliefPlans.showSection("howwehelp")});$("span.subsectionlink",$("div#debtreliefplans")).click(function(c){c1.debtReliefPlans.toggleSubSection(this.id)});$("div.videolink",$("div#debtreliefplans")).hover(function(){$(this).addClass("videolinkhover")},function(){$(this).removeClass("videolinkhover")}).click(function(){c1.debtReliefPlans.showVideo($(this).attr("video"))});$("p.videowatchlink",$("div#debtreliefplans")).hover(function(){$(this).css("text-decoration","underline")},function(){$(this).css("text-decoration","none")}).click(function(){c1.debtReliefPlans.showVideo($(this).attr("video"))});$("div#adstartnow",$("div#debtreliefplans div#rightcontent")).hover(function(){$(this).addClass("adstartnowhover")},function(){$(this).removeClass("adstartnowhover")});$("div#addebtplansguide").click(function(){window.location="/guides/how-we-can-help.aspx"});$("div#adstartnow").click(function(){window.location="/ico/begin.aspx"})},showVideo:function(c){if(c=="dmp"){c1.common.showOverlay(320,"<iframe id='videoFrame' height='211px' width='320px' scrolling='no' bordercolor='transparent' alltransparency='true' frameborder='no' src='../ico/overlay/paymentinfovideo.aspx?video="+c+"'></iframe>","",true,false)}else{if(c=="dsp"){c1.common.showOverlay(282,"<iframe id='videoFrame' height='211px' width='282px' scrolling='no' bordercolor='transparent' alltransparency='true' frameborder='no' src='../ico/overlay/paymentinfovideo.aspx?video="+c+"'></iframe>","",true,false)}}},showSection:function(c){$("div.debtreliefsections",$("div#debtreliefplans")).hide();$("div#"+c,$("div#debtreliefplans")).show();switch(c){case"options":$("div#debtreliefplanselector").css("background-position","0 0");break;case"choosingaplan":$("div#debtreliefplanselector").css("background-position","0 -181px");break;case"howwehelp":$("div#debtreliefplanselector").css("background-position","0 -362px");break;default:$("div#debtreliefplanselector").css("background-position","0 0");break}},toggleSubSection:function(d){var c=d.replace("link","");$("div#"+c).toggle();if($("span#"+d).hasClass("plus0")){$("span#"+d).removeClass("plus0").addClass("minus0")}else{$("span#"+d).removeClass("minus0").addClass("plus0")}}},digsig:{docReady:function(){$("#paperCopyOverlay").dialog({width:450,height:200,resizable:false,autoOpen:false});$("#hardwareSoftwareOverlay").dialog({width:550,height:425,resizable:false,autoOpen:false});$("#paperCopyOverlayLink").click(function(c){c1.common.openDialog("#paperCopyOverlay")});$("#hardwareSoftwareOverlayLink").click(function(c){c1.common.openDialog("#hardwareSoftwareOverlay")});$("a#ViewDocsLink").click(function(c){a1.omniture.trackLink("DigSig Doc Download")});$("a#ClickHereForHtmlLink").click(function(c){a1.omniture.trackLink("DigSig Doc Download (Html)")})}},guide:{downloadHeader:{docReady:function(d){var f=null;var c=null;var e=null;switch(d){case"DmpDspCompare":f="dmp-dsp-compare.pdf";c="dmp-dsp-guide_g.jpg";e="Guide Download: DMP DSP Compare";break;case"DmpDspSwitch":f="dmp-dsp-switch.pdf";c="dmp-dsp-switch-guide_g.jpg";e="Guide Download: DMP DSP Switch";break;case"DspBankruptcyCompare":f="dsp-bankruptcy-comparison.pdf";c="dsp-settlement-guide_g.jpg";e="Guide Download: DSP Bankruptcy Compare";break;case"MyCareOneQuickGuide":f="mycareone-quick-guide.pdf";c="mycareone-guide_g.jpg";e="Guide Download: MyC1 Quick Guide";break;case"NineThingsDsp":f="9-things-dsp.pdf";c="nine-things-guide_g.jpg";e="Guide Download: Nine Things DSP";break;case"TenThingsDmp":f="10-things-dmp.pdf";c="ten-things-guide_g.jpg";e="Guide Download: Ten Things DMP";break;default:break}if(f!=null){$("div#guidedownloadheader").css("background-image","url(../content/standard/images/guide/"+c+")");$("div#downloadbutton").click(function(g){a1.omniture.trackLink(e);c1.common.openWindow("/content/standard/guide/"+f,"",screen.width,screen.height,true,true,true,true,"")})}}},rail:{docReady:function(c){switch(c){case"DmpDspCompare":$("a#dmpdspcompare").addClass("selected");break;case"DmpDspSwitch":$("a#dmpdspswitch").addClass("selected");break;case"DspBankruptcyCompare":$("a#dspbankruptcycompare").addClass("selected");break;case"MyCareOneQuickGuide":$("a#mycareonequickguide").addClass("selected");break;case"NineThingsDsp":$("a#ninethingsdsp").addClass("selected");break;case"TenThingsDmp":$("a#tenthingsdmp").addClass("selected");break;default:break}}},docReady:function(c){c1.guide.downloadHeader.docReady(c);c1.guide.rail.docReady(c)}},session:{startTimer:function(f,d,c){var e=a.session;e.offset=f;e.warning=d;e.timeoutUrl=c;e.setTimeout()},setTimeout:function(){var c=a.session;var d=function(){alert("In order to protect your security, your session will timeout in "+c.offset+" minutes. Press OK to continue your session.");window.frames.SessionFrame.AnchorClick()};window.setTimeout(d,c.warning)},redirectLogout:function(){document.location=a.session.timeoutUrl}}};if(window.c1){$.extend(true,window.c1,a)}else{window.c1=a}$(document).ready(c1.common.documentReady)})();
