
// ************¡¡¥é¥ó¥­¥ó¥°É½¼¨ÀÚÂØ¡¡************* 

function ChDsp2(strShow,strHidden1,strHidden2){ 
    var obj=''; 
    obj=document.all && document.all(strShow) || document.getElementById && document.getElementById(strShow); 
    obj.style.display = "block"; 
    obj=document.all && document.all(strHidden1) || document.getElementById && document.getElementById(strHidden1); 
    obj.style.display = "none"; 
    obj=document.all && document.all(strHidden2) || document.getElementById && document.getElementById(strHidden2); 
    obj.style.display = "none"; 
} 


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function plus(chk){
chk.value++;
if (chk.value==10001) {chk.value=10000}
}
function minus(chk){
chk.value--;
if (chk.value==0) {chk.value=1}
}



function pressedChar(event) {
	var code = 0;
	if (event.charCode === 0) {	// Firefox, Safari control code
		code = 0;
	} else if (!event.keyCode && event.charCode) {	// Firefox
		code = event.charCode;
	} else if (event.keyCode && !event.charCode) {	// IE
		code = event.keyCode;
	} else if (event.keyCode == event.charCode) {	// Safari
		code = event.keyCode;
	}
	if (32 <= code && code <= 126) {	// ASCII•¶Žš‚Ì”ÍˆÍ“à
		return String.fromCharCode(code);
	} else {
		return null;
	}
}
function imputnn(event) {
	var char = pressedChar(event);
	if (char && !char.match(/\d/)) {
		return false;
	} else {
		return true;
	}
}



