<script language=javascript src=../Include/mouse_on_title.js></script>
<%Dim rssetupQQ,qqonline,adm_qq,adm_qq_nameEN,whereqq,kefuskin,qqskin,QQ_NAME,QQ,MyQQ,N,sitename,Msn_nameCH,Mymsn,Switch_qq,Switch_msn,Switch_book,Switch_tq,tq,Switch_54kefu,k54kefu,dl_h
'此文件不需要作任何修改
Set rssetupQQ=conn.execute("select * from TianTianCMS_QQ") 
qqonline=rssetupQQ("qqonline")
adm_qq= rssetupQQ("adm_qq")
adm_qq_nameEN= rssetupQQ("adm_qq_nameEN")
whereqq=rssetupQQ("whereqq")
kefuskin=rssetupQQ("kefuskin")
dl_h=rssetupQQ("dl_h")
qqskin=rssetupQQ("qqskin")
Switch_qq=rssetupQQ("Switch_qq")
Switch_msn=rssetupQQ("Switch_msn")
Switch_book=rssetupQQ("Switch_book")
Switch_tq=rssetupQQ("Switch_tq")
tq=rssetupQQ("tq")
msn= rssetupQQ("msn")
Msn_nameEN= rssetupQQ("Msn_nameEN")
Switch_54kefu=rssetupQQ("Switch_54kefu")
k54kefu=rssetupQQ("k54kefu")
set rssetupQQ=Nothing
%>
<!-- 左隐藏菜单开始 -->
<%if adm_qq<>"" and qqonline=1 And (Switch_qq=1 Or Switch_msn=1 Or Switch_book=1) then%>
<div id="topbar">
<table cellspacing="1" cellpadding="2" border="0">
		<tr>
			<td>
			<style type="text/css">
			#topbar{
position:absolute;
padding: 2px;
width: 100px;
visibility: hidden;
z-index: 100;
top:600px;
font-size: 12px;
}
			BODY {
	MARGIN: 0px
}
</style>
			<table cellspacing="0" cellpadding="0" width="120" align="center" border="0">

				<tr>
					<td>

<table border="0" cellspacing="0" cellpadding="0">
<tr><td><img border=0 src=../images/qq/up_en_<%=kefuskin%>.gif></td></tr>
<tr><td>
<table width=118 border=0 bgcolor=#FFFFFF background=../images/qq/mid<%=kefuskin%>.gif>
<%If Switch_qq=1 then
adm_qq=replace(adm_qq,"，",",")
if isnull(adm_qq_nameEN) or adm_qq_nameEN="" then adm_qq_nameEN=adm_qq
adm_qq_nameEN=replace(adm_qq_nameEN,"，",",")
QQ_NAME=split(adm_qq_nameEN,",")
QQ=split(adm_qq,",")
for N=0 to UBound(QQ)
MyQQ=MyQQ+QQ(N)+":"
next
for N=0 to UBound(QQ)%>
<script>
document.write("<tr><td >&nbsp;&nbsp;<a class='c' target=blank href='tencent://message/?uin=<%=QQ(n)%>&Site=<%=SiteTitle%>&Menu=yes'><img border='0' SRC=http://wpa.qq.com/pa?p=1:<%=QQ(n)%>:5 alt='<%=QQ_name(n)%>'><br>&nbsp;&nbsp;<%=QQ_name(n)%></a></td></tr>");
</script>
<%Next
End If

If Switch_msn=1 then%>

<tr>
					<td>
					<table cellspacing="0" cellpadding="0" width="100" align="CENTER" border="0">
						<tr>
							<td align="middle" width="120" bgcolor="#f8f6f7" height="24">
								<table cellspacing="1" cellpadding="2" width="88%" align="center" bgcolor="#82C9B1" border="0">
<%n=0
msn=replace(msn,"，",",")
if isnull(Msn_nameEN) or Msn_nameEN="" then Msn_nameEN=msn
Msn_nameEN=replace(Msn_nameEN,"，",",")
Msn_nameEN=split(Msn_nameEN,",")
msn=split(msn,",")
for N=0 to UBound(msn)
Mymsn=Mymsn+msn(N)+":"
next

for N=0 to UBound(msn)
%>
						<tr>
							<td  align="left" >
							<a href="msnim:chat?contact=<%=msn(n)%>&Site=<%=Msn_nameEN(n)%>" target="_blank">
							<img alt="Click here to send me a Message" src="images/msn.gif" border="0"><%=Msn_nameEN(n)%></a></td>							
						</tr>
						<%next%>
                      </table></td>							
						</tr>
					</table>
					</td>
				</tr>
<%End If%>
<%If Switch_tq=1 then%>
				   <tr>
					<td>
					<table cellspacing="0" cellpadding="0" width="100" align="CENTER" border="0">
						<tr>
							<td align="middle" width="100" bgcolor="#f8f6f7" height="24">
								<table cellspacing="1" cellpadding="2" width="88%" align="center" bgcolor="#ffa800" border="0">
								<tr>
									<td align="middle" bgcolor="#ffffff"><a href="http://float2006.tq.cn/static.jsp?version=vip&admiuin=<%=tq%>&ltype=0&iscallback=1&agentid=1039907&page_templete_id=&uin=<%=tq%>" target=_blank><img src="http://float2006.tq.cn/staticimg.jsp?version=vip&admiuin=<%=tq%>&ltype=0&uin=<%=tq%>&style=4" border='0' /></a></td>
								</tr>
							</table></td>							
						</tr>
					</table>
					</td>
				</tr>
<%End If%>
<%If Switch_book=1 then%>
				   <tr>
					<td>
					<table cellspacing="0" cellpadding="0" width="100" align="CENTER" border="0">
						<tr>
							<td align="middle" width="100" bgcolor="#f8f6f7" height="24">
								<table cellspacing="1" cellpadding="2" width="88%" align="center" bgcolor="#ffa800" border="0">
								<tr>
									<td align="middle" bgcolor="#ffffff">
									<a href="MessageWrite.asp" target="_blank">
									<span style="font-size: 9pt">Guestbook</span></a></td>
								</tr>
							</table></td>							
						</tr>
					</table>
					</td>
				</tr>
<%End If%>
</table>


</td></tr>
<tr><td><img border=0 src=../images/qq/down<%=kefuskin%>.gif></td></tr>
</table>
</DIV>
<%
if whereqq=1 then
%>
<script type="text/javascript">
var persistclose=0
var startX = 2
var startY = <%=dl_h%>
var verticalpos="fromtop"
var online= new Array();

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function staticbar(){
	barheight=document.getElementById("topbar").offsetHeight
	var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
	var d = document;
	function ml(id){
		var el=d.getElementById(id);
		if (!persistclose || persistclose && get_cookie("remainclosed")=="")
		el.style.visibility="visible"
		if(d.layers)el.style=el;
		el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
		el.x = startX;
		if (verticalpos=="fromtop")
		el.y = startY;
		else{
		el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
		el.y -= startY;
		}
		return el;
	}
	window.stayTopLeft=function(){
		if (verticalpos=="fromtop"){
		var pY = ns ? pageYOffset : iecompattest().scrollTop;
		ftlObj.y += (pY + startY - ftlObj.y)/8;
		}
		else{
		var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
		ftlObj.y += (pY - startY - ftlObj.y)/8;
		}
		ftlObj.sP(ftlObj.x, ftlObj.y);
		setTimeout("stayTopLeft()", 10);
	}
	ftlObj = ml("topbar");
	stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
<%else%>
<script type="text/javascript">

var persistclose=0
var startX =screen.width-160
var startY = <%=dl_h%>
var verticalpos="fromtop"
var online= new Array();

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function staticbar(){
	barheight=document.getElementById("topbar").offsetHeight
	var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
	var d = document;
	function ml(id){
		var el=d.getElementById(id);
		if (!persistclose || persistclose && get_cookie("remainclosed")=="")
		el.style.visibility="visible"
		if(d.layers)el.style=el;
		el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
		el.x = startX;
		if (verticalpos=="fromtop")
		el.y = startY;
		else{
		el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
		el.y -= startY;
		}
		return el;
	}
	window.stayTopLeft=function(){
		if (verticalpos=="fromtop"){
		var pY = ns ? pageYOffset : iecompattest().scrollTop;
		ftlObj.y += (pY + startY - ftlObj.y)/8;
		}
		else{
		var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
		ftlObj.y += (pY - startY - ftlObj.y)/8;
		}
		ftlObj.sP(ftlObj.x, ftlObj.y);
		setTimeout("stayTopLeft()", 10);
	}
	ftlObj = ml("topbar");
	stayTopLeft();
}

if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar

</script>

<%
end If
elseif k54kefu<>""  and qqonline=2 And Switch_54kefu=1 then%>
<script language="javascript" src="../UploadFiles/js/54kefu.js" charset="utf-8"></script>
<%end If
Call CloseDB(conn)%>
