function Logo(){
    Wiking.getMap().addControl(this);
}
Logo.prototype = new GControl();
Logo.prototype.initialize = function(map){
    var element = document.createElement('img');
    element.src = '/wimg/maplogo.png';
    element.title = "Przejdź do strony głównej Geo2.pl";
    element.style.cursor="pointer";
    GEvent.addDomListener(element,'click',function(){
        document.location.href="/";
    });
    map.getContainer().appendChild(element);
    return element;       
}
Logo.prototype.selectable = function(){return false;}
Logo.prototype.printable = function(){return true;}
Logo.prototype.getDefaultPosition = function(){
    return new GControlPosition(G_ANCHOR_TOP_LEFT,new GSize(19,4));
}; 
