function BrowserCheck() {
	var b = navigator.appName;
	var agente=(navigator.userAgent);
	this.platf = navigator.platform.toUpperCase();
	this.linux = (this.platf.indexOf('LINUX')!=-1);
}
is = new BrowserCheck();

var swidth=210;
var sheight=90;
var sbcolor='white';
var sspeed=2;

var resumesspeed=sspeed
function start(){
	if(!is.linux){
		if (document.all) iemarquee('ticker');
		else if (document.getElementById) ns6marquee(document.getElementById('ticker'));
	}
}

function iemarquee(whichdiv){
	iediv=eval(whichdiv)
	sheight += 30;
	iediv.style.pixelTop=0
	//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=0;//sheight
		ieslide()
	}
}

function ns6marquee(whichdiv){
	ns6div=eval(whichdiv)
	sheight += 30;
	ns6div.style.top=0; // sheight + "px";
	// ns6div.innerHTML=msg
	sizeup=ns6div.offsetHeight
	ns6slide()
}

function ns6slide() {
	if (parseInt(ns6div.style.top)>=sizeup*(-1)) {
		theTop = parseInt(ns6div.style.top)-sspeed
		ns6div.style.top = theTop + "px";
		setTimeout("ns6slide()",100)
	}
	else {
		ns6div.style.top=0; // sheight + "px";
		ns6slide()
	}
}
