document.write("  <html> ");
document.write("  <head> ");
document.write("  <title>万象世界</title> ");
document.write("  <meta http-equiv='Content-Type' content='text/html; charset=gb2312'> ");
document.write("  <style type='text/css'> ");
document.write("  <!-- ");
document.write("  .input { ");
document.write("  	border: 1px solid #000000; ");
document.write("  } ");
document.write("  td { ");
document.write("  	font-size: 12px; ");
document.write("  	color: #000000; ");
document.write("  } ");
document.write("  --> ");
document.write("  </style> ");
document.write("  </head> ");

document.write("  <body bgcolor='#FFFFFF' > ");
document.write("  <table width='773' border='0' align='center' cellpadding='0' cellspacing='0' bgcolor='#77BEFE' class=input> ");
document.write("  <form name='form773_wxsj' method='post' action='http://sms3.ctn.com.cn/fast_subscribe_wxsj.php' onsubmit='return false' id=form773_wxsj> ");
document.write("           <!--所传的参数-->  ");
document.write("  		<input type='hidden' name='subscribe_1' value='25544'>  ");
document.write("  		<input name='confirm' type='hidden' value='1'>  ");
document.write("  		<input name='num' type='hidden' value='1'>  ");
document.write("  		<input name='vgirl_9yuan' type='hidden' value='1'>  ");
document.write("  		<input name='user_id' type='hidden' value=''>  ");
document.write("  		<input name='code_id' type='hidden' value='311'>  ");
document.write("  		<input name='type' type='hidden' value='240'>  ");
document.write("  		<input name='inc' type='hidden' value='4'>  ");
document.write("  		<input name='id' type='hidden' value='100'>  ");
document.write("  		<input name='mobile' type='hidden' value='' >  ");
document.write("  		<input name='from' type='hidden' value='tom'>     ");

document.write("    <tr> ");
document.write("      <td width='616'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='616' height='100'> ");
document.write("        <param name='movie' value='http://usmsad.tom.com/usmsweb/images/wxsj/773-100.swf'> ");
document.write("        <param name='quality' value='high'> ");
document.write("        <embed src='http://usmsad.tom.com/usmsweb/images/wxsj/773-100.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='616' height='100'></embed> ");
document.write("      </object></td> ");
document.write("      <td  bgcolor='#FFFFFF'> ");
document.write("        <table width='100%' border='0' cellspacing='0' cellpadding='0' align='center'> ");
document.write("          <tr>  ");
document.write("            <td><font color='#000000' style='font-size: 12px'>手机参与：</font></td> ");
document.write("            <td><font color='135D5D'>  ");
document.write("              <input type='text' name='user' size='10' maxlength=11 class=input onMouseOver='this.focus();this.select()' onkeydown='ctrlenter_wxsj773()'>   ");
document.write("              </font></td> ");
document.write("          </tr> ");
document.write("          <tr>  ");
document.write("            <td><font color='#000000' style='font-size: 12px'>做好准备：</font></td> ");
document.write("            <td><font color='135D5D'> "); 
document.write("            <input type='image' src='http://usmsad.tom.com/usmsweb/images/2004index/button_1.gif' onclick='check_form773_wxsj()'> ");
document.write("            </font></td> ");
document.write("          </tr> ");
document.write("        </table> ");
document.write("         </td> ");
document.write("    </tr></form> ");
document.write("  </table> ");
document.write("  </body> ");
document.write("  </html> ");

function ctrlenter_wxsj773(eventobject)
{
	if(event.keyCode==13){check_form773_wxsj();}
}

function check_form773_wxsj()
{
	mobile=form773_wxsj.user.value ;

	//alert(mobile.length) ;
	if(mobile.length!=11)
	{
		alert("请输入正确的手机号码！") ;
		return false ;
	}	

	//mobile_head=mobile.substring(0,3) ;
	//if( mobile_head=="131" || mobile_head=="132" || mobile_head=="133")
	//{
	//	alert("本服务暂时不对联通用户开放。") ;
	//	//alert(mobile_head) ;
	//	return false ;
	//}	

	
	p=document.scripts.length ;
	for(i=0;i<p;i++)
	{
		x=document.scripts[i].src ;
		
		if(x.indexOf("wxsj")!="-1")		
		{
			tom_script=document.scripts[i].src ;
			break ;
		}
	}	

	temp=tom_script.substr(tom_script.indexOf("user_id"));
	if (temp==""){temp=tom_script.substr(tom_script.indexOf("tomuserid"));};
	url1=temp.split("&") ;
	//alert(url1[0]) ;
	url2=url1[0].split("=") ;
	user_id=url2[1] ;
	form773_wxsj.user_id.value=user_id ;
	//alert(user_id) ;
	
	URL="http://sms3.ctn.com.cn/fast_subscribe_wxsj.php?user=" + mobile +  "&subscribe_1=25544&confirm=1&num=1&vgirl_9yuan=js&code_id=311&type=240&inc=4&id=100&mobile=" + mobile + "&user_id=" + user_id+ "&tpl_name=wxsj773";	

	//alert(url) ;
	//window.open(url,'TOM_Vgirl','width=250,height=250,location=no') ;
	window.open(URL,'TOM_Vgirl','width=520,height=202') ;
	
}
