var message="";
var time_d=500;
var _flg=0;
function msgStatusBar()
{
  	if (_flg == 0)
  	{
		window.status=message;
    	_flg=0;
	}
	else
	{
		window.status="";
   		_flg=0;
	}
	setTimeout('msgStatusBar()', time_d);
}

function win(url,title)
{
	var width=400;
	var height=200;
	var features="location=no, menubar=no, status=yes, scrollbars=yes, resizable=yes, toolbar=no";
  		if (window.screen.width > width)
   			features+=", left="+(window.screen.width-width)/2;
  		else width=window.screen.width;
  		features+=", width="+width;
  		if (window.screen.height > height)
   			features+=", top="+(window.screen.height-height)/2;
  		else
  			height=window.screen.height;
  		features+=", height="+height;
	window.open(url,title,features) 
}

function selChange (val,url)
//function selChange()
{
//alert(val);
document.selectForm.action=url;
document.selectForm.submit();
}

function mouse_on(item) {
  item.style.color = "red";
//  item.style.backgroundColor = "aqua";
}

function mouse_off(item) {
  item.style.color = "blue";
  item.style.backgroundColor = "white";
}

function delConfirm(msg)
{
	ret=confirm('削除ＯＫですか？');
	if(ret==true)
	{
		//alert(msg);
		document.selectForm2.submit();
	}
}
function fun_Confirm(msg,f_name)
{
	ret=confirm(msg);
	if(ret==true)
	{
		document.forms(f_name).submit();
	}
}


