function GBDId(id){
  if (document.getElementById){
    element=document.getElementById(id);
  }
    else 
      if (document.all){
        element=document.all[id];
      }
        else 
          if (document.layers){
            element=document.layers[id];
          }
  return element;
}

function ukaz(id){
	schovej_vse();
	GBDId(id).style.display="block";
}

function skryj(){
	cas=setTimeout("schovej_vse()",400);
	zapnuty_timer=true;
}

function pauzni(){
	if (zapnuty_timer){
		clearTimeout(cas);
		cas=null;
		zapnuty_timer=false;
	}
}

function schovej_vse(){
	pauzni();
	GBDId('menu-js').style.display="none";
}
zapnuty_timer = false;

function initialize() {
    if (GBrowserIsCompatible()) {
      var map = new GMap2(document.getElementById("map_canvas"));
      var point = new GLatLng(50.106365, 14.435948);
      map.setCenter(point, 16);
      map.addOverlay(new GMarker(point));
      map.openInfoWindow(map.getCenter(), document.createTextNode("Atelier T-plan, s.r.o."));
      map.setUIToDefault();
    }
}