function confirmdel(id){
       if (confirm("Del this message?")) 
       window.location.href="delete_message.asp?id="+id
} 
function Juge(theForm)
{
  if (theForm.u_name.value == "")
  {
    alert("Yours Name, please!");
    theForm.u_name.focus();
    return (false);
  }
 if (theForm.email.value.length !=0)
 {
   for (i=0;i<theForm.email.value.length;i++)
    if (theForm.email.value.charAt(i) == "@")
    break;
   if (i ==theForm.email.value.length)
   {
    alert("Please enter a valid email address!");
    theForm.email.focus();
    return false;
   }
   
 }
 else
 {
   alert("E-mail Address, please!");
   theForm.email.focus();
   return false;
 }
	if (theForm.T_Content.value == "")
	{
		alert("Message, please!");
		theForm.T_Content.focus();
		return (false);
	}
}
 
 function changeimage()
 { 
  document.showimages.src=document.form1.image.value;
 }
 

