// JavaScript Document		<!--
		function getWindowHeight() {
			var windowHeight = 0;
			if (typeof(window.innerHeight) == 'number') {
				windowHeight = window.innerHeight;
			}
			else {
				if (document.documentElement && document.documentElement.clientHeight) {
					windowHeight = document.documentElement.clientHeight;
				}
				else {
					if (document.body && document.body.clientHeight) {
						windowHeight = document.body.clientHeight;
					}
				}
			}
			return windowHeight;
		}
		function setFooter() {
			if (document.getElementById) {
				var windowHeight = getWindowHeight();
				if (windowHeight > 0) {
					var contentHeight = document.getElementById('container').offsetHeight;
					var downHeight = document.getElementById('down').offsetHeight;
					var leftHeight = document.getElementById('left').offsetHeight;
					var leftColHeight = document.getElementById("left_col_cont").offsetHeight;
					var rightColHeight = document.getElementById("right").offsetHeight;
					var footerElement = document.getElementById('cont-footer');
					var leftElement = document.getElementById('left');
					var footerHeight  = footerElement.offsetHeight;
					if (windowHeight - (contentHeight + footerHeight) >= 0) {
						//seteaza footerul in css cu pozitie absoluta
						footerElement.style.position = 'absolute';
						//seteaza distanta fata de top a footerului
						footerElement.style.top = (windowHeight - footerHeight) + 'px';
						footerElement.style.width = '100%';
						document.getElementById('container').style.height = (windowHeight - footerHeight - 0) + 'px';
						document.getElementById('container1').style.height = (windowHeight - footerHeight - 0) + 'px';
						document.getElementById('container2').style.height = (windowHeight - footerHeight - 0) + 'px';
						document.getElementById('down').style.height = (windowHeight - footerHeight - 0) + 'px';
						leftElement.style.height = (windowHeight - footerHeight - 210) + 'px';
						document.getElementById('left_col_cont').style.height = (windowHeight - footerHeight - 211) + 'px';
						document.getElementById('right').style.height = (windowHeight - footerHeight - 211) + 'px';
						document.getElementById('right-content').style.height = (windowHeight - footerHeight - 211) + 'px';
						//alert (('Absolute Footer')+'\nDivDown:'+ downHeight);
					}
					else {
						footerElement.style.position = 'static';
						document.getElementById('left_col_cont').style.height = rightColHeight + 'px';
						//alert (('Normal Footer\nContainer:')+contentHeight+'\nLeftCol:'+leftColHeight);
					}
				}
			}
		}
		//-->