<%
if request.cookies("bjx")("shjianame")="" then
response.Redirect "shjia.asp"
response.End
end if
%>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkkk()
{
     if(checkspace(document.myform.bookname.value)) {
	document.myform.bookname.focus();
    alert("请输入商品名称！");
	return false;
  }
     if(checkspace(document.myform.shichangjia.value)) {
	document.myform.shichangjia.focus();
    alert("请输入市场价格！");
	return false;
  }
     if(checkspace(document.myform.huiyuanjia.value)) {
	document.myform.huiyuanjia.focus();
    alert("请输入会员价格！");
	return false;
  }
     if(checkspace(document.myform.vipjia.value)) {
	document.myform.vipjia.focus();
    alert("请输入VIP会员价格！");
	return false;
  }
 
}
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
//-->
</script>
<script>
	function regInput(obj, reg, inputStr)
	{
		var docSel	= document.selection.createRange()
		if (docSel.parentElement().tagName != "INPUT")	return false
		oSel = docSel.duplicate()
		oSel.text = ""
		var srcRange	= obj.createTextRange()
		oSel.setEndPoint("StartToStart", srcRange)
		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
		return reg.test(str)
	}
</script>
<form name="myform" method="post" action="../admin/saveaddbook.asp?action=add" OnSubmit="return checkkk()">
<p><b><font size="6" color="#FF0000">如果有需要，请和我联系！</font></b></p>
<p><b><font size="6" color="#FF0000">联系电话：0591-85253050</font></b></p>
<p><b><font size="6" color="#FF0000">联系QQ：34734852</font></b></p>
<p><b><font size="6" color="#FF0000">联系人：成先生&nbsp; </font></b></p>
<p><b><font size="6" color="#FF0000">演示网址：<a href="http://www.guluu.com">http://www.guluu.com</a></font></b></p>
