function justify_screen()
{
  var x,y;
  if (self.innerHeight) // all except Explorer
  {
  	x = self.innerWidth;
  	y = self.innerHeight;
  }
  else if (document.documentElement && document.documentElement.clientHeight)
  	// Explorer 6 Strict Mode
  {
  	x = document.documentElement.clientWidth;
  	y = document.documentElement.clientHeight;
  }
  else if (document.body) // other Explorers
  {
  	x = document.body.clientWidth;
  	y = document.body.clientHeight;
  }

  var newHeight = y - 266;
  var obj = document.getElementById("content");
  
  newHeight = newHeight - 20;

  obj.style.height = newHeight + "px";

}


function showImage(img)
{
  var obj = document.getElementById("imgPreviewImage");
  obj.src = img;
}
