/* Copyright (c) 2006 Mateusz Heleniak, www.heleniak.net */
/*
window.onload = function(x,i,y,j)
{
	if(!document.getElementById)
	{
		return false;
	}
	for(i in x = document.getElementById('col-1').childNodes)
	{
		if(x[i].tagName && x[i].tagName.toLowerCase() == 'li')
		{
			for(j in y = x[i].childNodes)
			{
				if(y[j].tagName && y[j].tagName.toLowerCase() == 'a')
				{
					y[j].onclick = function(x)
					{
						with(this.parentNode)
						{
							className = (className != 'active') ? 'active' : '';
						}
						return false;
					}
				}
			}
		}
	}
}*/

var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
function ukryjDodano()
{
	d =  document.getElementById('dodano_produkt');
	d.style.display = 'none';
}

