function scrollupMarqueejsu4js()
{
try
{
var scrollup = document.getElementById("scrollupjsu4js");
var scrollup1 = document.getElementById("scrollup1jsu4js");
//滚动到头继续滚
if(scrollup.scrollTop + scrollup.clientHeight == scrollup.scrollHeight)
{
scrollup.scrollTop-=scrollup1.clientHeight-1;
}
else
{
scrollup.scrollTop++;
}
}
catch(e)
{
}
}
var scrollupMyMarjsu4js;
function scrollupfunjsu4js()
{
var speed = 30;
var scrollup = document.getElementById("scrollupjsu4js");
var scrollup1 = document.getElementById("scrollup1jsu4js");
var scrollup2 = document.getElementById("scrollup2jsu4js");
scrollup2.innerHTML=scrollup1.innerHTML; if(scrollup1.scrollHeight == 0 || scrollup1.scrollHeight < 180)
{
scrollup1.style.height="180px";
}
else
{
scrollup1.style.height=scrollup1.scrollHeight + "px";
}
if(scrollup2.scrollHeight == 0 || scrollup2.scrollHeight < 180)
{
scrollup2.style.height="180px";
}
else
{
scrollup2.style.height=scrollup2.scrollHeight + "px";
}
scrollupMyMarjsu4js=setInterval(scrollupMarqueejsu4js,speed);
scrollup.onmouseover=function() {clearInterval(scrollupMyMarjsu4js)}
scrollup.onmouseout=function() {scrollupMyMarjsu4js=setInterval(scrollupMarqueejsu4js,speed)}
}
window.setTimeout(scrollupfunjsu4js, 0);