
    var geocoder;
    var map;

    function initializeMap()
    {
      geocoder = new google.maps.Geocoder();
      var latlng = new google.maps.LatLng(50.354840, 15.577413);
      var myOptions = {
          zoom: 16,
          center: latlng,
          mapTypeId: google.maps.MapTypeId.HYBRID
      }
      map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
      var marker = new google.maps.Marker({
  				position: latlng,
  				map: map,
  				title:"ART-PRESS"
			});
			marker.setClickable(false);
    }


  var zel, nael;
  var z, na;
  var opacity = 100;


  function doPrezent()
  {
      z = (Math.floor(Math.random()*11))+1;
      na = z+1;
      if ( na == 12 ) {
          na = 1;
      }

      zel = document.getElementById('prezent'+z);
      nael = document.getElementById('prezent'+na);

      zel.style.display = "inline";
      if (zel.style.opacity != null){
            zel.style.opacity = opacity/100;
      } else {
            if (zel.style.filter != null){
                zel.style.filter = "alpha(opacity="+opacity+")";
            }
      }
      
      nael.style.display = "inline";
      if (nael.style.opacity != null){
            nael.style.opacity = 0/100;
      } else {
            if (nael.style.filter != null){
                nael.style.filter = "alpha(opacity="+0+")";
            }
      }

      setTimeout('men()',13000);
  }

  function men()
  {
      opacity = opacity-2;
      
      if (zel.style.opacity != null){
            zel.style.opacity = opacity/100;
      } else {
            if (zel.style.filter != null){
                zel.style.filter = "alpha(opacity="+opacity+")";
            }
      }

      if (nael.style.opacity != null){
            nael.style.opacity = (100-opacity)/100;
      } else {
            if (nael.style.filter != null){
                nael.style.filter = "alpha(opacity="+(100-opacity)+")";
            }
      }
      
      if ( opacity > 0 ) {
          setTimeout('men()',60);
      } else {
          setTimeout('incPrvPre()',13000);
      }
  }
  
  function incPrvPre()
  {
      if (zel.style.opacity != null){
            zel.style.opacity = 0/100;
      } else {
            if (zel.style.filter != null){
                zel.style.filter = "alpha(opacity="+0+")";
            }
      }
      zel.style.display = "none";
  
      z = z+1;
      na = na+1;
      if ( z == 12 ) {
          z = 1;
      }
      if ( na == 12 ) {
          na = 1;
      }
      
      zel = nael;
      nael = document.getElementById('prezent'+na);

      if (nael.style.opacity != null){
            nael.style.opacity = 0/100;
      } else {
            if (nael.style.filter != null){
                nael.style.filter = "alpha(opacity="+0+")";
            }
      }
      nael.style.display = "inline";
      
      opacity = 100;

      setTimeout('men()',60);
  }

  function externalLinks()
  {
      if (!document.getElementsByTagName) return;
      var anchors = document.getElementsByTagName("a");
      for (var i=0; i<anchors.length; i++) {
          var anchor = anchors[i];
          if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")
              anchor.target = "_blank";
      }
  }
  
  
  
