function call_back(arg,item) {
	var theform;
	if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
		theform = document.CallBacks ;
	}
	else {
		theform = document.forms["CallBacks"];
	}
	if ( arg == "ensure" ) {
		theform.call_current_order.value = "ENSURE" ;
	}
	else if ( arg == "reset" ) {
		theform.call_current_order.value = "RESET" ;
	}
	else if ( arg == "write" ) {
		theform.call_current_order.value = "WRITE" ;
	}
	else if ( arg == "edit" ) {
		theform.call_current_order.value = "EDIT" ;
	}
	else {
		theform.call_current_order.value = "NOWEDIT" ;
	}
	theform.submit();
}

function show_input(arg,num) {
	if( arg == "新規" ) {
		if( document.getElementById ) {
			document.getElementById("item" + num ).style.display = "none";
			document.getElementById("item" + num ).style.display = "inline";
		}
	}
	else {
		document.getElementById("item" + num ).style.display = "none";
	}
}