context: function single() {    var imageDiv = document.getElementById("singleimage");    if (imageDiv) {        currentHeight = imageDiv.offsetHeight;        currentWidth  = imageDiv.offsetWidth;                if (currentHeight > maxHeight) {            ratio = maxHeight / currentHeight;            imageDiv.style.width = (currentWidth*ratio) + 'px';            imageDiv.style.height = (currentHeight*ratio) + 'px';                }    }}
meta: 752	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/752/aab98aaff18f6540054b654f45109ffd264217c0/jstemplate.js/buggy/mod/data/preset/imagegallery/jstemplate.js