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: 7185	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7185/afc26f918ffb539431144a26db614ba7b96acf97/jstemplate.js/clean/preset/imagegallery/jstemplate.js