function costchange() { memo1_change(); if(document.orderform.size_code.value == "pss17"){ document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 216mm x 303mm" } else if(document.orderform.size_code.value == "pss21"){ document.getElementById("size_span").innerHTML = "ÀÛ¾÷»çÀÌÁî : 188mm x 263mm" } 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 page_code =document.orderform.page_code; var qty_code =document.orderform.qty_code; var price =document.orderform.pay; var subtitle = document.orderform.product_num.value; var mode = document.orderform.mode; if(paper_code.value == "ppkn5")//´©ºêÁö(130g) ========================================== { if(size_code.value == "pss17")//A4============================ { if(color_code.value == "cld08")//´Ü¸é8µµ { if(page_code.value == "8")//8p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 384000*subtitle} else if(qty_code.value == "2000"){price.value = 612000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 644500*subtitle} else if(qty_code.value == "2000"){price.value = 1022700*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 709000*subtitle} else if(qty_code.value == "2000"){price.value = 1125000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 968000*subtitle} else if(qty_code.value == "2000"){price.value = 1436000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 1054000*subtitle} else if(qty_code.value == "2000"){price.value = 1687000*subtitle} } } } if(size_code.value == "pss21")//16Àý============================ { if(color_code.value == "cld08")//´Ü¸é8µµ { if(page_code.value == "8")//8p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 323000*subtitle} else if(qty_code.value == "2000"){price.value = 405000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 390000*subtitle} else if(qty_code.value == "2000"){price.value = 617200*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 429000*subtitle} else if(qty_code.value == "2000"){price.value = 679000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 679000*subtitle} else if(qty_code.value == "2000"){price.value = 986000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 712000*subtitle} else if(qty_code.value == "2000"){price.value = 1052000*subtitle} } } } } else if(paper_code.value == "ppkn6")//´©ºêÁö(160g) ========================================== { if(size_code.value == "pss17")//A4============================ { if(color_code.value == "cld08")//´Ü¸é8µµ { if(page_code.value == "8")//8p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 408000*subtitle} else if(qty_code.value == "2000"){price.value = 657000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 687200*subtitle} else if(qty_code.value == "2000"){price.value = 1103600*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 756000*subtitle} else if(qty_code.value == "2000"){price.value = 1214000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 1028000*subtitle} else if(qty_code.value == "2000"){price.value = 1548000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 1124000*subtitle} else if(qty_code.value == "2000"){price.value = 1821000*subtitle} } } } if(size_code.value == "pss21")//16Àý============================ { if(color_code.value == "cld08")//´Ü¸é8µµ { if(page_code.value == "8")//8p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 341000*subtitle} else if(qty_code.value == "2000"){price.value = 438000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 420000*subtitle} else if(qty_code.value == "2000"){price.value = 691800*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 462000*subtitle} else if(qty_code.value == "2000"){price.value = 761000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 723000*subtitle} else if(qty_code.value == "2000"){price.value = 1068000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 764000*subtitle} else if(qty_code.value == "2000"){price.value = 1150000*subtitle} } } } } else if(paper_code.value == "ppkn7")//´©ºêÁö(180g)========================================== { if(size_code.value == "pss17")//A4============================ { if(color_code.value == "cld08")//´Ü¸é8µµ { if(page_code.value == "8")//8p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 431000*subtitle} else if(qty_code.value == "2000"){price.value = 701000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 729000*subtitle} else if(qty_code.value == "2000"){price.value = 1184500*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 802000*subtitle} else if(qty_code.value == "2000"){price.value = 1303000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 1087000*subtitle} else if(qty_code.value == "2000"){price.value = 1660000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 1194000*subtitle} else if(qty_code.value == "2000"){price.value = 1954000*subtitle} } } } if(size_code.value == "pss21")//16Àý============================ { if(color_code.value == "cld08")//´Ü¸é8µµ { if(page_code.value == "8")//8p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 359000*subtitle} else if(qty_code.value == "2000"){price.value = 472000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 450900*subtitle} else if(qty_code.value == "2000"){price.value = 750000*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 496000*subtitle} else if(qty_code.value == "2000"){price.value = 825000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 767000*subtitle} else if(qty_code.value == "2000"){price.value = 1151000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 816000*subtitle} else if(qty_code.value == "2000"){price.value = 1247000*subtitle} } } } } else {price.value = 0} 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 page_code =document.orderform.page_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+" / "+ page_code.options[page_code.selectedIndex].innerText+" / "+ qty_code.options[qty_code.selectedIndex].innerText; } function price01_change() { var frm = document.orderform; var price = frm.pay; var price_01 = frm.price_01; var after_pay = frm.after_pay; price_01.value = Math.round(price.value); // alert(price_01.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_after_price_plus.innerHTML = comma(eval(after_pay.value)); //ÈÄ°¡°ø ÃÑ¾× document.all.span_total_estimate_prie.innerHTML = comma(Math.round(eval(price.value)+eval(after_pay.value))); //Á¦Ç° + ÈÄ°¡°ø ÃÑ¾× //ºÎ°¡¼¼ tax_price =(eval(price.value)+eval(after_pay.value))/10 frm.tax_price.value = tax_price; document.all.span_tax_price.innerHTML = comma(tax_price); //°ßÀûÃÑ¾× estimate_price = eval(price.value)+eval(after_pay.value)+eval(tax_price) frm.estimate_price_end.value = estimate_price; document.all.span_estimate_price_end.innerHTML = comma(estimate_price); }