function rollArticle(boxId, headerId)
{
	var art = document.getElementById(boxId);
	if(art)
	{
		if(art.style.display != "none")
		{
			art.style.display = "none";
			refreshContent(headerId, "<img src=\"img/more.jpg\" alt=\"pokaż więcej\" />");
		}
		else
		{
			refreshContent(headerId, "<img src=\"img/less.jpg\" alt=\"schowaj opis\" />");
			art.style.display = "block";
		}
	}
}


function refreshContent(id, text)
{
	if(document.getElementById(id))
	{
		document.getElementById(id).innerHTML = text;
		//document.write(id + "aaaa<br>" + text);
	}

}
