var tID       = null;
var getObj	= null;
var mq = new classMQ();

function classMQ() 
{
} 

classMQ.prototype.set = function( obj )
{
getObj	= obj;
this.BLANK     = "                 ";
this.CONTENT = getObj.value;
this.SCROLL    = this.BLANK + this.CONTENT + this.BLANK + this.CONTENT;
getObj.style.textDecoration = 'underline';
}

classMQ.prototype.scroll = function( ) 
{
if (!getObj)	return;	
			
var value = getObj.value;
getObj.value = value.substring(1);
if ("" == getObj.value.length)
{
	getObj.value = this.SCROLL;
}			
}

classMQ.prototype.init = function(  ) 
{
if (!getObj)	return;
getObj.value = this.CONTENT;
getObj.style.textDecoration = 'none';
}