<!--
		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 footerElement = document.getElementById('footer');
					var footerHeight  = footerElement.offsetHeight;
					if (windowHeight - (contentHeight + footerHeight) >= 0) {
						footerElement.style.position = 'relative';
						footerElement.style.top = (windowHeight - (contentHeight + footerHeight)) + 'px';
					}
					else {
						footerElement.style.position = 'static';
					}
				}
			}
		}
//		window.onload = function() {
	//		setFooter();
//		}
//		window.onresize = function() {
//			setFooter();
//		}
    
    
    // stuff for slide show
    
    
    NewImg = new Array (0);
    CaptionText = new Array (0);
    var ImgLength = 0;



    var ImgNum = 0;
    var ImgLength = NewImg.length - 1;
    var CapText = CaptionText[ImgNum];

    //Time delay between Slides in milliseconds
    var delay = 3000;

    var lock = false;
    var run;
    function chgImg(direction) 
    {
        ImgNum = ImgNum + direction;
        if (ImgNum > ImgLength) 
        {
          ImgNum = 0;
        }
        if (ImgNum < 0) 
        {
          ImgNum = ImgLength;
        }
        document.getElementById("slideshow").src = NewImg[ImgNum];
        document.getElementById("imgcaption").innerHTML = CaptionText[ImgNum];
  
    }
    function auto() 
    {
      if (lock == true) 
      {
        lock = false;
        window.clearInterval(run);
      }
      else if (lock == false) 
      {
        lock = true;
        run = setInterval("chgImg(1)", delay);
      }
    }
    
    
    
    
    
    
    
    
		//-->