window.onerror=null;
if (document.images) {
//Agriculture
               toc10on = new Image(); 
               toc10on.src = "images/header/ag_on.gif";
               toc10off = new Image(); 
               toc10off.src = "images/header/ag_off.gif";
//History
               toc11on = new Image(); 
               toc11on.src = "images/header/history_on.gif";
               toc11off = new Image(); 
               toc11off.src = "images/header/history_off.gif";
//Architecture
               toc12on = new Image(); 
               toc12on.src = "images/header/architecture_on.gif";
               toc12off = new Image(); 
               toc12off.src = "images/header/architecture_off.gif";
//Fishing
               toc13on = new Image(); 
               toc13on.src = "images/header/fishing_on.gif";
               toc13off = new Image(); 
               toc13off.src = "images/header/fishing_off.gif";
//Military
               toc14on = new Image(); 
               toc14on.src = "images/header/military_on.gif";
               toc14off = new Image(); 
               toc14off.src = "images/header/military_off.gif";
//Art
               toc15on = new Image(); 
               toc15on.src = "images/header/art_on.gif";
               toc15off = new Image(); 
               toc15off.src = "images/header/art_off.gif";
//Maritime
               toc16on = new Image(); 
               toc16on.src = "images/header/maritime_on.gif";
               toc16off = new Image(); 
               toc16off.src = "images/header/maritime_off.gif";
//Literature
               toc17on = new Image(); 
               toc17on.src = "images/header/literature_on.gif";
               toc17off = new Image(); 
               toc17off.src = "images/header/literature_off.gif";
//Nature
               toc18on = new Image(); 
               toc18on.src = "images/header/nature_on.gif";
               toc18off = new Image(); 
               toc18off.src = "images/header/nature_off.gif";


//Photo Album
               toc19on = new Image(); 
               toc19on.src = "images/album_on.gif";
               toc19off = new Image(); 
               toc19off.src = "images/album_off.gif";
               }  
         
function img_onact(imgName) {
               if (document.images) {
               imgOn = eval(imgName + "on.src");
               document [imgName].src = imgOn;
               }
       }
function img_offoffinact(imgName) {
               if (document.images) {
               imgOff = eval(imgName + "off.src");
               document [imgName].src = imgOff;
               }
       }
