collapseText = "Collapse All"; expandText = "Expand All"; var feaArr = new Array( "HDR", "Bill Management", "", "", "", "VAR", "E-Bills Available", "", "IMG", "IMG", "VAR", "Scanned Paper Bills", "", "", "IMG", "VAR", "View Bill Details", "", "IMG", "IMG", "VAR", "Run Reports", "IMG", "IMG", "IMG", "VAR", "Bill Arrival Alert", "", "IMG", "IMG", "VAR", "Bill Becoming Due Alert", "", "IMG", "IMG", "VAR", "Bill Not Received Alert", "", "IMG", "IMG", "VAR", "Payment Confirmation", "IMG", "IMG", "IMG", "VAR", "Print Copy of Bill", "", "IMG", "IMG", "VAR", "Online Notes", "IMG", "IMG", "IMG", "HDR", " Payment Features", "", "", "", "VAR", "Secure Site", "IMG", "IMG", "IMG", "VAR", "Service Pays eBills", "", "IMG", "IMG", "VAR", "Service Cuts Paper Checks", "IMG", "IMG", "IMG", "VAR", "Pay Anyone", "IMG", "IMG", "IMG", "VAR", "Pay from Checking Account", "IMG", "IMG", "IMG", "VAR", "Manual Authorization", "IMG", "IMG", "IMG", "VAR", "Automatic/Recurring Payments", "IMG", "IMG", "IMG", "VAR", "Multiple Pay Accounts Supported", "IMG", "IMG", "IMG", "VAR", "Use Any Bank", "IMG", "IMG", "IMG", "VAR", "Late Charges Covered if Fault of Service", "IMG", "IMG", "IMG", "VAR", "Payment History", "IMG", "IMG", "IMG", "VAR", "Included Transactions", "0", "0", "25", "VAR", "Additional Transactions", "$0.65", "$0.65", "$0.65", "HDR", "Records and Extras","", "", "", "VAR", "Keeps Records", "2 years","2 years","2 years", "VAR", "End of Year CD-Rom Available", "IMG", "IMG", "IMG", "HDR", "Technical Help/Support","", "", "", "VAR", "Telephone Support", "IMG", "IMG", "IMG", "VAR", "Email Support", "IMG", "IMG", "IMG", "VAR", "FAQ", "IMG", "IMG", "IMG"); function logoClick() { $("#odiv").click(function() { location.href = "index.shtml"; } ); } function parseGetVars() { var getVars = new Array(); var qString = top.location.search.substring(1); var pairs = qString.split(/\&/); for (var i in pairs) { var nameVal = pairs[i].split(/\=/); getVars[unescape(nameVal[0])] = unescape(nameVal[1]); } return getVars; } function loadMethod() { var GET = parseGetVars(); var _srckey = GET['srcid']; //yhptprm//ggptprm//default var ckval = 'RS1MF'; if(_srckey == 'yhptprm'){ ckval = 'YS1MF'; }else if (_srckey == 'ggptprm'){ ckval = 'GS1MF'; }else { ckval = 'RS1MF'; } setCookie("ptprmkey",ckval,1); } function setCookie(cookieName,cookieValue,nDays) { var today = new Date(); var expire = new Date(); if (nDays==null || nDays==0) nDays=1; expire.setTime(today.getTime() + 3600000*24*nDays); document.cookie = cookieName+"="+escape(cookieValue)+ ";logged_in=yes"; //+ ";logged_in=yes;expires="+expire.toGMTString(); } function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } function mainPageLoad() { var divarr = new Array("txt1", "txt2", "txt3", "txt4", "txt5"); var txtcont = new Array("



", "Complete Online Bill Pay

All-in-one bill pay that allows you to easily receive, pay and organize all your bills online.*
", "Online Bill Pay For All Your Bills

Easily receive all your paper and electronic bills in your online bill pay inbox.*", "Pay Bills To Anyone

Pay bills to anyone, even individuals. Paytrust's online bill pay technology will cut and send a check to anyone who doesn't accept electronic bills.*", "Pay Bills Online From Any Bank

With Paytrust online bill pay, you can make bill payments from up to 10 different funding accounts. You can choose to pay bills from any bank or brokerage account where you have check-writing privileges.**", "Pay Bills On Time

Paytrust online bill pay helps you to pay bills on time and avoid late fees. We will email you when a bill arrives, and remind you when the due date approaches.", "Track Online Bill Payments

With Paytrust online bill pay, you can see when a bill arrived and when it was paid. You can run complete reports of your online bill payments by payee, expense category, date or bill amount- and even attach comments or reminders to any bill payment for future reference.
" ); $("#txtcontent").html(txtcont[0] + txtcont[1]); jQuery.each(divarr, function(i) { $("#" + this).mouseover(function() { $("#txtcontent").html(txtcont[0] + txtcont[i+2]); $(this).css({'cursor' : 'pointer'}); }); $("#" + this).mouseout(function() { $("#txtcontent").html(txtcont[0] + txtcont[1]); //$(this).css({'background-color' : 'transparent'}); }); }); $('#bpmsign').css('cursor', 'pointer') .click( function(){ goToBPMUrl('https://billscenter.paytrust.com/','csp/CSPServlet/Login?brId=3004'); } ); //logoClick(); } function featuresPageLoad() { for (i=0; i < feaArr.length; i++) { var resu = ""; resu += "\n"; resu += "

" + feaArr[i+1] + "
\n"; } else { resu += "\">
" + feaArr[i+1] + "
\n"; } resu += "\n"; if (feaArr[i+2] == "IMG") { resu += "\n"; } else { resu += ""; } else { resu += "border-top: solid 1px #ffffff;\">"; } resu += feaArr[i+2] + " \n"; } if (feaArr[i+3] == "IMG") { resu += "\n"; } else { resu += ""; } else { resu += "border-top: solid 1px #ffffff;\">"; } resu += feaArr[i+3] + " \n"; } if (feaArr[i+4] == "IMG") { resu += "\n"; } else { resu += ""; } else { resu += "border-top: solid 1px #ffffff;\">"; } resu += feaArr[i+4] + " \n"; } resu += " \n"; resu += ""; i = i + 4; document.write(resu); } } function checkToggleAll(divnum) { if (divnum > 1) { var expText = 0; var onceZero = 1; for (i = 0; i < divnum; i++) { if ($("#info-on-" + (i + 1)).is(":hidden")) { expText = 1; } else { onceZero = 0; } } if (expText == 1 && onceZero == 1) { $("#expand").html(expandText); } else { $("#expand").html(collapseText); } } } function slideUpSlideDown(numm) { var divarrs = new Array(); for (i = 0; i < numm; i++) { divarrs[i] = "info-" + (i+1); } jQuery.each(divarrs, function(i) { $("#" + this).mouseover(function () { $(this).css('cursor', 'pointer'); $(this).find("h2 a").css({'text-decoration' : 'underline'}) }); $("#" + this).mouseout(function () { $(this).find("h2 a").css({'text-decoration' : 'none'}) }); $("#" + this).click(function() { var inndiv = new Array(); inndiv[0] = "info-on-" + (i+1); jQuery.each(inndiv, function() { $("#" + this).slideToggle(function() { checkToggleAll(numm); }); return false; }); }); }); if (numm > 1) { $("#expand").click(function(event) { if($(this).html() == collapseText) { $(this).html(expandText); for (i = 0; i < numm; i++) { $("#info-on-" + (i+1)).slideUp(); } }else { $(this).html(collapseText); for (i = 0; i < numm; i++) { $("#info-on-" + (i+1)).slideDown(); } } event.preventDefault(); return false; }); checkToggleAll(numm); } logoClick(); } function goToBPMUrl(url, filename, neworsame) { var currUrl = location.href; var re = /^(http:\/\/pmb\.readiness|https:\/\/cspqa6.readiness)/i; var re_uat1 = /^https:\/\/uat1\.readiness/i; var re_uat2 = /^https:\/\/uat2\.readiness/i; var redirUrl = ""; if (currUrl.match(re)) { redirUrl = "https://cspqa6.readiness.metavante.com/" + filename; } else if (currUrl.match(re_uat1)) { redirUrl = "https://uat1.readiness.metavante.com/" + filename; } else if (currUrl.match(re_uat2)) { redirUrl = "https://uat2.readiness.metavante.com/" + filename; } else { redirUrl = url + filename; } redirUrl = redirUrl +'&promoCode='+ getCookie("ptprmkey"); if (neworsame != null) { window.open (redirUrl,"mywindow","status=1"); } else { location.href = redirUrl; } } function GP_AdvOpenWindow(theURL,winName,features,popWidth,popHeight,winAlign,ignorelink,alwaysOnTop,autoCloseTime,borderless) { //v2.0 var leftPos=0,topPos=0,autoCloseTimeoutHandle, ontopIntervalHandle, w = 480, h = 340; if (popWidth > 0) features += (features.length > 0 ? ',' : '') + 'width=' + popWidth; if (popHeight > 0) features += (features.length > 0 ? ',' : '') + 'height=' + popHeight; if (winAlign && winAlign != "" && popWidth > 0 && popHeight > 0) { if (document.all || document.layers || document.getElementById) {w = screen.availWidth; h = screen.availHeight;} if (winAlign.indexOf("center") != -1) {topPos = (h-popHeight)/2;leftPos = (w-popWidth)/2;} if (winAlign.indexOf("bottom") != -1) topPos = h-popHeight; if (winAlign.indexOf("right") != -1) leftPos = w-popWidth; if (winAlign.indexOf("left") != -1) leftPos = 0; if (winAlign.indexOf("top") != -1) topPos = 0; features += (features.length > 0 ? ',' : '') + 'top=' + topPos+',left='+leftPos;} if (document.all && borderless && borderless != "" && features.indexOf("fullscreen") != -1) features+=",fullscreen=1"; if (window["popupWindow"] == null) window["popupWindow"] = new Array(); var wp = popupWindow.length; popupWindow[wp] = window.open(theURL,winName,features); if (popupWindow[wp].opener == null) popupWindow[wp].opener = self; if (document.all || document.layers || document.getElementById) { if (borderless && borderless != "") {popupWindow[wp].resizeTo(popWidth,popHeight); popupWindow[wp].moveTo(leftPos, topPos);} if (alwaysOnTop && alwaysOnTop != "") { ontopIntervalHandle = popupWindow[wp].setInterval("window.focus();", 50); popupWindow[wp].document.body.onload = function() {window.setInterval("window.focus();", 50);}; } if (autoCloseTime && autoCloseTime > 0) { popupWindow[wp].document.body.onbeforeunload = function() { if (autoCloseTimeoutHandle) window.clearInterval(autoCloseTimeoutHandle); window.onbeforeunload = null; } autoCloseTimeoutHandle = window.setTimeout("popupWindow["+wp+"].close()", autoCloseTime * 1000); } window.onbeforeunload = function() {for (var i=0;i