// JavaScript Document
function titleImgs() {
      var imgs = document.getElementsByTagName("IMG");
      for (var i=0;i<imgs.length;i++) {
        // Check for images with an alt but no title;
        // Using getAttribute because IE6 does not support hasAttribute
        if (imgs[i].getAttribute("alt") && !imgs[i].getAttribute("title")) {
          // Create title same as alt, if alt is not blank
          if (imgs[i].getAttribute("alt").length > 0)
            imgs[i].setAttribute("title", imgs[i].getAttribute("alt"));
        }
      }
    }
window.onload = titleImgs;
  
