
function nic() {}

function odliczaj(sekundy,url) {

 if (!document.layers&&!document.getElementById&&!document.all)
 return

  sekundy=sekundy-1
  
  progress=" "
  for(i=0;i<sekundy;i++) {
  	progress=progress+"<img src='paseczek.jpg' width=10 height=14 border=0>"
  }
  
if (document.getElementById){
document.getElementById("odliczanie").innerHTML=progress
}
else if (document.layers){
document.layers.odliczanie.document.write(progress)
}
else if (document.all)
odliczanie.innerHTML=progress


// Czestotliwosc odswiezania
	if(sekundy>0) {
		setTimeout("odliczaj("+sekundy+",'"+url+"')",66)
	} else {
		self.location.href="?p="+url
		if (document.getElementById){
			document.getElementById("odliczanie").innerHTML="Jesli strona sie nie zmienila, kliknij <a href='?"+url+"'>TUTAJ</a>"
		}
		else if (document.layers){
			document.layers.odliczanie.document.write("Jesli strona sie nie zmienila, kliknij <a href='?"+url+"'>TUTAJ</a>")
		}
		else if (document.all)
			odliczanie.innerHTML="Jesli strona sie nie zmienila, kliknij <a href='?"+url+"'>TUTAJ</a>"
	}
}

function imgquickshow(url) {
	
	zawartosc="<center><img style='cursor: pointer; border: 1px black solid;' src="+url+" onclick='quickshow_hide(\""+url+"\")'><br>Kliknij na obraz, aby go schować.<br><hr>"
	if (document.getElementById){
	document.getElementById("quickshow").innerHTML=zawartosc
	}
	else if (document.layers){
	document.layers.quickshow.document.write(zawartosc)
	}
	else if (document.all)
	quickshow.innerHTML=zawartosc
	
}

function quickshow_hide(bookmark) {
	if (document.getElementById){
	document.getElementById("quickshow").innerHTML=""
	}
	else if (document.layers){
	document.layers.quickshow.document.write("")
	}
	else if (document.all)
	quickshow.innerHTML=""
	
	self.location.href='#'+bookmark
}