//This file gets included for 'Services Monitoring Dashboard' and //'Services Status Summary' reporting elements var s = window.document.title; function getValue(form, elementName){ for (i = 0;i < form.elements.length;i++){ if (form.elements[i].name == elementName){ return form.elements[i].value; } } return null; } function onblurhandler(){ window.document.title = getValue(document.forms[0],'svcStatus'); startReloadCounting(); } function onfocushandler(){ window.document.title = s; resetReloadCounting(); } function onloadhandler(){ if(!windowDeactiveFlag){ window.document.title = s; }else{ window.document.title = getValue(document.forms[0],'svcStatus'); } } function onDocClick(){ window.document.title=s; if(window.event && event.srcElement.tagName!=null && event.srcElement.tagName.toLowerCase()!='select'){ window.focus(); } } initDash_Reload(12); window.onfocus=onfocushandler; window.onblur=onblurhandler; window.onload=onloadhandler; document.onclick=onDocClick; autoRefresh(300000,'autoReloadID','');