// JavaScript Document

function changeImage(idofsrc, image2) { 
//alert(image2);alert(image1);
//alert(idofimg);
document.getElementById(idofsrc).src = 'images/'+image2;
}

function changeColor(id1, color) { 
document.getElementById(id1).style.backgroundColor = "#"+color;
}