function changeBg(cell)
{
	cell.bgColor="#DDE2E5";
	return;
}
function setBg(cell)
{
	cell.bgColor="#CFD4D7";
	return;
}
function changeBorder(image)
{
	image.style.borderColor="#FF0006";
}
function setBorder(image)
{
	image.style.borderColor="#D6E5EA";
}

/*
	Symulacja poprawnej interpretacji wymiarowania warstwy w popupie dla IE
*/
function fixContentInIE() {
	headerH = 26;
	footerH = 26;
	if ((document.body.clientHeight - (headerH + footerH)) >= 0) {
		document.getElementById('popupContentCont').style.height = (document.body.clientHeight - (headerH + footerH))+"px"
	}
}

/*
	Funkcja otwierająca okno ( głównie na potrzeby popupów z Flasha)
*/

function win( sHref, iWidth, iHeight ) {
	window.open( sHref,'','width='+iWidth+', height='+iHeight );
}

/*
	Funkcja otwierająca popupa z powiększeniem fotki
*/

function foto( sImagePath ) {
	if (sImagePath != '') {
		window.open('powiekszdc11.html?img='+sImagePath,'','width=300,height=300,');
	} else {
		return false;
	}
}
