<!--
function info_window(width, depth, url, title)
{
	var arg;
	var forkWnd = null;
	
	arg = "width=" + width + ",height=" + depth + ",scrollbars,status,resizable";
	forkWnd = window.open(url, title, arg);
	forkWnd.focus();
}

function info_ext_window(width, depth, url, title, chkscroll, chkstatus, chkresize)
{
	var arg;
	var forkWnd = null;
		
	arg = "width=" + width + ",height=" + depth;

	if(chkscroll == "ON")
	{
		arg = arg + ",scrollbars";
	}

	if(chkstatus == "ON")
	{
		arg = arg + ",status";
	}

	if(chkresize == "ON")
	{
		arg = arg + ",resizable";
	}

	forkWnd = window.open(url, title, arg);
	forkWnd.focus();
}

function proposal_window()
{
	window.open("/members/member_letter.php?mode=member_proposal", "proposal_window", 
				"width=550,height=430,status");
}

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

function mhHover(tbl, idx, cls)
{
	var t, d;
	if (document.getElementById)
		t = document.getElementById(tbl);
	else
		t = document.all(tbl);
	if (t == null) return;
	if (t.getElementsByTagName)
		d = t.getElementsByTagName("TD");
	else
		d = t.all.tags("TD");
	if (d == null) return;
	if (d.length <= idx) return;
	d[idx].className = cls;
}

function chk_radio(obj)
{
	for(cnt = 0; cnt < obj.length; cnt++)
	{
		if(obj[cnt].checked)
		{
			return true;
		}
	}

	if(obj.checked)
		return true;
	else
		return false;
}

function chk_null(obj, msg)
{
	if(obj.value == "")
	{
		alert(msg);
		obj.focus();
		return true;
	}

	return false;
}

function chk_num(obj, msg)
{
	if(/^[0-9]+$/.test(obj.value))
	{
		return false;
	}
	else
	{
		alert(msg);
		obj.focus();
		return true;
	}
}

function tree_reload(num)
{
	if(top.fraLeftBody && top.fraLeftBody.webFXTreeHandler.all[num] != null)
	{
		top.fraLeftBody.webFXTreeHandler.all[num].reload();
	}
}

function tree_select(num)
{
	if(top.fraLeftBody && top.fraLeftBody.webFXTreeHandler && 
		top.fraLeftBody.webFXTreeHandler.all[num] != null)
	{
		top.fraLeftBody.webFXTreeHandler.all[num].select();
		top.fraLeftBody.webFXTreeHandler.all[num].expand();
		top.fraLeftBody.webFXTreeHandler.all[num].focus();
	}
}

function auto_focus(srcObj, maxLength, targetObj)
{
	if(srcObj.value.length >= maxLength)
		targetObj.focus();
	else  
		return false;

	return true ;
}
-->