var tID = null;
var getObj = null;
var mq = new classMQ();

function classMQ() {
}

classMQ.prototype.set = function(obj) {
  getObj	= obj;
   getObj.style.color="#ffffff";
  this.BLANK     = "        ";
  this.CONTENT = getObj.value;
  this.SCROLL    = this.BLANK + this.CONTENT + 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.style.color="#ffffff";
  getObj.value = this.CONTENT;
}

var mq_l = new classMQ_l();

function classMQ_l() {
}

classMQ_l.prototype.set = function(obj) {
  getObj	= obj;
   getObj.style.color="#ffffff";
  this.BLANK     = "        ";
  this.CONTENT = getObj.innerText;
  this.SCROLL    = this.BLANK + this.CONTENT + this.BLANK + this.CONTENT;
}

classMQ_l.prototype.scroll = function( ) {
  if (!getObj)	return;

  var value = getObj.innerText;
  getObj.innerText = value.substring(1);
  if ("" == getObj.innerText.length) {
  	getObj.innerText = this.SCROLL;
  }
}

classMQ_l.prototype.init = function(  ) {
  if (!getObj)	return;
 getObj.style.color="#ffffff";
  getObj.innerText = this.CONTENT;
}
