		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 containerHeight = document.getElementById('container').offsetHeight;
					var footerElement = document.getElementById('footer');
					var footerHeight  = footerElement.offsetHeight;
					var sidebarElement = document.getElementById('right');
					var sidebarHeight = document.getElementById('right').offsetHeight
					
					
					//if (windowHeight - (containerHeight + footerHeight) >= 0) {
						//sidebarElement.style.offsetHeight = (windowHeight - (containerHeight)) + 'px';
						
						//footerElement.style.position = 'absolute';
						//footerElement.style.top = (windowHeight - (containerHeight - 200 )) + 'px';

					

						//sidebarElement.style.positon = 'absolute';
						//sidebarElement.style.bottom = footerHeight + 'px';
						//sidebarElement.style.offsetHeight = (windowHeight - (containerHeight -200)) + 'px';
								
						
					//}
					//else {
						
						//footerElement.style.position = 'static';
					//}
				}
			}
		}
		
		function roll(img_name, img_src) {
   			document[img_name].src = img_src;
  		}
		