<!-- 
var DefScrollSpeed = 10; 
var DefScrollDirection = 'horizontal'; // (horizontal, vertical) 


function BGScroller(ID, SD, SS, BG) 
{ 
    Elem = GetElem(ID); 
    if(!Elem) 
    { 
        return false; 
    } 
    else 
    { 
        if(BG) 
        { 
            Elem.style.backgroundImage = 'url("' + BG + '")'; 
        } 
        SS =  SS ? SS : DefScrollSpeed; 
        SD =  SD ? SD : DefScrollDirection; 
        BGScroll(ID, SD, SS, 0); 
    } 
} 
function BGScroll(ID, SD, SS, Pos) 
{ 
    Elem = GetElem(ID); 
    Elem.style.backgroundPosition = (SD == 'horizontal') ? Pos++ : '0 ' + Pos++; 
    window.setTimeout('BGScroll("' + ID + '", "' + SD + '", ' + SS + ', ' + Pos + ' )', SS); 
} 
function BGScrollerInit() 
{ 
    // Creating background scroller 
    // Parameters are 
    // 1. Element Id 
    // 2. Scrolling Direction (horizontal, vertical) 
    // 3. Scrolling Delay (Smaller means faster) 
    // 4. Background Image 
    // Except (1) all other parameters are optional 
    BGScroller("Elem1", "vertical"); 
    //BGScroller("Elem2"); 
    //BGScroller("Elem3", "vertical"); 
    //BGScroller("Elem4", 'horizontal', 30, 'scrolling_horizontal.gif'); 
} 
function GetElem(ID) 
{ 
    return document.all ? document.all[ID] : (document.getElementById(ID) ? document.getElementById(ID) : false); 
} 
//--> 