var mousePos;
function changeButton(button) {
    mousePos = document[button].src;
    document[button].src = "images/" + button + "_over.gif";
}
function resetButton(button) {
    document[button].src = mousePos;
}

// arrow
function changeArrow(button, over) {
    document[button + "_arrow"].src = "images/arrow" + over + ".gif";
    document[button].src = "images/" + button + over + ".gif";
}

// apply now button
function changeImage(name,file){
	document[name].src = "images/" + file;
}