function changeImg(image,direction,index)
{
	if(document.images)
	if(direction == 'in')
		image.src=images2[index].src;
	else
		image.src=images1[index].src;
}
function Img2()
{
	this[0]=new Image();this[0].src="art/home_on.gif";
	this[1]=new Image();this[1].src="art/whirlpools_on.gif";
	this[2]=new Image();this[2].src="art/gallery_on.gif";
	this[3]=new Image();this[3].src="art/workshop_on.gif";
	this[4]=new Image();this[4].src="art/our_promise_on.gif";
	this[5]=new Image();this[5].src="art/free_info_on.gif";
}
function Img1()
{
	this[0]=new Image();this[0].src="art/home_off.gif";
	this[1]=new Image();this[1].src="art/whirlpools.gif";
	this[2]=new Image();this[2].src="art/gallery.gif";
	this[3]=new Image();this[3].src="art/workshop.gif";
	this[4]=new Image();this[4].src="art/our_promise_off.gif";
	this[5]=new Image();this[5].src="art/free_info.gif";
}
if(document.images)
{
	var images2=new Img2();
	var images1=new Img1();
}
