goferit = ( parseInt ( navigator.appVersion ) >= 3 );
        
if ( goferit ) {

   menu1on = new Image; menu1on.src = "pics/menus/on_1c.gif";
   menu2on = new Image; menu2on.src = "pics/menus/on_2c.gif";
   menu3on = new Image; menu3on.src = "pics/menus/on_3c.gif";
   menu4on = new Image; menu4on.src = "pics/menus/on_4c.gif";
   menu5on = new Image; menu5on.src = "pics/menus/on_5c.gif";
   menu8on = new Image; menu8on.src = "pics/menus/on_8c.gif";
   ronpaulon = new Image; ronpaulon.src = "pics/menus/on_ronpaul.gif";
   revolutionon = new Image; revolutionon.src = "pics/menus/on_revolution.gif";
   desknowon = new Image; desknowon.src = "pics/menus/on_desknowc.gif";
   tinychekon = new Image; tinychekon.src = "pics/on_tinychekc.gif";

   menu1off = new Image; menu1off.src = "pics/menus/off_1.gif";
   menu2off = new Image; menu2off.src = "pics/menus/off_2a.gif";
   menu3off = new Image; menu3off.src = "pics/menus/off_3a.gif";
   menu4off = new Image; menu4off.src = "pics/menus/off_4a.gif";
   menu5off = new Image; menu5off.src = "pics/menus/off_5a.gif";
   menu8off = new Image; menu8off.src = "pics/menus/off_8.gif";
   ronpauloff = new Image; ronpauloff.src = "pics/menus/off_ronpaul.gif";
   revolutionoff = new Image; revolutionoff.src = "pics/menus/off_revolution.gif";
   desknowoff = new Image; desknowoff.src = "pics/menus/off_desknow.gif";
   tinychekoff = new Image; tinychekoff.src = "pics/off_tinychek.gif";
        
}

function img_act ( imgName ) {

   if ( goferit ) {

      imgOn = eval ( imgName + "on.src" );
      document [imgName].src = imgOn;

   }

}


function img_inact ( imgName ) {

   if ( goferit ) {

      imgOff = eval ( imgName + "off.src" );
      document [imgName].src = imgOff;

   }

}


function randomString() {

//
//  Generate a random string for the Window Name in the following
//  2 functions so imbedded links open in a new window.
//
   var winname='';
   var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";
   var string_length = 8;
   var randomstring = '';
   for ( var i=0; i < string_length; i++ ) {
      var rnum = Math.floor ( Math.random() * chars.length );
      randomstring += chars.substring ( rnum,rnum+1 );
   }

   return randomstring;

}



function newwindow ( URL ) {

   var winname = randomString();
   window.open ( URL, winname, 'width=840, height=600, toolbar=yes, location=yes, \
                 directories=no, status=yes, menubar=yes, scrollbars=yes, copyhistory=no, \
                 resizable=yes' );
   
}


function newwindownotools ( URL ) {

   var winname = randomString();
   window.open ( URL, winname, 'width=840, height=600, toolbar=no, location=no, \
                 directories=no, status=no, menubar=yes, scrollbars=yes, copyhistory=no, \
                 resizable=yes' );
   
}

function doreload() {

   window.location.reload();

}


function toggleDisplay ( me ) {

   if (me.style.display == "none" ) {

      me.style.display = "inline";

   }
   else {

      if (me.style.display == "inline" ) {

         me.style.display = "none";

      }

   }

}

