function addSnapshots()
{
  snaps = jQuery("#snapshots");
  jQuery(snaps).append("<img src='/stylesheets/images/snapshots/snapshot_laptop.png' alt='laptop snapshot' />");
  jQuery(snaps).append("<img src='/stylesheets/images/snapshots/snapshot_train.png' alt='laptop snapshot' />");
  
  //Start Slideshow
  jQuery(snaps).cycle({timeout: 10000, speed: 4000});
}

function correctPNG(images) // correctly handle PNG transparency in Win IE 5.5 & 6.
{
   if(jQuery.browser.msie && jQuery.browser.version < 7)
   {
      for(var i=0; i<images.length; i++)
      {
         var img = images[i];
         var imgName = img.src.toUpperCase();
         if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
            imgID = (img.id) ? "id='" + img.id + "' " : "";
            imgClass = (img.className) ? "class='" + img.className + "' " : "";
            imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
            imgStyle = "display:inline-block;" + img.style.cssText;
            if (img.align == "left"){ imgStyle = "float:left;" + imgStyle; }
            if (img.align == "right"){ imgStyle = "float:right;" + imgStyle; }
            if (img.parentElement.href){ imgStyle = "cursor:hand;" + imgStyle; }
            strNewHTML = "<span " + imgID + imgClass + imgTitle
            + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
            + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
            + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"; 
            img.outerHTML = strNewHTML;
            i = i-1;
         }
      }
   }    
}

jQuery(document).ready(function(){
  //addSnapshots();  # Removed to reduce request weight
  correctPNG(jQuery("img.png"));
});