

function clickOption(){

    var i;
    var op;
    //alert(document.paymethod.method.length);
    for (i=0;i<document.paymethod.method.length;i++){
        //alert(document.paymethod.method[i].checked);
       if (document.paymethod.method[i].checked){
          op = document.paymethod.method[i].value;
       }
    }
    
    
    if(op==1){
      if(document.paymethod.selectp.value=='CCBill'){
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&sku_id=6601&formName=3cc&language=English&allowedTypes=0000000042:840&subscriptionTypeId=0000000042:840','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes'); 
      }else{
          window.open('https://sales.epochstats.com/signup/pre-join.php?s=1627&p=7693&c=0','Epoch','toolbar=yes,location=yes,status=yes,scrollbars=yes');
      }
    }else if(op==2){
      if(document.paymethod.selectp.value=='CCBill'){
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&sku_id=6601&formName=3cc&language=English&allowedTypes=0000000038:840&subscriptionTypeId=0000000038:840','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes'); 
      }else{
          window.open('https://sales.epochstats.com/signup/pre-join.php?s=1627&p=7694&c=0','Epoch','toolbar=yes,location=yes,status=yes,scrollbars=yes');
      }
    }else if(op==3){
      if(document.paymethod.selectp.value=='CCBill'){
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&sku_id=6601&formName=3cc&language=English&allowedTypes=0000001178:840&subscriptionTypeId=0000001178:840','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes'); 
      }else{
          window.open('https://sales.epochstats.com/signup/pre-join.php?s=1627&p=7695&c=0','Epoch','toolbar=yes,location=yes,status=yes,scrollbars=yes');
      }
    }else{
      if(document.paymethod.selectp.value=='CCBill'){
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&sku_id=6601&formName=3cc&language=English&allowedTypes=0000000232:840&subscriptionTypeId=0000000232:840','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes'); 
      }else{
          window.open('https://sales.epochstats.com/signup/pre-join.php?s=1627&p=7696&c=0','Epoch','toolbar=yes,location=yes,status=yes,scrollbars=yes');
      }
    }
    
    
    
}       

function clickOptionVodLatinAmerica(){

    var i;
    var op;
    //alert(document.paymethod.method.length);
    for (i=0;i<document.paymethod2.method2.length;i++){
        //alert(document.paymethod.method[i].checked);
       if (document.paymethod2.method2[i].checked){
          op = document.paymethod2.method2[i].value;
       }
    }

    if(op==1){
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&formName=105lb&language=English&allowedTypes=0000000038:840&subscriptionTypeId=0000000038:840&sku_id=6601','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes');   
          
    }else if(op==2){  
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&formName=105lb&language=English&allowedTypes=0000001178:840&subscriptionTypeId=0000001178:840&sku_id=6601','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes'); 
    
    }else if(op==3){
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&formName=105lb&language=English&allowedTypes=0000000232:840&subscriptionTypeId=0000000232:840&sku_id=6601','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes'); 
    
    }else{
          window.open('https://bill.ccbill.com/jpost/signup.cgi?clientAccnum=934718&clientSubacc=0000&formName=105lb&language=English&allowedTypes=0000000038:840&subscriptionTypeId=0000000038:840&sku_id=6601','CCBill','width=800,toolbar=yes,location=yes,status=yes,scrollbars=yes'); 
    }
    
    
    
}
