rem: document.getElementById('popup').style.height = Math.floor(app_wh*0.8)+'px'; 
add: app_onresize(); 
context: function app_init() { app_getwinsize(); sidebar_wd = document.getElementById('sidebar').offsetWidth; //Get titlebar height and size album content: album_div = document.getElementById('album_content'); album_setsize(1); album_title_maxht = document.getElementById('album_titlebar').offsetHeight; album_title_minht = max(18,  document.getElementById('album_title').offsetHeight)+2; album_setsize(2); //Get toolbar/text height and size image content: toolbar_ht = document.getElementById('toolbar').offsetHeight; text_ht = document.getElementById('text').offsetHeight; image_div = document.getElementById('image'); image_setsize(); var attr = document.createAttribute('onresize'); attr.value = 'app_onresize()'; document.body.attributes.setNamedItem(attr); document.onkeypress = app_onkeypress; if (app_is_ie) { //For IE:  document.body.onresize = app_onresize;  document.onkeydown = app_onkeydown;  album_div.style.width = '100%';  document.getElementById('popup').style.height = Math.floor(app_wh*0.8)+'px'; } if (app_is_safari) { //For Safari:  document.onresize = app_onresize;  document.getElementById('album_tools').style.width = '38px';  document.getElementById('tools_left').style.width = '57px';  document.getElementById('tools_right').style.width = '76px';  document.getElementById('tools_right').style.paddingRight = '8px'; } window.image_loaded = image_loaded; window.image_vis = image_vis; var i = app_getcookie(); if (i < -1 && data_view >= 0) image_show(data_view);}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/8d8914ab9b52c33febb6d937413f539de3c4a8d0/hybrid.js/buggy/gallery2/layouts/hybrid/templates/hybrid.js