function see(txt)
{
	window.status = txt;
	setTimeout("nosee()",10000);
}

function nosee()
{
	window.status="";
}

function autodata(strMode)
{
	if (strMode == "ON")
	{
		document.auto.mode.value ="OFF";
	}
	else
	{
		document.auto.mode.value = "ON";
	}

	document.auto.id.value = document.idinput.id.value;
	document.auto.say.value = document.sayinput.say.value;
	document.auto.submit();
}

function reloadnow()
{
	document.auto.id.value = document.idinput.id.value;
	document.auto.say.value = document.sayinput.say.value;
	document.auto.mode.value = document.idinput.mode.value;
	document.auto.submit();
}

function autoload()
{
	document.sayinput.mode.value = document.idinput.mode.value;
	document.sayinput.id.value = document.idinput.id.value;
	document.sayinput.lastindex.value = document.auto.lastindex.value;
	document.sayinput.submit();
}

function sayenter()
{
	if ( document.idinput.id.value.length == 0 || document.idinput.id.value == " "  || document.idinput.id.value == "  " || document.idinput.id.value == "   " || document.idinput.id.value == "    ")
	{
		alert( "Plz, Type Your Name..." );
		return false;
	}

	if ( document.sayinput.say.value.length == 0 || document.sayinput.say.value == " " || document.sayinput.say.value == "  " || document.sayinput.say.value == "    " || document.sayinput.say.value == "    ")
	{
		alert( "Plz, Type Your Comment..." );
		return false;
	}

	document.sayinput.id.value = document.idinput.id.value;
	document.sayinput.lastindex.value = document.auto.lastindex.value;
	document.sayinput.enter.value = "entered";
}

function identer()
{
	if ( document.idinput.id.value.length == 0 || document.idinput.id.value == " "  || document.idinput.id.value == "  " || document.idinput.id.value == "   " || document.idinput.id.value == "    ")
	{
		alert( "Plz, Type Your Name..." );
		return false;
	}

	if ( document.sayinput.say.value.length == 0 || document.sayinput.say.value == " " || document.sayinput.say.value == "  " || document.sayinput.say.value == "    " || document.sayinput.say.value == "    ")
	{
		alert( "Plz, Type Your Comments..." );
		return false;
	}

	document.idinput.say.value = document.sayinput.say.value;
	document.idinput.lastindex.value = document.auto.lastindex.value;
	document.idinput.enter.value = "entered";
}

function callPage(page)
{
	document.auto.id.value = document.idinput.id.value;
	document.auto.say.value = document.sayinput.say.value;
	document.auto.page.value = page;
	document.auto.mode.value = document.idinput.mode.value;
	document.auto.submit();
}

function getIcon()
{
	document.sayinput.mode.value = document.auto.mode.value;
	document.sayinput.id.value = document.idinput.id.value;
	document.sayinput.lastindex.value = document.auto.lastindex.value;
        document.sayinput.mode.value = document.idinput.mode.value;
	document.sayinput.submit();
}

function reportmode()
{
	report = window.open("report.php", "report", "status=yes,scrollbars=yes,resizable=yes,width=750,height=500");
}

function adminmode()
{
	admin = window.open("admin.php", "admin", "status=no,scrollbars=no,resizable=no,width=310,height=220");
}

function openmanual()
{
	window.open('manual.htm', 'busybeemanual', 'status=no,scrollbars=yes,resizable=yes,width=750,height=660');
}