function skinhead(rozmiar) { 

if (document.images) {
                    p1n = new Image
                    p1a = new Image
                    p2n = new Image
                    p2a = new Image
                    tapn = new Image
                    tapa = new Image
                    dark1n = new Image
                    dark1a = new Image
                    ks1n = new Image
                    ks1a = new Image

                    p1n.src = 'biel/bel1_n.gif'
                    p1a.src = 'biel/bel1_a.gif'
                    p2n.src = 'biel/bel2_n.gif'
                    p2a.src = 'biel/bel2_a.gif'
                    tapn.src = 'biel/tap_n.gif'
                    tapa.src = 'biel/tap_a.gif'
                    dark1n.src = 'biel/dark_n.gif'
                    dark1a.src = 'biel/dark_a.gif'
                    ks1a.src = 'biel/ks_a.gif'
                    ks1n.src = 'biel/ks_n.gif'

                }
               else {
               p1n=""
               p1a=""
               p2n=""
               p2a=""
               tapn=""
               tapa=""
               dark1n=""
               dark1a=""
               ks1n=""
               ks1a=""
              }

document.writeln('<style>')
document.writeln('<!--')
document.writeln('body { scrollbar-face-color: #0000FF; scrollbar-highlight-color: #FFFFFF;')
document.writeln('scrollbar-3dlight-color: #000080; scrollbar-arrow-color: #FFFFFF;')
document.writeln('scrollbar-track-color: #0080FF; scrollbar-darkshadow-color: #004080; }')
document.writeln('-->')
document.writeln('</style>')

document.writeln('<STYLE TYPE="text/css">')
document.writeln(' #logo {position: absolute; left: 5; top: 5; Width=720; Height=85;}')
document.writeln(' #menu {position: absolute; left: 5; top: 85; Width=130;}')
document.writeln(' #linia {position: absolute; left: 719; top: 85; Width=4;}')
document.writeln(' #koniec {position: absolute; left: 5; Width=720; Top: '+(rozmiar+85)+';}')
document.writeln(' #strona {position: absolute; left: 140; top: 85; Width=580}')
document.writeln('</STYLE>')
document.writeln('<BODY BACKGROUND="biel/tap.jpg">')
}


function skinbody(rozmiar) {

document.writeln('<DIV ID="logo"><A name=pocz>')
document.writeln('<A HREF="index.html"><IMG SRC="biel/logo.jpg" Border=0></A></A>')
document.writeln('</div>')

document.writeln('<DIV ID="menu">')
document.writeln('<TABLE CELLPADDING=5 Width=130 Height='+rozmiar+'  BACKGROUND="biel/tap2.jpg">')
document.writeln('<TR>')
document.writeln('<TD VALIGN="top" Width=130>')
document.writeln('<P ALIGN="center">')
document.writeln('<IMG SRC="biel/belka.gif" Border="0" Name="belka1"><BR>')
document.writeln('<A HREF="angel.htm" onMouseOver="document.abel1.src=p1a.src" onMouseOut="document.abel1.src=p1n.src"><IMG SRC="biel/bel1_n.gif" Border="0" Name="abel1"></A><br>')
document.writeln('<A HREF="inne.htm" onMouseOver="document.abel2.src=p2a.src" onMouseOut="document.abel2.src=p2n.src"><IMG SRC="biel/bel2_n.gif" Border="0" Name="abel2"></A><br>')

document.writeln('<BR><BR>')
document.writeln('<A HREF="tapety.htm" onMouseOver="document.tap.src=tapa.src" onMouseOut="document.tap.src=tapn.src"><IMG SRC="biel/tap_n.gif" Border="0" Name="tap"></A><br>')
document.writeln('<BR><BR><BR><IMG SRC="biel/roza.gif">')
document.writeln('<A href="http://republika.onet.pl/webadmin_ksiega.html?id=1124171" target="_blank" onMouseOver="document.ks.src=ks1a.src" onMouseOut="document.ks.src=ks1n.src"><IMG SRC="biel/ks_n.gif" Border="0" Name="ks"></A><BR><RB><BR><BR><BR><BR>')
document.writeln('<A HREF="http://deicide.nonamein.net" onMouseOver="document.dark.src=dark1a.src" onMouseOut="document.dark.src=dark1n.src"><IMG SRC="biel/dark_n.gif" Border="0" Name="dark"></A><br>')
document.writeln(' </TD>')
document.writeln('</TR>')
document.writeln('</TABLE>')
document.writeln('</div>')


document.writeln('<DIV ID="linia">')
document.writeln('<TABLE Height='+rozmiar+' Width=4 VALIGN="top" BACKGROUND="biel/linia_pion.jpg">')
document.writeln('<TR>')
document.writeln(' <TD></TD>')
document.writeln('</TR>')
document.writeln('</TABLE>')
document.writeln('</div>')


document.writeln('<div id="koniec">')
document.writeln('<A href="#pocz"><IMG Border=0 SRC="biel/dol.jpg"></A>')
document.writeln('</DIV>')
document.writeln('')

 }




function SetLicz(lcz) {
  dataW = new Date
  dataW.setHours(dataW.getHours()+1)
  document.cookie = "licznik="+lcz+";expires="+dataW.toGMTString()
}

function GetLicz(lcz) {
  CookB = document.cookie.split("; ")
  for (i=0; i<CookB.length; i++) {
    if ("licznik" == CookB[i].split("=")[0]) {
      return CookB[i].split("=")[1] } 
}
}

