 var UORS_is_upgrading=false; var UORS_intervalID=-1; function UORS_check_upgrade() { if (UORS_is_upgrading) return; UORS_is_upgrading=true; if (typeof UORS_suv_last_package_info=="function") { clearInterval(UORS_intervalID); var packageinfo=UORS_suv_last_package_info(); if (packageinfo) { document.getElementById('upgrade.request.text').innerHTML=packageinfo.text; document.getElementById('upgrade.request').style.display=""; } } else UORS_is_upgrading=false; } UORS_intervalID=setInterval("UORS_check_upgrade()",100); 