function ChDsp(flg,ch,another,another2,another3){
     var obj=document.all && document.all(ch) || document.getElementById && document.getElementById(ch);
	 var obj2=document.all && document.all(another) || document.getElementById && document.getElementById(another);
	 var obj3=document.all && document.all(another2) || document.getElementById && document.getElementById(another2);
	 var obj4=document.all && document.all(another3) || document.getElementById && document.getElementById(another3);
     if(obj && obj.style){
         if(flg){
             obj.style.display = "block";
             obj2.style.display = "none";
             obj3.style.display = "none";
             obj4.style.display = "none";
         } else {
             obj.style.display = "none";
         }
     }
 }


function buttonClick(act,menu,manage,manageparam,dlog,msg,tar){
	if (dlog ==1) {
		alert(msg);
	}
	if (dlog ==2) {
		anser=confirm(msg);
		if (anser == false) { return (false); }
	}

	if (tar == "subwindow") { showWindow(); }

	document.FO.action = act;
	if (tar == "") { document.FO.target = ""; }
	if (tar != "") { document.FO.target = tar; }
	document.FO.menu.value = menu;
	document.FO.val.value = manage;
	document.FO.val2.value = manageparam;
	document.FO.submit();
	return;

}

