Event.observe(window, 'load', function() {
  $$('a.panorama').each(function(e) {
    e.onclick = function() {
      window.open(this.href, '_blank', 'width=950,height=510,toolbar=no,left=' + ((screen.width - 950) / 2) + ',top=' + ((screen.height - 510) / 2));
      return false;
    }
  });
  $$('a.puzzle').each(function(e) {
    e.onclick = function() {
      window.open(this.href, '_blank', 'width=800,height=600,toolbar=no,left=' + ((screen.width - 800) / 2) + ',top=' + ((screen.height - 600) / 2));
      return false;
    }
  });
  $$('#topmenu ul ul li:last-child').each(function (e) { e.addClassName('last') });
  $$('#topmenu ul > li:last-child').each(function (e) { e.addClassName('last-child') });
  $$('#langsel a:last-child').each(function (e) { e.addClassName('last-child') });
});
