<!--  Let's play Hide And Seek!
/****************************************************************************************  
    
    All scripts on this web site written by me, Ilya Braude, from scratch.
    Do NOT copy them without my permission.
    You may contact me at:
	webmaster@spengster.com

    P.S.  As you can see from this source, I am a big fan of dynamic code.
*****************************************************************************************/

var x=0; //used later on
ext=".gif"
is_ok=true;
//define path for images and files
   imgpath="images/";
   filepath="";
   //I have my reasons for this

//preload images used in swaps
function preload(){
	a=arguments;
	for(x=0;x<a.length;x++){
		temp=new Image();
		temp.src=imgpath + a[x] + "ovr" + ext;
	}
}


function swapon(name) { 
	document.images[name].src=imgpath + name + "ovr.gif";
}

function swapoff(x) {
	//x can be a number or a name
	document.images[x].src=imgpath + document.images[x].name + ".gif";
}

//  You found me!-->