function setBackColorFromImage(img){
	var bckObj = document.getElementById('back_color');
	var color = img.substr(0, 6);
	bckObj.value = color;
}