// JavaScript Document
if (document.images) {
	wed 		= new Image();
	wed.src 	= "buttons/weddings_01.gif";
	wed_on 		= new Image();
	wed_on.src 	= "buttons/weddings_01-over.gif";  

	fun			= new Image();
	fun.src 	= "buttons/functions_01.gif";
	fun_on 		= new Image();
	fun_on.src 	= "buttons/functions_01-over.gif"; 	

	what		= new Image();
	what.src 	= "buttons/whats-on_01.gif";
	what_on 	= new Image();
	what_on.src = "buttons/whats-on_01-over.gif"; 	

	cont		= new Image();
	cont.src 	= "buttons/contact_01.gif";
	cont_on 	= new Image();
	cont_on.src = "buttons/contact_01-over.gif"; 
	
	hom			= new Image();
	hom.src 	= "buttons/home_01.gif";
	hom_on 		= new Image();
	hom_on.src 	= "buttons/home_01-over.gif"; 	
}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}
