function preloadhomebuttons()
{
	PathInfo = "http://www.campjubilee.ca/wp-content/themes/campjubilee/images/home-buttons/";

    campbuttonup       = new Image();
    campbuttonup.src   = PathInfo+"camps_normal.png" ;
    campbuttondown     = new Image() ;
    campbuttondown.src = PathInfo+"camps_over.png" ;

    rentalsbuttonup       = new Image();
    rentalsbuttonup.src   = PathInfo+"rentals_normal.png" ;
    rentalsbuttondown     = new Image() ;
    rentalsbuttondown.src = PathInfo+"rentals_over.png" ;
    
    schoolprogramsbuttonup       = new Image();
    schoolprogramsbuttonup.src   = PathInfo+"schoolprograms_normal.png" ;
    schoolprogramsbuttondown     = new Image() ;
    schoolprogramsbuttondown.src = PathInfo+"schoolprograms_over.png" ;
    
    adventurezonebuttonup       = new Image();
    adventurezonebuttonup.src   = PathInfo+"adventurezone_normal.png" ;
    adventurezonebuttondown     = new Image() ;
    adventurezonebuttondown.src = PathInfo+"adventurezone_over.png" ;
    
    campstorebuttonup       = new Image();
    campstorebuttonup.src   = PathInfo+"campstore.png" ;
    campstorebuttondown     = new Image() ;
    campstorebuttondown.src = PathInfo+"campstore-on.png" ;
    
    supportusbuttonup       = new Image();
    supportusbuttonup.src   = PathInfo+"donate.png" ;
    supportusbuttondown     = new Image() ;
    supportusbuttondown.src = PathInfo+"donate-on.png" ;
    
    registernowbuttonup       = new Image();
    registernowbuttonup.src   = PathInfo+"registration.png" ;
    registernowbuttondown     = new Image() ;
    registernowbuttondown.src = PathInfo+"registration-on.png" ;
    
    registerbuttonup       = new Image();
    registerbuttonup.src   = PathInfo+"registration-hover2.png" ;
    registerbuttondown     = new Image() ;
    registerbuttondown.src = PathInfo+"registration-hover.png" ;
    
    
}
function buttondown( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "down.src" );
    }
}
function buttonup ( buttonname )
{
    if (document.images) {
      document[ buttonname ].src = eval( buttonname + "up.src" );
    }
}

