if (typeof(DT) == 'undefined') DT = {} ;
DT.Tmpl = function(tmpl) {
  if(!tmpl) return;
  var this_html;
  new Ajax.Request(tmpl + '?12345', {
    method: 'get',
    asynchronous: false,
    onComplete: function(res) {
      this_html = res.responseText;
    }
  });

  this.html = this_html;
}

DT.Tmpl.prototype.update_into = function(id){
  if(!id) return;
  Element.update(id, this.html);
}

