function getWindowSize(url)
{
   if (window.innerHeight)
   {
      document.cookie = "WindowWidth="+window.innerWidth;
      document.cookie = "WindowHeight="+window.innerHeight;
   } else if (document.body.offsetHeight)
   {
      document.cookie = "WindowWidth="+document.body.offsetWidth;
      document.cookie = "WindowHeight="+document.body.offsetHeight;
   }
   if ((url != null) && (url != '/')) location.href = url;
   return true;
}

var imglist = new Array();

function ShuffleImage()
{
   do {
      n = Math.floor(Math.random() * imglist.length);
   } while (document.wechselbild.src == imglist[n].src);
   document.wechselbild.src = imglist[n].src;
   window.setTimeout("ShuffleImage();", 2000);
   return true;
}
