// JavaScript For FlashGlitters site
function fitPic()
{
  var NS = (navigator.appName=="Netscape")?true:false;
  var iWidth = (NS)?window.innerWidth:document.body.clientWidth;
  var iHeight = (NS)?window.innerHeight:document.body.clientHeight;
  iWidth = document.images[0].width + 16 - iWidth ;
  iHeight = document.images[0].height + 16 - iHeight ;
  window.resizeBy(iWidth, iHeight);
  self.focus(); 
}

function showImage(name)
{
  document.getElementById(name).innerHTML='<img id="'+name+'" src="'+name+'" onerror="showImage('+name+')">';
}
