/*
 * content.js
 *
 * manipulace s obsahem stranky
 *
 */ 

function setContent() {
	var iHeight;	// y - velikost okna
	var iWidth;	// x - velikost okna
	if (typeof window.innerHeight != 'undefined') {
		iHeight = parseFloat(window.innerHeight);
		iWidth = parseFloat(window.innerWidth);
		}
	else {
		iHeight = parseFloat(document.documentElement.offsetHeight);
		iWidth = parseFloat(document.documentElement.offsetWidth);
		}
	oContent = document.getElementById('content');
	if (oContent) {
	/*	oContent.style.height = (iHeight - 120 - 85) + 'px'; */
		oContent.style.width = (iWidth - 370) + 'px';
		}
	}


window.onresize = function () {
	setContent();
	}
