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 == "ppk05")//150a ========================================== { 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 = 249000*subtitle} else if(qty_code.value == "2000"){price.value = 377000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 379000*subtitle} else if(qty_code.value == "2000"){price.value = 576000*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 417000*subtitle} else if(qty_code.value == "2000"){price.value = 634000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 569000*subtitle} else if(qty_code.value == "2000"){price.value = 813000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 597000*subtitle} else if(qty_code.value == "2000"){price.value = 933000*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 = 212000*subtitle} else if(qty_code.value == "2000"){price.value = 272000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 274500*subtitle} else if(qty_code.value == "2000"){price.value = 427200*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 302000*subtitle} else if(qty_code.value == "2000"){price.value = 470000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 444000*subtitle} else if(qty_code.value == "2000"){price.value = 638000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 464000*subtitle} else if(qty_code.value == "2000"){price.value = 679000*subtitle} } } } } else if(paper_code.value == "ppk06")//180a ========================================== { 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 = 262000*subtitle} else if(qty_code.value == "2000"){price.value = 402000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 401800*subtitle} else if(qty_code.value == "2000"){price.value = 619000*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 442000*subtitle} else if(qty_code.value == "2000"){price.value = 681000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 601000*subtitle} else if(qty_code.value == "2000"){price.value = 874000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 635000*subtitle} else if(qty_code.value == "2000"){price.value = 1005000*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 = 221000*subtitle} else if(qty_code.value == "2000"){price.value = 290000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 290900*subtitle} else if(qty_code.value == "2000"){price.value = 458100*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 320000*subtitle} else if(qty_code.value == "2000"){price.value = 504000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 467000*subtitle} else if(qty_code.value == "2000"){price.value = 682000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 491000*subtitle} else if(qty_code.value == "2000"){price.value = 730000*subtitle} } } } } else if(paper_code.value == "ppk07")//200a ========================================== { 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 = 276000*subtitle} else if(qty_code.value == "2000"){price.value = 426000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 423600*subtitle} else if(qty_code.value == "2000"){price.value = 660900*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 466000*subtitle} else if(qty_code.value == "2000"){price.value = 727000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 633000*subtitle} else if(qty_code.value == "2000"){price.value = 933000*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 672000*subtitle} else if(qty_code.value == "2000"){price.value = 1075000*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 = 231000*subtitle} else if(qty_code.value == "2000"){price.value = 307000*subtitle} } else if(page_code.value == "12")//12p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 306300*subtitle} else if(qty_code.value == "2000"){price.value = 488100*subtitle} } else if(page_code.value == "16")//16p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 337000*subtitle} else if(qty_code.value == "2000"){price.value = 537000*subtitle} } else if(page_code.value == "20")//20p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 490000*subtitle} else if(qty_code.value == "2000"){price.value = 742100*subtitle} } else if(page_code.value == "24")//24p ÆäÀÌÁö¼ö { if(qty_code.value == "1000"){price.value = 518000*subtitle} else if(qty_code.value == "2000"){price.value = 780000*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.value = price.value - after_pay.value //ÃÑ ±Ý¾×¿¡¼­ Áßö±Ý¾×À» »©ÁØ´Ù 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); }