function reduce(obj){
	var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : ""
	if (obj.getAttribute && obj.value.length > mlength){
		obj.value=obj.value.substring(0,mlength)
		obj.style.background="#FFFFFF url('http://host.neutralgaming.com/~textmess/images/toolong.jpg') no-repeat bottom right";
		obj.style.border="1px solid #000000";
	}else{
		obj.style.background="#e8e8e8";
	}
}

function show(k){
		document.getElementById(k).style.display="";
}

function hide(k){
		document.getElementById(k).style.display="none";
}