function Element_From_Id( id )   {
   if ( document.getElementById )   {
      this.obj  =  document.getElementById(id);
   }
   else
   if ( document.all )  {
      this.obj  =  document.all[id];
   }
   else  {
      this.obj  =  false;
   }
}





/* useful helper functions
*/

function uc_words ( str )  {
   if ( str == "" )  {
      return   str;
   }
   words =  str.split(" ");
   for   ( i in words ) {
      word  =  words[i];
      first_letter   =  word.charAt(0);
      first_letter   =  first_letter.toUpperCase();
      word  =  word.replace(/^./,first_letter);
      words[i] =  word;
   }
   str   =  words.join(" ");
   return   str;
}