//-- Following param are editable

//scroller width
var swidth=175;

//scroller height
var sheight=90;

//background color
var sbcolor=''

//scroller's speed
var sspeed=1

//scrolling news
var msg = '<table width=95% border=0 cellspacing=0 cellpadding=0 align=center height=95% valign=bottom>'
+ '<tr><td valign=top class=normal>Tarnell welcomes new member Universal Dynamics Corporation!</a></td></tr>'
+ '<tr><td valign=top class=normal><br></td></tr>'
+ '<tr><td valign=top class=normal>Tarnell has updated Financial Stability Scores on 12000+ resin buyers! </a></td></tr>'
+ '<tr><td valign=top class=normal></a></td></tr>'
+ '<tr><td valign=top class=normal></a>Ask us about scoring your portfolio today.</td></tr>'
+ '<tr><td valign=top class=normal></a></td></tr>'
+ '</table>';

//--Do not edit following
var resumesspeed=sspeed

function start(){    
    if (document.all) iemarquee(slider);
    else if (document.getElementById)
    ns6marquee(document.getElementById('slider'));
    else if(document.layers)
    ns4marquee(document.slider1.document.slider2);
}

function iemarquee(whichdiv){
    iediv=eval(whichdiv)
    iediv.style.pixelTop=sheight
    iediv.innerHTML=msg
    sizeup=iediv.offsetHeight
    ieslide()
}

function ieslide(){
    if (iediv.style.pixelTop>=sizeup*(-1)){
        iediv.style.pixelTop-=sspeed
        setTimeout("ieslide()",100)
    } else{
        iediv.style.pixelTop=sheight
        ieslide()
    }
}

function ns4marquee(whichlayer){
    ns4layer=eval(whichlayer)
    ns4layer.top=sheight
    ns4layer.document.write(msg)
    ns4layer.document.close()
    sizeup=ns4layer.document.height
    ns4slide()
}

function ns4slide(){
    if (ns4layer.top>=sizeup*(-1)){
        ns4layer.top-=sspeed
        setTimeout("ns4slide()",100)
    } else{
        ns4layer.top=sheight
        ns4slide()
    }
}

function ns6marquee(whichdiv){
    ns6div=eval(whichdiv)
    ns6div.style.top=sheight
    ns6div.innerHTML=msg
    sizeup=ns6div.offsetHeight
    ns6slide()
}

function ns6slide(){
    if (parseInt(ns6div.style.top)>=sizeup*(-1)){
        ns6div.style.top=parseInt(ns6div.style.top)-sspeed
        setTimeout("ns6slide()",100)
    } else{
        ns6div.style.top=sheight
        ns6slide()
    }
}
document.writeln('<ilayer width=&{swidth}; height=&{sheight}; name="slider1" bgcolor=&{sbcolor};>');
document.writeln('	<layer name="slider2" width=&{swidth}; onMouseover="sspeed=0;" onMouseout="sspeed=resumesspeed"></layer>');
document.writeln('</ilayer>');
if (document.getElementById || document.all || navigator.userAgent.indexOf("Firefox") != -1){
	document.writeln('<span class=ticker-border style="height:'+sheight+';"><div style="position:relative;overflow:hidden;width:'+swidth+';height:'+sheight+';clip:rect(0 '+swidth+' '+sheight+' 0);background-color:'+sbcolor+';" onMouseover="sspeed=0;" onMouseout="sspeed=resumesspeed">');
	document.writeln('<div id="slider" style="position:relative;width:'+swidth+';height:'+sheight+';">');
	document.writeln('</div></div></span>')
}

