/************************************************/
/*	- - - - - - - - - - - - -		*/
/*	Biblioteka JavaScript'ów		*/
/*	- - - - - - - - - - - - -		*/
/*						*/
/*	Autor	: Rafał Żegota			*/
/*						*/
/*	WWW	: http://platinum.gd		*/
/*						*/
/*	e-mail	: platinum@tlen.pl		*/
/*						*/
/************************************************/
/*    Skrypty można wykorzystać na własnych 	*/
/*    stronach, pod warunkiem umieszczenia  	*/
/*                powyższej ramki              	*/
/************************************************/
<!--
function FullEkran()
{if (self.parent.frames.length != 0)
self.parent.location=document.location;}

function dolm(plik, info)
{eval("document.images[\"" +plik+ "\"].src = \"grafika/index/" +plik+ "2.gif\"");
window.status = info;}
function goram(plik)
{eval("document.images[\"" +plik+ "\"].src = \"grafika/index/" +plik+ "1.gif\"");
window.status = "";}

function Zdjecia(src,name,w,h){

if (screen.Width<w+50) w=screen.Width-50;
if (screen.Height<h+50) h=screen.Height-50;

aw = (screen.width) ? ((screen.width-w)/2)-10 : 0;
ah = (screen.height) ? ((screen.height-h)/2)-45 : 0;

noweOkienko=window.open("",name,"left=" + aw + "," + "top=" + ah + "," + "screenX=" + aw + "," + "screenY=" + ah + "," + "width=" + w + "," + "height=" + h + "," + "innerWidth=" + w + "," + "innerHeight=" + h + "," + "toolbar=no," + "location=no," + "directories=no," + "status=no," + "menubar=no," + "scrollbars=no," + "resizable=yes");
noweOkienko.document.open();
noweOkienko.document.clear();
noweOkienko.document.write("<html>\n"+"<body bgColor=#fffff0 leftMargin=0 topMargin=0 marginheight=0 marginwidth=0>\n"+"<img src="+src+" onClick='javascript:self.close();'>\n"+"</body>\n"+"</html>");
noweOkienko.document.close();
noweOkienko.document.focus();
}

function Aktualizacja()
{
pisz='<font color='+kol1+'>'+tekst.substring(0,ile)+'</font><font color='+kol2+'>'+tekst.substring(ile,ile+1)+'</font><font color='+kol1+'>'+tekst.substring(ile+1,tekst.length)+'</font>';
if (ie4) document.all.aktualizacja.innerHTML=pisz;
if (ns4) document.layers.aktualizacja.document.write(pisz);
if (ns6) document.getElementById("aktualizacja").innerHTML=pisz;

if (ruch=='p')
 if (ile==tekst.length-1) ruch='l';
  else ile++;
else
 if (ile==0) ruch='p';
  else ile--;
setTimeout("Aktualizacja()",50)
}

function initAktualizacja()
{
ie4=(document.all)&&(parseInt(navigator.appVersion)>=4)
ns4=(document.layers)&&(parseInt(navigator.appVersion)>=4)
ns6=(navigator.product=="Gecko")
kol1='black';
kol2='white';
ile=0;
ruch='p';
tekst='13.02.2010';
pisz=tekst;

Aktualizacja();
}

//-->
