
function preload( imgName )
{
   eval( imgName + '_on=new Image();' );
   eval( imgName + '_off=new Image();' );
   eval( imgName + '_on.src="/images/'+imgName+'_on.gif"' );
   eval( imgName + '_off.src="/images/'+imgName+'_off.gif"' );
}

preload( "btn_01" );
preload( "btn_02" );
preload( "btn_03" );
preload( "btn_04" );
preload( "btn_05" );
preload( "btn_06" );
preload( "btn_i01" );
preload( "btn_i02" );
preload( "btn_i03" );
preload( "btn_i04" );
preload( "btn_i05" );
preload( "btn_i06" );
preload( "btn_i07" );
preload( "btn_i08" );

preload( "btn_whatsnew" );
preload( "btn_aboutus" );
preload( "btn_contactus" );
preload( "btn_search" );
preload( "btn_account" );
preload( "btn_francais" );
preload( "btn_english" );

preload( "InfoPic_account" );
preload( "InfoPic_contest" );
preload( "InfoPic_locate" );
preload( "InfoPic_register" );
preload( "InfoPic_articles" );
preload( "InfoPic_FSD" );

/////////////////////////////////////////////////////////////////////////

var boxTimer = null;
var imgTimer = null;
function startTimer()
{
   stopTimer();
   boxTimer = setTimeout( "showLayer( null )", 1000 );
   imgTimer = setTimeout( "hidePossibles()", 1000 );
}
function stopTimer()
{
   if( boxTimer )
      clearTimeout( boxTimer );
   boxTimer = null;
   if( imgTimer )
      clearTimeout( imgTimer );
   imgTimer = null;
}

function hidePossibles()
{
   if( document.images ) 
   {
//      if( document[ 'whatis' ] != null )
//         imgToggleOFF('whatis');
 //     if( document[ 'Results' ] != null )
 //        imgToggleOFF('Results');
      }
}