var urllinks;
urllinks="";
smsid=4027;
function fucCheckNUM(NUM)
{
var i,j,strTemp;
strTemp="0123456789";
if ( NUM.length== 0)
return 0
for (i=0;i<NUM.length;i++)
{
j=strTemp.indexOf(NUM.charAt(i));
if (j==-1)
{
return 0;
}
}
return 1;
}
function checksub(frm)
{
if (frm.tel_num.value =="")
{
window.alert ("手机号码不能为空！");
frm.tel_num.focus();
return false;
}
str=frm.tel_num.value;
if (str.length!=11)
{
window.alert ("手机号码位数必须为11位！");
frm.tel_num.focus();
return false;
}
if (fucCheckNUM(str)==0 )
{
window.alert ("手机号码只能含有数字字符！");
frm.tel_num.focus();
return false;
}
var strDetail = '';
for(i=0;i<frm.elements.length;i++)
{
var myStr = new String(frm.elements[i].name);
var myString = myStr.substr(0,9);
if(myString == 'id')
if(frm.elements[i].checked == true)
strDetail = strDetail+"&"+myStr+"="+frm.elements[i].value;
}
if(strDetail == ''){
alert("请选择至少一项服务！");
return false;
}
window.open('','muti','width=350,height=400,scrollbars=yes')
return true;
}
document.writeln("<table width=469 height=60 cellpadding=\"0\" cellspacing=\"0\" bgcolor=#eeeeee class='gamma18'>");
document.writeln("  <FORM  action=\"http://www.9158.com.cn/sms/union/order/unionordermuti.asp?smsid="+smsid+"\" id=\"orderfrm\" name=orderfrm method=post ");
document.writeln("            target=muti onsubmit=\"return checksub(this);\">");
document.writeln("  <tr> ");
document.writeln("    <td align=right valign=bottom width=\"239\"><a href="+urllinks+" target=\"_blank\"><img src=\"http://www.9158.com.cn/9158/hezuo_images/030909_468x60english.gif\" width=\"241\" height=\"60\" border=\"0\"></a></td>");
document.writeln("    <td width=\"228\" align=right valign=bottom background=\"http://www.9158.com.cn/9158/hezuo_images/030909_227x60english.jpg\"> ");
document.writeln("      <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("        <tr> ");
document.writeln("          <td  style=\"color:#004444;font-size:12px;font-weight:600;\"  colspan=\"3\"><div align=\"center\"><font color=\"#000000\">英语900句</font> ");
document.writeln("                <input type=checkbox name=id value=361>");
document.writeln("                <font color=\"#000000\">英语格言</font> ");
document.writeln("                <input type=checkbox name=id value=358>");
document.writeln("            </div></td>");
document.writeln("        </tr>");
document.writeln("        <tr> ");
document.writeln("          <td colspan=\"3\">&nbsp; </td>");
document.writeln("        </tr>");
document.writeln("        <tr> ");
document.writeln("          <td  style=\"color:#004444;font-size:12px;font-weight:600;\"  width=\"87\"><div align=\"right\"><font color=\"#000000\">手机号</font>&nbsp; ");
document.writeln("            </div></td>");
document.writeln("          <td width=\"80\"><input name=\"tel_num\" type=\"text\" style=\"BORDER-RIGHT: rgb(0,0,0) 1px solid; BORDER-TOP: rgb(0,0,0) 1px solid; FONT-SIZE: 12px; BORDER-LEFT: rgb(0,0,0) 1px solid; BORDER-BOTTOM: rgb(0,0,0) 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: white\" value=\"13\" size=11 maxlength=11></td>");
document.writeln("          <td width=\"60\"><input name=\"imageField3\" type=\"image\" src=\"http://www.9158.com.cn/9158/hezuo_images/button3.gif\" width=\"40\" height=\"16\" border=\"0\"></td>");
document.writeln("        <tr> ");
document.writeln("          <td height=\"3\" colspan=\"3\"></td>");
document.writeln("        </tr>");
document.writeln("      </table> </td>");
document.writeln("  </tr></form>");
document.writeln("</table>");