(function(){jQuery.expr[":"].regex=function(g,d,c){var h=c[3].split(","),b=/^(data|css|elem):/,a={method:h[0].match(b)?h[0].split(":")[0]:"attr",property:h.shift().replace(b,"")},f="ig",e=new RegExp(h.join("").replace(/^\s+|\s+$/g,""),f);return e.test(a.method=="elem"?g[a.property]:jQuery(g)[a.method](a.property))}})();(function(a){a.fn.bgIframe=a.fn.bgiframe=function(c){if(a.browser.msie&&/6.0/.test(navigator.userAgent)){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},c||{});var d=function(e){return e&&e.constructor==Number?e+"px":e},b='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(c.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":d(c.top))+";left:"+(c.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":d(c.left))+";width:"+(c.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":d(c.width))+";height:"+(c.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":d(c.height))+';"/>';return this.each(function(){if(a("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(b),this.firstChild)}})}return this}})(jQuery);function popUp(a,b){c1.common.popUpUrl(a,b)}function showOverlay(b,c,e,a,d){c1.common.showOverlay(b,c,e,a,d)}(function(b){var a=function(){if(b.browser.msie&&b.browser.version.substr(0,1)<=7){b("q").prepend('"').append('"')}b("a.button-print, div.print").click(function(){window.print()});b("input.c1-v-numeric").keypress(c1.common.numericKeyPress);b("input.c1-auto-tab[maxlength]").keyup(c1.common.autoTabInputWithMaxLength);c1.common.assignPops();c1.common.prepareBubbleHelp();if(b.browser.msie&&b.browser.version.substr(0,1)<7){b("#nv li").hover(function(){b(this).addClass("sfhover")},function(){b(this).removeClass("sfhover")})}if(b.browser.msie&&b.browser.version.substr(0,1)<=6){b("#nv li ul").bgiframe()}b("#nv a").focus(function(){b(this).parents("li").addClass("sfhover")}).blur(function(){b(this).parents("li").removeClass("sfhover")})};b(document).ready(a)})(jQuery);(function(){var b={};var c=this,e;if($.ui){var d=$.ui.dialog.defaults;if(d==null||d=="undefined"){d=$.ui.dialog.prototype.options}d.bgiframe=true;d.modal=true}$(":button.btn,:button.btn-h,:submit.btn,:submit.btn-h").replaceWith(function(){var f=document.createElement("a");var g=$(f);g.addClass($(this).attr("class"));g.click(function(){$(this).parents("form").submit()});g.html("<span>"+$(this).val()+"</span>");return f});var a={execWhenReady:function(f,g){c1.common.execWhenReady(f,g)},setReady:function(f){c1.common.setReady(f)},common:{documentReady:function(){},assignPops:function(){$("a.pop1").click(function(f){c1.common.popUpUrl($(this).attr("href"),1);f.preventDefault()});$("a.pop2").click(function(f){c1.common.popUpUrl($(this).attr("href"),2);f.preventDefault()});$("a.pop3").click(function(f){c1.common.popUpUrl($(this).attr("href"),3);f.preventDefault()});$("a.pop4").click(function(f){c1.common.popUpUrl($(this).attr("href"),4);f.preventDefault()});$("a.pop5").click(function(f){c1.common.popUpUrl($(this).attr("href"),5);f.preventDefault()});$("a.pop6").click(function(f){c1.common.popUpUrl($(this).attr("href"),6);f.preventDefault()});$("a.pop7").click(function(f){c1.common.popUpUrl($(this).attr("href"),7);f.preventDefault()});$("a.pop8").click(function(f){c1.common.popUpUrl($(this).attr("href"),8);f.preventDefault()});$("a.pop9").click(function(f){c1.common.popUpUrl($(this).attr("href"),9);f.preventDefault()});$("a.pop10").click(function(f){c1.common.popUpUrl($(this).attr("href"),10);f.preventDefault()});$("a.pop11").click(function(f){c1.common.popUpUrl($(this).attr("href"),11);f.preventDefault()});$("a.pop12").click(function(f){c1.common.popUpUrl($(this).attr("href"),12);f.preventDefault()});$("a.pop13").click(function(f){c1.common.popUpUrl($(this).attr("href"),13);f.preventDefault()})},autoTabInputWithMaxLength:function(h){var j=function(p){var q=-1,r=0;while(r<p.form.length&&q==-1){if(p.form[r]==p){q=r}else{r++}}return q};var m=h.which;var f=[0,8,9,16,17,18,37,38,39,40,46];var l=this;var g=$(this).attr("maxlength");if(l.value.length>=g&&$.inArray(m,f)==-1){l.value=l.value.slice(0,g);var o=false,i=1,n=j(l);while(!o){try{if(n+i<=l.form.length){l.form[(n+i)%l.form.length].focus()}o=true}catch(k){i++}}}},execWhenReady:function(f,g){if(b[f]!==e){g();return}$(a).queue(f,function(){g();$(this).dequeue(f)})},numericKeyPress:function(f){var g=f.which;if(g==8||g==0){}else{if(g<45||g>57){f.preventDefault()}}},openDialog:function(g){var f=$(c).scrollTop();$(g).dialog("open").dialog("moveToTop");if($.browser.msie&&$.browser.version.substr(0,1)<8){scroll(0,f)}},openWindow:function(f,g,h,p,k,o,j,m,q){var n=0,l=0;if(screen.availWidth){n=(parseInt(screen.availHeight)-p)/2;l=(parseInt(screen.availWidth)-h)/2}else{n=(parseInt(screen.height)-p)/2;l=(parseInt(screen.width)-h)/2}var i="directories=0";i+=",top="+n;i+=",left="+l;i+=",height="+p;i+=",width="+h;i+=",menubar="+((j)?"yes":"no");i+=",toolbar="+((j)?"yes":"no");i+=",location="+((j)?"yes":"no");i+=",status="+((m)?"yes":"no");i+=",scrollbars="+((o)?"yes":"no");i+=",resizable="+((k)?"yes":"no");i+=","+q.toString();if(g.toLowerCase().indexOf("popup")==-1){g+="PopUp"}c[g]=c.open(f,g,i,true);c.setTimeout("window['"+g+"'].focus()",100);return c[g]},popUpUrl:function(f,g){if(g==null){g=0}switch(parseInt(g)){case 0:case 1:return c1.common.openWindow(f,"Medium",520,420,true,true,false,false,"");case 2:return c1.common.openWindow(f,"HelpCenter",574,520,true,true,false,false,"");case 3:return c1.common.openWindow(f,"MediaPlayer",359,384,false,false,false,false,"");case 4:return c1.common.openWindow(f,"DigSigAgreement",820,550,true,true,true,true,"");case 5:return c1.common.openWindow(f,"Chat",580,450,true,true,true,true,"");case 6:return c1.common.openWindow(f,"Tall",520,620,true,true,false,false,"");case 7:return c1.common.openWindow(f,"PaymentDate",874,580,true,true,false,false,"");case 8:return c1.common.openWindow(f,"Short",520,310,true,true,false,false,"");case 9:return c1.common.openWindow(f,"MediaPlayer",359,440,false,false,false,false,"");case 10:return c1.common.openWindow(f,"ExitSurvey",750,580,true,true,false,false,"");case 11:return c1.common.openWindow(f,"Privacy",574,480,true,true,false,false,"");case 12:return c1.common.openWindow(f,"LicensingAndDisclosures",750,445,false,false,false,false,"");case 13:return c1.common.openWindow(f,"SendToAFriend",550,435,false,false,false,false,"")}},addBookmark:function(g,f){if(c.chrome){alert("Press Ctrl+D to bookmark")}else{if(c.sidebar){c.sidebar.addPanel(g,f,"")}else{if(c.external){c.external.AddFavorite(f,g)}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(f){f.preventDefault()});c1.common.toolTip("a[title]:not(.nosweettitle)","toolTip")},setReady:function(f){b[f]=true;$(a).dequeue(f)},showOverlay:function(h,j,l,g,k){var i=$("#dialog");var f=i[0];if(arguments.length==0||!j){if(f){i.dialog("close")}return}if(f){i.dialog("close");i.dialog("destroy")}else{f=document.createElement("div");f.id="dialog";f.style.display="none";document.body.appendChild(f);i=$("#dialog")}if(!l){f.title=""}else{f.title=l}f.innerHTML=j;var m=$(c).scrollTop();i.dialog({width:h+1,close:function(n,o){$(this).html("")}});if($.browser.msie&&$.browser.version.substr(0,1)<8){scroll(0,m)}},toolTip:function(g,f){$(g).each(function(l){var j=$(this).attr("title");$("body").append("<div style='display:none' class='"+f+"' id='"+f+l+"'><p>"+j+"</p><span class='Balloon' height='10'>&nbsp;</span></div>");var k=$("#"+f+l);if(j!=""&&j!==e){$(this).addClass(f).removeAttr("title").mouseover(function(i){k.css({display:"none",left:i.pageX+15,top:i.pageY+15}).show()}).mouseout(function(){k.hide()})}});try{if($.browser.msie&&$.browser.version.substr(0,1)==6){$("."+f).bgiframe({height:"expression(this.parentNode.offsetWidth+20+'px')"})}}catch(h){}}},debtReliefPlans:{docReady:function(){$("div#options",$("div#debtreliefplanselector")).click(function(f){c1.debtReliefPlans.showSection("options")});$("div#choosing",$("div#debtreliefplanselector")).click(function(f){c1.debtReliefPlans.showSection("choosingaplan")});$("div#howwehelp",$("div#debtreliefplanselector")).click(function(f){c1.debtReliefPlans.showSection("howwehelp")});$("span.subsectionlink",$("div#debtreliefplans")).click(function(f){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(){c.location="/guides/how-we-can-help.aspx"});$("div#adstartnow").click(function(){c.location="/ico/begin.aspx"})},showVideo:function(f){if(f=="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="+f+"'></iframe>","",true,false)}else{if(f=="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="+f+"'></iframe>","",true,false)}}},showSection:function(f){$("div.debtreliefsections",$("div#debtreliefplans")).hide();$("div#"+f,$("div#debtreliefplans")).show();switch(f){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(g){var f=g.replace("link","");$("div#"+f).toggle();if($("span#"+g).hasClass("plus0")){$("span#"+g).removeClass("plus0").addClass("minus0")}else{$("span#"+g).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(f){c1.common.openDialog("#paperCopyOverlay")});$("#hardwareSoftwareOverlayLink").click(function(f){c1.common.openDialog("#hardwareSoftwareOverlay")});$("a#ViewDocsLink").click(function(f){a1.omniture.trackLink2("DigSig Doc Download",false)});$("a#ClickHereForHtmlLink").click(function(f){a1.omniture.trackLink2("DigSig Doc Download (Html)",false)})}},guide:{downloadHeader:{docReady:function(g){var i=null;var f=null;var h=null;switch(g){case"DmpDspCompare":i="dmp-dsp-compare.pdf";f="dmp-dsp-guide_g.jpg";h="Guide Download: DMP DSP Compare";break;case"DmpDspSwitch":i="dmp-dsp-switch.pdf";f="dmp-dsp-switch-guide_g.jpg";h="Guide Download: DMP DSP Switch";break;case"DspBankruptcyCompare":i="dsp-bankruptcy-comparison.pdf";f="dsp-settlement-guide_g.jpg";h="Guide Download: DSP Bankruptcy Compare";break;case"MyCareOneQuickGuide":i="mycareone-quick-guide.pdf";f="mycareone-guide_g.jpg";h="Guide Download: MyC1 Quick Guide";break;case"NineThingsDsp":i="9-things-dsp.pdf";f="nine-things-guide_g.jpg";h="Guide Download: Nine Things DSP";break;case"TenThingsDmp":i="10-things-dmp.pdf";f="ten-things-guide_g.jpg";h="Guide Download: Ten Things DMP";break;default:break}if(i!=null){$("div#guidedownloadheader").css("background-image","url(../content/standard/images/guide/"+f+")");$("div#downloadbutton").click(function(j){a1.omniture.trackLink(h);c1.common.openWindow("/content/standard/guide/"+i,"",screen.width,screen.height,true,true,true,true,"")})}}},rail:{docReady:function(f){switch(f){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(f){c1.guide.downloadHeader.docReady(f);c1.guide.rail.docReady(f)}},session:{startTimer:function(i,g,f){var h=a.session;h.offset=i;h.warning=g;h.timeoutUrl=f;h.setTimeout()},setTimeout:function(){var f=a.session;var g=function(){alert("In order to protect your security, your session will timeout in "+f.offset+" minutes. Press OK to continue your session.");c.frames.SessionFrame.AnchorClick()};c.setTimeout(g,f.warning)},redirectLogout:function(){document.location=a.session.timeoutUrl}},aboutus:{landing:{docReady:function(){$(".about-us-block").mouseover(function(){$(this).addClass("mouseover");$(this).css("cursor","pointer")});$(".about-us-block").mouseout(function(){$(this).removeClass("mouseover");$(this).css("cursor","default")});$(".about-us-block").click(function(){var f=$(this).attr("id");var g=c.location.href;switch(f){case"who-block":g="../about-us/who-we-are.aspx";break;case"help-block":g="../guides/how-we-can-help.aspx";break;case"begin-block":g="../ico/begin.aspx";break;case"giving-block":g="../givingback/buildingastrongcommunity.aspx";break;case"media-block":g="../mediacoverage/home.aspx";break;case"success-block":g="../successstories/home.aspx";break}c.location.href=g})}}}};if(c.c1){$.extend(true,c.c1,a)}else{c.c1=a}$(document).ready(c1.common.documentReady)})();
