//This will change the button to down state when mouse over
	function imageOff(buttonName)
		{
		if (document.images)
			 {
			 document.images[buttonName].src = offImages[buttonName].src
			 }
		}
//This will change the button to Up state when mouse out
function imageOn(buttonName)
{
		if (document.images)
			 {
			 document.images[buttonName].src = onImages[buttonName].src
			 }
		}

	if (document.images)
	{
		//Precache all on button images
		var onImages = new Array()
	  //For the top navigation bar
  	onImages["home"] = new Image(130,30)
  	onImages["home"].src = "button/uhome.gif"
  	onImages["aboutus"] = new Image(120,29)
  	onImages["aboutus"].src = "button/uaboutus.gif"
  	onImages["newsletter"] = new Image(120,29)
  	onImages["newsletter"].src = "button/unewsletter.gif"
  	onImages["exhibitions"] = new Image(120,29)
  	onImages["exhibitions"].src = "button/uexhibitions.gif"
  	onImages["artists"] = new Image(120,29)
  	onImages["artists"].src = "button/uartists.gif"
  	onImages["paintings"] = new Image(120,29)
  	onImages["paintings"].src = "button/upaintings.gif"
  	onImages["candidshots"] = new Image(120,29)
  	onImages["candidshots"].src = "button/ucandidshots.gif"
  	onImages["books"] = new Image(120,29)
  	onImages["books"].src = "button/ubooks.gif"
  	onImages["investment"] = new Image(120,29)
  	onImages["investment"].src = "button/uinvestment.gif"
  	onImages["enquiry"] = new Image(120,29)
  	onImages["enquiry"].src = "button/uenquiry.gif"
  	onImages["faq"] = new Image(120,29)
  	onImages["faq"].src = "button/ufaq.gif"
  	onImages["contact"] = new Image(120,29)
  	onImages["contact"].src = "button/ucontact.gif"
  	onImages["siteterm"] = new Image(120,29)
  	onImages["siteterm"].src = "button/usiteterm.gif"
		//Precache all off button images
	  var offImages = new Array()
	  //For the top navigation bar
  	offImages["home"] = new Image(120,29)
  	offImages["home"].src = "button/dhome.gif"
  	offImages["aboutus"] = new Image(120,29)
  	offImages["aboutus"].src = "button/daboutus.gif"
  	offImages["newsletter"] = new Image(120,29)
  	offImages["newsletter"].src = "button/dnewsletter.gif"
  	offImages["exhibitions"] = new Image(120,29)
  	offImages["exhibitions"].src = "button/dexhibitions.gif"
  	offImages["artists"] = new Image(120,29)
  	offImages["artists"].src = "button/dartists.gif"
  	offImages["paintings"] = new Image(120,29)
  	offImages["paintings"].src = "button/dpaintings.gif"
  	offImages["candidshots"] = new Image(120,29)
  	offImages["candidshots"].src = "button/dcandidshots.gif"
  	offImages["books"] = new Image(120,29)
  	offImages["books"].src = "button/dbooks.gif"
  	offImages["investment"] = new Image(120,29)
  	offImages["investment"].src = "button/dinvestment.gif"
  	offImages["enquiry"] = new Image(120,29)
  	offImages["enquiry"].src = "button/denquiry.gif"
  	offImages["contact"] = new Image(120,29)
  	offImages["contact"].src = "button/dcontact.gif"
  	offImages["faq"] = new Image(120,29)
  	offImages["faq"].src = "button/dfaq.gif"
  	offImages["siteterm"] = new Image(120,29)
  	offImages["siteterm"].src = "button/dsiteterm.gif"
}

