Hi Frogger,
Yes this is because the functions are the same - they do not become differenct if the only difference is what is in the (parameters bit).
What should probably work is if you keep just the two functions:
function swapImageOver(id){
document.getElementById('residential').src='images/residential-landscaping-off.jpg';
}
function swapImageOut(id){
document.getElementById('residential').src='images/residential-landscaping.jpg ';
}
but in your html try putting swapImageOver('commercial') notice the 'commas' around value - this will pass it into the id variable.
then inside your function try just changing the name of the src=
src='images/' + id + '-landscaping.jpg';
try that
