// JavaScript Document
function AutoScroll(obj){
        $(obj).find("ul:first").animate({
                marginTop:"0px"
        },500,function(){
                $(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
        });
}
$(document).ready(function(){
setInterval('AutoScroll("#hnews")',3000)
setInterval('AutoScroll("#hbei")',3000)
setInterval('AutoScroll("#bsbei")',3000)
});
function stmenu(a){
	var n;
	var m;
	var tm;
	var navlist;
	for(var i=1;i<=9;i++){
	   tm ="tjmenu"+i;
	   n = document.getElementById(tm);
	   tmlist="tjsite"+i;
	   m=document.getElementById(tmlist);
	   if(tm != a){	   	 
		 n.className="tjma";
		 m.style.display = "none";
	   }else{
		
		n.className="tjmhover";
		m.style.display = "block";
	   }
	 }
}
function closetop(){
	document.getElementById("htop").style.display='none';
	document.getElementById("banner").style.marginTop='6px';
}
function Comparetime(temper){
 var str;
 var nowtime=new Date(nowdatetime.replace(/-/,"/"));; 
 var ctime = new Date(temper.replace(/-/,"/"));
   if(nowtime>ctime){
	   return false;
   }else{
	   return true;
   }
}
