function unloadLoadingDiv()
{if(document.getElementById('loading')){document.getElementById('loading').style.display='none';}}
function createLoadingDiv(title)
{if(document.body){var div=document.createElement('div');div.id='loading';div.innerHTML='<table width="100%" height="95%" align="center" valign="middle">'+'<tr>'+'<td width="100%" height="100%" align="center" valign="middle">'+'<h2>'+title+'</h2>'+'<img src="/graphics/progress_indicator.gif" />'+'</td>'+'</tr>'+'</table>';document.body.appendChild(div);if(document.addEventListener){document.addEventListener('load',unloadLoadingDiv,false);}else if(document.attachEvent){document.attachEvent('load',unloadLoadingDiv);}}}