function changeImage(id,state) {
	if (state=="on") {
         	document.getElementById(id).src="img/"+id+"_on.gif";
    }
	if (state=="out") {
         	document.getElementById(id).src="img/"+id+".gif";
    }
}
