<script language="javascript"> 
function showsrc()
{
	imgs = document.getElementsByTagName("img");
	imgsnum = imgs.length;
	for(imgi = 0 ;imgi < imgsnum;imgi++){
		 if ((typeof(imgs[imgi].src) == 'undefined' || imgs[imgi].src =='') && imgs[imgi].getAttribute('thissrc') != null)
		 imgs[imgi].src = imgs[imgi].getAttribute('thissrc');
	}
}
window.setTimeout("showsrc();",300);
</script>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<TABLE width="996" border=0 align="center" cellPadding=0 cellSpacing=0 ><tr><td height=10></td></tr></table>
<TABLE width="100%" border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#f5f5f5">
  <!--DWLayoutTable-->
	<TBODY>
    <TR>
      <TD valign="top"> 
	  
	    <table  width="100%"  border="0" cellPadding=0 cellSpacing=0 bgcolor="#CCCCCC"><tr><td height=1></td><tr></table>
		
        <table border="0" width="970" align="center" cellPadding=0 cellSpacing=0 style="margin:auto;">
		<tr>
		<td valign='top' width='155'>
        <%
		sql4="select l_id,menukind,l_title,zhidingurl,newopen from e_left where showflag='是' and bigmenu='否' order by bigmenu desc,l_num"
		set rs4=server.createobject("adodb.recordset")
		rs4.open sql4,conn,1,1
		if rs4.bof or rs4.eof then
		else
			i=1
			j=1
			colshu=rs4.recordcount
			
			do while not rs4.eof

				l_id=rs4("l_id")
				menukind=rs4("menukind")
				l_title=rs4("l_title")
				zhidingurl=rs4("zhidingurl")
				newopen=rs4("newopen")
				
				if i>1 then
					response.write "</td><td valign='top'  width='145'>" & vbcrlf
					j=1
				end if
				
				response.write "<table cellPadding=0 cellSpacing=0><tr><td height=12></td><tr></table><b>"&l_title&"</b><br>"				
				
				sql3="select * from e_contect where c_parent2="&l_id&" order by c_num,c_id"
				set rs3=server.CreateObject("adodb.recordset")
				rs3.open sql3,conn,1,1
				if rs3.bof or rs3.eof then
				else
					do while not rs3.eof
						set c_id=rs3("c_id")
						set c_title=rs3("c_title")
						set c_addtime=rs3("c_addtime")
						set detail=rs3("detail")
						response.Write "<div class='footbange'></div><IMG width=15 height=10 src='images/right1_"&j&".gif' align=absMiddle> <a style='line-height:130%;' href='show_foot.asp?c_id="&c_id &"'"
						if newopen="是" then response.write " target='_blank' "
						response.Write ">"&c_title &"</a><br>"
						j=j+1
						rs3.movenext
					loop
				end if
				
			rs4.movenext
  			i=i+1
  			loop			
		end if
		rs4.close
		set rs4=nothing		
		%>
		
	    </td>
		<!--
		<td width=130  valign='top' style="padding-top:8px;font-family: '微软雅黑','宋体';font-size: 11pt;; font-weight:bold; color:#555555;">客服电话：<br />021-36336661 <br/> 13512137391<br /><br />
		商城营业时间：<br />9:00-21:00 
		</td>
		-->
		</tr></table>
		
		<table  width="100%"  border="0" cellPadding=0 cellSpacing=0 bgcolor="#CCCCCC" style="margin-top:15px;"><tr><td height=1></td><tr></table>
		
	  </TD>
    </TR>
  </TBODY>
</table>


<%if s_zishu="是" then'咨询%>
	<link href="qqkefu/qq_right.css" rel="stylesheet" type="text/css">
	<SCRIPT language="javascript">
	document.write("<div class='QQbox' id='divQQbox' >");
	document.write("<div class='Qlist' id='divOnline' onmouseout='hideMsgBox(event);' style='display : none;'>");
	document.write("<div class='t'></div>");
	document.write("<div class='infobox'>我们营业的时间<br>9:00-21:00</div>");
	document.write("<div class='con'>");
	document.write("<ul>");
	
	<%
	dim qqarr
	qqarr=split(s_qq,":")
	for i=0 to Ubound(qqarr)
		if qqarr(i)<>"" then
	%>
	document.write("<li class=odd><a href='tencent://message/?uin=<%=qqarr(i)%>&Site=<%=application("sitename")%>&Menu=yes' target='_blank'><img src=' http://wpa.qq.com/pa?p=1:<%=qqarr(i)%>:7'  border='0'/><%=qqarr(i)%></a></li>"); 
	<%
		end if
	next
	%>

	<%
	if s_wangwang<>"" then
	dim wwarr
	s_wangwang = replace(s_wangwang,"：",":")
	wwarr=split(s_wangwang,":")
	for i=0 to Ubound(wwarr)
		if wwarr(i)<>"" then
	%>
	document.write("<li class=odd><a target='_blank' href='http://amos1.taobao.com/msg.ww?v=2&uid=<%=server.URLEncode(wwarr(i))%>&s=1' ><img border='0' src='http://amos1.taobao.com/online.ww?v=2&uid=<%=server.URLEncode(wwarr(i))%>&s=1' alt='点击联系我:<%=wwarr(i)%>' /></a></li>"); 
	<%
		end if
	next
	end if
	%>
	
	
	<%if s_msn<>"" then%>
	document.write("<li class=odd><a href='msnim:chat?contact=<%=s_msn%>'><img src='images/index_msn.gif' width=22 border=0 align='absmiddle'>与我交谈</a></li>"); 
	<%end if%>
	
	document.write('<tr><td><li>咨询电话：<%=application("sitetel")%></li></td></tr>');
	document.write("</ul>");
	document.write("</div>");
	document.write("<div class='b'></div>");
	document.write("</div>");
	document.write("<div id='divMenu' onmouseover='OnlineOver();'><img src='qqkefu/kf-one.gif' class='press' alt='在线咨询'></div>");
	document.write("</div>");
	//<![CDATA[
	var tips; var theTop = 152/*这是默认高度,越大越往下*/; var old = theTop;
	function initFloatTips() {
	tips = document.getElementById('divQQbox');
	moveTips();
	};
	function moveTips() {
	var tt=50;
	if (window.innerHeight) {
	pos = window.pageYOffset
	}
	else if (document.documentElement && document.documentElement.scrollTop) {
	pos = document.documentElement.scrollTop
	}
	else if (document.body) {
	pos = document.body.scrollTop;
	}
	pos=pos-tips.offsetTop+theTop;
	pos=tips.offsetTop+pos/10;
	if (pos < theTop) pos = theTop;
	if (pos != old) {
	tips.style.top = pos+"px";
	tt=10;
	//alert(tips.style.top);
	}
	old = pos;
	setTimeout(moveTips,tt);
	}
	//!]]>
	initFloatTips();
	function OnlineOver(){
	document.getElementById("divMenu").style.display = "none";
	document.getElementById("divOnline").style.display = "block";
	document.getElementById("divQQbox").style.width = "170px";
	}
	function OnlineOut(){
	document.getElementById("divMenu").style.display = "block";
	document.getElementById("divOnline").style.display = "none";
	}
	if(typeof(HTMLElement)!="undefined")    //给firefox定义contains()方法，ie下不起作用
	{   
		  HTMLElement.prototype.contains=function(obj)   
		  {   
			  while(obj!=null&&typeof(obj.tagName)!="undefind"){ //通过循环对比来判断是不是obj的父元素
	   　　　　if(obj==this) return true;   
	   　　　　obj=obj.parentNode;
	   　　}   
			  return false;   
		  };   
	}  
	
	function hideMsgBox(theEvent){ //theEvent用来传入事件，Firefox的方式
	　 if (theEvent){
	　 var browser=navigator.userAgent; //取得浏览器属性
	　 if (browser.indexOf("Firefox")>0){ //如果是Firefox
	　　 if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) { //如果是子元素
	　　 return; //结束函式
	} 
	} 
	if (browser.indexOf("MSIE")>0){ //如果是IE
	if (document.getElementById('divOnline').contains(event.toElement)) { //如果是子元素
	return; //结束函式
	}
	}
	}
	/*要执行的操作*/
	document.getElementById("divMenu").style.display = "block";
	document.getElementById("divOnline").style.display = "none";
	}
	</SCRIPT>
<%end if  '咨询%>


<TABLE width="996" border=0 align="center" cellPadding=0 cellSpacing=0 style="margin:auto;">
  <TBODY>
    <TR><td height=8></td></tr>
	<tr><td align="center"><img src='images/footbz.jpg' border=0></td></tr>
	<TR><td height=10></td></tr>
    <TR> 
      <TD align=center> 
        <%
			sql4="select * from siteright"
			set rs4=server.createobject("adodb.recordset")
			rs4.open sql4,conn,1,1
			if rs4.bof or rs4.eof then
					copyright=""
			else
					copyright=rs4("copyright")
			end if
			rs4.close
			set rs4=nothing
			response.write copyright
			%>
      </TD>
    </TR>
	<TR><td colspan=3 height=10></td></tr>
  </TBODY>
</TABLE>

