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='
'; return str; } function makePayPal() { str=''; return str; } function makeEGold() { str=' '; return str; } function makeWebmoney() { ss=zak_str1.replace("zak_str1=","");ss=ss.replace(/:;/g,",");ss=ss.replace(/,;/g," "); 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=' '; return str; } function make2co() { var dd; dd=new Date(); str='