document.forms['insertAsset'].width.value = height * ratio; 
document.forms['insertAsset'].width.value = height * 1.0 / ratio; 
function scaleWidth(height) {  var ratio = document.forms['insertAsset'].ratio.value;  document.forms['insertAsset'].width.value = height * ratio;  focus(); } 
791	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/791/20c9b36b3a8a2f9b8cd425639b48c3b8282752c6/insertAsset.js/clean/src/modules/editors/resources/javascript/insertAsset.js