function order(cevent){
	
	tmpPSize = "";
	try {
		if(frm.PSizeItem.length==null){
			if(frm.PSizeItem.checked==true) {
				tmpPSize += frm.PSizeItem.value + "|";
			}
		} else {
			for(i=0;i<=frm.PSizeItem.length-1;i++){
				if(frm.PSizeItem[i].checked==true) {
						tmpPSize += frm.PSizeItem[i].value + "|";
				}
			}
		}
	} catch (e) {}
	frm.PSize.value = tmpPSize;
	
	tmpPQuantity = "";
	try {
		if(frm.PQuantityItem.length==null) {
				tmpPQuantity = frm.PQuantityItem.value + "|";
		} else {
			for(i=0;i<=frm.tmpPQuantityItem.length-1;i++){
				tmpPQuantity += frm.PQuantityItem[i].value + "|";
			}
		}
	} catch (e) {}
	frm.PQuantity.value = tmpPQuantity;
	
	tmpPStoneColor = "";
	try {
		if(frm.PStoneColorItem.length==null) {
			if(frm.PStoneColorItem.checked==true) {
				tmpPStoneColor += frm.PStoneColorItem.value + "|";
			}
		} else {
			for(i=0;i<=frm.PStoneColorItem.length-1;i++){
				if(frm.PStoneColorItem[i].checked==true) {
					tmpPStoneColor += frm.PStoneColorItem[i].value + "|";
				}
			}
		}
	} catch (e) {}
	frm.PStoneColor.value = tmpPStoneColor;
	
	tmpPInstruction = "";
	try {
		if(frm.PInstructionItem.length==null) {
				tmpPInstruction += frm.pid.value+"!"+ frm.ptype.value+"!"+frm.PInstructionItem.value + "!|";
		} else {
			for(i=0;i<=frm.PInstructionItem.length-1;i++){
						tmpPInstruction += frm.pid[i].value+"!"+frm.ptype[i].value+"!"+frm.PInstructionItem[i].value + "!|";
			}
		}
	} catch (e) {}
	frm.PInstruction.value = tmpPInstruction;
	
	tmpPIndex = "";
	try {
		if(frm.pid.length==null) {
				tmpPIndex += frm.pid.value+"!"+frm.ptype.value + "!|";
		} else {
			for(i=0;i<=frm.pid.length-1;i++){
						tmpPIndex += frm.pid[i].value+"!"+frm.ptype[i].value+"!|";
			}
		}
	} catch (e) {}
	frm.PIndex.value = tmpPIndex;

}
