// JavaScript Document
function PreloadImages(){
   img1 = new Image();
   img1.src = 'images/s1.jpg';
   img2 = new Image();
   img2.src = 'images/s2.jpg'; 
}
function changeImage(getID){
PreloadImages();
if(getID=="1"){
imgSwap.src=img1.src;
}
else if(getID=="2"){
imgSwap.src=img2.src;
}

}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);