function pagination(a,b)
{
	var i=1;

	for (i=1; i<=b; i++)
	{
		if(i != a)
		{
			document.getElementById(i).style.display='none';
		}
		else
		{
			document.getElementById(i).style.display='';
		}
	}	
}
function pakeisti_paveiksliuka(url,w,h,urlbigbig){
	document.getElementById('didele').innerHTML="<img width=\"227\" src="+url+" onclick=\"window.open('"+urlbigbig+"','_blank','width="+w+", height="+h+"');\">";
}
function popdp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'location =1,toolbar=0,scrollbars=1,statusbar=0,menubar=1,resizable=1,width=750,height=1024');");
}
function blink (elId) {
  var html = '';
  if (document.all)
    html += 'var el = document.all.' + elId + ';';
  else if (document.getElementById)
    html += 'var el = document.getElementById("' + elId + '");';
  html += 
    'el.style.visibility = ' + 
    'el.style.visibility == "hidden" ? "visible" : "hidden"';
  if (document.all || document.getElementById)
    setInterval(html, 500)
}
function init () {
  blink('blink');
}