function closepromo() {
  hide('promo');
}
function hide(el) {
  document.getElementById(el).style.display = 'none';
}
if (window.XMLHttpRequest) {
  request=new XMLHttpRequest();
} else
if (window.ActiveXObject) {
  request=new ActiveXObject("Microsoft.XMLHTTP");
}
var shown;
shown = 0;
function blinking_header()
{
  if (shown == 0) {
    try {
      w = document.getElementById("weather");
      if (w) {
        shown = true;
        request.open("POST", "/weather.php", false);

        request.send(null);
        w.innerHTML = request.responseText;
      }
    } catch (ex) {}
  }
//alert("op");
el = document.getElementById('blink');
if (el) {
if (!document.getElementById('blink').style.color)
	{
	document.getElementById('blink').style.color="red";
	}
if (document.getElementById('blink').style.color=="red")
	{
	document.getElementById('blink').style.color="black";
	}
else
	{
	document.getElementById('blink').style.color="red";
	}
}
el = document.getElementById('blink1');
if (el) {
if (!document.getElementById('blink1').style.color)
	{
	document.getElementById('blink1').style.color="red";
	}
if (document.getElementById('blink1').style.color=="red")
	{
	document.getElementById('blink1').style.color="black";
	}
else
	{
	document.getElementById('blink1').style.color="red";
	}
}
timer=setTimeout("blinking_header()",400);
}
function stoptimer()
{
clearTimeout(timer);
}
