sc.join=function(){function a(){$(".join-merchant-table-select img.selected").attr("src","/images/join/radio/checked.gif");$(".join-merchant-table-select img:not(.selected)").attr("src","/images/join/radio/unchecked.gif")}function d(b){$("#"+g).removeClass("selected");g=b.target.id;$("#"+g).addClass("selected");a()}function c(b){$("#"+f).removeClass("selected");f=b.target.id;$("#"+f).addClass("selected");a()}function b(){var a="https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=917967&clientSubacc=0000&";
switch(g){case "join-ccbill-credit-card-1":a+="formName=11cc&allowedTypes=0000000474";break;case "join-ccbill-credit-card-2":a+="formName=11cc&allowedTypes=0000000038";break;case "join-ccbill-credit-card-3":a+="formName=11cc&allowedTypes=0000020384";break;case "join-ccbill-check-1":a+="formName=11ck&allowedTypes=0000001391";break;case "join-ccbill-check-2":a+="formName=11ck&allowedTypes=0000000138";break;case "join-ccbill-check-3":a+="formName=11ck&allowedTypes=0000001684"}document.location=a}function e(){var a=
"https://sales.epochstats.com/signup/pre-join.php?s=1178&c=0";switch(f){case "join-epoch-credit-card-1":a+="&p=13274";break;case "join-epoch-credit-card-2":a+="&p=5989";break;case "join-epoch-credit-card-3":a+="&p=5991"}document.location=a}var g="",f="";return{initialize:function(){g=$("#join-merchant-ccbill-container .join-merchant-table-select img.selected").attr("id");f=$("#join-merchant-epoch-container .join-merchant-table-select img.selected").attr("id");a();$("#join-merchant-ccbill-container .join-merchant-table-select img").click(d);
$("#join-merchant-epoch-container .join-merchant-table-select img").click(c);$("#join-ccbill-continue").click(b);$("#join-epoch-continue").click(e)}}}();$(document).ready(function(){sc.join.initialize()});

