<!--#include file="../../inc/config.asp"-->
<SCRIPT language=javascript>
//-->
function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 

//--> 


function Form1_onsubmit()
 {
if (trim(document.Form1.ToEmail1.value) =="")
{
alert("请输入您的朋友的Email地址");
document.Form1.ToEmail1.focus();
document.Form1.ToEmail1.select();
return false;
}
var str1 = document.Form1.ToEmail1.value
if(str1.indexOf("@") == -1 || str1.indexOf(".") == -1){ 
alert("您的朋友的Email地址,请重新填写！"); 
document.Form1.ToEmail1.focus();
document.Form1.ToEmail1.select();
return false; 
} 
}
</SCRIPT>

<head>
<title>速配推荐</title>
<style type=text/css>
<!--
	BODY,TD{color:#000;font-size:14.8px;font-family:宋体}
	A.top{color:#ffffff;font-size:12px}
	A:LINK{color:#039;}
	A:VISITED{color:#909;}
	A:HOVER{color:#f60;}

	.RD{color:#900000;font:bold 14.8px 宋体}
	.YL{color:#ff0;font:bold 12px 宋体}
	.GR{color:#999;font-size:14.8px}

	.WH{color:#FFF;font:bold 14.8px 宋体}
	.WH:LINK{color:#FFF;font:bold 14.8px 宋体}
	.WH:VISITED{color:#FFF;font:bold 14.8px 宋体}
	.WH:HOVER{color:#f60;font:bold 14.8px 宋体}
	.WHS{color:#FFF;font:12px 宋体}
	.WHS:LINK{color:#FFF;font:12px 宋体}
	.WHS:VISITED{color:#FFF;font:12px 宋体}
	.WHS:HOVER{color:#f60;font:12px 宋体}
	.YLM{color:#ff0;font:bold 14.8px 宋体}
	
	.BUY{color:#fc9603;font:bold 14.8px 宋体}
	.SELL{color:#00cc00;font:bold 14.8px 宋体}
	.COOP{color:#851b91;font:bold 14.8px 宋体}
	.AGENT{color:#cc00ff;font:bold 14.8px 宋体}
	.ERROR{color:#f00;font:bold 14.8px 宋体}
	.NO{color:900000;font-size:12px;}
	.STAR{color:#f00;font-size:12px;}
	
	.X{font-size:24px;font-weight:bold;}
	.L{font-size:16px;font-weight:bold;}
	.M{font:bold 14.8px 宋体}
	.C{font-size:14.8px}
	.S{font-size:12px}
	
	.LM{line-height:130%}
	.LL{line-height:150%}
	
	SELECT{font-size:12px}
	INPUT{font-size:12px}
	TEXTAREA{font-size:12px}

<!------------OLD CSS--------->

	.f11{font-size:14.9px}
	.f1{font-size:10px}
	.f2{font-size:12px}
	.f3{font-size:16px}
	.f4{font-size:18px}
	.f5{font-size:24px}
	.f6{font-size:31px}
	.lh13{line-height:130%}
	.lh15{line-height:150%}
	.lh17{line-height:170%}
	.text13 {FONT:13px 宋体}

-->

</style>


</head>

<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<FORM name="Form1" action="tofriend_ok.asp" method=post onsubmit="return Form1_onsubmit();">
<TABLE border=0 cellPadding=4 cellSpacing=0 width="100%">
  <TBODY>
  <TR>
        <TD bgColor=#CC3300><font color=ffffff><%=webname%>(中国)</font></TD>
    <TD align=right bgColor=#CC3300 vAlign=bottom><A 
      href="javascript:window.close()"><IMG border=0 height=11 
      src="../../images/closewindow.gif" width=61></A></TD></TR></TBODY></TABLE><BR>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="95%">
  <TBODY>
  <TR>
    <TD>
      <CENTER>
            <TABLE width="95%" border=0 cellPadding=6 cellSpacing=0 bgcolor="#D8D8D8">
        <TBODY>
        <TR>
                  
              <TD align="center" class="M">我帮朋友做速配</TD>
                </TR></TBODY></TABLE>
              
            <TABLE width="95%" border=0 cellPadding=3 cellSpacing=2 bgcolor="#EEEEEE">
              <TBODY>
                <TR> 
                  <TD>打<font color="red">*</font>号为必填项</TD>
                </TR>
              </TBODY>
            </TABLE>
            <table width="90%" border="0" align="center" cellpadding="3" cellspacing="0">             
                <tr> 
                  
                <td height="28" align="center" nowrap class="M" width="10%"><font color="#CC3300">朋友1</font></td>
                  
                <td align="right" nowrap bgcolor="#FFFFFF" width="22%">他感兴趣的产品：</td>
                  
                <td bgcolor="#FFFFFF" width="16%">
<input size="8" name="keyword1" value="" ></td>
                  
                <td align="right" nowrap bgcolor="#FFFFFF" width="21%">
                  电子邮件：</td>
                <td nowrap bgcolor="#FFFFFF" width="31%"><font color="ff0000">*</font> 
<input size="18" name="ToEmail1" value=""></td>
                </tr>


              <tr> 
                <td height="10"></td>
              </tr>


                <tr> 
                  <td height="28" align="center" nowrap class="M"><font color="#CC3300">朋友2</font></td>
                  
                <td align="right" nowrap>他感兴趣的产品：</td>
                  <td><input size="8" name="keyword2" value="" ></td>
                  
                <td align="right" nowrap><font color="ff0000">&nbsp; </font>电子邮件：</td>
                  <td nowrap>&nbsp;&nbsp;<input size="18" name="ToEmail2" value=""></td>
                </tr>
              <tr> 
                <td height="10"></td>
              </tr>

                <tr> 
                  <td height="28" align="center" nowrap class="M"><font color="#CC3300">朋友3</font></td>
                  
                <td align="right" nowrap bgcolor="#FFFFFF">他感兴趣的产品：</td>
                  <td bgcolor="#FFFFFF"><input size="8" name="keyword3" value=""></td>
                  
                <td align="right" nowrap bgcolor="#FFFFFF"><font color="ff0000">&nbsp; 
                  </font>电子邮件：</td>
                  <td nowrap bgcolor="#FFFFFF">&nbsp;&nbsp;<input size="18" name="ToEmail2" value=""></td>
                </tr>
            </table>
            <table width="90%" height="3" border="0" align="center" cellPadding="0" cellSpacing="0">              
              <tr> 
                <td height="10"></td>
              </tr>
            </table>
            <br>
            <table width="90%" border="0" align="center" cellpadding="4" cellspacing="0">
                <tr align="center" bgcolor="#FFFFFF"> 
                  <td height="28"><input type="submit" value="确 定" name="B222" ></td>
                </tr>              
            </table>
          </CENTER></TD></TR></TBODY></TABLE>
  <br>
  <br>
<TABLE border=0 cellPadding=4 cellSpacing=0 width="100%">
  <TBODY>
  <TR>
    <TD bgColor=#e4e4e4>&nbsp;</TD></TR></TBODY></TABLE>
    </form>
    </BODY></HTML>
