//Specify the marquee's width (in pixels)
var marqueewidth=750

//Specify the marquee's height (in pixels, pertains only to NS)
var marqueeheight=12

//Specify the marquee's scroll speed (larger is faster)
var speed=3

//Specify the marquee contents
var marqueecontents='<span class="scroll">\>>>>>> \</span><span class="scroll">Welcome - 3Elephants Virtual Office The Best Value Domain Registration and Hosting Around. Order Now and Save Money\!\</span><span class="scroll"> Top Quality Windows 2003 Hosting - at Lowest Prices\ !!!\</span><span class="scroll">\ >>>>>>\</span>'

if (document.all) document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')

function regenerate(){
	window.location.reload()
}

function regenerate2(){
	if (document.layers){
		setTimeout("window.onresize=regenerate",750)
		intializemarquee()
	}
}

function intializemarquee(){
	document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
	document.cmarquee01.document.cmarquee02.document.close()
	thelength=document.cmarquee01.document.cmarquee02.document.width
	scrollit()
}

function scrollit(){
	if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
		document.cmarquee01.document.cmarquee02.left-=speed
		setTimeout("scrollit()",100)
	}
	else {
		document.cmarquee01.document.cmarquee02.left=marqueewidth
		scrollit()
	}
}

window.onload=regenerate2	  

