﻿// JScript 文件

var tm=null
var tm_=null


function newsScroll() 
{
    if(scrollimg.parentNode.scrollLeft!=(scrollimg.clientWidth/2))
        scrollimg.parentNode.scrollLeft++;
    else
    scrollimg.parentNode.scrollLeft=0
    
  
        
}
/*
function newsScroll_() 
{
    			    
    //-------------------------------------------------------------
    if(scrollimg_.parentNode.scrollLeft!=(scrollimg_.clientWidth/2))
        scrollimg_.parentNode.scrollLeft++;
    else
        scrollimg_.parentNode.scrollLeft=0
        
}
*/


function window.onload() 
{
    simg1.innerHTML=simg.innerHTML
    tm=setInterval('newsScroll()',35) 
    loadAreaA();
    
    //------------------------------
    //simg1_.innerHTML=simg_.innerHTML
    //tm_=setInterval('newsScroll_()',20) 
}

function stop()
{
    clearInterval(tm)
    
}

function start()
{
    tm=setInterval('newsScroll()',20) 
    
}

function stop_()
{
   
    clearInterval(tm_)
}

function start_()
{
    
    tm_=setInterval('newsScroll_()',20) 
}

