<?php  
  header("Content-type:text/html;charset=utf-8");
  include("/template/top.php");
?>

<link rel="stylesheet" type="text/css" href="/public/Front/css/default.css">
<link rel="stylesheet" href="/public/Front/css/liMarquee.css">
<link rel="stylesheet" href="/public/Front2/css/jqcool.css">
<script type="text/javascript" src="/public/Front2/js/sl.js"></script>
   <link rel="stylesheet" href="/public/style/css/indexcss.css" />
   <link rel="stylesheet" href="/public/style/css/indexstyle.css" />
     <script type="text/javascript" src="/public/Front/js/json-eps.js"></script> 
  <script type="text/javascript" charset="utf-8" src="/public/Front/user/user.js"></script>
   <style>
	.bd .conWrap .con{
		width:895px!important;
		height:1210px!important;
		overflow:hidden;
		position:relative!important;
		
	}
	.bd .conWrap{
		height:1210px!important;
		    overflow: hidden;
	}
</style>
<style type="text/css">
.str_wrap{
  padding-left: 3em;
  padding-right: 3em;
 margin-top-: -10px;
  height: 3em;
  line-height: 3em;
  font-size:1.3em;
  color: white;
}
</style>

</head>
<body >
  <?php  include("/template/menu.php");?>
  <div class="banner">
    <div class="trigger">
          <div class="bd">
            <ul>
                <li><a href="/register.php" target="_blank"><img src="/public/Front2/images/2.png"></a></li>
                <li><a href="/register.php" target="_blank"><img src="/public/Front2/images/banner2.jpg"></a></li>
                <li><a href="/register.php" target="_blank"><img src="/public/Front2/images/banner3.jpg"></a></li>
				 <li><a href="/register.php" target="_blank"><img src="/public/Front2/images/banner4.jpg"></a></li>
				  <li><a href="/register.php" target="_blank"><img src="/public/Front2/images/banner5.jpg"></a></li>
            </ul>
          </div>
          <div class="hd">
            <ul>
                <li class="on"></li>
                <li></li>
                <li></li>
				 <li></li>
                <li></li>
            </ul>
          </div>
		
      </div>
	  
	    <div class="picshow-main">
		<div class="picshow-box">
			<!--<h3 ><span><?php echo num_format(configW('yhljsy')); ?></span>投资者</h3>-->
			
			
			<div class="bd">
                				<div class="bd_title">最高日化收益率</div>
<div class="average"><span>2.00%</span></div>
<div class="bd_content">本息保障</div>                 
 <ul >
                  	 
					  <li class="loginfont"><a href="/login.php"  target="_blank" class="sub02">立即登录</a></li>
					  <li><a href="/register.php" class="sub01"  target="_blank">注册送红包</a></li>
                  </ul>
							 </div>
							 
							 
			
			
			
			
		</div>
	</div>
      <div class="focus">
        <div class="focus-news">
          <span>最新公告:</span>
            <div class="str3 str_wrap">
              <?php 
  $sql_in_tz = "select * from {$db_prefix}news where type = 1 order by id desc limit 1";
  $rstz = $db->query($sql_in_tz);
  while ($rs_tz=$db->fetch_array($rstz)){  ?> 
    <a target="_blank" style="color:#333;font-size:16px;" href="/aboutus/newsinfo.php?id=<?php echo $rs_tz['id'];?>"><?php echo $rs_tz['title'];?></a>
  <?php } ?>
           </div>
        </div>
      </div>
  </div>
   <div class="w1180">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tbody><tr>
			<td height="250">
				<div class="w1180  fn_cle ">
					<div class="mainLeadList">
						<ul>
							<li><strong><i class="i-pb1"></i></strong><b>360°安全保证</b><span>【本息保障】<br>
								线下实体风控<br>
								 资金托管体系</span></li>
							<li><strong><i class="i-pb2"></i></strong><b>高收益低门槛</b><span>100元起投<br>
								45倍银行活期存款收益<br>
								10秒开户闪电投资</span></li>
							<li><strong><i class="i-pb3"></i></strong><b>分红提现</b><span>5分钟到账<br>
								操作简单，方便快捷</span></li>
							<li><strong><i class="i-pb4"></i></strong><b>新手指引</b><span>从这里开始，加入工业投资<br>
								轻松体验互联网金融<br>
								理财新方式</span>
							</li>
						</ul>
					</div>
				</div>
			</td>
		</tr>
	</tbody></table>
</div>
<div class="defaultcommanded clearfix" style="width:1200px;margin:auto;display:none">
	<table border="0" cellpadding="0" cellspacing="0" class="ke-zeroborder" style="text-align: center;">
		<tbody>
			<tr>
				<th>操盘产品</th>
				<th>操作方式</th>
				<th>操盘时间</th>
				<th>买入点位</th>
				<th>出货时间</th>
				<th>成交点位</th>
				<th>投资收益</th>
			</tr>
					</tbody>
	</table>
</div>
  <div class="main" style="background-color: #f1f1f1;">
 <div class="clearfix w1180 pt_20 index_main">

 



  
    <div class="data">
      <div class="data-left">
	  
	  <div class="module mb_10  numTong" style="margin-top:0px;">
					<h3 class="fs_18 ind_tit">新手起航<span class="fc_6 fr fs_14 mr_5">规范.专业.透明</span></h3>
					<div class="shujutime clearfix"><span class="fl fc_9"><span class="f">数据统计</span></span></div>
					<div class="shujuClass fc_9" id="usertzze"> 
						<span class="NumlineCon Num1"><i><?php echo configW('ljjyts'); ?></i>今日融资(元)</span> 
						<span class="NumlineCon Num2"><i><?php echo configW('yjrrs'); ?></i>会员总数(个)</span> 
						<span class="NumlineCon Num1 mt_20"><i><?php echo configW('zcjje'); ?></i>累计融资(元)</span> 
						<span class="NumlineCon Num2 mt_20"><i><?php echo configW('yhljsy'); ?></i>累计返息(元)</span> 
					</div>
				</div>
		<div class="module mb_10 new_box holiday_r_no2" style="height:255px; overflow:hidden"> <img src="/public/Front2/images/left.png"> </div>	

<div class="module mb_5 new_box holiday_r_no2" style="height:365px; overflow:hidden">
					<h3 class="fs_16 ind_tit fl">公司简介</h3>
					<a class="blue more fr" style="line-height:40px; padding-right:10px;" title="更多" target="_blank" href="/aboutus/jianjie.php">更多</a>
					<div class="cle"></div>
					<div class="clearfix tab_content">
						<div class="clearfix nr">
							<ul  class="news_list" style="padding:10px;">
							<p  style="margin: 10px;margin-top:40px;height: 300px; line-height: 25px;   font-size: 13px;color:#666;">深圳前海测试股权投资基金管理有限公司是一家大型国际投资公司。公司成立2014年11月，注册资金16800 万人民币。以融资投资为主的有限责任公司.经过多年的发展,旗下拥有多家子公司;五大团体:核心投资决策团队、投资与研究团体、全面风险管理团队、运用交易团队、产品及服务团队。测试理财拥有国内知名的金融机构从事投资而拥有丰富经验专业人才,因为我们有共同的理想和各自的价值使我们走在一起,形成稳定团队合力,去共同挑战未来。
								</p>
							
							</ul>
						</div>
					</div>
				</div>
				
		<div class="module mb_5 new_box holiday_r_no2" style="height:350px; overflow:hidden">
					<h3 class="fs_16 ind_tit fl">最新动态</h3>
					<a class="blue more fr" style="line-height:40px; padding-right:10px;" title="更多" href="/aboutus/news.php" target="_blank">更多</a>
					<div class="cle"></div>
					<div class="clearfix tab_content">
						<!--1 s-->
						<div class="clearfix nr">
							<ul class="news_list" style="margin: 10px;margin-top:40px;height: 300px;">
							
								 <?php 
  $sql_in_tz = "select * from {$db_prefix}news where type = 2 order by id desc limit 9";
  $rstz = $db->query($sql_in_tz);
  while ($rs_tz=$db->fetch_array($rstz)){  ?> 
								<li><a href="/aboutus/newsinfo.php?id=<?php echo $rs_tz['id'];?>"  class="fs_14"><?php echo $rs_tz['title'];?> </a></li>
								 <?php } ?>
								
							</ul>
						</div>
					</div>
				</div>
				
			
			
				
       
      
        
      </div>
      <div class="data-right">
	  
        
		 <div class="licaibox">
  <div class="hd" style="display:none;width:100% !important;">
    <ul class="clearfix">
      <?php  
        $sqlcs = "select * from  {$db_prefix}project_classid";
        $rssc = $db->query($sqlcs);
        while($rsleftc = $db->fetch_array($rssc)){  ?>
      <li><?php echo $rsleftc['name']; ?>(<?php echo projectNum($rsleftc['id']); ?>)</li>
	  
      <?php  }  ?> 
	   <li style="float:right"><a href="projectlist.php?type=rt">查看更多
	   </a></li>
    </ul>
  </div>
  <div class="bd">
    <div class="conWrap">
      <div class="con" >
      
          <?php  
            $sqlcs = "select * from  {$db_prefix}project where classid = 1  order by orderid,id";
            $rsscc = $db->query($sqlcs);
            while($rs2 = $db->fetch_array($rsscc)){  
			
          ?>
           <div class="fina-list">
			  <div class="finaimg">
				<a href="/project.php?id=<?php echo $rs2['id'];?>">
				  <img width="130" height="140" src="/public/Project/<?php echo $rs2['pic'] ?>"></a>
			  </div>
			  <div class="fina-content">
				<h4>
				  <a  class="blue fs_18" href="/project.php?id=<?php echo $rs2['id'];?>" title="<?php echo $rs2['title']; ?>"><img src="/img/credit.gif"><?php echo $rs2['title']; ?></a>  <span class="pai">项目规模：<em class="fs_14"><b>￥<?php echo $rs2['xmgm']; ?>万</b></em>元</span></h4>
				
				<div class="row">
				  <span>日化利率：</span>
				  <span class="yellow fs"><?php echo $rs2['jyrsy']; ?>%</span></div>
				<div class="row">
				  <span>投资期限：</span>
				  <span class="fs">
					<span class="yellow fs" style="color:#666;"><?php echo $rs2['shijian']; ?></span><?php echo $rs2['qxdw']; ?></span></div>
				<div class="row">
				  <span>起投金额：</span>
				  <span class="fs">
					<span class="yellow fs"><?php echo $rs2['qtje']; ?></span>元</span></div>
				
				
				<div class="row fina_plan" >
				 
				 
				  <span class="b_jingdu b_jd<?php echo $rs2['xmjd']; ?>"><?php echo $rs2['xmjd']; ?>%</span>
					
				 
				 </div>
				<div class="row fina_plansy" style="width:200px; float:right">
				  <span style="width:auto;height: 20px;
    line-height: 20px;">还款方式：</span>
				  <span class="fs" style="width:auto;height: 20px;
    line-height: 20px;">
				  <?php if($rs2['hkfs']==0){?>
					按日付收益，到期还本
				  <?php }elseif($rs2['hkfs']==1){ ?>
				  按周期付收益，到期还本
				  <?php } ?>
				  </span></div>
				<p class="rowbtn">
				<?php  if($rs2['tzzt'] == 1){ ?>
				    <a class="finabtn bluebtn" href="/project.php?id=<?php echo $rs2['id'];?>" title="已投满" style='background:#ff9000;'>已投满</a></p>
				<?php }else{?>
					<a class="finabtn bluebtn" href="/project.php?id=<?php echo $rs2['id'];?>" title="立即投资">立即投资</a></p>
				<?php } ?>
			  </div>
			</div>
          <?php  } ?>
      
      </div>
      <div class="con" style="display:none">
        
              
          <?php  
            $sqlcs = "select * from  {$db_prefix}project where classid = 2  order by orderid,id";
            $rsscc = $db->query($sqlcs);
            while($rs2 = $db->fetch_array($rsscc)){  
			
          ?>
           <div class="fina-list">
			  <div class="finaimg">
				<a href="/project.php?id=<?php echo $rs2['id'];?>">
				  <img width="130" height="140" src="/public/Project/<?php echo $rs2['pic'] ?>"></a>
			  </div>
			  <div class="fina-content">
				<h4>
				  <a  class="blue fs_18" href="/project.php?id=<?php echo $rs2['id'];?>" title="<?php echo $rs2['title']; ?>"><img src="/img/credit.gif"><?php echo $rs2['title']; ?></a>  <span class="pai">项目规模：<em class="fs_14"><b>￥<?php echo $rs2['xmgm']; ?>万</b></em>元</span></h4>
				
				<div class="row">
				  <span>日化利率：</span>
				  <span class="yellow fs"><?php echo $rs2['jyrsy']; ?>%</span></div>
				<div class="row">
				  <span>投资期限：</span>
				  <span class="fs">
					<span class="yellow fs" style="color:#666;"><?php echo $rs2['shijian']; ?></span><?php echo $rs2['qxdw']; ?></span></div>
				<div class="row">
				  <span>起投金额：</span>
				  <span class="fs">
					<span class="yellow fs"><?php echo $rs2['qtje']; ?></span>元</span></div>
				
				
				<div class="row fina_plan" >
				 
				 
				  <span class="b_jingdu b_jd<?php echo $rs2['xmjd']; ?>"><?php echo $rs2['xmjd']; ?>%</span>
					
				 
				 </div>
				<div class="row fina_plansy" style="width:200px; float:right">
				  <span style="width:auto;height: 20px;
    line-height: 20px;">还款方式：</span>
				  <span class="fs" style="width:auto;height: 20px;
    line-height: 20px;">
				  <?php if($rs2['hkfs']==0){?>
					按日付收益，到期还本
				  <?php }elseif($rs2['hkfs']==1){ ?>
				  按周期付收益，到期还本
				  <?php } ?>
				  </span></div>
				<p class="rowbtn">
				<?php  if($rs2['tzzt'] == 1){ ?>
				    <a class="finabtn bluebtn" href="/project.php?id=<?php echo $rs2['id'];?>" title="已投满" style='background:#ff9000;'>已投满</a></p>
				<?php }else{?>
					<a class="finabtn bluebtn" href="/project.php?id=<?php echo $rs2['id'];?>" title="立即投资">立即投资</a></p>
				<?php } ?>
			  </div>
			</div>
          <?php  } ?>
      
        
      </div>
      
      <div class="con" style="display:none">
      
          <?php  
            $sqlcs = "select * from  {$db_prefix}project where classid = 4  order by orderid,id";
            $rsscc = $db->query($sqlcs);
            while($rs2 = $db->fetch_array($rsscc)){  
			
          ?>
           <div class="fina-list">
			  <div class="finaimg">
				<a href="/project.php?id=<?php echo $rs2['id'];?>">
				  <img width="130" height="140" src="/public/Project/<?php echo $rs2['pic'] ?>"></a>
			  </div>
			  <div class="fina-content">
				<h4>
				  <a  class="blue fs_18" href="/project.php?id=<?php echo $rs2['id'];?>" title="<?php echo $rs2['title']; ?>"><img src="/img/credit.gif"><?php echo $rs2['title']; ?></a>  <span class="pai">项目规模：<em class="fs_14"><b>￥<?php echo $rs2['xmgm']; ?>万</b></em>元</span></h4>
				
				<div class="row">
				  <span>日化利率：</span>
				  <span class="yellow fs"><?php echo $rs2['jyrsy']; ?>%</span></div>
				<div class="row">
				  <span>投资期限：</span>
				  <span class="fs">
					<span class="yellow fs" style="color:#666;"><?php echo $rs2['shijian']; ?></span><?php echo $rs2['qxdw']; ?></span></div>
				<div class="row">
				  <span>起投金额：</span>
				  <span class="fs">
					<span class="yellow fs"><?php echo $rs2['qtje']; ?></span>元</span></div>
				
				
				<div class="row fina_plan" >
				 
				 
				  <span class="b_jingdu b_jd<?php echo $rs2['xmjd']; ?>"><?php echo $rs2['xmjd']; ?>%</span>
					
				 
				 </div>
				<div class="row fina_plansy" style="width:200px; float:right">
				  <span style="width:auto;height: 20px;
    line-height: 20px;">还款方式：</span>
				  <span class="fs" style="width:auto;height: 20px;
    line-height: 20px;">
				  <?php if($rs2['hkfs']==0){?>
					按日付收益，到期还本
				  <?php }elseif($rs2['hkfs']==1){ ?>
				  按周期付收益，到期还本
				  <?php } ?>
				  </span></div>
				<p class="rowbtn">
				<?php  if($rs2['tzzt'] == 1){ ?>
				    <a class="finabtn bluebtn" href="/project.php?id=<?php echo $rs2['id'];?>" title="已投满" style='background:#ff9000;'>已投满</a></p>
				<?php }else{?>
					<a class="finabtn bluebtn" href="/project.php?id=<?php echo $rs2['id'];?>" title="立即投资">立即投资</a></p>
				<?php } ?>
			  </div>
			</div>
          <?php  } ?>
      
      </div>
    </div>
  </div>
</div>
<script type="text/javascript">jQuery(".licaibox").slide({ mainCell:".conWrap", effect:"fold"});</script>
  
       
      </div>
    </div>
   <div class="clearfix fluid" style="height:200px;">
			<div class="module ind_media s_holidy_main_no6">
				<h3 class="ind_tit"> <span class="fs_18">合作保障机构</span> </h3>
				<ul class="clearfix ind_media_box" style="height:100px;">
					<li><img alt="中保财富融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402119354.jpg" width="98" height="38" title="中保财富融资担保有限公司"></li>
			<li><img alt="中鸿基融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402118764.jpg" width="98" height="38" title="中鸿基融资担保有限公司"></li>
			<li><img alt="中诚润通投资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402118655.jpg" width="98" height="38" title="中诚润通投资担保有限公司"></li>
			<li><img alt="江苏中地投资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402148613.jpg" width="98" height="38" title="江苏中地投资担保有限公司"></li>
			<li><img alt="中源盛祥融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402118435.jpg" width="98" height="38" title="中源盛祥融资担保有限公司"></li>
			<li><img alt="北京海大富林融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402118303.jpg" width="98" height="38" title="北京海大富林融资担保有限公司"></li>
			<li><img alt="金达融资担保有限责任公司" class="lazy" src="/img/tmp_guarantor_1402118206.jpg" width="98" height="38" title="金达融资担保有限责任公司"></li>
			<li><img alt="兴融融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402118048.jpg" width="98" height="38" title="兴融融资担保有限公司"></li>
			<li><img alt="北京同益达融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402117907.jpg" width="98" height="38" title="北京同益达融资担保有限公司"></li>
			<li><img alt="国瑞泰融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402117768.jpg" width="98" height="38" title="国瑞泰融资担保有限公司"></li>
			<li><img alt="恩义融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402117668.jpg" width="98" height="38" title="恩义融资担保有限公司"></li>
			<li><img alt="云南兴业融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402117234.jpg" width="98" height="38" title="云南兴业融资担保有限公司"></li>
			<li><img alt="北京华夏兴业融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402117120.jpg" width="98" height="38" title="北京华夏兴业融资担保有限公司"></li>
			<li><img alt="融正五岳信用担保有限公司" class="lazy" src="/img/tmp_guarantor_1402116984.jpg" width="98" height="38" title="融正五岳信用担保有限公司"></li>
			<li><img alt="财和融资租赁（上海）有限公司" class="lazy" src="/img/tmp_guarantor_1402116718.jpg" width="98" height="38" title="财和融资租赁（上海）有限公司"></li>
			<li><img alt="中桥融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402116608.jpg" width="98" height="38" title="中桥融资担保有限公司"></li>
			<li><img alt="汇民融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402116117.jpg" width="98" height="38" title="汇民融资担保有限公司"></li>
			<li><img alt="四川新安融资担保有限公司" class="lazy" src="/img/tmp_guarantor_1402116003.jpg" width="98" height="38" title="四川新安融资担保有限公司"></li>
				</ul>
			</div>
		</div>
	

			
    <div class="leader" style="display:none">
      <div class="leader-left">
        <div><h5>新手必读</h5><a class="more" target="_blank" href="/service/jr.php?type=about">更多</a></div>
        <img class="l-l-img" src="/public/Front2/images/xszy.png" />
        <ul class="l-l-note">
           <?php 
          $sql_in_tz = "select * from {$db_prefix}help where type = 1 limit 5 ";
          $rstz = $db->query($sql_in_tz);
          while ($rs_tz=$db->fetch_array($rstz)){  ?> 
          <li><i></i><a target="_blank" href="/service/jr.php?type=about"><?php echo $rs_tz['title'];?></a></li>
          <?php } ?>
        </ul>
      </div>

      <div class="leader-right">
        <div><h5>充值引导</h5><a target="_blank" class="more" href="/service/jr.php?type=explain">更多</a></div>
        <img class="l-l-img" src="/public/Front2/images/help.jpg" />
        <ul class="l-l-note">
          <?php 
          $sql_in_tz = "select * from {$db_prefix}help where type = 6 limit 5 ";
          $rstz = $db->query($sql_in_tz);
          while ($rs_tz=$db->fetch_array($rstz)){  ?> 
          <li><i></i><a target="_blank" href="/service/jr.php?type=about"><?php echo $rs_tz['title'];?></a></li>
          <?php } ?>
        </ul>
      </div>
    </div>
	 </div>
  </div>
  <?php  include("/template/foot.php");?>
<div class="tc" style="width: 100%; height: 2121px;display:none" id="xinhuancontent_scroll">
			    <div class="tc-zz"></div>
			    <div class="tc-content">
			        <a class="tc-guanbi" id="closebtn"></a>
                      <a class="tc-xgvc" onclick="window.location.href='http://hshttz.com/aboutus/newsinfo.php?id=367'"></a>
				</div>
			</div>
			
		<script type="text/javascript">
  $("#closebtn").click(function(){document.cookie="isshow=";$("#xinhuancontent_scroll").hide();});
  $("#closebtn_").click(function(){document.cookie="isshow=true";$("#xinhuancontent_scroll").hide();location.href=location.href;});
</script>

			
<script type="text/javascript">document.getElementById("menu1").className=" active";</script>

</body>
<script src="http://down.admin5.com/demo/code_pop/19/802/js/jquery.liMarquee.js"></script>
<div style="display:none;"><script type="text/javascript" src="https://js.users.51.la/19224087.js"></script></div>
<script>
$(window).load(function(){
  $('.str1').liMarquee();
  $('.str2').liMarquee({
    direction: 'right'  
  });
  var stringEl = $('.str3').liMarquee();
  $('.speedChange').on('click',function(){
    var speedChange = $(this);
    var dataSpeed = speedChange.data('scrollamount');

    stringEl.trigger('mouseenter');
    stringEl.data({scrollamount:dataSpeed});
    stringEl.trigger('mouseleave');
    
    return false; 
  });
  $('.str4').liMarquee({
    drag: false 
  });
  $('.str5').liMarquee({  
    hoverstop: false
  });
  $('.str6').liMarquee();
  $('.btnPause').on('click',function(){
    $('.str6').liMarquee('pause');
  });
  $('.btnPlay').on('click',function(){
    $('.str6').liMarquee('play');
  })
  });

</script>
<script type="text/javascript">
  $(function(){
    $(".hd").css('width', $(".hd li").length*($(".hd li:first").width()+10)+'px');
    $(".f-slides ul").css('width', $(".slide-news ul li").length*$(".slide-news ul li:first").width()+'px');
    jQuery(".trigger").slide({ mainCell:".bd ul",effect:"left",autoPlay:true });

    $(".data-right ul li").click(function(event) {
      $(this).addClass('on').siblings('li').removeClass('on');
      var ix = $(".data-right ul li").index(this);
      $(".d-r-bottom>div").eq(ix).show().siblings('div').hide();
      $(".d-r-top span").text($(this).attr("data-name"));
    });
    $(".step-f").mouseover(function(event) {
      $(this).addClass('overs');
    });
    $(".step-f").mouseout(function(event) {
      $(this).removeClass('overs');
    });
    $(".slide-top table").css('height', $(".slide-top table tr").length*$(".slide-top table tr:first").height()+'px');
    var slideTop = function(){
      $(".data-left table").animate({
        "top": -$(".slide-top table tr:first").height()+"px"},
        500, function() {
        $(".slide-top table").css('top', '0');
        $(".slide-top table").append($(".slide-top table tr:first").remove());
      });
    }
    var idtop = setInterval(slideTop,2000);
    $(".slide-top table tr").on('mouseover', function(event) {
      event.preventDefault();
      clearInterval(idtop);
    });
    $(".slide-top table tr").on('mouseout', function(event) {
      event.preventDefault();
      clearInterval(idtop);
      idtop = setInterval(slideTop,2000);
    });
    var slideLeft = function(){
      $(".f-slides ul").animate({
        'left': -$(".slide-news ul li:first").width()+'px'},
        500, function() {
        $(".f-slides ul").css('left', '0');
        $(".f-slides ul").append($(".f-slides ul li:first").remove());
      });
    }
    var id = setInterval(slideLeft, 4500);
    $(".f-slides ul li").on('mouseover',function(event) {
      clearInterval(id);
    });
    $(".f-slides ul li").on('mouseout',function(event) {
      clearInterval(id);
      id = setInterval(slideLeft, 4500);
    });
    $(".prev").click(function(event) {
      clearInterval(id);
      slideLeft();
      id = setInterval(slideLeft, 4500);
    });
    $(".next").click(function(event) {
      clearInterval(id);
      slideLeft();
      id = setInterval(slideLeft, 4500);
    });
  })
</script>
</html>