<!--
//*************************************************************************
//TODA ESSA PAPAGAIADA QUE ESTA ENTRE ASTERISCO É PRA ESSA CODIGO
//FUNCIONAR NOS NAVEGADORES NETSCAPE
//largura
var swidth=300
//altura
var sheight=100
//velocidade
var sspeed=2
//var wholemessage=''
//texto
//wholemessage='<div align="justify"><font face=verdana size=1 color="#6495ed"><b> Aqui ficará o texto a ser mostrado ao usuario</b><br> Editado em html<br> Estamos vendo o exemplo</font></div>'

function start(){
	if (document.all) return
	if (document.getElementById){
		document.getElementById("slider").style.visibility="show"
		ns6marquee(document.getElementById('slider'))
	}
	else if(document.layers){
		document.slider1.visibility="show"
		ns4marquee(document.slider1.document.slider2)
	}
}
function ns4marquee(whichlayer){
	ns4layer=eval(whichlayer)
	ns4layer.document.write(mensagem)
	ns4layer.document.close()
	sizeup=ns4layer.document.height
	ns4layer.top-=sizeup
	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.innerHTML=varMensagem
	ns6div.style.top=sheight
	sizeup=sheight
	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()
	}
}
//***************************************************************

function ExibaMensagem(mensagem, largura, altura, fundo, corfont, Tclass){

	if (document.all){
		document.write('<SPAN style="WIDTH: '+largura+'px; HEIGHT: '+altura+'px; ">')
		document.writeln('<marquee id="ieslider" scrollAmount=2 width='+largura+' height='+altura+' direction=up style="background-color:'+fundo+'">')
		document.writeln('<div align="justify" class="'+Tclass +'">'+mensagem+'</div>')
		ieslider.onmouseover=new Function("ieslider.scrollAmount=0")
		ieslider.onmouseout=new Function("if (document.readyState=='complete') ieslider.scrollAmount=2")
		document.write('</marquee>')
		document.write('</SPAN>')

	} 
	if (document.getElementById&&!document.all){
		document.write('<span style="width:'+largura+'; height:'+altura+';">')
		document.write('<ilayer width='+largura+' height='+altura+' name="slider1" bgcolor="'+fundo+'" visibility=hide>')
		document.write('<layer name="slider2" onMouseover="sspeed=0;" onMouseout="sspeed=2">')
		document.write('</layer>')
		document.write('</ilayer>')
		document.write('<div style="position:relative;overflow:hidden;width:'+largura+';height:'+altura+';clip:rect(0 302 102 0); background-color:'+fundo+';" onMouseover="sspeed=0;" onMouseout="sspeed=2">')
		document.write('<div id="slider" style="position:relative;width:&{swidth};">')
		document.write('</div></div>')
	}
	sheight = altura;
	start()
}
//-->