function makePayments() { document.getElementById('payment_loading').style.display='none'; if (document.forma2.payment.value.indexOf("$")==-1) {flag_pay_module="url";document.getElementById("pay_zone").innerHTML=button("b",l_sendorder,"check_order()");} else { flag_pay_module="standart"; if (document.forma2.payment.value.indexOf("$googleCheckout")!=-1) { merchantID=get_var_from_str(document.forma2.payment.value,"param1");document.getElementById("pay_zone").innerHTML=makeGoogleApi(); } if (document.forma2.payment.value.indexOf("$paypal")!=-1) {document.getElementById("pay_zone").innerHTML=makePayPal(); } if (document.forma2.payment.value.indexOf("$e-gold")!=-1) {document.getElementById("pay_zone").innerHTML=makeEGold();}; if (document.forma2.payment.value.indexOf("$webmoney")!=-1) {document.getElementById("pay_zone").innerHTML=makeWebmoney();}; if (document.forma2.payment.value.indexOf("$2co")!=-1) {document.getElementById("pay_zone").innerHTML=make2co();}; if (document.forma2.payment.value.indexOf("$assist")!=-1) {document.getElementById("pay_zone").innerHTML=makeAssist();}; } } function makeGoogleApi() { if (merchantID=='738991747006380') {str='
';} else {str='';} kskidka=(100-discountvalue)/100; for (var i=0;i<=zak_count;i++) { str=str+''; //str=str+''; str=str+''; str=str+''; str=str+''; } str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; if (merchantID=='738991747006380') {str=str+'Fast checkout through Google';} else {str=str+'Fast checkout through Google';} str=str+'
'; return str; } function makePayPal() { str='
'; str=str+''; str=str+''; str=str+''; kskidka=(100-discountvalue)/100; for (var i=0;i<=zak_count;i++) { str=str+''; //str=str+''; //str=str+''; str=str+''; str=str+''; } str=str+''; str=str+'Make payments with payPal - it's fast, free and secure!'; str=str+''; str=str+'
'; return str; } function makeEGold() { str='
'; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+'Pay Now with e-gold...'; str=str+'
'; return str; } function makeWebmoney() { ss=zak_str1.replace("zak_str1=","");ss=ss.replace(/:;/g,",");ss=ss.replace(/,;/g," "); str='
'; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; str=str+button("b",l_sendorder,"check_order()"); str=str+'
'; return str; } function makeAssist() { var act_url, dd; dd=new Date(); ss=zak_str1.replace("zak_str1=","");ss=ss.replace(/:;/g,",");ss=ss.replace(/,;/g," "); if (get_var_from_str(document.forma2.payment.value,"param2")=="Demo") {act_url="https://test.assist.ru/shops/purchase.cfm";} else {act_url="https://secure.assist.ru/shops/purchase.cfm";} str='
'; str=str+''; str=str+''; str=str+''; str=str+''; if (get_var_from_str(document.forma2.payment.value,"param2")=="Demo") {str=str+'';} str=str+''; str=str+button("b",l_sendorder,"check_order()"); str=str+'
'; return str; } function make2co() { var dd; dd=new Date(); str='
'; str=str+''; str=str+''; str=str+''; str=str+''; str=str+''; for (var i=0;i<=zak_count;i++) { str=str+''; //str=str+''; //str=str+''; str=str+''; str=str+''; str=str+''; } str=str+button("b",l_sendorder,"check_order()"); return str; }