// JavaScript Document
function loadXMLDoc(url,elID)
	{
		if (window.XMLHttpRequest)
			{// code for IE7+, Firefox, Chrome, Opera, Safari
				xmlhttp=new XMLHttpRequest();
			}
			else
			{// code for IE6, IE5
				xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
			}
	xmlhttp.open("GET",url,false);
	xmlhttp.send(null);
	document.getElementById(elID).innerHTML=xmlhttp.responseText;
	}

function splashBday() {
	document.getElementById('birth').innerHTML='Happy Birthday';
	u = setTimeout("grabBday()",2000);
 }


function grabBday() {
	r = Math.floor(Math.random() * bdays.length);
	document.getElementById('birth').innerHTML=bdays[r] + '';
	t = setTimeout("splashBday()",3000);
 } 
 
function teaseBlot() {
	btm = Math.floor(Math.random() * blot_tease.length);
	document.getElementById('blotter').innerHTML=blot_tease[btm];
	bt = setTimeout("teaseBlot()",3000);
 }
 
 function checkWX() {
	loadXMLDoc('wxal.php','wxal');
	wx = setInterval("checkWX()",600000);
 }

