
   // preload images for menu and toolbar rollovers

   if (document.images) 
   {
      menudir = "/images/menu/";

      about1 = new Image(97,123);
      about1.src = menudir + 'about1.jpg';
      about2 = new Image(97,123);
      about2.src = menudir + 'about2.jpg';

      arts1 = new Image(97,123);
      arts1.src = menudir + 'arts1.jpg';
      arts2 = new Image(97,123);
      arts2.src = menudir + 'arts2.jpg';

      education1 = new Image(97,123);
      education1.src = menudir + 'education1.jpg';
      education2 = new Image(97,123);
      education2.src = menudir + 'education2.jpg';

      change1 = new Image(97,123);
      change1.src = menudir + 'change1.jpg';
      change2 = new Image(97,123);
      change2.src = menudir + 'change2.jpg';

      health1 = new Image(97,123);
      health1.src = menudir + 'health1.jpg';
      health2 = new Image(97,123);
      health2.src = menudir + 'health2.jpg';

      heritage1 = new Image(100,123);
      heritage1.src = menudir + 'heritage1.jpg';
      heritage2 = new Image(100,123);
      heritage2.src = menudir + 'heritage2.jpg';

      home1 = new Image(66,20);
      home1.src = menudir + 'home1.gif';
      home2 = new Image(66,20);
      home2.src = menudir + 'home2.gif';

      contact1 = new Image(70,20);
      contact1.src = menudir + 'contact1.gif';
      contact2 = new Image(70,20);
      contact2.src = menudir + 'contact2.gif';
   }

   // simple image replacements

   function rollOn(imgID)
   {
      if (document.images) document.images[imgID].src = eval(imgID + "2.src"); 
   }

   function rollOff(imgID)
   {
      if (document.images) document.images[imgID].src = eval(imgID + "1.src"); 
   }

   // dynamic slide behaviours

   $(document).ready(function()
   {
      $('#slideshow').cycle({ timeout: 7000, pause: 1, pager: '#slidenav', cleartype: 1 });
      $('.slide').hover(function() { $(this).find('.caption').fadeOut();},function() { $(this).find('.caption').fadeIn(); });
   });





