
 //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=0 bgcolor=#d3e1d2>\n<div align=center>\n<img src=" + URL," border=1 color=#6a6a6a>\n</div>\n</body>\n</html>");
   foto.document.close();
   foto.focus();
   }


  function bigOkno(URL,FotoGalery,l,t,w,h) {
   parfoto = "location=no,scrollbars=yes,menubar=no,toolbar=no,resizable=yes" +
   ",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=0 bgcolor=#d3e1d2>\n<div align=center>\n<img src=" + URL," border=1 color=#6a6a6a>\n</body>\n</html>");
   foto.document.close();
   foto.focus();
   }

function Poczta(URL,poczTa,l,t,w,h) {
   parmail = "location=no,scrollbars=no,menubar=no,toolbar=no,resizable=no" +
   ",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
   foto = window.open("", poczTa, parmail);
   foto.document.open();
   window.foto.resizeTo(w,h);
   foto.document.write("<html>\n<head>\n<title>E-" + poczTa,"</title>\n</head>\n<body topmargin=5 leftmargin=5 bgcolor=#d3e1d2>\n<a href=mailto:poczta@turze.pl><img src=" + URL," align=center border=0></a>\n</body>\n</html>");
   foto.document.close();
   foto.focus();
   }

//function Pos(loc) {
//if (nn4) {
// x=loc.pageX; - przechwytuje odległość od lewej strony,
// y=loc.pageY; - przechwytuje odległość od góry,
// }
//if (ie4) {
// x=event.clientX + document.body.scrollLeft;
// y=event.clientY + document.body.scrollTop;
 //}
//status="pozycja myszki: ("+x+", "+y+")";
//}


       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 = 80
       var pause = 1200
       var timerID = null;
       var bannerRunning = false;
       var currentMessage = 0;
       var offset = 0;
       var arlength =10;
       var ar = new makeArray(arlength);
       ar[0] = "      Witamy na stronach gospodarstwa ''Turze''     ";
       ar[1] = "      Czyste powietrze i zdrowa woda     ";
       ar[2] = "      Wspaniała przyroda dzikich Bieszczad      ";
       ar[3] = "      Wygodne pokoje, smaczne wyżywienie      ";
       ar[4] = "      Własny zarybiony staw i miejsce do kąpieli      ";
       ar[5] = "      Samochód terenowy do dyspozycji gości      ";
       ar[6] = "      Organizacja wycieczek na Ukrainę      ";
       ar[7] = "      Dla firm, konferencje, kursy, narady, imprezy       ";
       ar[8] = "      Zapraszamy o każdej porze roku       ";
       ar[9] = "       ";



       start=0

       function scrolLine(x)
       {
       clearInterval(start);start=setInterval('parent.iframka.scrollBy(0,'+x+')',40)
       }
       function stop()
       {
       clearInterval(start)
       }


      function popupGraphic(URL, WindowName, l, t, w, h) {
      var windowprops = "location=no,scrollbars=no,menubar=no,toolbar=no,resizable=yes" +
      ",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
      popup = window.open(URL,WindowName,windowprops);
      if (popup.opener == null) popup.opener = window;
      }

      function popupGraphica(URL, WindowName, l, t, w, h) {
      var windowprops = "location=no,scrollbars=yes,menubar=no,toolbar=no,resizable=yes" +
      ",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
      popup = window.open(URL,WindowName,windowprops);
      if (popup.opener == null) popup.opener = window;
      }
