// Icon animation for HTML files in the server subdirectory level 2 (gallery)
// Preload navigation bar icons and define functions that change the icon's source
// Functions are used as event handlers so icons change color when touched by mouse pointer

// 1st level navigation 
home0 = new Image();
home0.src = "../../graphics/home0.png";
home1 = new Image();
home1.src = "../../graphics/home1.png";

// news0 = new Image();
// news0.src = "../../graphics/news0.png";
// news1 = new Image();
// news1.src = "../../graphics/news1.png";

gallery0 = new Image();
gallery0.src = "../../graphics/gallery0.png";
gallery1 = new Image();
gallery1.src = "../../graphics/gallery1.png";

texts0 = new Image();
texts0.src = "../../graphics/texts0.png";
texts1 = new Image();
texts1.src = "../../graphics/texts1.png";

sounds0 = new Image();
sounds0.src = "../../graphics/sounds0.png";
sounds1 = new Image();
sounds1.src = "../../graphics/sounds1.png";

links0 = new Image();
links0.src = "../../graphics/links0.png";
links1 = new Image();
links1.src = "../../graphics/links1.png";

about0 = new Image();
about0.src = "../../graphics/about0.png";
about1 = new Image();
about1.src = "../../graphics/about1.png";

// search0 = new Image();
// search0.src = "../../graphics/search0.png";
// search1 = new Image();
// search1.src = "../../graphics/search1.png";

// contact0 = new Image();
// contact0.src = "../../graphics/contact0.png";
// contact1 = new Image();
// contact1.src = "../../graphics/contact1.png";

sitemap0 = new Image();
sitemap0.src = "../../graphics/sitemap0.png";
sitemap1 = new Image();
sitemap1.src = "../../graphics/sitemap1.png";


// 2nd level navigation
// arr_l0 = new Image();
// arr_l0.src = "../../graphics/arr_l0.png";
// arr_l1 = new Image();
// arr_l1.src = "../../graphics/arr_l1.png";

arr_u0 = new Image();
arr_u0.src = "../../graphics/arr_u0.png";
arr_u1 = new Image();
arr_u1.src = "../../graphics/arr_u1.png";

arr_d0 = new Image();
arr_d0.src = "../../graphics/arr_d0.png";
arr_d1 = new Image();
arr_d1.src = "../../graphics/arr_d1.png";
