function MemoLimit() {
	var taObj=event.srcElement;
	if (taObj.value.length==taObj.maxLength*1) return false;
}

function MemoCount(visCnt) { 
	var taObj=event.srcElement;
	if (taObj.value.length>taObj.maxLength*1) taObj.value=taObj.value.substring(0,taObj.maxLength*1);
	if (visCnt) visCnt.innerHTML=taObj.maxLength-taObj.value.length;
}

function onHideShow(parameter)
{
	if (self.document.getElementById(parameter).style.display == "none"){
		self.document.getElementById(parameter).style.display = "inline";
	}else{
		self.document.getElementById(parameter).style.display = "none";
	}
}

function decision(message, url){
	if(confirm(message)) location.href = url;
}

var win=null;
var new_window;

function rscopenwindow(file,width,height) {
	new_window=window.open(file,'change','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width='+width+',height='+height);
	if (window.focus) { new_window.focus(); }
}