window.addEvent('domready', function(){
  //justify_screen();
  //var myPicture = new Fx.Style("inhalt", 'opacity', {duration: 1});
  //myPicture.start(1,0.6);
  
  //initLightbox();
  
  try {
    GetMap();
  } catch (e) {
  }
  
  
});


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;
 }


 if (y<650) {
 document.body.scroll = "yes";
 document.body.style.overflow = "auto";
 document.getElementById("rahmen").style.marginTop = "auto";
 document.getElementById("rahmen").style.top = "0px"; 
 }


}

