function DynQuoteItem(window, id, body,left,top,width){
  this.window = window;
  this.id = id;
  this.body = body;
  var d = window.document;
  d.writeln('<STYLE TYPE="text/css">');
  d.write('#' + id + ' {position:asolute;');
  if(left) d.write('left:' + left + ';');
  if(top) d.write('top:' + top + ';');
  if(width) d.write('width:' + width + ';');
  d.writeln('}');
  d.writeln('</STYLE>');
}
if (navigator.appName.indexOf("Netscape") != -1){
  DynQuoteItem.prototype.output = function(){
    var d = this.window.document;
	d.writeln('<DIV ID"' + this.id + '">');
	d.writeln(this.body);
	d.writeln("</DIV>");
	this.layer = d[this.id];
  }
  DynQuoteItem.prototype.setBody = function(){
    for(var i = 0; i < arguments.length;i++){
	  this.layer.document.writeln(arguments[i]);
    }
    this.layer.document.close();
  }
}

if (navigator.appName.indexOf("Microsoft") != -1){
  DynQuoteItem.prototype.output = function(){
    var d = this.window.document;
	d.writeln('<DIV ID="' + this.id + '">');
	d.writeln(this.body);
	d.writeln("</DIV>");
	this.element = d.all[this.id];
	this.style = this.element.style; 
  }
  
  DynQuoteItem.prototype.setBody = function(){
    var body = "";
    for(var i = 0; i < arguments.length;i++){
	  body += arguments[i] + "\n";
	}
	this.element.innerHTML = body;
  }
  
}
