<%
'-----禁止网页缓存
Response.Buffer = True 
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache"
'-----验证码生成
dim yz
randomize timer
yz		= Int((8999)*Rnd +1009)
session("ok")	= yz
startime		= timer()
if session("tmp_usersessionid") = "" Then
session("tmp_usersessionid") = session.sessionid
end If
'-----风格界面
if request.QueryString("skin") = "" Then
session("skin") = session("skin")
else
session("skin") = request.QueryString("skin")
end If
if session("skin") = "" or session("skin") = 0 then
cssid = skin
else
cssid = session("skin")
end If
'------page start
'----------qq online SM
%> 
<html>
<head>
<title><%=webname%></title>
<link rel="Shortcut Icon" href="<%=weburl%>favicon.ico">
<meta name="generator" content="wygkcn-shop">
<meta name=keywords content="<%=webgjz%>">
<meta name="description" content="<%=webmx%>">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<link href="<%=weburl%>css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
}
-->
</style>
<script language="JavaScript" type="text/javascript" src="js/imagerollover.js"></script>
</head>
<body>
<!--css info(editable)-->
<script language="JavaScript" type="text/JavaScript">
<!--

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>


<SCRIPT>
NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")
tempBar='';barBuilt=0;ssmItems=new Array();
moving=setTimeout('null',1)

function moveOut() {
if ((NS6||NS)&&parseInt(ssm.left)<0 || IE && ssm.pixelLeft<0) {
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed);slideMenu(10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}};

function moveBack()
{clearTimeout(moving);moving = setTimeout('moveBack1()', waitTime)}

function moveBack1()
{
if ((NS6||NS) && parseInt(ssm.left)>(-menuWidth) || IE && ssm.pixelLeft>(-menuWidth)) {
clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed);slideMenu(-10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}}

function slideMenu(num){
if (IE) {ssm.pixelLeft += num;}
if (NS||NS6) {ssm.left = parseInt(ssm.left)+num;}
if (NS) {bssm.clip.right+=num;bssm2.clip.right+=num;}}

function makeStatic() {
if (NS||NS6) {winY = window.pageYOffset;}
if (IE) {winY = document.body.scrollTop;}
if (NS6||IE||NS) {
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .2 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .2 * (winY - lastY - (YOffset-(YOffset-winY)));}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (IE) bssm.pixelTop+=smooth;
if (NS6||NS) bssm.top=parseInt(bssm.top)+smooth
lastY = lastY+smooth;
setTimeout('makeStatic()', 1)}}

function buildBar() {
if(barText.indexOf('<IMG')>-1) {tempBar=barText}
else{for (b=0;b<barText.length;b++) {tempBar+=barText.charAt(b)+"<BR>"}}
document.write('<td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'</B></font></p></TD>')}

function initSlide() {
if (NS6){ssm=document.getElementById("thessm").style;bssm=document.getElementById("basessm").style;
bssm.clip="rect(0 "+document.getElementById("thessm").offsetWidth+" "+document.getElementById("thessm").offsetHeight+" 0)";ssm.visibility="visible";}
else if (IE) {ssm=document.all("thessm").style;bssm=document.all("basessm").style
bssm.clip="rect(0 "+thessm.offsetWidth+" "+thessm.offsetHeight+" 0)";bssm.visibility = "visible";}
else if (NS) {bssm=document.layers["basessm1"];
bssm2=bssm.document.layers["basessm2"];ssm=bssm2.document.layers["thessm"];
bssm2.clip.left=0;ssm.visibility = "show";}
if (menuIsStatic=="yes") makeStatic();}

function buildMenu() {
if (IE||NS6) {document.write('<DIV ID="basessm" style="visibility:hidden;Position : Absolute ;Left : '+XOffset+' ;Top : '+YOffset+' ;Z-Index : 20;width:'+(menuWidth+barWidth+10)+'"><DIV ID="thessm" style="Position : Absolute ;Left : '+(-menuWidth)+' ;Top : 0 ;Z-Index : 20;" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS) {document.write('<LAYER name="basessm1" top="'+YOffset+'" LEFT='+XOffset+' visibility="show"><ILAYER name="basessm2"><LAYER visibility="hide" name="thessm" bgcolor="'+menuBGColor+'" left="'+(-menuWidth)+'" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'"><TR><TD>')}
document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'">');
for(i=0;i<ssmItems.length;i++) {
if(!ssmItems[i][3]){ssmItems[i][3]=menuCols;ssmItems[i][5]=menuWidth-1}
else if(ssmItems[i][3]!=menuCols)ssmItems[i][5]=Math.round(menuWidth*(ssmItems[i][3]/menuCols)-1);
if(ssmItems[i-1]&&ssmItems[i-1][4]!="no"){document.write('<TR>')}
if(!ssmItems[i][1]){
document.write('<td bgcolor="'+hdrBGColor+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+ssmItems[i][5]+'" COLSPAN="'+ssmItems[i][3]+'"> <font face="'+hdrFontFamily+'" COLOR="'+hdrFontColor+'">'+ssmItems[i][0]+'</font></td>')}
//document.write('<td bgcolor="'+hdrBGColor+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+ssmItems[i][5]+'" COLSPAN="'+ssmItems[i][3]+'"> <font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'">'+ssmItems[i][0]+'</font></td>')}
else {if(!ssmItems[i][2])ssmItems[i][2]=linkTarget;
document.write('<TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" HEIGHT="'+hdrHeight+'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="'+ssmItems[i][5]+'" COLSPAN="'+ssmItems[i][3]+'"><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'"> <a href="'+ssmItems[i][1]+'" target="'+ssmItems[i][2]+'" CLASS="ssmItems">'+ssmItems[i][0]+'</DIV></LAYER></ILAYER></TD>')}
if(ssmItems[i][4]!="no"&&barBuilt==0){buildBar();barBuilt=1}
if(ssmItems[i][4]!="no"){document.write('</TR>')}}
document.write('</table>')
if (NS6){document.write('</TD></TR></TABLE>')}
if (IE||NS6) {document.write('</DIV></DIV>')}
if (NS) {document.write('</LAYER></ILAYER></LAYER>')}
theleft=-menuWidth;lastY=0;
setTimeout('initSlide();', 1);
}
</SCRIPT>

<%
set rs = server.CreateObject("adodb.recordset")
sql = "select * from shop_kf"
rs.Open sql,conn,1,1
kfinc_2		= rs("inc")
kfinc_2		= split(kfinc_2,"|")
kfinc1		= kfinc_2(0)
kfinc2		= kfinc_2(1)
kfinc3		= kfinc_2(2)
kfinc4		= kfinc_2(3)
kfinc5		= kfinc_2(4)
kfinc6		= kfinc_2(5)
kfinc7		= kfinc_2(6)
kf1			= rs("kf1")
kfurl1		= rs("kfurl1")
kf2			= rs("kf2")
kfurl2		= rs("kfurl2")
kf3			= rs("kf3")
kfurl3		= rs("kfurl3")
kf4			= rs("kf4")
kfurl4		= rs("kfurl4")
kf5			= rs("kf5")
kfurl5		= rs("kfurl5")
kf6			= rs("kf6")
kfurl6		= rs("kfurl6")
kf7			= rs("kf7")
kfurl7		= rs("kfurl7")
rs.Close
set rs = nothing
if kfinc1 = 1 Then
%>
<SCRIPT>
YOffset=110; // no quotes!!
XOffset=0;
staticYOffset=30; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="<%=kfinc2%>";//导航边框颜色
menuIsStatic="yes"; //this sets whether menu should stay static on the screen
menuWidth=<%=kfinc3%>; // 导航宽度
menuCols=2;
hdrFontFamily="verdana";
hdrFontSize="4";//导航第一行文字大小
hdrFontColor="<%=kfinc4%>";//导航第一行文字颜色
hdrBGColor="<%=kfinc5%>";//导航第一行颜色
hdrAlign="<%=kfinc7%>";//导航第一行位置
hdrVAlign="center";
hdrHeight="<%=kfinc6%>";//表格高度
linkFontFamily="Verdana";
linkFontSize="4";
linkBGColor="white";
linkOverBGColor="#f1f1f1";
linkTarget="_top";
linkAlign="<%=kfinc7%>";//第一行以下位置
barBGColor="#DFDFDF";//外边颜色
barFontFamily="Verdana";
barFontSize="4";//站内导航文字大小
barFontColor="333333";
barVAlign="center";
barWidth=20; // no quotes!!
barText="<IMG src=<%=weburl%>img/kf.gif  border=0>"; // <IMG> tag supported. Put exact html for an image to show.
///////////////////////////
// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
//ssmItems[0]=["站内导航"] //create header
ssmItems[0]=["<%=kf1%>", "<%=kfurl1%>", "_blank"]
ssmItems[1]=["<%=kf2%>", "<%=kfurl2%>", "_blank"]
ssmItems[2]=["<%=kf3%>", "<%=kfurl3%>", "_blank"]
ssmItems[3]=["<%=kf4%>", "<%=kfurl4%>", "_blank"]
ssmItems[4]=["<%=kf5%>", "<%=kfurl5%>", "_blank"]
ssmItems[5]=["<%=kf6%>", "<%=kfurl6%>", "_blank"]
ssmItems[6]=["<%=kf7%>", "<%=kfurl7%>", "_blank"]
buildMenu();
</SCRIPT>
<%end If%>


<script>
//定义当前需用软键盘的表单和控件的名称
	var curEditName
	curEditName="userlogin.userpassword"
</script>

<script language="JavaScript">
	//定义当前是否大写的状态
var CapsLockValue=0;

document.write ('<div align=center id=\"softkeyboard\" name=\"softkeyboard\" style=\"position:absolute; left:70px; top:120px; width:517px; z-index:180;display:none\">');
  document.write ('<br>');
  document.write ('<table width=\"273\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');

    document.write ('<tr>');
      document.write ('<td bgcolor=\"#989898\"><table width=\"100%\"  border=\"0\" cellspacing=\"1\" cellpadding=\"0\">');
        document.write ('<tr>');
          document.write ('<td bgcolor=\"#FFFFFF\"><table width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
            document.write ('<tr>');
              document.write ('<td height=\"138\" align=\"center\">');
              document.write ('<table width=\"262\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
   document.write ('<tr>');
   document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'#\',curEditName);\" class=\"rjp\">#</a></td>');
   document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\',\',curEditName);\" class=\"rjp\">,</a></td>');
   document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'.\',curEditName);\" class=\"rjp\">.</a></td>');
   document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'/\',curEditName);\" class=\"rjp\">/</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'1\',curEditName);\" class=\"rjp\">1</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'2\',curEditName);\" class=\"rjp\">2</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'3\',curEditName);\" class=\"rjp\">3</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'4\',curEditName);\" class=\"rjp\">4</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'5\',curEditName);\" class=\"rjp\">5</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'6\',curEditName);\" class=\"rjp\">6</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'7\',curEditName);\" class=\"rjp\">7</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'8\',curEditName);\" class=\"rjp\">8</a></td>');
   document.write ('</tr>');
   document.write ('<tr>');
	document.write ('<td height=\"2\" colspan=\"12\"><img src=\"<%=weburl%>/img/login/transparent.gif\"></td></tr>');
   document.write ('<tr>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'9\',curEditName);\" class=\"rjp\">9</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'0\',curEditName);\" class=\"rjp\">0</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'a\',curEditName);\" class=\"rjp\">a</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'b\',curEditName);\" class=\"rjp\">b</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'c\',curEditName);\" class=\"rjp\">c</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'d\',curEditName);\" class=\"rjp\">d</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'e\',curEditName);\" class=\"rjp\">e</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'f\',curEditName);\" class=\"rjp\">f</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'g\',curEditName);\" class=\"rjp\">g</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'h\',curEditName);\" class=\"rjp\">h</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'i\',curEditName);\" class=\"rjp\">i</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'j\',curEditName);\" class=\"rjp\">j</a></td>');
   document.write ('</tr>');
   document.write ('<tr>');
	document.write ('<td height=\"2\" colspan=\"12\"><img src=\"<%=weburl%>/img/login/transparent.gif\"></td></tr>');
   document.write ('<tr>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'k\',curEditName);\" class=\"rjp\">k</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'l\',curEditName);\" class=\"rjp\">l</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'m\',curEditName);\" class=\"rjp\">m</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'n\',curEditName);\" class=\"rjp\">n</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'o\',curEditName);\" class=\"rjp\">o</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'p\',curEditName);\" class=\"rjp\">p</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'q\',curEditName);\" class=\"rjp\">q</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'r\',curEditName);\" class=\"rjp\">r</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'s\',curEditName);\" class=\"rjp\">s</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'t\',curEditName);\" class=\"rjp\">t</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'u\',curEditName);\" class=\"rjp\">u</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'v\',curEditName);\" class=\"rjp\">v</a></td>');
   document.write ('</tr>');
   document.write ('<tr>');
	document.write ('<td height=\"2\" colspan=\"12\"><img src=\"<%=weburl%>/img/login/transparent.gif\"></td></tr>');
   document.write ('<tr>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'w\',curEditName);\" class=\"rjp\">w</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'x\',curEditName);\" class=\"rjp\">x</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'y\',curEditName);\" class=\"rjp\">y</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'z\',curEditName);\" class=\"rjp\">z</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'`\',curEditName);\" class=\"rjp\">`</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'-\',curEditName);\" class=\"rjp\">-</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'=\',curEditName);\" class=\"rjp\">=</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'@\',curEditName);\" class=\"rjp\">@</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\'[\',curEditName);\" class=\"rjp\">[</a></td>');
      document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\']\',curEditName);\" class=\"rjp\">]</a></td>');
	  document.write ('<td background=\"<%=weburl%>/img/login/login09.jpg\" width=\"22\" height=\"24\" align=\"center\"><a href=\"javascript:addValue(\';\',curEditName);\" class=\"rjp\">;</a></td>');
      document.write ('<td background="<%=weburl%>/img/login/login12.jpg" width="22" height="24" align="center"><img src="<%=weburl%>/img/login/transparent.gif"></td>');
   document.write ('</tr>');
   document.write ('<tr>');
document.write ('<td height=\"2\" colspan=\"12\" align=\"right\"><img src=\"<%=weburl%>/img/login/login11.gif\"></td></tr>');
document.write ('</table>');
document.write ('<table width=\"262\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">');
  document.write ('<tr>');
    document.write ('<td width=\"82\" height=\"24\" background=\"<%=weburl%>/img/login/login10.jpg\" align=\"center\"><a href=\"javascript:addValue(\' \',curEditName);\" class=\"rjp\">Space</a></td>');
    document.write ('<td width=\"48\" background=\"<%=weburl%>/img/login/login10b.jpg\" align=\"center\"><a href=\"javascript:setCapsLock();\" class=\"rjp\">Shift</a></td>');
    document.write ('<td width=\"86\" background=\"<%=weburl%>/img/login/login10c.jpg\" align=\"center\"><a href=\"javascript:setpassvalue(curEditName);\" class=\"rjp\">BackSpace</a></td>');
    document.write ('<td width=\"48\" background=\"<%=weburl%>/img/login/login10d.jpg\" align=\"center\"><a href=\"javascript:OverInput(curEditName);\" class=\"rjp\"><font color=\"#CC0000\">Enter</font></a></td>');
  document.write ('</tr>');
document.write ('</table></td>');
            document.write ('</tr>');
            document.write ('<tr>');
              document.write ('<td height=\"23\" background=\"<%=weburl%>/img/login/login08.jpg\" valign=\"top\">　use soft keyboard.</td>');
            document.write ('</tr>');
          document.write ('</table></td>');
        document.write ('</tr>');
      document.write ('</table></td>');
    document.write ('</tr>');


  document.write ('</table>');
document.write ('</div>');

//给输入的密码框添加新值
	function addValue(newValue,theForm)
	{
		eval("var theForm="+theForm+";");
		if (CapsLockValue==0)
		{
			theForm.value += newValue;
		}
		else
		{
			theForm.value += newValue.toUpperCase();
		}
	}
//实现BackSpace键的功能
	function setpassvalue(theForm)
	{
		eval("var theForm="+theForm+";");
		var longnum=theForm.value.length;
		var num=theForm.value.substr(0,longnum-1);
		theForm.value=num;
	}
//输入完毕eveal方法是使var的变量转换成传入类型
	function OverInput(theForm)
	{
		eval("var theForm="+theForm+";");
		softkeyboard.style.display="none";
	}
//显示软键盘
	function showkeyboard()
	{
		//document.userlogin.userpassword.value=""
		softkeyboard.style.display="block";
	}

//设置是否大写的值
function setCapsLock()
{
	if (CapsLockValue==0)
	{
		CapsLockValue=1;
	}
	else 
	{
		CapsLockValue=0;
	}
}
//--></script>

<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="220" height="25" rowspan="2" align="right"><a href="<%=weburl%>"><img src="<%=weburl%><%=weblogo%>" border="0"></a></td>
    <td width="788" height="35" valign="bottom"><table border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="<%=weburl%>images/cart01.jpg" height="32"></td>
        <td background="<%=weburl%>images/cart03.jpg"><%
			if session("username")<>"" then 
					  set rscar=server.CreateObject("adodb.recordset")
					  rscar.open "select count(*) as rec_count from shop_action where username='"&nosql(session("username"))&"' and zhuangtai=7",conn,1,1
					  rec_count=rscar("rec_count")
					  rscar.close
					  rscar.open "select sum(zonger) as zongji from shop_action where username='"&nosql(session("username"))&"' and zhuangtai=7",conn,1,1
					  else
					  set rscar=server.CreateObject("adodb.recordset")
					  rscar.open "select count(*) as rec_count from shop_action where username='"&nosql(session("tmp_usersessionid"))&"' and zhuangtai=7",conn,1,1
					  rec_count=rscar("rec_count")
					  rscar.close
					  rscar.open "select sum(zonger) as zongji from shop_action where username='"&nosql(session("tmp_usersessionid"))&"' and zhuangtai=7",conn,1,1
					  end if
					  %><font color="#990000"><strong><%=rec_count%></strong></font> items in cart &nbsp;&nbsp;Total:<font color="#990000"><strong><%=hb%> <%if (rscar("zongji")="") or isNull(rscar("zongji")) then
            response.write "0"
           else 
	        response.write formatnumber(cdbl(rscar("zongji")),2)
           end if
		   rscar.close
          set rscar = nothing%></strong></font></td>
        <td><a href="<%=weburl%>gouwu.asp?action=show&lx=1"><img src="<%=weburl%>images/cart02.jpg" height="32" border="0"></a></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="35" valign="bottom"><table border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <%
					  set rstop=server.CreateObject("adodb.recordset")
					  sql = "select * from shop_top order by toppx asc"
					  rstop.open sql,conn,1,1
					  do while not rstop.eof
		  %>
        <td width="2"><img src="<%=weburl%>images/skin<%=cssid%>/top_l.gif" width="4" height="23"></td>
        <td background="<%=weburl%>images/skin<%=cssid%>/top_b.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="center" >&nbsp;<a href="<%if rstop("topname")<>"少年游" then Response.write(left(weburl,(len(weburl)-1)))%><%=rstop("topurl")%>"><strong><FONT color="<%=rstop("sztys")%>"><%=rstop("topname")%></FONT></strong></a>&nbsp;</td>
            </tr>
        </table></td>
        <td width="2"><img src="<%=weburl%>images/skin<%=cssid%>/top_r.gif" width="4" height="23"></td>
        <td width="2"></td>
        <%
					rstop.movenext
					loop
					rstop.close
					set rstop=Nothing
				%>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="30" colspan="2" background="<%=weburl%>images/skin<%=cssid%>/bar02.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="62%">&nbsp;<font color="#dedebd"><strong>Choose default layout:</strong></font>&nbsp;<a href="index.asp?skin=1"><img src="<%=weburl%>images/webtop01.gif" border="0"></a>&nbsp;<a href="index.asp?skin=2"><img src="<%=weburl%>images/webtop02.gif" border="0"></a>&nbsp;<a href="index.asp?skin=3"><img src="<%=weburl%>images/webtop03.gif" border="0"></a>&nbsp;<a href="index.asp?skin=4"><img src="<%=weburl%>images/webtop04.gif" border="0"></a>&nbsp;<a href="index.asp?skin=5"><img src="<%=weburl%>images/webtop05.gif" border="0"></a>&nbsp;&nbsp;<strong><font color="#dedebd">Call Us:</font><em><font color="#ffcc99"><%=dianhua%></font></em></strong></td>
        <td width="38%">
          <div align="right">&nbsp;&nbsp;<a href="<%=weburl%>reg.asp" ><strong><font color="#FFFFFF">Register</font></strong></a> | <a href="<%=weburl%>login.asp" ><strong><font color="#FFFFFF">Login In</font></strong></a> | <a href="<%=weburl%>help.asp"><strong><font color="#FFFFFF">Help</font></strong></a> | <a href="<%=weburl%>fk.asp" target=_blank class="nav"><strong><font color="#FFFFFF">Feedback</font></strong></a> | <a href="javascript:window.external.AddFavorite('<%=weburl%>','<%=webname%>')"><strong><font color="#FFFFFF">Add to favorite</font></strong></a>&nbsp;&nbsp;</div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="25" colspan="2" background="<%=weburl%>images/bar03.gif"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <form name="form" method="post" action="<%=weburl%>research.asp">
        <td height="28"><div align="center">
          <%
					set rs=server.CreateObject("adodb.recordset")
					sql = "select * from shop_anclass where xs=2 order by anclassidorder"
					rs.open sql,conn,1,1
					%>
          <select name="anclassid" id="anclassid">
            <option value="0">All Categories</option>
            <%do while not rs.eof%>
            <option value="<%=rs("anclassid")%>"><%=trim(rs("anclass"))%></option>
            <%rs.movenext
						  loop
						  rs.close
						  set rs=nothing%>
          </select>&nbsp;<input type="text" id="searchkey" name="searchkey" onFocus="this.value=''" value="Search Product" size="26"  >
          <input name="Submit" type="submit" class="go-wenbenkuang" value="Search Now!" /> &nbsp;&nbsp;
          <a href="<%=weburl%>search.asp"><font color="#006699"><strong>Advanced Search</strong></font></a>&nbsp;&nbsp;&nbsp;&nbsp;<strong>Keys:</strong>
          <%set rs=server.createobject("adodb.recordset")
				sql="SELECT top 3 * FROM shop_his WHERE lx=2 "					
				rs.open sql,conn,1,1
				do while not rs.eof%>
                <a href="<%=weburl%>research.asp?searchkey=<%=rs("shopname")%>&anclassid=0" class=link_redblank><%=rs("shopname")%></a>
                <%rs.movenext
				  	loop%>
              <%
	rs.close
	set rs=nothing
%></div> </td>
	  </form>
        </tr>
    </table></td>
	  
  </tr>
	  
</table></td>
  </tr>
</table>
<!--top-->

