rem: destElement.value                   = Math.round( srcElement.value * destElement.value / oldSourceInt ); 
add: destElement.value = Math.round( srcElement.value * destElement.value / oldSourceInt ); 
context: function constrainProportions( srcID, destID ){  srcElement                            = document.getElementById ( srcID );  if ( !srcElement )    return;    forceInteger( srcID );    // now find out if we should be constraining or not  checkbox                              = document.getElementById( "constrainCheckbox" );  if ( !checkbox)    return;  if ( !checkbox.checked )    return;    destElement                           = document.getElementById( destID );  if ( !destElement )    return;    // set new value in the other edit field  // src / dest ratio mantained  // newDest = (newSrc * oldDest / oldSrc)  if ( oldSourceInt == 0 )    destElement.value                   = srcElement.value;  else    destElement.value                   = Math.round( srcElement.value * destElement.value / oldSourceInt );    oldSourceInt                          = srcElement.value;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/25771bd9e4d7db6905ed7b17947434267aa09319/EdImageProps.js/clean/editor/ui/dialogs/content/EdImageProps.js