rem: function checkConstrains(changed) { var constrained = document.getElementById('constProp'); if(constrained.checked) { var w = document.getElementById('sw') ; var width = w.value ; var h = document.getElementById('sh') ; var height = h.value ;  if(orginal_width > 0 && orginal_height > 0) { if(changed == 'width' && width > 0) h.value = parseInt((width/orginal_width)*orginal_height); else if(changed == 'height' && height > 0) w.value = parseInt((height/orginal_height)*orginal_width); } }  updateMarker('scale') ; 
add: function checkConstrains(_c){ var _d=document.getElementById("constProp"); if(_d.checked){ var w=document.getElementById("sw"); var _f=w.value; var h=document.getElementById("sh"); var _11=h.value; if(orginal_width>0&&orginal_height>0){ if(_c=="width"&&_f>0){ h.value=parseInt((_f/orginal_width)*orginal_height); }else{ if(_c=="height"&&_11>0){ w.value=parseInt((_11/orginal_height)*orginal_width); 
context: function checkConstrains(changed){    var constrained = document.getElementById('constProp');    if(constrained.checked)    {        var w = document.getElementById('sw') ;        var width = w.value ;        var h = document.getElementById('sh') ;        var height = h.value ;        if(orginal_width > 0 && orginal_height > 0)        {            if(changed == 'width' && width > 0)                h.value = parseInt((width/orginal_width)*orginal_height);            else if(changed == 'height' && height > 0)                w.value = parseInt((height/orginal_height)*orginal_width);        }    }    updateMarker('scale') ;}
meta: 6015	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6015/d8776708e0e10dfa0ab6ee1d0fa9e512d8d16348/editor.js/buggy/packages/acs-templating/www/resources/xinha-nightly/plugins/ExtendedFileManager/assets/editor.js