
function WebPageGadgetsCom1() {
  this.gadget_number = '1';
  this.d__background_color = '#FFFFFF';
  this.d__text_color = '#0000FF';
  this.d__font_size = 12;
  this.d__font_family = 'Verdana';
  this.display = function() {
    this.the_html = '<style type="text/css">   #wpg1 { text-align:center; width:170px; padding:10px 0px 10px 0px; }   #wpg1 a, #wpg1 a:visited { text-decoration:none; }   .wpg1_t { padding-bottom:6px; }   .wpg1_c { font-size:10px; } </style> <div class="wpg1"> <!--  <div ><a target="_blank" href="http://www.magicthegatheringwallpaper.com/Primal_Beyond-186.html">Primal Beyond</a></div> -->   <div><a target="_blank" href="http://www.magicthegatheringwallpaper.com/Primal_Beyond-186.html"><img src="http://www.magicthegatheringwallpaper.com/uploads/wallpapers/2009/08/13/186/thumb_153dc50e2fd75a00f316b00fc5e75a04.jpg" alt="Primal Beyond"></a></div> </div> ';
    document.write(this.the_html);
    this.the_body_tag = document.getElementsByTagName("body")[0];
    this.the_css = document.getElementById('wpg' + this.gadget_number).style;
    if(this.background_color) { this.the_css.backgroundColor = this.background_color; } else { this.the_css.backgroundColor = this.d__background_color; }
    if(this.text_color) {
      this.the_css.color = this.text_color;
      this.the_body_tag.setAttribute('link', this.text_color);
	  this.the_body_tag.setAttribute('alink', this.text_color);
	  this.the_body_tag.setAttribute('vlink', this.text_color);
    }
    else {
      this.the_css.color = this.d__text_color;
      this.the_body_tag.setAttribute('link', this.d__text_color);
	  this.the_body_tag.setAttribute('alink', this.d__text_color);
	  this.the_body_tag.setAttribute('vlink', this.d__text_color);
    }
    if(this.font_size) { this.the_css.fontSize = this.font_size; } else { this.the_css.fontSize = this.d__font_size; }
    if(this.font_family) { this.the_css.fontFamily = this.font_family; } else { this.the_css.fontFamily = this.d__font_family; }
  }
}


