function decorateHeader1 () {
	var xhtml = false;
	for (i = 0; i < arguments.length; ++i)
		if (arguments[i] === -1)
			xhtml = true;
	function createButton (href, src, alt, title, className) {
      var img = document.createElement ("img");
      img.src = src; img.alt = alt; img.title = title; img.className = className;
      var a = document.createElement ("a");
      a.href = href; a.appendChild (img);
      return a;
   }
   var h1 = document.getElementsByTagName("h1")[0];
   h1.insertBefore (createButton ("http://www.spreadfirefox.com/node&amp;id=23113&amp;t=177",
                                  "http://sfx-images.mozilla.org/affiliates/thunderbird/thunderbird_88x31.png",
                                  "Get Thunderbird!", "Download Thunderbird", "left"), h1.firstChild);
   h1.insertBefore (createButton ("http://www.spreadfirefox.com/?q=affiliates&id=23133&t=209",
                                  "http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1.png",
                                  "Get Firefox2!", "Download Firefox2", "left"), h1.firstChild);
   if (xhtml)
	   h1.insertBefore (createButton ("http://validator.w3.org/check?uri=referer",
	                                  "http://www.w3.org/Icons/valid-xhtml10",
	                                  "Valid XHTML 1.0!", "Validate XHTML", "right"), h1.firstChild);
	else
	   h1.insertBefore (createButton ("http://validator.w3.org/check?uri=referer",
	                                  "http://www.w3.org/Icons/valid-html401",
	                                  "Valid HTML 4.01!", "Validate HTML", "right"), h1.firstChild);
   h1.insertBefore (createButton ("http://jigsaw.w3.org/css-validator/check/referer",
                                  "http://jigsaw.w3.org/css-validator/images/vcss",
                                  "Valid CSS!", "Validate CSS", "right"), h1.firstChild);
}

