var count = 1
function PreloadImages(image, width, height, ext)
{
  eval("a" + count + "=new Image(" + width + "," + height + ");" + "a" + count + ".src='/img/" + image + "-over." + ext + "';")
  count++
  eval("a" + count + "=new Image(" + width + "," + height + ");" + "a" + count + ".src='/img/" + image + "-on." + ext + "';")
  count++
}

function ChangeImage(img, imageSrc)
{ document.images[img].src = '/img/' + imageSrc }


function ExplorerFix()
{ for (a in document.links) document.links[a].onfocus = document.links[a].blur }


if (document.all) document.onmousedown = ExplorerFix;


PreloadImages('button-home',96 ,36 , 'gif')
PreloadImages('button-about-us',124 ,36 , 'gif')
PreloadImages('button-features', 139, 36, 'gif')
PreloadImages('button-activities',122 , 36, 'gif')
PreloadImages('button-calendar', 121, 36, 'gif')
PreloadImages('button-contact-us', 130, 36, 'gif')



