
 //Te funkcje nie zawieraja szkodliwych tresci
 
  function Okno(URL,FotoGalery,l,t,w,h) {
   parfoto = "location=no,scrollbars=no,menubar=no,toolbar=no,resizable=no" +
   ",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
   foto = window.open("", FotoGalery, parfoto)
   foto.document.open();
   window.foto.resizeTo(w,h);
   foto.document.write("<html>\n<head>\n<title>Foto-" + FotoGalery,"</title>\n</head>\n<body topmargin=5 leftmargin=5 bgcolor=#FBF6F4>\n<img src=" + URL,"\n</body>\n</html>");
   foto.document.close();
   foto.focus();
   }


       function makeArray(n) {
         this.length = n;
       }

       function stopLinia() {
         if (bannerRunning)
           clearTimeout(timerID);
         bannerRunning = false;
       }

       function startLinia() {
         stopLinia();
         showLinia();
       }

       function showLinia() {
         var text = ar[currentMessage];
         if (offset < text.length) {
           if (text.charAt(offset) == " ")
             offset++;                       
           var partialMessage = text.substring(0, offset + 1);
           window.status = partialMessage;
           offset++;
           timerID = setTimeout("showLinia()", speed);
           bannerRunning = true;
         } else {
           offset = 0;
           currentMessage++;
           if (currentMessage == arlength)
             currentMessage = 0;
           timerID = setTimeout("showLinia()", pause);
           bannerRunning = true;
         }
       }

       var speed = 120
       var pause = 1200
       var timerID = null;
       var bannerRunning = false;
       var currentMessage = 0;
       var offset = 0;

       var arlength =6;
       var ar = new makeArray(arlength);
       ar[0] = "      Witamy !!!";
       ar[1] = "      W naszm ośrodku znajdziesz wypoczynek, relaks, ciszę.";
       ar[2] = "      Organizujemy naukę jazdy konnej, wycieczki, obozy i rajdy konne.";
       ar[3] = "      Tel.:  (0-13) 461-08-34";
       ar[4] = "      E-mail: konie@bieszczady.info.pl";
       ar[5] = "      Serdecznie zapraszamy !!!";
