
// ±ÛÀÚ Èê·¯°¡´Â Å×±×
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;
}

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;
}
