<!--
	function Validate(aForm)
	{
	   var url;
	   if (aForm.UserNum.value.length!=11)
	   {
	     alert("请输入您的手机号！");
	     aForm.UserNum.focus();
	     return (false);
	   }	
	   if (aForm.UserPwd.value.length==0)
	   {
	     alert("请输入您的密码！");
	     aForm.UserPwd.focus();
	     return (false);
	   }
	   return (true);
	}

	function userhelp()
	{
  		window.open('http://mms.sohu.com/help/start.html','helpwindow','top=50,left=400,width=456,height=525,scrollbars=no,resizable=no,center=yes');
	}

	function phonebook(tfield)
	{
		window.open('http://mms.sohu.com/phonebook/phonelist.php?tofield=' + tfield ,'','width=300,height=260,resizable=0,scrollbars=0,status=no,toolbar=no,location=no,menu=no');
	}
	
	function sendwap(id) {
  		window.open('http://mms.sohu.com/send/wsend.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}	
	
	function sendpush(id) {
  		window.open('http://mms.sohu.com/send/psend.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}

	function sendmp(id)
	{
  		window.open('http://mms.sohu.com/send/msend.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}

	function sendmms(id,ref,bid)
	{
  		window.open('http://mms.sohu.com/send/send.php?id=' + id + '&ref=' + ref + '&bid=' + bid,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}
	
	function sendmmsny(id,ref)
	{
  		window.open('http://mms.sohu.com/send/nysend.php?id=' + id + '&ref=' + ref,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}
function sendani(id)
	{
  		window.open('http://mms.sohu.com/send/send.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}
function sendpic(id)
	{
  		window.open('http://mms.sohu.com/send/send.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}
	function sendring(id)
	{
  		window.open('http://mms.sohu.com/send/send.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}
function sendtone(id)
	{
  		window.open('http://mms.sohu.com/send/send.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}
function sendd(id,ref)
	{
  		window.open('http://mms.sohu.com/send/senddr.php?id=' + id + '&ref=' + ref,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');
	}

	function sendm6(id)
	{
  		window.open('http://mms.sohu.com/mms6/edit.php?id=' + id,'mms6','top=50,left=200,width=450,height=400,scrollbars=no,resizable=no,center=yes');
	}

	function sendm6letter(id)
	{
  		window.open('http://mms.sohu.com/mms6/edit.php?mid=' + id,'mms6','top=50,left=200,width=450,height=400,scrollbars=no,resizable=no,center=yes');
	}
	
	
	function book(id)
	{
  		window.open('http://mms.sohu.com/book/book.php?id=' + id,'','top=50,left=200,width=500,height=450,scrollbars=no,resizable=no,center=yes');
	}
	function bookp(id)
	{
  		window.open('http://mms.sohu.com/book/bookp.php?id=' + id,'','top=50,left=200,width=500,height=450,scrollbars=no,resizable=no,center=yes');
	}

	function freebook(id)
	{
  		window.open('http://mms.sohu.com/book/books.php?id=' + id,'','top=50,left=200,width=500,height=450,scrollbars=no,resizable=no,center=yes');
	}

	function fixpwd()
	{
  		window.open('http://mms.sohu.com/user/fixpwd.php?num=' ,'','top=50,left=200,width=500,height=450,scrollbars=no,resizable=no,center=yes');
	}
	function register()
	{
  		window.open('http://mms.sohu.com/user/register.php','','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');
	}

	function fixpwdglobal()
	{
  		window.open('http://mms.sohu.com/user/fixpwd.php?num=' ,'','top=50,left=200,width=500,height=450,scrollbars=no,resizable=no,center=yes');
	}
	function registerglobal()
	{
  		window.open('http://mms.sohu.com/user/register.php','','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');
	}

	function chgptype()
	{
  		window.open('http://mms.sohu.com/user/ptype.php','','top=50,left=200,width=500,height=455scrollbars=no,resizable=no,center=yes');
	}
	function chgpwd()
	{
  		window.open('http://mms.sohu.com/user/pwd.php','','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');
	}

	function chginfo()
	{
  		window.open('http://mms.sohu.com/user/info.php','','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');
	}

	function userpoints()
	{
  		window.open('http://mms.sohu.com/user/points.php','','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');
	}

	function pic_freesend(ref, url)
	{
		if (url || ref)
		{
	  		window.open('http://mms.sohu.com/pic_free/pic_free1.php?ref='+ref+"&url="+url,'pic_free','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');
		}
		else
		{
	  		window.open('http://mms.sohu.com/pic_free/pic_free1.php','pic_free','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');
		}
	}

	function KillAccount()
    {
        if(confirm('确实要注销您的账号吗？'))
        {
            document.location='http://mms.sohu.com/user/kill.php';
        }
    }

 	function jump_to(this_catalog, jump_page, max_pages)
	{
		var page_words;
		jump_page = parseInt(jump_page);
		if (!isNaN(jump_page))
		{
			if(jump_page == "" || this_catalog == "")
			{
				alert("请输入页号！");
			}
			else
			{
				if (jump_page > max_pages)
				{
					alert("输入超过页数！");
				}
				else
				{
					page_words = jump_page;
					if (jump_page < 10)
					{
						page_words = "00" + page_words;
					}
					else if(jump_page < 100)
					{
						page_words = "0" + page_words;
					}
					window.location=this_catalog + page_words + ".html";
				}
			}
		}
		return false;
	}

function bg_sound(sd_url)
{
	document.write ('<OBJECT ID="MediaPlayer1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">');
	document.write ('  <PARAM NAME="FileName" VALUE="'+sd_url+'">');
	document.write ('  <PARAM NAME="ShowControls" VALUE="False">');
	document.write ('  <param name="ShowDisplay" value="False">');
	document.write ('  <PARAM NAME="AutoRewind" VALUE="True">');
	document.write ('  <PARAM NAME="AutoStart" VALUE="True">');
        document.write ('  <PARAM NAME="Loop" VALUE="True">');
	document.write ('</OBJECT>');
}

-->
