function $(id)
{
	return (typeof(id)=='string')?document.getElementById(id):false;
}

function $F(id)
{
	return ($(id).value);
}

var Common = new function()
{
	this.d = document;
	
	function $(id)
	{
		return (typeof(id)=='string')?Common.d.getElementById(id):false;
	}
	function $F(id)
	{
		return ($(id).value);
	}
	
	this.EchoError = function (which,msg,echowhich,type)
	{
		var f = $(which);
		var ew = $(echowhich);
		ew.style.display = "block";
		ew.innerHTML = msg;
		//if(type==null)
		//	f.focus();
		return false;
	}

	this.hidden = function (echowhich)
	{
		var ew = $(echowhich);
		ew.style.display = "none";
		//return false;
	}
	
}
