//Parte de este script está tomado de www.dynamicdrive.com
//Specify the marquee's width (in pixels)
//var marqueewidth="525px"
//marqueecontent='<nobr>message</nobr>'

if (marqueecontent != "")
{
	 if (ie) document.write('<marquee width='+marqueewidth+' scrollamount="2" onmouseover="stop()" onmouseout="start()">'+marqueecontent+'</marquee>')

	else if (ns6)
	{
		//Specify the marquee's height
		var marqueeheight="14px"
		var pause=false
		var i=0
		
		
		function scrollmarquee(){
			if (!pause){
				i--
				document.getElementById("iemarquee").style.left=parseInt(marqueewidth)+i+"px"
			}
			if (parseInt(document.getElementById("iemarquee").style.left)+document.getElementById("iemarquee").offsetWidth < 0 ) i=0
		}
	
		with (document){
			write('<div style="position:relative; width:'+marqueewidth+'; height:'+marqueeheight+'; overflow:hidden">')
			write('<div id="iemarquee" style="position:absolute" onMouseover="pause=true" onMouseout="pause=false">')
			write('</div></div>')
			getElementById("iemarquee").innerHTML=marqueecontent
		}
		lefttime=setInterval("scrollmarquee()",20)
	}


	else if ((op6 && navigator.userAgent.indexOf("MSIE")!=-1 ) || op7)
	{
	//Specify the marquee's height
	var marqueeheight="10px"
	var pause=false
	var i=0
	
	if (op6) marqueeheight=(parseInt(marqueeheight)+5)+"px"
	if (op7) marqueeheight=(parseInt(marqueeheight)+4)+"px"

	function scrollmarquee(){
		if (!pause){
			i-=2
			document.all.iemarquee.style.left=parseInt(marqueewidth)+i+"px"
		}
		if (parseInt(document.all.iemarquee.style.left)+document.all.iemarquee.offsetWidth < 0 ) i=0
		
		}
		
		with (document){
		write('<div style="position:relative; width:'+marqueewidth+'; height:'+marqueeheight+'; overflow: hidden">')
		write('<div id="iemarquee" style="position:absolute" onMouseover="pause=true" onMouseout="pause=false">')
		write(marqueecontent)
		write('</div></div>')
		
		}
		
		lefttime=setInterval("scrollmarquee()",100)
		
	}else exclude=true
}else exclude=true

if (exclude) document.write(nomarquee)

