function costchange() { memo1_change(); var kind_code =document.orderform.kind_code; var paper_code =document.orderform.paper_code; var color_code =document.orderform.color_code; var coating_code =document.orderform.coating_code; var size_code =document.orderform.size_code; var qty_code =document.orderform.qty_code; var price =document.orderform.pay; var subtitle = document.orderform.product_num.value; if (paper_code.value=="ppkm7"){ //Á¾ÀÌÀÚ¼® if(size_code.value == "pss08") { if(qty_code.value == 5000){price.value = 36000} else if(qty_code.value == 10000){price.value = 72000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 74mm"; } else if(size_code.value == "pss09") { if(qty_code.value == 5000){price.value = 41000} else if(qty_code.value == 10000){price.value = 82000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 84mm"; } else if(size_code.value == "pss10") { if(qty_code.value == 5000){price.value = 47000} else if(qty_code.value == 10000){price.value = 94000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 94mm"; } else if(size_code.value == "pssm9") { if(qty_code.value == 5000){price.value = 52000} else if(qty_code.value == 10000){price.value = 104000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 104mm"; } else if(size_code.value == "pssn7") { if(qty_code.value == 5000){price.value = 57000} else if(qty_code.value == 10000){price.value = 115000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 114mm"; } else if(size_code.value == "pssn8") { if(qty_code.value == 5000){price.value = 63000} else if(qty_code.value == 10000){price.value = 125000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 124mm"; } else if(size_code.value == "pssn9") { if(qty_code.value == 5000){price.value = 68000} else if(qty_code.value == 10000){price.value = 137000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 134mm"; } } else{ //Á¾ÀÌÀÚ¼® µµ¹«¼Û if(size_code.value == "pss08") { if(qty_code.value == 5000){price.value = 51300} else if(qty_code.value == 10000){price.value = 102600} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 74mm"; } else if(size_code.value == "pss09") { if(qty_code.value == 5000){price.value = 59200} else if(qty_code.value == 10000){price.value = 118400} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 84mm"; } else if(size_code.value == "pss10") { if(qty_code.value == 5000){price.value = 67000} else if(qty_code.value == 10000){price.value = 134000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 94mm"; } else if(size_code.value == "pssm9") { if(qty_code.value == 5000){price.value = 74900} else if(qty_code.value == 10000){price.value = 149800} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 104mm"; } else if(size_code.value == "pssn7") { if(qty_code.value == 5000){price.value = 82800} else if(qty_code.value == 10000){price.value = 165600} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 114mm"; } else if(size_code.value == "pssn8") { if(qty_code.value == 5000){price.value = 90700} else if(qty_code.value == 10000){price.value = 181400} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 124mm"; } else if(size_code.value == "pssn9") { if(qty_code.value == 5000){price.value = 98500} else if(qty_code.value == 10000){price.value = 197000} document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 94mm x 134mm"; } } //Á¦ÁÖµµ ÀλóºÐ Àû¿ë price.value = Math.round((price.value * 1.07)/100)*100; price.value = eval(price.value)*subtitle; price01_change(); //¿ø°¡¿Í ¼¼±ÝÀ¸·Î ³ª´® } function memo1_change() { var kind_code =document.orderform.kind_code; var paper_code =document.orderform.paper_code; var color_code =document.orderform.color_code; var size_code =document.orderform.size_code; var qty_code =document.orderform.qty_code; var price =document.orderform.pay; var subtitle = document.orderform.product_num; document.all.memo1.innerHTML = paper_code.options[paper_code.selectedIndex].innerText + " / " + color_code.options[color_code.selectedIndex].innerText + " / " + size_code.options[size_code.selectedIndex].innerText+" / "+ qty_code.options[qty_code.selectedIndex].innerText + " / " + subtitle.options[subtitle.selectedIndex].innerText; } function price01_change() { var frm = document.orderform; var price = frm.pay; var price_01 = frm.price_01; price_01.value = Math.round(price.value); document.all.span_price.innerHTML = comma(Math.round(price.value)); document.all.break_pro_price_plus.innerHTML = comma(Math.round(price.value)); //Á¦Ç° ÃÑ¾× document.all.span_total_estimate_prie.innerHTML = comma(Math.round(eval(price.value))); //Á¦Ç° + ÈÄ°¡°ø ÃÑ¾× //ºÎ°¡¼¼ tax_price =eval(price.value)/10 frm.tax_price.value = tax_price; document.all.span_tax_price.innerHTML = comma(tax_price); //°ßÀûÃÑ¾× estimate_price = eval(price.value)+eval(tax_price) frm.estimate_price_end.value = estimate_price; document.all.span_estimate_price_end.innerHTML = comma(estimate_price); }