function changePic(val1,val2) {

	var refM=document.getElementById(val2);
	refM.src="images/" + val1;
	
}