if(parent.frames.length!=0)parent.location.replace(location.href)

function showspl()
{
 n = document.getElementsByTagName('html');
 n[0].style.height = '100%';
 n[0].style.overflow = 'hidden';
 document.body.style.height = '100%';
 document.body.style.overflow = 'hidden';
 if(document.getElementById('splash')) document.getElementById('splash').style.display = 'block';
}

function hidespl()
{
 n = document.getElementsByTagName('html');
 n[0].style.height = '';
 n[0].style.overflow = '';
 document.body.style.height = '';
 document.body.style.overflow = '';
 if(document.getElementById('splash')) document.getElementById('splash').style.display = '';
 document.cookie='wiek=ok';
}

function getcookie(nazwa)
{
 nazwa+="="; 
 startCookie=document.cookie.indexOf(nazwa);
 if (startCookie==-1) {return ""}
 startCookie+=nazwa.length;
 if (document.cookie.indexOf(";",startCookie)==-1) {
  koniecCookie=document.cookie.length; }
   else { koniecCookie=document.cookie.indexOf(";",startCookie); }
 textCookie=document.cookie.substring(startCookie,koniecCookie);
 textCookie=unescape(textCookie);
 return textCookie;
}
var Teraz = new Date();
Teraz.setTime(Termin = (24*60*60*1000) + Teraz.getTime());
Termin = (Teraz.toGMTString());

