﻿<!--
function focus() {
if (navigator.appVersion.indexOf('MSIE')!= -1) for (a=0;a<document.links.length;) document.links[a].onfocus=document.links[a++].blur;
}

// Wygenerował WebSite PRO
// Nie wolno modyfikować skryptu!
function Zamien()
{ //start
  var rem, keep=0, store, obj, switcher=new Array, history=document.Data;
    for (rem=0; rem < (Zamien.arguments.length-2); rem+=3) {
           store = Zamien.arguments[(navigator.appName == 'Netscape')?rem:rem+1];
    if ((store.indexOf('document.layers[')==0 && document.layers==null) ||
        (store.indexOf('document.all[')==0 && document.all==null))
         store = 'document'+store.substring(store.lastIndexOf('.'),store.length);
         obj = eval(store);
    if (obj != null) {
             switcher[keep++] = obj;
      switcher[keep++] = (history==null || history[keep-1]!=obj)?obj.src:history[keep];
      obj.src = Zamien.arguments[rem+2];
  } }
  document.Data = switcher;
} //end

function Przywroc()
{ //start
  if (document.Data != null)
    for (var rem=0; rem<(document.Data.length-1); rem+=2)
      document.Data[rem].src=document.Data[rem+1];
} //end

function okno(adres, szer, wys) {
 wysok=wys;
 szerok=szer;
 ekranWys=(screen.availHeight-50);
 ekranSzer=(screen.availWidth-50);
 if (wysok > ekranWys) {wysok = ekranWys};
 if (szerok > ekranSzer) {szerok = ekranSzer};
 gora=((ekranWys-wysok)/2)
 lewy=((ekranSzer-szerok)/2)
 okienko = window.open(adres,"displayWindow",'width=' + szerok + ',height=' + wysok + ',top=' + gora + ',left=' + lewy + ',resizable=1,scrollbars=yes,menubar=no');
 okienko.focus()
}

function obrazek(adres, szer, wys, nazwa) {
 wysok=wys+100;
 wysram=wys/2;
 szerok=szer+60;
 szerram=szer/2;
 ekranWys=(screen.availHeight-50);
 ekranSzer=(screen.availWidth-50);
 if (wysok > ekranWys) {wysok = ekranWys};
 if (szerok > ekranSzer) {szerok = ekranSzer};
 gora=((ekranWys-wysok)/2)
 lewy=((ekranSzer-szerok)/2)
 o=window.open('',nazwa,'width=' + szerok + ',height=' + wysok + ',top=' + gora + ',left=' + lewy + ',resizable=1,scrollbars=yes,menubar=no');
 o.document.open();
    o.document.write("<html><head><title>" + nazwa + "</title></head><body style='background-color: black; color: orange; margin: 5px; text-align: center; overflow: auto;'><center><table align=center border=0 cellpadding=0 cellspacing=0 style='text-align: center; font-size: 1px; padding: 0;'><tr><td colspan=4 style='font-size: 12px;'>" + nazwa + "</td></tr><tr><td style='width: 10px; height: 10px;'><img src='../start/obrazki/empty.gif' width=10 height=10></td><td style='width=" + szerram + "'><img src='../start/obrazki/empty.gif' width=" + szerram + " height=1></td><td style='border-bottom:1px solid orange; width=" + szerram + "'><img src='../start/obrazki/empty.gif' width=" + szerram + " height=1></td><td style='border-bottom: 1px solid orange; border-left: 1px solid orange; width: 10px;'><img src='../start/obrazki/empty.gif' width=10 height=10></td></tr><tr><td style='width: 10px; height: " + wysram + "'><img src='../start/obrazki/empty.gif' width=1 height=" + wysram + "></td><td colspan=2 rowspan=2 style='padding: 5px;'><img src=" + adres +" style='border:0' width=" + szer + " height=" + wys + " /></td><td style='border-left: 1px solid orange;'>&nbsp;</td></tr><tr><td style='border-right: 1px solid orange; height=" + wysram + ";'><img src='../start/obrazki/empty.gif' width=1 height=" + wysram + "></td><td>&nbsp;</td></tr><tr><td style='border-right: 1px solid orange; border-top: 1px solid orange; height: 10px;'>&nbsp;</td><td style='border-top: 1px solid orange'>&nbsp;</td><td>&nbsp;</td><td><img src='../start/obrazki/empty.gif' width=10 height=10></td></tr><td colspan=4 style='font-size: 10px; text-align: center; color: gray;'>&copy; mp</td></tr></table></center></body></html><br />");
 o.document.close();
 o.focus();
}

function poczta(kto,domena,nazwa,temat,poziom,iobrazek){
 var obrazek="koperta"
 if (iobrazek!=null) {obrazek=iobrazek};
 var adres="obrazki/"+obrazek+".gif";
 var adresh="obrazki/"+obrazek+"h.gif";
 if (poziom>=1){
  adres="../start/"+adres;
  adresh="../start/"+adresh;
  if (poziom>=2){
   adres="../"+adres;
   adresh="../"+adresh;
   if (poziom>=3){
    adres="../"+adres;
    adresh="../"+adresh;
    if (poziom>=4){
     adres="../"+adres;
     adresh="../"+adresh;
     if (poziom==5){
      adres="../"+adres;
      adresh="../"+adresh;
     }
    }
   }
  }
 }
 window.document.open();
 window.document.write("<a href=\"mailto:"+kto+"@"+domena+".pl?SUBJECT="+temat+"\" onMouseOver=\"Zamien(\'document."+nazwa+"\',\'document."+nazwa+"\',\'"+adresh+"\'); window.status=\'"+nazwa+"\'; return true;\" onMouseOut=\"Przywroc(); window.status=\'\'; return true;\" onClick=\"if (navigator.appVersion.indexOf(\'MSIE\')!= -1) this.blur();\" >");
 window.document.write("<img src=\""+adres+"\" name=\""+nazwa+"\" alt=\""+kto+"@"+domena+".pl\" border=\"0\">");
 window.document.write("</a>");
 window.document.close();
}

function pocztatxt(kto,domena,tekst){
 var opis=kto+"@"+domena+".pl"
 if (tekst!=null) {opis=tekst};
 window.document.open();
 window.document.write("<a href=\"mai");
 window.document.write("lto:"+kto+"@"+domena+".pl\">");
 window.document.write(opis);
 window.document.write("</a>");
 window.document.close();
}
//-->

