function initialize() 
{
  if (GBrowserIsCompatible()) {
    var map = new GMap2(document.getElementById("map_canvas"));
    map.setCenter(new GLatLng(49.81742694545057, 19.04555082321167), 16);
    map.setUIToDefault();
    var info =  "RudeBoy Club\n ul. 1 Maja 20";   
    var point = new GLatLng(49.81742694545057, 19.04555082321167);   
    var marker = new GMarker(point);   
    GEvent.addListener(marker, "click", function() {   
      marker.openInfoWindowHtml(info);});   
    map.addOverlay(marker);   
    // wyświetl dymek po załadowaniu strony   
    marker.openInfoWindowHtml(info); 
  }
}

$(function () {
        // basic version is: $('div.demo marquee').marquee() - but we're doing some sexy extras
        
        $('p.vip_news_tresc marquee').marquee('pointer').mouseover(function () {
            $(this).trigger('stop');
        }).mouseout(function () {
            $(this).trigger('start');
        }).mousemove(function (event) {
            if ($(this).data('drag') == true) {
                this.scrollLeft = $(this).data('scrollX') + ($(this).data('x') - event.clientX);
            }
        }).mousedown(function (event) {
            $(this).data('drag', true).data('x', event.clientX).data('scrollX', this.scrollLeft);
        }).mouseup(function () {
            $(this).data('drag', false);
        });
        
        /*$('#vip_news_left_arrow').click(function() {           
            $('p.vip_news_tresc marquee').trigger('stop');
        });*/
             
        $("img").fullsize();
    });

