<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php 
include "mysql.php";
include "usercon.php";
include "list.class.php";
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>叮咚综合</title>
<style type="text/css">
body,td,th {
	font-family: "微软雅黑";
	font-size: 14px;
	color:#7a7a7a;
	
	}
body {
	
	margin-left:0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding:0px;
	border:none;
        background-color:#fff;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	
}
a:active {
	text-decoration: none;
}

#menu ul{padding:0;border:0;list-style:none;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0px;}
#menu_out{width:100%;padding-left:0px;}
#menu_in{}
#menu{background:#efefef;height:40px;}
.menu_line{background:url(images/menu_line.gif) no-repeat center top;width:8px;}
.menu_line2{background:url(images/menu_line2.gif) no-repeat center top;width:15px;}
#nav{padding-left:20px;}
#nav li{float:left;height:40px;}
#nav li a{
     float:left;
	 display:block;
	 padding-left:6px;
	 height:40px;
	 background:url(images/menu_on_left.gif) no-repeat left top;
	 cursor:pointer;
	 text-decoration:none;
	 line-height:40px;
	 color:#222;
	 }
#nav li a span{
     float:left;
	 line-height:40px;
	 font-size:14px;
	 font-weight:bold;
	 color:#fff;
	 text-decoration:none;
	 width:100px;
	 text-align:center;
	 color:#222;
	 }
#nav li .current{
     background-position:left 100%;}
#nav li .current span{
     height:40px;
     background-position:right 100%;
	 color:#222;
	 text-decoration:none;
	 background-color:#fff;
     line-height:40px;
	 }

#menu_con{
     text-align:left;
	 height:500px;
	 clear:both;
	 float:left;
	 border-bottom:1px solid #ccc;
	 width:100%;
	 }
.sel{
     height:35px;
     background-position:right 100%;
	 color:#222;
	 text-decoration:none;
	 background-color:#efefef;
     line-height:35px;
	 background-image:none;
	 }
.sel a{
    color:#222;
	}
.webdh{
   background-color:#fff;
   padding-left:10px;
   }
.webdh li{
  line-height:29px;
  font-size:15px;
  height:29px;
  border-bottom:1px solid #f8f8f8;
  }
 .webdh li a {
  color:#222;
  }
</style>
<link rel="stylesheet" type="text/css" href="Style/pic.css" />
<link rel="stylesheet" type="text/css" href="Style/index.css" />
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<script type="text/javascript" src="Style/shouyexiangce.js"></script>
<script type="text/javascript">
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
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 type="text/javascript">
function setListTab(name, curr, n) {
    for (i = 1; i <= n; i++) {
        var menu = document.getElementById(name + i);
        var cont = document.getElementById("con_" + name + "_" + i);
        menu.className = i == curr ? "sel" : "";
        if (i == curr) {
            cont.style.display = "block";
        } else {
            cont.style.display = "none";
        }
    }
}
</script> 
<script type="text/javascript">
function rightTab(name, curr, n) {
    for (i = 1; i <= n; i++) {
        var menu = document.getElementById(name + i);
        var cont = document.getElementById("con_" + name + "_" + i);
        menu.className = i == curr ? "rtsel" : "";
        if (i == curr) {
            cont.style.display = "block";
        } else {
            cont.style.display = "none";
        }
    }
}
</script> 

<script type="text/javascript">
function setContentTab(name, curr, n) {
    for (i = 1; i <= n; i++) {
        var menu = document.getElementById(name + i);
        var cont = document.getElementById("con_" + name + "_" + i);
        menu.className = i == curr ? "current" : "";
        if (i == curr) {
            cont.style.display = "block";
        } else {
            cont.style.display = "none";
        }
    }
}
</script> 

</head>

<body>
<?php 
include "web/top.php";
?>
<div class="content">
  <div class="left">
  <div class="title">
      <div class="title_left">新闻</div>      
	  <div class="title_right">
	  <a href="news.php?cid=25&sid=<?php  echo $_GET['sid']?>">国际</a>|
	  <a href="news.php?cid=26&sid=<?php  echo $_GET['sid']?>">军事</a>|
	  <a href="news.php?cid=27&sid=<?php  echo $_GET['sid']?>">科技</a>|
	  <a href="news.php?cid=28&sid=<?php  echo $_GET['sid']?>">互联网</a></div>
  </div>
  <div class="indexpic">
  <div id="slideBox" style="float:left;">
		<ul id="show_pic" style="left:0px;">
			<li><a href="http://www.17sucai.com/" target="_blank">
			<img  alt="玩家用了都说好"  title="" height="287" width="459" src="article/uploads/20131219000210.jpg" /></a></li>
			<li><a href="http://www.17sucai.com/" target="_blank">
			<img  alt="万庄园咖啡免费领"  title="" height="287" width="459" src="article/uploads/20131216194536.jpg" /></a></li>
			<li><a href="http://www.17sucai.com/" target="_blank">
			<img  alt="玩家用了都说好"  title="" height="287" width="459" src="article/uploads/20131219000210.jpg" /></a></li>
			<li><a href="http://www.17sucai.com/" target="_blank">
			<img  alt="【网易保险】变身车主VIP有好礼"  title="" height="287" width="459" src="images/baoxianvip.jpg" /></a></li>
			<li><a href="http://www.17sucai.com/" target="_blank">
			<img  alt="【网易团长】 让团购变得更划算"  title="" height="287" width="459" src="images/slide4.jpg" /></a></li>
			<li><a href="http://www.17sucai.com/" target="_blank">
			<img  alt="【魔术杯】包大人心心念念的神器"  title="" height="267" width="489" src="images/bdrhm.jpg" /></a></li>
		</ul>
	   
		<div id="slideText"></div>
		<ul id="textBall">
			<li class="active">
			<a href="javascript:void(0)">【网易商城】玩家用了都说好</a></li>
			<li><a href="javascript:void(0)">【网易乐得惠】20000份百万庄园咖啡免费领</a></li>
			<li><a href="javascript:void(0)">【网易彩票】93折抢彩票红包</a></li>
			<li><a href="javascript:void(0)">【网易保险】变身车主VIP有好礼</a></li>
			<li><a href="javascript:void(0)">【网易团长】让团购变得更划算</a></li>
			<li><a href="javascript:void(0)">【魔术杯】包大人心心念念的神器</a></li>
		</ul>
	</div><!--slideBox end-->
	<div class="pic" style="float:left;width:227px;">
		<ul id="iconBall">
			<li class="active">1【网易商城】玩家用了都说好</li>
			<li>2【网易乐得惠】20000份百万庄园咖啡免费领</li>
			<li>3【网易彩票】93折抢彩票红包/li>
			<li>4【网易保险】变身车主VIP有好礼</li>
			<li>5【网易团长】让团购变得更划算</li>
			<li>6【魔术杯】包大人心心念念的神器</li>
		</ul></div>
</div>
  
    <div class="content_main_l">
    <div class="mian_title">
	<div class="title_l">
	<a href="news.php?cid=25&sid=<?php  echo $_GET['sid']?>" id="t1" onmouseover="setListTab('t',1,2)" class="sel">国际</a>
	<a href="news.php?cid=26&sid=<?php  echo $_GET['sid']?>" id="t2" onmouseover="setListTab('t',2,2)">军事</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <div id="con_t_1" style="display:block"> 
	<ul class="list">
    <?php  article(cid,25,3,articleid,13);?>
    </ul></div>
    <div id="con_t_2" style="display:none"> 
	<ul class="list">
    <?php  article(cid,26,3,articleid,13);?>
    </ul></div></div>
    <div class="content_main_r">
	<div class="mian_title"><div class="title_l"><a href="news.php?cid=27&sid=<?php  echo $_GET['sid']?>" id="k1" onmouseover="setListTab('k',1,2)" class="sel">科技</a>
	<a href="news.php?cid=28&sid=<?php  echo $_GET['sid']?>" id="k2" onmouseover="setListTab('k',2,2)">互联网</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <div id="con_k_1" style="display:block"> 
	<ul class="list">
    <?php  article(cid,27,3,articleid,13);?>
    </ul></div>
    <div id="con_k_2" style="display:none"> 
	<ul class="list">
    <?php  article(cid,28,3,articleid,13);?>
    </ul></div>
    </div>
    <div class="title" style="margin-top:5px">
    <div class="title_left">编程</div>
    <div class="title_right">
	<a href="biancheng.php?cid=29&sid=<?php  echo $_GET['sid']?>">PHP</a>|
	<a href="biancheng.php?cid=30&sid=<?php  echo $_GET['sid']?>">JAVA</a>|
	<a href="biancheng.php?cid=31&sid=<?php  echo $_GET['sid']?>">c++</a>|
	<a href="biancheng.php?cid=32&sid=<?php  echo $_GET['sid']?>">c#</a>|
	<a href="biancheng.php?cid=33&sid=<?php  echo $_GET['sid']?>">VB</a>|
	<a href="biancheng.php?cid=47&sid=<?php  echo $_GET['sid']?>">Android</a>
	</div>
    </div>
    <div class="content_main_l">
    <div class="mian_title">
  	<div class="title_l"><a href="biancheng.php?cid=29&sid=<?php  echo $_GET['sid']?>">PHP</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <ul class="list">
    <?php  article(cid,29,3,articleid,13);?>
    </ul></div>
    <div class="content_main_r">
	<div class="mian_title"><div class="title_l"><a href="biancheng.php?cid=31&sid=<?php  echo $_GET['sid']?>" id="C1" onmouseover="setListTab('C',1,2)" class="sel">C++</a>
	<a href="biancheng.php?cid=32&sid=<?php  echo $_GET['sid']?>" id="C2" onmouseover="setListTab('C',2,2)">C#</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <div id="con_C_1" style="display:block"> 
	<ul class="list">
    <?php  article(cid,31,3,articleid,13);?>
    </ul></div>
    <div id="con_C_2" style="display:none"> 
	<ul class="list">
    <?php  article(cid,32,3,articleid,13);?>
    </ul></div></div>
    <div class="content_main_l">
    <div class="mian_title"><div class="title_l"><a href="biancheng.php?cid=33&sid=<?php  echo $_GET['sid']?>">VB</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <ul class="list">
    <?php  article(cid,33,3,articleid,13);?>
    </ul></div>
    <div class="content_main_r"> 
	<div class="mian_title"><div class="title_l"><a href="biancheng.php?cid=30&sid=<?php  echo $_GET['sid']?>" id="j1" onmouseover="setListTab('j',1,2)" class="sel">JAVA</a>
	<a href="biancheng.php?cid=47&sid=<?php  echo $_GET['sid']?>" id="j2" onmouseover="setListTab('j',2,2)">Android</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <div id="con_j_1" style="display:block"> 
	<ul class="list">
    <?php  article(cid,30,3,articleid,13);?>
    </ul></div>
    <div id="con_j_2" style="display:none"> 
	<ul class="list">
    <?php  article(cid,47,3,articleid,13);?>
    </ul></div></div>
    <div class="title" style="margin-top:5px">
    <div class="title_left">建站</div>
    <div class="title_right">
      <a href="web.php?cid=34&sid=<?php  echo $_GET['sid']?>">程序</a>|
      <a href="web.php?cid=35&sid=<?php  echo $_GET['sid']?>">域名</a>|
      <a href="web.php?cid=36&sid=<?php  echo $_GET['sid']?>">空间</a>|
      <a href="web.php?cid=37&sid=<?php  echo $_GET['sid']?>">优化</a>|
      <a href="web.php?cid=38&sid=<?php  echo $_GET['sid']?>">自助</a>|
      <a href="web.php?cid=39&sid=<?php  echo $_GET['sid']?>">教程</a>
      </div>
    </div>
    <div class="content_main_l">
      <div class="mian_title">
	  <div class="title_l">
	  <a href="web.php?cid=34&sid=<?php  echo $_GET['sid']?>">程序</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
     <?php  article(cid,34,3,articleid,13);?>
  
</ul></div>
     
    
    <div class="content_main_r"> <div class="mian_title"><div class="title_l"><a href="web.php?cid=37&sid=<?php  echo $_GET['sid']?>">空间</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
      <?php  article(cid,36,3,articleid,13);?>

</ul></div>
     <div class="content_main_l">
      <div class="mian_title"><div class="title_l"><a href="#">优化</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
      <?php  article(cid,37,3,articleid,13);?>
  
</ul></div>
     

    <div class="content_main_r"> <div class="mian_title"><div class="title_l"><a href="web.php?cid=38&sid=<?php  echo $_GET['sid']?>">教程</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
      <?php  article(cid,38,3,articleid,13);?>

</ul></div>


 
    <div class="title" style="margin-top:5px">
      <div class="title_left">科普</div>
      <div class="title_right">
      <a href="kepu.php?cid=40&sid=<?php  echo $_GET['sid']?>">百科</a>|
      <a href="kepu.php?cid=41&sid=<?php  echo $_GET['sid']?>">探索</a>|
      <a href="kepu.php?cid=42&sid=<?php  echo $_GET['sid']?>">智能</a>|
      <a href="kepu.php?cid=43&sid=<?php  echo $_GET['sid']?>">奥秘</a>|
      <a href="kepu.php?cid=44&sid=<?php  echo $_GET['sid']?>">纪录</a>|
      <a href="kepu.php?cid=45&sid=<?php  echo $_GET['sid']?>">宇宙</a>
      </div>
    </div>
    <div class="content_main_l">
     <div class="mian_title"><div class="title_l">
	 <a href="kepu.php?cid=40&sid=<?php  echo $_GET['sid']?>" id="bk1" onmouseover="setListTab('bk',1,2)" class="sel">百科</a>
	<a href="kepu.php?cid=41&sid=<?php  echo $_GET['sid']?>" id="bk2" onmouseover="setListTab('bk',2,2)">探索</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <div id="con_bk_1" style="display:block"> 
	 <ul class="list">
       <?php  article(cid,40,3,articleid,13);?>
  
</ul></div>
 <div id="con_bk_2" style="display:none"> 
	 <ul class="list">
       <?php  article(cid,41,3,articleid,13);?>
  
</ul></div>
</div>
     
     
    <div class="content_main_r">
	<div class="mian_title">
	<div class="title_l"><a href="kepu.php?cid=42&sid=<?php  echo $_GET['sid']?>" id="zn1" onmouseover="setListTab('zn',1,2)" class="sel">智能</a>
	 <a href="kepu.php?cid=44&sid=<?php  echo $_GET['sid']?>" id="zn2" onmouseover="setListTab('zn',2,2)">纪录</a></div><div class="title_r"><a href="#">更多>></a></div></div>
    <div id="con_zn_1" style="display:block"> 
	 <ul class="list">
       <?php  article(cid,42,3,articleid,13);?>
  
</ul></div>
 <div id="con_zn_2" style="display:none"> 
	 <ul class="list">
       <?php  article(cid,44,3,articleid,13);?>
  
</ul></div>
</div>
     <div class="content_main_l">
      <div class="mian_title"><div class="title_l"><a href="kepu.php?cid=43&sid=<?php  echo $_GET['sid']?>">奥秘</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
   <?php  article(cid,43,3,articleid,13);?>
  
</ul></div>
     

    <div class="content_main_r"> <div class="mian_title"><div class="title_l"><a href="kepu.php?cid=45&sid=<?php  echo $_GET['sid']?>">宇宙</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
      <?php  article(cid,45,3,articleid,13);?>

</ul>

</div>

  </div>
  <div class="right">
  <div class="right_top">
  <div class="rt">
	<a href="http://www.17sucai.com/" id="top1" onmouseover="rightTab('top',1,5)" class="rtsel"><span>公告</span></a>
	<a href="http://www.17sucai.com/" id="top2" onmouseover="rightTab('top',2,5)"><span>推荐</span></a>
    <a href="http://www.17sucai.com/" id="top3" onmouseover="rightTab('top',3,5)"><span>热点</span></a>
    <a href="http://www.17sucai.com/" id="top4" onmouseover="rightTab('top',4,5)"><span>最新</span></a>
    <a href="http://www.17sucai.com/" id="top5" onmouseover="rightTab('top',5,5)"><span>占位</span></a>			
  </div><!--nav end-->
  <div class="rtc">
  <div id="con_top_1" style="display:block;">
					<div class="right_pic"><img src="11.jpg"/></div>
				</div> 
				<div id="con_top_2" style="display:none"></div>
				<div id="con_top_3" style="display:none"></div>
				<div id="con_top_4" style="display:none"></div>
				<div id="con_top_5" style="display:none"></div>
  </div>
		
  </div>
  <div class="right_content">
   <div class="mian_title"><div class="title_l"><a href="#">新闻滚动</a></div><div class="title_r"><a href="#">更多>></a></div></div>
  <ul class="list">
  <?php 
      article(gro,news,0,articleid,15);
	  ?>
   </ul>
    </div>
    
    <div class="right_content">
    <div class="mian_title"><div class="title_l"><a href="#">编程滚动</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
   <?php 
      article(gro,biancheng,0,articleid,15);
	  ?>
</ul>
</div>
 <div class="right_content">
<div class="mian_title"><div class="title_l"><a href="#">建站资源</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
	  <?php 
      article(gro,web,0,articleid,15);
	  ?>
</ul>
</div>
 <div class="right_content">
<div class="mian_title">
    <div class="title_l">
	     <a href="#">校园故事</a>
		 </div>
	<div class="title_r"><a href="#">更多>></a>
	    </div>
	</div>
      <ul class="list">
      <?php 
      article(gro,school,0,articleid,15);
	  ?>
    
</ul>

</div>
<div class="right_title"></div>
 <div class="right_content">
<div class="mian_title" >
<div class="title_l">
    <a href="#">科普百科</a>
	     </div>
	<div class="title_r">
	    <a href="#">更多>></a>
		 </div>
	</div>
      <ul class="list">
      <?php 
      article(gro,kepu,0,articleid,15);
	  ?>
     
</ul>

</div>
 <div class="right_content">
<div class="mian_title" ><div class="title_l"><a href="#">程序开发</a></div><div class="title_r"><a href="#">更多>></a></div></div>
      <ul class="list">
      <?php 
      article(gro,kaifa,0,articleid,15);
	  ?>
      
</ul>
</div>
 <div class="right_content" style="height:440px;margin-bottom:10px;">
<div class="mian_title">
    <div class="title_l">
	    <a href="#">文库资源</a>
		</div>
	<div class="title_r">
	    <a href="#">更多>></a>
	</div>
	</div>
      <ul class="list">
      <?php 
      article(gro,books,0,articleid,15);
	  ?>
      
</ul>
</div>
</div>
  <div class="gundong">
		<div id="menu">
			<ul id="nav">
				<li><a href="http://www.17sucai.com/" id="one1" onmouseover="setContentTab('one',1,6)" class="current"><span>文章</span></a></li>
				<li class="menu_line"></li>
				<li><a href="http://www.17sucai.com/" id="one2" onmouseover="setContentTab('one',2,6)"><span>微博
				</span></a></li>
				<li class="menu_line"></li>
				<li><a href="http://www.17sucai.com/" id="one3" onmouseover="setContentTab('one',3,6)"><span>日志</span></a></li>
				<li class="menu_line"></li>
				<li><a href="http://www.17sucai.com/" id="one4" onmouseover="setContentTab('one',4,6)"><span>导航</span></a></li>
				<li class="menu_line"></li>
				<li><a href="http://www.17sucai.com/" id="one5" onmouseover="setContentTab('one',5,6)"><span>下载</span></a></li>
				<li class="menu_line"></li>
				<li><a href="http://www.17sucai.com/" id="one6" onmouseover="setContentTab('one',6,6)"><span>合作</span></a></li>				
			</ul><!--nav end-->
			<div id="menu_con">
				<div id="con_one_1" style="display:block">
					<?php 
   include "web/gd_article.php";
   ?>
				</div> 
				<div id="con_one_2" style="display:none">
					2
				</div>
				<div id="con_one_3" style="display:none">
					3
				</div>
				<div id="con_one_4" style="display:none">
					<ul class="webdh">
				
					<li style="
					     height:50px;
						 line-height:50px;
						 background-color:#f8f8f8;
						 text-align:center;
						 border-bottom:1px solid #efefef;
						 ">
					网址导航服务
					</li>
					<li>[<a href="#">门户</a>]<a href="http://www.qq.com">腾讯</a></li>
					<li>[<a href="#">新闻</a>]</li>
					<li>[<a href="#">军事</a>]</li>
					<li>[<a href="#">导航</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					<li>[<a href="#">门户</a>]</li>
					
					
					</ul>
				</div>
				<div id="con_one_5" style="display:none">
					5
				</div>
				<div id="con_one_6" style="display:none">
					6
				</div>
			</div><!--menu_con end-->
		</div><!--menu end-->
   
		<script type="text/javascript">new slider({id:'slider'})</script>
  
  
  </div>
</div>
<?php  
include "web/bottom.php";
?>
<script type="text/javascript">
var glide =new function(){
	function $id(id){return document.getElementById(id);};
	this.layerGlide=function(auto,oEventCont,oTxtCont,oSlider,sSingleSize,second,fSpeed,point){
		var oSubLi = $id(oEventCont).getElementsByTagName('li');
		var oTxtLi = $id(oTxtCont).getElementsByTagName('li');
		var interval,timeout,oslideRange;
		var time=1; 
		var speed = fSpeed 
		var sum = oSubLi.length;
		var a=0;
		var delay=second * 1000; 
		var setValLeft=function(s){
			return function(){
				oslideRange = Math.abs(parseInt($id(oSlider).style[point]));	
				$id(oSlider).style[point] =-Math.floor(oslideRange+(parseInt(s*sSingleSize) - oslideRange)*speed) +'px';		
				if(oslideRange==[(sSingleSize * s)]){
					clearInterval(interval);
					a=s;
				}
			}
		};
		var setValRight=function(s){
			return function(){	 	
				oslideRange = Math.abs(parseInt($id(oSlider).style[point]));							
				$id(oSlider).style[point] =-Math.ceil(oslideRange+(parseInt(s*sSingleSize) - oslideRange)*speed) +'px';
				if(oslideRange==[(sSingleSize * s)]){
					clearInterval(interval);
					a=s;
				}
			}
		}
		
		function autoGlide(){
			for(var c=0;c<sum;c++){oSubLi[c].className='';oTxtLi[c].className='';};
			clearTimeout(interval);
			if(a==(parseInt(sum)-1)){
				for(var c=0;c<sum;c++){oSubLi[c].className='';oTxtLi[c].className='';};
				a=0;
				oSubLi[a].className="active";
				oTxtLi[a].className = "active";
				interval = setInterval(setValLeft(a),time);
				timeout = setTimeout(autoGlide,delay);
			}else{
				a++;
				oSubLi[a].className="active";
				oTxtLi[a].className = "active";
				interval = setInterval(setValRight(a),time);	
				timeout = setTimeout(autoGlide,delay);
			}
		}
	
		if(auto){timeout = setTimeout(autoGlide,delay);};
		for(var i=0;i<sum;i++){	
			oSubLi[i].onmouseover = (function(i){
				return function(){
					for(var c=0;c<sum;c++){oSubLi[c].className='';oTxtLi[c].className='';};
					clearTimeout(timeout);
					clearInterval(interval);
					oSubLi[i].className = "active";
					oTxtLi[i].className = "active";
					if(Math.abs(parseInt($id(oSlider).style[point]))>[(sSingleSize * i)]){
						interval = setInterval(setValLeft(i),time);
						this.onmouseout=function(){if(auto){timeout = setTimeout(autoGlide,delay);};};
					}else if(Math.abs(parseInt($id(oSlider).style[point]))<[(sSingleSize * i)]){
							interval = setInterval(setValRight(i),time);
						this.onmouseout=function(){if(auto){timeout = setTimeout(autoGlide,delay);};};
					}
				}
			})(i)			
		}
	}
}

//调用语句
glide.layerGlide(
	true,         //设置是否自动滚动
	'iconBall',   //对应索引按钮
	'textBall',   //标题内容文本
	'show_pic',   //焦点图片容器
	459,          //设置滚动图片位移像素
	4,			  //设置滚动时间2秒 
	0.1,          //设置过渡滚动速度
	'left'		  //设置滚动方向“向左”
);

</script>

</body>
</html>
