<OBJECT id=MsgrUIA_foot height=0 codeType=application/x-oleobject width=0 classid=clsid:B69003B3-C55E-4b48-836C-BC5946FC3B28></OBJECT>
<script type="text/javascript" language="javascript">
function addMSN_foot (address) {
   if (MsgrUIA_foot.MyStatus == 1)
   {
    alert('您好，在线客服非常愿意与您对话。\n\n您的MSN可能没有登陆，请先登录后再和我对话。\n\n或许我还没有判断出您是否已经登录。\n\n请您在MSN中手动添加' + address +'即可。');
   }
   else if(MsgrUIA_foot.MyStatus == 2 || MsgrUIA_foot.MyStatus == 10 || MsgrUIA_foot.MyStatus == 14 || MsgrUIA_foot.MyStatus == 34 || MsgrUIA_foot.MyStatus == 50 || MsgrUIA_foot.MyStatus == 66 || MsgrUIA_foot.MyStatus == 6) {    //2,10, 14, 34, 50,66,6
    MsgrUIA_foot.InstantMessage(address);
   }
   else if (MsgrUIA_foot.MyStatus == 512 || MsgrUIA_foot.MyStatus == 768)
   {
    alert('您的MSN正在登陆，请稍等');
   }
   else {
    alert('您好，在线客服非常愿意与您对话。\n\n您可能还没有安装MSN或者你使用的不是IE浏览器。\n\n或许我现在无法判断您是否已经登录。\n\n请安装MSN并手动添加' + address +'即可。' );
   }
}
</script>
<style type="text/css">
<!--
.rollBox{overflow:hidden;}
.rollBox .Cont{width:248px;overflow:hidden;float:left;}
.rollBox .ScrCont{width:10000000px;}
.rollBox .Cont .pic{width:120px;float:left;text-align:center;}
.rollBox .Cont .pic img{padding:4px;background:#fff;display:block;margin:0 auto;}
.rollBox #List1,.rollBox #List2{float:left;}
-->
</style>
<div class="bodyleft">
    <div class="lan01_left margin_top"><img src="images/jt.jpg" width="21" height="19" /><span class="h2_fontstyle">网站公告</span>
    </div>
    <div class="lan02_left">
    <%
	Sql="Select Content From T_Note Where UserID=" & UserID
	SetRs Rs,sql,conn,1,1
	IF Not Rs.Eof Then
		Response.write Replace(Rs("Content"),chr(13),"<br>")
	End IF
	DisRs Rs
	%>
    </div>
    <div class="lan03_left margin_top">
    <img src="images/jt.jpg" width="21" height="19" /><span class="h2_fontstyle">公司简介</span>
    </div>
    <div class="lan04_left"> <div class="jj_img"><img src="images/jj.jpg" width="204" height="95" /></div><div class="lan04_left_1">
	<%
	Sql="Select Content From T_Users Where ID=" & UserID
	SetRs Rs,sql,conn,1,1
	IF Not Rs.Eof Then
		Content=Rs("Content")
	End IF
	DisRs Rs
	Txt=RemoveHTML(Content)
	LeftStr Txt,100
	%>
	<a href="uabout.asp?userid=<%=UserID%>" class="font12hei">更多>></a></div>
    </div>
    <div class="lan05_left margin_top"><img src="images/jt.jpg" width="21" height="19" />在线客服</div>
    <div class="lan06_left" style=" height:75px">
	<%IF QQ<>"" Then%>
    <div><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=QQ%>&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<%=QQ%>:45" alt="点击这里给我发消息" title="点击这里给我发消息"></a>销售咨询</div>
	<%
	End IF
	IF MSN<>"" Then
	%>
    <div><a href="javascript:addMSN_foot('<%=MSN%>');">MSN销售咨询</a></div>
	<%
	End IF
	IF Tel<>"" Then
	%>
    <div>联系电话:<%=Tel%></div>
	<%
	End IF
	IF Email<>"" Then
	%>
    <div>E-mail:<%=Email%></div>
	<%
	End IF
	%>
    </div>
    <div class="lan07_left margin_top"><img src="images/jt.jpg" width="21" height="19" />友情链接</div>
    <div class="lan08_left rollBox">
 
     <div class="Cont" id="ISL_Cont">
      <div class="ScrCont">
       <div id="List1">
	<!-- 图片列表 begin -->
		<%
		Sql="Select Url,PicPath From T_FriendLink Where UserID="&UserID&" And Recycle=0 Order By SortID DESC"
		SetRs Rs,Sql,conn,1,1
		Do While Not Rs.eof
		%>
         <div class="pic">
          <a href="<%=Rs("Url")%>" target="_blank"><img src="<%="UpLoadFiles/FriendLink/"&Rs("PicPath")%>" width="90" height="36"  /></a>
         </div>       
		<%
		Rs.movenext
		Loop
		DisRs Rs
		%>
        <!-- 图片列表 end -->
       </div>
       <div id="List2"></div>
      </div>
     </div>

 
   
   
    </div>
  </div>
 <script language="javascript" type="text/javascript">
<!--//--><![CDATA[//><!--
//图片滚动列表 mengjia 070816
var Speed = 1; //速度(毫秒)
var Space = 5; //每次移动(px)
var PageWidth = 240; //翻页宽度
var fill = 0; //整体移位
var MoveLock = false;
var MoveTimeObj;
var Comp = 0;
var AutoPlayObj = null;
GetObj("List2").innerHTML = GetObj("List1").innerHTML;
GetObj('ISL_Cont').scrollLeft = fill;
GetObj("ISL_Cont").onmouseover = function(){clearInterval(AutoPlayObj);}
GetObj("ISL_Cont").onmouseout = function(){AutoPlay();}
AutoPlay();
function GetObj(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}}
function AutoPlay(){ //自动滚动
 clearInterval(AutoPlayObj);
 AutoPlayObj = setInterval('ISL_GoDown();ISL_StopDown();',3000); //间隔时间
}
function ISL_GoUp(){ //上翻开始
 if(MoveLock) return;
 clearInterval(AutoPlayObj);
 MoveLock = true;
 MoveTimeObj = setInterval('ISL_ScrUp();',Speed);
}
function ISL_StopUp(){ //上翻停止
 clearInterval(MoveTimeObj);
 if(GetObj('ISL_Cont').scrollLeft % PageWidth - fill != 0){
  Comp = fill - (GetObj('ISL_Cont').scrollLeft % PageWidth);
  CompScr();
 }else{
  MoveLock = false;
 }
 AutoPlay();
}
function ISL_ScrUp(){ //上翻动作
 if(GetObj('ISL_Cont').scrollLeft <= 0){GetObj('ISL_Cont').scrollLeft = GetObj('ISL_Cont').scrollLeft + GetObj('List1').offsetWidth}
 GetObj('ISL_Cont').scrollLeft -= Space ;
}
function ISL_GoDown(){ //下翻
 clearInterval(MoveTimeObj);
 if(MoveLock) return;
 clearInterval(AutoPlayObj);
 MoveLock = true;
 ISL_ScrDown();
 MoveTimeObj = setInterval('ISL_ScrDown()',Speed);
}
function ISL_StopDown(){ //下翻停止
 clearInterval(MoveTimeObj);
 if(GetObj('ISL_Cont').scrollLeft % PageWidth - fill != 0 ){
  Comp = PageWidth - GetObj('ISL_Cont').scrollLeft % PageWidth + fill;
  CompScr();
 }else{
  MoveLock = false;
 }
 AutoPlay();
}
function ISL_ScrDown(){ //下翻动作
 if(GetObj('ISL_Cont').scrollLeft >= GetObj('List1').scrollWidth){GetObj('ISL_Cont').scrollLeft = GetObj('ISL_Cont').scrollLeft - GetObj('List1').scrollWidth;}
 GetObj('ISL_Cont').scrollLeft += Space ;
}
function CompScr(){
 var num;
 if(Comp == 0){MoveLock = false;return;}
 if(Comp < 0){ //上翻
  if(Comp < -Space){
   Comp += Space;
   num = Space;
  }else{
   num = -Comp;
   Comp = 0;
  }
  GetObj('ISL_Cont').scrollLeft -= num;
  setTimeout('CompScr()',Speed);
 }else{ //下翻
  if(Comp > Space){
   Comp -= Space;
   num = Space;
  }else{
   num = Comp;
   Comp = 0;
  }
  GetObj('ISL_Cont').scrollLeft += num;
  setTimeout('CompScr()',Speed);
 }
}
//--><!]]>
</script>
