//*************************************************
//ridgewood.js
//
//Summary:     Contains random javascript code to
//             support the ridgewood pages
//
//Author:      Jeff Buhr
//
//Created:     14 Mar 08
//Summary of Modifications:
//     none
//*************************************************

function getYear() {
   // print the year
   var right_now=new Date();
   var curYear = right_now.getYear();
   if (curYear > 1900) {
      // IE adds 1900 to year already
      document.write(curYear);
   }
   else {
      document.write(curYear+1900);
   }
}

// generic function to check if a var isn't null
function isset(varname){
   if (varname == null) {
      return false;
   }

   // see whether varname is assigned anything
   return(typeof(varname)!='undefined');

}

