function popUp(pcPage,pcCaption) {
 var fullURL = document.location;
 var textURL = fullURL.toString();
 var URLlen = textURL.length;
 var lenMinusPage = textURL.lastIndexOf("/");
 lenMinusPage += 1;
 var fullPath = textURL.substring(0,lenMinusPage);
 popUpWin = window.open('','popWin','resizable=yes,scrollbars=yes,width=525,height=400');
 figDoc= popUpWin.document;
 zhtm= '<HTML><HEAD><TITLE>' + pcPage + '<\/TITLE>';
 zhtm += '<\/head>';
 zhtm += '<BODY bgcolor="#FFFFFF">';
 zhtm += '<IMG SRC="' + fullPath + pcPage + '">';
 zhtm += '<P><B>' + pcCaption + '<\/B>';
 zhtm += '<\/BODY><\/HTML>';
 window.popUpWin.document.write(zhtm);
 window.popUpWin.document.close();
 // Wes Jones 12/15/99
 }


function ShowDate() {

date = new Date();
hour = new String;
minute = new String;
moniker = new String;
month = new String;
day = new String;
year = new String;

if (date.getHours() >= 11) {
    hour = (date.getHours() - 12);
  if ((date.getHours() - 12) == 0)
    hour = 12;  
  moniker = " PM";
  }

if (date.getHours() < 12) {
    hour = (date.getHours() );
  if (date.getHours() == 0)
    hour = 12;  

  moniker = " AM";
  }

if ((date.getMinutes() ) < 10 ) 
  minute = "0" + (date.getMinutes() );

if ((date.getMinutes() ) > 10 )
minute = (date.getMinutes() );

function y2k(number)    { return (number < 1000) ? number + 1900 : number; }

month = date.getMonth()
day = date.getDate()
year = y2k(date.getYear())

if (month == "0") 
  month = "January";
  else
if (month == "1") 
  month = "February";
  else
if (month == "2") 
  month = "March";
  else
if (month == "3") 
  month = "April";
  else
if (month == "4") 
  month = "May";
  else
if (month == "5") 
  month = "June";
  else
if (month == "6") 
  month = "July";
  else
if (month == "7") 
  month = "August";
  else
if (month == "8") 
  month = "September";
  else
if (month == "9") 
  month = "October";
  else
if (month == "10") 
  month = "November";
  else
if (month == "11")
  month = "December";

document.write ( month + " " + day + ", " + year + "&nbsp; | &nbsp;" + hour + ":" + minute + moniker );

}


function popUpText(pcFile) {
 var fullURL = document.location;
 var textURL = fullURL.toString();
 var URLlen = textURL.length;
 var lenMinusPage = textURL.lastIndexOf("/");
 lenMinusPage += 1;
 var fullPath = textURL.substring(0,lenMinusPage);
 popUpWin = window.open(pcFile,'popWin','resizable=yes,scrollbars=yes,menubar,width=800,height=600');
 figDoc= popUpWin.document;
 //  window.popUpWin.document.write(pcfile);
 window.popUpWin.document.close();
 // Wes Jones 03/10/2006
 }
