﻿// JavaScript Document

	<!--
	function LapplingSelect(num) {
		var flag = 0;
		if(num>0){
			
			for(i=0;i<document.lapForm.lapplingcolor.length;i++){
				if(document.lapForm.lapplingcolor[i].checked){
				flag = document.lapForm.lapplingcolor[i].value;
					
				}
			}

			document.myForm.WRAPPING_FLG.checked = true;
			// 未選択の処理
			if(flag==0){
				document.myForm.WRAPPING_FLG.checked = false
			}
			
		}else{
			
			document.myForm.WRAPPING_FLG.checked = false;
		}
		
		if(flag == 1){
			document.getElementById("WRAP_STR").innerHTML = "包装紙Ａ";
			document.myForm.WRAP_STR.value = "包装紙Ａ";
		}else if(flag == 2){
			document.getElementById("WRAP_STR").innerHTML = "包装紙Ｂ";
			document.myForm.WRAP_STR.value = "包装紙Ｂ";
		}else{
			document.getElementById("WRAP_STR").innerHTML = "包装紙なし";
			document.myForm.WRAP_STR.value = "包装紙なし";
		}

		document.myForm.WRAPPINGTYPE.value = flag;
		return true;
	}

	
	//-->
