/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var iedom=document.all||document.getElementById;

function scrollObject(main, direct, pause, speed, stop) {
    this.main=main;
    this.intref=null;
    this.container=ScrollGetElementById(this.main);
    this.marquee=ScrollGetElementById(this.main+'_vmarquee');
    this.marquee.style.top=0;
    this.marquee.height=document.all? this.container.offsetHeight : ScrollGetElementById(this.main+'_vmarquee').offsetHeight;
    this.marquee.actualheight=document.all? this.marquee.offsetHeight : ScrollGetElementById(this.main+'_vmarquee').offsetWidth;
    this.marquee.scroll=pause;
    this.marquee.speed=speed;
    this.marquee.pauseit=stop;
    this.marquee.direction=direct;
    this.marquee.copyspeed=this.marquee.speed;
    this.marquee.pausespeed=(this.marquee.pauseit==0)? this.marquee.copyspeed: 0;    
}

function ScrollGetElementById(id) {
    if (document.getElementById) {
        return document.getElementById(id);
    } else
    if (document.all) {
        return document.all(id);
    }
}