	//var show=true;
	var useWidth = "100px";
	var message = "";
	// Remember to include the vertical bar | at the end of the message(s);
	var mContainer = "";
	var circleMsg = "";
	var prevMsg =  "";
	var useFloat = "";
	var xVold=0;
	var xV = 0;
	var xL = 0;
	var msgLength = 0;
	var searchbar='';
	function showBriefcase(show){
		if(!show){
			xV=xVold;
			document.getElementById('crawl').style.display='none';
			show = true;
		}
		else{
			xV=xVold;
			document.getElementById('crawl').style.display='block';
			show=false;
		}
	}
	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()");
	}

	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 = nV+xV+"px";
		useFloat.style.left = nL+xL+"px";
		searchbar = setTimeout("stayHome()",50);
	}
	window.onload=function(){
		mContainer = document.getElementById('crawl');
		document.getElementById('isFloat').style.width = useWidth;
		msgLength = message.length;
		useFloat = document.getElementById('isFloat');
		//alert(useWidth);
		useFloat.style.left = (screen.width-30)-((parseInt(useWidth)/100)*220)+'px';//((screen.width-30))-((parseInt(useWidth)/100)*120)+'px';//(screen.width-30)-((parseInt(useWidth)/100)*80)+'px';//((screen.width-30)/3)-(parseInt(useWidth)/2)+"px";
		xVold = xV = (useFloat.offsetTop/100)*50;//useFloat.offsetTop;
		xL = useFloat.offsetLeft;
		stayHome();
		startCrawl();
	}
