Собрал, не работает
<script language="JavaScript">
<!--
var base = { 1 : {src : "images\1.jpg", price : 5900}}
var base = { 2 : {src : "images\2.jpg", price : 6900}}
var base = { 3 : {src : "images\3.jpg", price : 7900}}
function changeImage(value) {
selection = form.imagename.options[form.imagename.selectedIndex].value;
document.images['pic'].src = base[form].src
document.getElementById('mydiv').innerHTML = base[form].price
}
//-->
</script>
<form>
<img name="pic" src="images\1.jpg" alt=""></br>
<select size=1 name="imagename" onChange="changeImage(this.value)" id="price">
<option value="1">Картинка 1</option>
<option value="2">Картинка 2</option>
<option value="3">Картинка 3</option>
</select>
<div id="mydiv">0</div>
</form>