/* SWAP PICTURE JAVASCRIPT

Example :
<script src="js/swappicture.js"></script>

<A onMouseOver="swappicture('cuisine', 'images/cuisine/IMG_0133.JPG' )"
	 onMouseOut="swappicture('cuisine', 'images/cuisine/IMG_5742.JPG' )">
	 <img src="images/cuisine/IMG_5742.JPG" NAME="cuisine" NOSAVE BORDER=0 width="455" height="341">
</A> 
*/

// swap images using the cached images
function swappicture(ImgRef, ImgState )
{
// Netscape 3.0 compatibility test (for javascript image swapping)
	compat = false;

	if( parseInt( navigator.appVersion ) >= 3 )
	{
// cache images for quick swapping
		ImgagePointer = new Image;
		ImgagePointer.src = ImgState;

		document.images[ImgRef].src=eval('ImgagePointer.src');
	}
}
