function ShortDate (date)
   { 
   //***********************************************************************
    //*
    //* Function:  ShortDate (date)
    //*
    //* Language:  JavaScript1.1
    //*
    //* Inputs:
    //*   date    JavaScript date variable (derived from Date object)
    //*
    //* Returns:
    //*   sdate   short format date--mm/dd/yyyy
    //*
    //* Example:
    //* 
    //* Limitations:
    //*
    //* Author:
    //*  Dr. Jim Weaver
    //*  Hydrologist
    //*  Regulatory Support Branch
    //*  Ecosystems Research Division
    //*  National Exposure Research Laboratory
    //*  United States Environmental Protection Agency
    //*  960 College Station Road
    //*  Athens, Georgia 30605
    //*  weaver.jim@epa.gov
    //* 
    //*
    //* Reference:
    //*  Flanagan, D., 1997, JavaScript: The Definitive Guide, 2ed, O'Reilly and Associates
    //*
    //* Created:  10-10-1999
    //*
    //* Required functions:  getFullYear
    //*
    //* Required scripts:  none
    //*
    //***********************************************************************
    var sdate = "";

    sdate = date.getMonth() + 1 + '/';
    sdate = sdate + date.getDate() + '/';
    sdate = sdate + getFullYear(date);

    return sdate;
    
    }
function getFullYear (date)
    {
    //***********************************************************************
    //*
    //* Function   getFullYear--gets the full 4 digit year
    //*            overcomes stated limitations in Flanagan (1997) page 361
    //*
    //* Language:  JavaScript1.1
    //*
    //* Inputs:  
    //*   date    a JavaScript date
    //*
    //* Returns:
    //*   year    a four digit year
    //*
    //* Example:
    //* 
    //* Limitations:
    //*
    //* Author:
    //*  Dr. Jim Weaver
    //*  Hydrologist
    //*  Regulatory Support Branch
    //*  Ecosystems Research Division
    //*  National Exposure Research Laboratory
    //*  United States Environmental Protection Agency
    //*  960 College Station Road
    //*  Athens, Georgia 30605
    //*  weaver.jim@epa.gov
    //* 
    //*
    //* Reference:
    //*  Flanagan, D., 1997, JavaScript: The Definitive Guide, 2ed, O'Reilly and Associates
    //*
    //* Created: 10-10-1999
    //*
    //* Required functions:  none
    //*
    //* Required scripts:  none
    //*
    //***********************************************************************
    var year = 0;

    year = date.getYear();
    if (year<1000) {year = year + 1900;}

    return year;
    }