var TkFragmentShield = Class.create();
TkFragmentShield.prototype = {
  initialize: function(container, id, assetPath, options) {
    this.container = container;
    this.id = id;
    this.assetPath = tkRootCMS + assetPath;
    this.options = {
      site: tkSite
    };
    Object.extend(this.options, options || {});
  },

  write: function() {
    var site = this.options.site;
    var size = 'width: 51px; height: 50px;';
    var list = [];
    list.push('<div id="' + this.id + '" style="' + size + '">');
    if (site == 'internet.mtkl') {
      list.push('<img style="border: none; ' + size + '" src="' + this.assetPath + 'image/blank.gif" alt=" " />');
    } else {
      list.push('<a href="http://www.thyssenkrupp.com/">');
      list.push(  '<img style="border: none; ' + size + '" src="' + this.assetPath + 'image/shield.gif" alt="Shield" />');
      list.push('</a>');
    }
    list.push('</div>');
    list.each(function(html) { document.write(html) });
  }
}
