add: window.image_loaded = image_loaded; 
context: function app_init() { image_div = document.getElementById('image'); thumb_div = document.getElementById('thumbs'); title_div = document.getElementById('titlebar'); titlebar_ht = title_div.offsetHeight + (app_is_ie?1:0); thumbs_ht = data_maxth + 15; thumbs_wd = data_maxtw + 15; app_getwinsize(); image_setsize(); document.getElementById('options').style.bottom = toolbar_getheight() + 'px'; 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; } if (app_is_safari) { //For Safari:  document.onresize = app_onresize; } var i = app_getcookie(); if (i < -1) image_show(data_view >= 0 ? data_view : 0);}
meta: 3727	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3727/550945a285e474dc84537d7df00f64ce003c8665/slider.js/buggy/gallery2/layouts/slider/templates/slider.js