if(typeof MstIncGlobal!="object"){var MstIncGlobal={}}if(typeof MstIncGlobal.cfg!="object"){MstIncGlobal.cfg={}}MstIncGlobal.scriptIncluded=true;MstIncGlobal.loadJS=function(a){document.write(String.fromCharCode(60)+'script type="text/javascript" src="'+a+'">/* */'+String.fromCharCode(60)+"/script>");return false};MstIncGlobal.trim=function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")};MstIncGlobal.cookie=function(d,e,b){if(arguments.length>1&&(e===null||typeof e!=="object")){if(!b||typeof b!="object"){b={}}if(e===null){b.expires=-1}if(typeof b.expires==="number"){var g=b.expires,c=b.expires=new Date();c.setDate(c.getDate()+g)}return(document.cookie=[encodeURIComponent(d),"=",b.raw?String(e):encodeURIComponent(String(e)),b.expires?"; expires="+b.expires.toUTCString():"",b.path?"; path="+b.path:"; path=/",b.domain?"; domain="+b.domain:"",b.secure?"; secure":""].join(""))}b=e||{};var a,f=b.raw?function(h){return h}:decodeURIComponent;return(a=new RegExp("(?:^|; )"+encodeURIComponent(d)+"=([^;]*)").exec(document.cookie))?f(a[1]):null};MstIncGlobal.urlVars=(function(){var d=[],c;var a=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(var b=0;b<a.length;b++){c=a[b].split("=");d.push(c[0]);d[c[0]]=c[1]}return d})();MstIncGlobal.Sha256={hash:function(m,x){x=(typeof x=="undefined")?true:x;if(x){m=MstIncGlobal.Utf8.encode(m)}var p=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];var q=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];m+=String.fromCharCode(128);var v=m.length/4+2;var n=Math.ceil(v/16);var o=new Array(n);for(var y=0;y<n;y++){o[y]=new Array(16);for(var w=0;w<16;w++){o[y][w]=(m.charCodeAt(y*64+w*4)<<24)|(m.charCodeAt(y*64+w*4+1)<<16)|(m.charCodeAt(y*64+w*4+2)<<8)|(m.charCodeAt(y*64+w*4+3))}}o[n-1][14]=((m.length-1)*8)/Math.pow(2,32);o[n-1][14]=Math.floor(o[n-1][14]);o[n-1][15]=((m.length-1)*8)&4294967295;var k=new Array(64),G,F,E,D,C,B,A,z;for(var y=0;y<n;y++){for(var s=0;s<16;s++){k[s]=o[y][s]}for(var s=16;s<64;s++){k[s]=(MstIncGlobal.Sha256.sigma1(k[s-2])+k[s-7]+MstIncGlobal.Sha256.sigma0(k[s-15])+k[s-16])&4294967295}G=q[0];F=q[1];E=q[2];D=q[3];C=q[4];B=q[5];A=q[6];z=q[7];for(var s=0;s<64;s++){var u=z+MstIncGlobal.Sha256.Sigma1(C)+MstIncGlobal.Sha256.Ch(C,B,A)+p[s]+k[s];var r=MstIncGlobal.Sha256.Sigma0(G)+MstIncGlobal.Sha256.Maj(G,F,E);z=A;A=B;B=C;C=(D+u)&4294967295;D=E;E=F;F=G;G=(u+r)&4294967295}q[0]=(q[0]+G)&4294967295;q[1]=(q[1]+F)&4294967295;q[2]=(q[2]+E)&4294967295;q[3]=(q[3]+D)&4294967295;q[4]=(q[4]+C)&4294967295;q[5]=(q[5]+B)&4294967295;q[6]=(q[6]+A)&4294967295;q[7]=(q[7]+z)&4294967295}return MstIncGlobal.Sha256.toHexStr(q[0])+MstIncGlobal.Sha256.toHexStr(q[1])+MstIncGlobal.Sha256.toHexStr(q[2])+MstIncGlobal.Sha256.toHexStr(q[3])+MstIncGlobal.Sha256.toHexStr(q[4])+MstIncGlobal.Sha256.toHexStr(q[5])+MstIncGlobal.Sha256.toHexStr(q[6])+MstIncGlobal.Sha256.toHexStr(q[7])},ROTR:function(b,a){return(a>>>b)|(a<<(32-b))},Sigma0:function(a){return MstIncGlobal.Sha256.ROTR(2,a)^MstIncGlobal.Sha256.ROTR(13,a)^MstIncGlobal.Sha256.ROTR(22,a)},Sigma1:function(a){return MstIncGlobal.Sha256.ROTR(6,a)^MstIncGlobal.Sha256.ROTR(11,a)^MstIncGlobal.Sha256.ROTR(25,a)},sigma0:function(a){return MstIncGlobal.Sha256.ROTR(7,a)^MstIncGlobal.Sha256.ROTR(18,a)^(a>>>3)},sigma1:function(a){return MstIncGlobal.Sha256.ROTR(17,a)^MstIncGlobal.Sha256.ROTR(19,a)^(a>>>10)},Ch:function(a,c,b){return(a&c)^(~a&b)},Maj:function(a,c,b){return(a&c)^(a&b)^(c&b)},toHexStr:function(d){var c="",a;for(var b=7;b>=0;b--){a=(d>>>(b*4))&15;c+=a.toString(16)}return c}};MstIncGlobal.Utf8={encode:function(a){var b=a.replace(/[\u0080-\u07ff]/g,function(e){var d=e.charCodeAt(0);return String.fromCharCode(192|d>>6,128|d&63)});b=b.replace(/[\u0800-\uffff]/g,function(e){var d=e.charCodeAt(0);return String.fromCharCode(224|d>>12,128|d>>6&63,128|d&63)});return b},decode:function(b){var a=b.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(e){var d=((e.charCodeAt(0)&15)<<12)|((e.charCodeAt(1)&63)<<6)|(e.charCodeAt(2)&63);return String.fromCharCode(d)});a=a.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(e){var d=(e.charCodeAt(0)&31)<<6|e.charCodeAt(1)&63;return String.fromCharCode(d)});return a}};MstIncGlobal.addLoadListener=function(b){if(typeof window.addEventListener!="undefined"){window.addEventListener("load",b,false)}else{if(typeof document.addEventListener!="undefined"){document.addEventListener("load",b,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onload",b)}else{var a=window.onload;if(typeof window.onload!="function"){window.onload=b}else{window.onload=function(){a();b()}}}}}};if(typeof jQuery=="undefined"){MstIncGlobal.loadJS("/mstinc/js/jquery-1_5.js")}MstIncGlobal.arrayIndexOf=function(e,c){if(e===void 0||e===null){return -1}var d=Object(e),a=d.length>>>0,f=0,b;if(a===0){return -1}if(arguments.length>0){f=Number(arguments[2]);if(f!==f){f=0}else{if(f!==0&&f!==(1/0)&&f!==-(1/0)){f=(f>0||-1)*Math.floor(Math.abs(f))}}}if(f>=a){return -1}b=(f>=0)?f:Math.max(a-Math.abs(f),0);for(;b<a;b++){if(b in d&&d[b]===c){return b}}return -1};MstIncGlobal.objectToString=function(d,h,c){var b="",f=function(i){for(var j in i){if(i.hasOwnProperty(j)){return true}}return false};if(!h){h=0}if(!c){c=[]}if(typeof d=="boolean"){return(d===true)?"true":"false"}if(typeof d=="string"){return'"'+d+'"'}if(typeof d=="number"){return d}if(typeof d=="function"){b+="<function>"}if(f(d)){if(typeof d=="function"){b+=" + properties: "}if(MstIncGlobal.arrayIndexOf(c,d)>-1){return"<recursive reference>"}else{c.push(d)}var a=true,g=0;for(property in d){if(g!=parseInt(property)){a=false}g++}b+=a?"[\n":"{\n";for(property in d){for(var e=0;e<h+1;e++){b+="	"}b+=property+": ";b+=arguments.callee(d[property],h+1,c);b+="\n"}for(var e=0;e<h;e++){b+="	"}b+=(a?"]":"}")}return b};MstIncGlobal.textToHTML=function(a){return a.replace(/\</g,"&lt;").replace(/\ /g,"&#160;").replace(/\t/g,"&#160;&#160;&#160;&#160;").replace(/\n/g,"<br />")};MstIncGlobal.browser={};(function(){var a=screen.width<screen.height?screen.width:screen.height;this.mobile=(a<=480)?true:false;if(this.mobile){MstIncGlobal.cookie("MstIncGlobal_mobile","true")}else{MstIncGlobal.cookie("MstIncGlobal_mobile","")}if(MstIncGlobal.urlVars.displayMode=="mobile"){if(!this.mobile){MstIncGlobal.cookie("MstIncGlobal_showMobileToDesktop","true");this.showMobileToDesktop=true}else{if(MstIncGlobal.cookie("MstIncGlobal_showDesktopToMobile")){MstIncGlobal.cookie("MstIncGlobal_showDesktopToMobile","")}}}else{if(MstIncGlobal.urlVars.displayMode=="full"){if(this.mobile){MstIncGlobal.cookie("MstIncGlobal_showDesktopToMobile","true");this.showDesktopToMobile=true}else{if(MstIncGlobal.cookie("MstIncGlobal_showMobileToDesktop")){MstIncGlobal.cookie("MstIncGlobal_showMobileToDesktop","")}}}else{if(MstIncGlobal.cookie("MstIncGlobal_showMobileToDesktop")=="true"){if(this.mobile){MstIncGlobal.cookie("MstIncGlobal_showMobileToDesktop","")}else{this.showMobileToDesktop=true}}else{if(MstIncGlobal.cookie("MstIncGlobal_showDesktopToMobile")=="true"){if(!this.mobile){MstIncGlobal.cookie("MstIncGlobal_showDesktopToMobile","")}else{this.showMobileToDesktop=true}}}}}this.touchDevice=(function(){try{document.createEvent("TouchEvent");MstIncGlobal.cookie("MstIncGlobal_touchDevice","true");return true}catch(b){MstIncGlobal.cookie("MstIncGlobal_touchDevice","");return false}})();this.iPhone=(navigator.userAgent.indexOf("iPhone")>-1||navigator.userAgent.indexOf("iPod")>-1)?true:false;this.iPad=(navigator.userAgent.indexOf("iPad")>-1)?true:false;this.android=(navigator.userAgent.indexOf("Android")>-1)?true:false;MstIncGlobal.cookie("MstIncGlobal_processedAgent","true")}).apply(MstIncGlobal.browser);MstIncGlobal.cfg.doFlexDiscoverability=(location.href.indexOf("/HB/FrameNavigationComponent.cgi")>-1&&(location.href.indexOf("layoutstyle=A")>-1||location.href.indexOf("layoutstyle=B")>-1)&&!MstIncGlobal.cfg.bypassDiscoverability)?true:false;if(MstIncGlobal.cfg.doFlexDiscoverability){if(MstIncGlobal.cookie("discotestpath")!=null?MstIncGlobal.Sha256.hash(MstIncGlobal.cookie("discotestpath"))=="5872a3861070395f4d6d76db39ca1cedd6bb5f5493b5524d87e4722d07ebf605":false){MstIncGlobal.loadJS(MstIncGlobal.cookie("discotestpath")+"discoverability.js")}else{MstIncGlobal.loadJS("/mstinc/discoverability/discoverability.js")}}MstIncGlobal.cfg.swapIFSLogo=true;MstIncGlobal.cfg.swapIFSLogoAlt="Intuit Financial Services";MstIncGlobal.cfg.swapIFSLogoLink="http://ifs.intuit.com/";MstIncGlobal.cfg.swapIFSLogoImage=false;MstIncGlobal.cfg.swapIFSLogoFilenames=new Array("intuit_100x22.png","intuit_120x25.png","logo_100x22.png","logo_120x25.png","logo_91x22.gif","logo_140x34.gif","logo_91x22.png","logo_140x34.png","di_140x34_1c_k.png","di_140x34_1c_w.png","di_140x34_2c.png","di_140x34_3c.png","di_91x22_1c_k.png","di_91x22_1c_w.png","di_91x22_2c.png","di_91x22_3c.png");MstIncGlobal.cfg.swapIFSLogoMapping=new Array();MstIncGlobal.cfg.swapIFSLogoMapping["intuit_100x22.png"]=false;MstIncGlobal.cfg.swapIFSLogoMapping["intuit_120x25.png"]=false;MstIncGlobal.cfg.swapIFSLogoMapping["logo_100x22.png"]=false;MstIncGlobal.cfg.swapIFSLogoMapping["logo_120x25.png"]=false;MstIncGlobal.cfg.swapIFSLogoMapping["logo_91x22.gif"]="logo_91x22.png";MstIncGlobal.cfg.swapIFSLogoMapping["logo_140x34.gif"]="logo_140x34.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_140x34_1c_k.png"]="logo_140x34.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_140x34_1c_w.png"]="logo_140x34.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_140x34_2c.png"]="logo_140x34.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_140x34_3c.png"]="logo_140x34.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_91x22_1c_k.png"]="logo_91x22.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_91x22_1c_w.png"]="logo_91x22.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_91x22_2c.png"]="logo_91x22.png";MstIncGlobal.cfg.swapIFSLogoMapping["di_91x22_3c.png"]="logo_91x22.png";if(MstIncGlobal.cfg.swapIFSLogo){MstIncGlobal.performLogoSwap=function(c){if(!MstIncGlobal.cfg.bypassLogoSwap){var a="";for(var b in MstIncGlobal.cfg.swapIFSLogoFilenames){if(typeof MstIncGlobal.cfg.swapIFSLogoFilenames[b]=="string"){if(b!=0){a+=","}a+="img[src$='"+MstIncGlobal.cfg.swapIFSLogoFilenames[b]+"']"}}jQuery(a).each(function(){if(typeof MstIncGlobal.cfg.swapIFSLogoAlt=="string"){this.alt=MstIncGlobal.cfg.swapIFSLogoAlt}if(typeof MstIncGlobal.cfg.swapIFSLogoLink=="string"){this.parentNode.href=MstIncGlobal.cfg.swapIFSLogoLink}if(MstIncGlobal.cfg.swapIFSLogoImage){var e=this.src.toString().split("/");var d=e[e.length-1];if(typeof MstIncGlobal.cfg.swapIFSLogoMapping[d]=="string"){this.src=this.src.replace(d,MstIncGlobal.cfg.swapIFSLogoMapping[d])}}})}};MstIncGlobal.addLoadListener(MstIncGlobal.performLogoSwap)}if(navigator.appVersion.indexOf("MSIE")>-1){var arVersion=navigator.appVersion.split("MSIE");var version=parseFloat(arVersion[1]);if(version<7&&version>=5.5&&typeof correctPNG!="function"){if(window.attachEvent){window.attachEvent("onload",function(){if(document.body.filters){for(var b=0;b<document.images.length;b++){var a=document.images[b];if(/png$/i.test(a.src)){a.style.height=a.height;a.style.width=a.width;a.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+a.src+"', sizingMethod='scale')";a.src="/mstinc/web/images/blank.gif";b--}}}})}}}MstIncGlobal.swapPoweredBySlogan=function(a){jQuery("#_poweredBySlogan").html("Powered by Intuit")};MstIncGlobal.addLoadListener(MstIncGlobal.swapPoweredBySlogan);MstIncGlobal.addMboxStylesheet=function(){jQuery(".mboxDefault").css({visibility:"visible"})};MstIncGlobal.addLoadListener(MstIncGlobal.addMboxStylesheet);
