function mouseOver1() 
{
document.getElementById("b1").src = "image/buttons banners/search2.jpg";
}
function mouseOut1() 
{
document.getElementById("b1").src = "image/buttons banners/search.jpg";
}
function mouseOver2()
{
document.getElementById("b2").src ="image/buttons banners/home105.jpg";
}
function mouseOut2()
{
document.getElementById("b2").src ="image/buttons banners/home104.jpg";
}
function mouseOver3()
{
document.getElementById("b3").src ="image/buttons banners/newequip105.jpg";
}
function mouseOut3()
{
document.getElementById("b3").src ="image/buttons banners/newequip104.jpg";
}
function mouseOver4()
{
document.getElementById("b4").src ="image/buttons banners/usedequip105.jpg";
}
function mouseOut4()
{
document.getElementById("b4").src ="image/buttons banners/usedequip104.jpg";
}
function mouseOver5()
{
document.getElementById("b5").src ="image/buttons banners/onlinecat105.jpg";
}
function mouseOut5()
{
document.getElementById("b5").src ="image/buttons banners/onlinecat104.jpg";
}
function mouseOver6()
{
document.getElementById("b6").src ="image/buttons banners/about105.jpg";
}
function mouseOut6()
{
document.getElementById("b6").src ="image/buttons banners/about104.jpg";
}
function mouseOver7()
{
document.getElementById("b7").src ="image/buttons banners/contact105.jpg";
}
function mouseOut7()
{
document.getElementById("b7").src ="image/buttons banners/contact104.jpg";
}
function mouseOver8()
{
document.getElementById("b8").src ="image/buttons banners/sales2.jpg";
}
function mouseOut8()
{
document.getElementById("b8").src ="image/buttons banners/sales.jpg";
}

var soundfile="image/buttons banners/click1.wav" //path to sound file, or pass in filename directly into playsound()
function playsound(soundfile){
if (document.all && document.getElementById){
document.getElementById("soundeffect").src="" //reset first in case of problems
document.getElementById("soundeffect").src=soundfile
}
}

function bindsound(tag, soundfile, masterElement){
if (!window.event) return
var source=event.srcElement
while (source!=masterElement && source.tagName!="HTML"){
if (source.tagName==tag.toUpperCase()){
playsound(soundfile)
break
}
source=source.parentElement
}
}

