function scrool(ID,ID1,ID2){
var speed3=25
var demo2=document.getElementById(""+ID2+"");
var demo1=document.getElementById(""+ID1+"");
var demo=document.getElementById(""+ID+"");

demo2.innerHTML=demo1.innerHTML

function Marquee(){
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth
else{
demo.scrollLeft++
}
}

var MyLeftMar=setInterval(Marquee,speed3);
demo.onmouseover=function() {clearInterval(MyLeftMar)}
demo.onmouseout=function() {MyLeftMar=setInterval(Marquee,speed3)}
}


function checksearchform(){
	if(document.searchform.keywords.value==''){
		alert('请输入您要搜索的关键字');
		searchform.keywords.focus();
		return false;
	}
}

function PlayFlv(filename,width,height) { 
var videoname = filename;
var floder = "video";
var div = document.getElementById("flvPlayDiv"); 
div.innerHTML = "<img src='images/wait.gif' alt=''>";
div.style.display = "none"; 
var result = "<object type='application/x-shockwave-flash' width='"+width+"px' height='"+height+"px' "; 
result += "data='flvplayer.swf?file=" + filename + "'>"; 
result += "<param name='movie' value='flvplayer.swf?file=" + filename + "&showfsbutton=true&autostart=true' />"; 
result += "<param name='wmode' value='transparent' />"; 
result += "<param name='quality' value='high' />"; 
result += "<param name='allowfullscreen' value='true' />"; 
result += "</object>"; 
div.innerHTML = result; 
div.style.display = "inline";
}

function PlayFlv2(filename) { 
var videoname = filename;
var floder = "video";
var div = document.getElementById("flvPlayDiv"); 
div.innerHTML = "loading...";
div.style.display = "none"; 
var result = "<object type='application/x-shockwave-flash' width='250px' height='210px' "; 
result += "data='flvplayer.swf?file=" + filename + "'>"; 
result += "<param name='movie' value='flvplayer.swf?file=" + filename + "&showfsbutton=true&autostart=true' />"; 
result += "<param name='wmode' value='transparent' />"; 
result += "<param name='quality' value='high' />"; 
result += "<param name='allowfullscreen' value='true' />"; 
result += "</object>"; 
div.innerHTML = result; 
div.style.display = "inline";
}

$(function(){
  $(".ImageList li").hover(function(){
	var tips=$(this).find(".tips").html();
	$(this).find("a").attr("title",tips);
  },function(){
	
  });
  $(".zz").hover(function(){
    var tips2=$(this).siblings(".tips").html();
	$(this).attr("title",tips2)
  },function(){
   
  });
});
