var useWidth = "100%";
var speed = 250 // greater is slower;

var message = "";

// Remember to include the vertical bar | at the end of the message(s);

var mContainer = "";
var circleMsg = "";
var prevMsg = "";
var useFloat = "";
var xV = 0;
var xL = 0;
var msgLength = 0;

function updateMessage(){

if (circleMsg == ""){circleMsg = mContainer.lastChild.data}
else {circleMsg = prevMsg}
var separatorIdx = circleMsg.lastIndexOf('|');
if (separatorIdx == -1){separatorIdx = msgLength}
circleMsg = circleMsg.substring(1,separatorIdx);
var spliceStr = message.substring(0,msgLength-separatorIdx-1);
var dispMsg = circleMsg+spliceStr;
mContainer.removeChild(mContainer.lastChild);
mContainer.appendChild(document.createTextNode(dispMsg));
prevMsg = circleMsg+'|'+spliceStr;
setTimeout("updateMessage()",speed);
}

function startCrawl(){

mContainer.appendChild(document.createTextNode(message))
setTimeout("updateMessage()",3000); // delay before crawl start;
}

function stayHome(){

var nV = 0;
var nL = 0;
if(!document.body.scrollTop)
{
nV = document.documentElement.scrollTop;
nL = document.documentElement.scrollLeft;
}
else{
nV = document.body.scrollTop;
nL = document.body.scrollLeft;
}
if (nV == 0){window.scrollBy(0,1)}
useFloat.style.top = (205)+nV+xV+"px";
useFloat.style.left = nL+xL+"px";
setTimeout("stayHome()",50);
}

function stratthethings(){

mContainer = document.getElementById('crawl');
document.getElementById('isFloat').style.width = useWidth;
msgLength = message.length;
useFloat = document.getElementById('isFloat');
//useFloat.style.left = ((screen.width-30)/2)-(parseInt(useWidth)/2)+"px";
useFloat.style.left = 0;
useFloat.style.top = 270;
//xV = useFloat.offsetTop;
xL = useFloat.offsetLeft;
stayHome();
startCrawl();
}

if(delay == 0 ) { delay = 1; } 
setTimeout("stratthethings();",delay*1000);


function hideIt() {
  document.getElementById("isFloat").style.visibility='hidden';
}




function showIt() {
	document.getElementById("isFloat").style.visibility='visible';
}

function placeIt(){
	document.getElementById("isFloat").style.visibility='visible';
}

setTimeout("placeIt();showIt()",delay*1000);
<!-- Copyright 2003, Sandeep Gangadharan -->
<!-- For more free scripts go to http://sivamdesign.com/scripts/ -->
<!--
/*var y1 = 20;   // change the # on the left to adjuct the Y co-ordinate

(document.getElementById) ? dom = true : dom = false;

function hideIt() {
  if (dom) {document.getElementById("isFloat").style.visibility='hidden';}
}

function showIt() {
  if (dom) {document.getElementById("isFloat").style.visibility='visible';}
}

function placeIt() {
  if (dom && !document.all) {document.getElementById("isFloat").style.top = window.pageYOffset + (window.innerHeight - (window.innerHeight-y1)) + "px";}
  if (document.all) {document.all["layer1"].style.top = document.documentElement.scrollTop + (document.documentElement.clientHeight - (document.documentElement.clientHeight-y1)) + "px";}
  window.setTimeout("placeIt()", 10); }
// -->*/