    // Date Display Function
    function displayDate(){
      var this_month = new Array(12);
      this_month[0]  = "January";
      this_month[1]  = "February";
      this_month[2]  = "March";
      this_month[3]  = "April";
      this_month[4]  = "May";
      this_month[5]  = "June";
      this_month[6]  = "July";
      this_month[7]  = "August";
      this_month[8]  = "September";
      this_month[9]  = "October";
      this_month[10] = "November";
      this_month[11] = "December";
      var today = new Date();
      var day   = today.getDate();
      var month = today.getMonth();
      var year  = today.getYear();
      if (year < 1900){
         year += 1900;
      }
      return(day+" "+this_month[month]+" " +year);
    }
    
    function displayTime(){
      var today = new Date();
      var hour = today.getHours();
      var minute = today.getMinutes();
      var second = today.getSeconds();
      var sampm = "AM";
      if (hour >= 12) {
      		sampm ="PM";
      		if (hour >12) {
      			hour = hour -12;
      		}
      } 
      
      minute += "";
      if (minute.length	== 1) {
                minute = "0" + minute;
      }
      second += "";
      if (second.length	== 1) {
                second = "0" + second;
      }
      return(hour + ":" + minute  + ":" + second + " " + sampm);
    }

    function showContainer(containerName) {
      //alert(containerName);
      var eContainer = document.getElementById("container"); 
      //alert(eContainer.childNodes.length);     
      for (var vNode = 0;vNode < eContainer.childNodes.length;vNode++) {
        if (eContainer.childNodes[vNode].id == containerName) {
	  eContainer.childNodes[vNode].style.display="inline";
	  //eContainer.doScroll("pageUp");
	  //alert("Show");	  
        } else {
	  eContainer.childNodes[vNode].style.display="none";  
	}

        //alert(eContainer.childNodes[vNode].tagName);
      }   

    }
