// JavaScript Document
			function smile()
			{
			var t=":smile:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
						function conf()
			{
			var t=":conf:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
									function glass()
			{
			var t=":glass:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
										function sad()
			{
			var t=":sad:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
													function eek()
			{
			var t=":eek:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
													function evil()
			{
			var t=":evil:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
															function think()
			{
			var t=":think:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
			function roll()
			{
			var t=":roll:";
			document.hmong.data.value=document.hmong.data.value+t;
			};
	
	function chk_msg()
				{
var nt=document.hmong.data.value;
var np=document.hmong.name.value;
var th=document.hmong.name.value.length;
var th1=document.hmong.data.value.length;
				if (th<1)
				{
					alert("Please input your name..");
				return false;
				};
if (th1<1)
				{
				alert("Please input your message...");
				return false;
				};
				};
				
				function show_Layer(id)
				{
					box=document.getElementById(id);
					box.style.display='block';
				}
				
				function hide_Layer(id)
				{
					if(document.getElementById(id)=="none"){
					document.getElementById(id).style.display="none";
					}
					else {
					document.getElementById(id).style.display="none";
					}
				}
				
				
				function set_BgColor(id,color)
				{
					var ele=document.getElementById(id);
					ele.style.background=color;
					ele.style.cursor="hand";
				}
				
				function set_Fontsize(id,size)
				{
					ele=document.getElementById(id);
					ele.style.font=size;
				}