var timerID = null, pause = 0;
function UpdateStatus()
{
if (pause > 0)
{
pause--;
timerID = setTimeout("UpdateStatus()",1000);
return;
} // if
var txt, old, w;
txt = "I W T 2 0 0 9 : 24 j u n i 2 0 0 9";
w = self;
old = w.status;
if (old.length == 0)
{
w = self.parent;
old = w.status;
}
if (txt.search (old) >= 0 && old.length >= 2)
txt = old.substr (2);
if (w.status != txt)
w.status = txt;
timerID = setTimeout("UpdateStatus()",1000);
}
function SetPause ()
{
pause = 5;
}
function KillStatusUpdate ()
{
if (timerID)
{
clearTimeout(timerID);
timerID = null;
} // if
}
function GetStyleSheet (location)
{
if (FireFoxVersion () >= 0)
return '';
else if (IEVersion () >= 500)
return '';
else if (IEVersion () >= 400)
return '';
else if (IEVersion () >= 300)
return '';
else if (this.ns > 0)
return '';
return "";
}