$(document).ready(function()
{ 
  $(document).pngFix();
  $('#header').loadBGImage('img/header.gif');  
  
  $.get("php/getNews.php", function(res)
  {
    $("#newsmid").find('.box').html(res);
  });
  
  //Shadowbox initialisieren
  Shadowbox.init(
  {
    handleOversize: "none",
    viewportPadding: 0,
    initialHeight: 100,
    initialWidth: 100,
    overlayOpacity: 0.7,
    overlayColor: '#fff'
  });
  
  $('.map').click(function()
  {
    Shadowbox.open({
        content:    'http://maps.google.com/maps/api/staticmap?center=53.09309,8.78996&zoom=16&size=512x512&maptype=roadmap&markers=color:yellow|label:M|53.09309,8.78996&sensor=false',
        player:     "iframe",
        title:      "Markt-Cafe in Bremen",
        height:     512,
        width:      512
    });
  });
});


