var refreshrate=303;   

function refresh(ref)
{
		var ch = document.getElementsByTagName("img");  //get all img elements in the array ch
		for (a = 0; a < ch.length; a++)  //step through the ch array
		{
			if (ch[a].nodeName=="IMG")  //check to see we are on the img node
			{
			var ch1 = ch[a].src;  //put current src into temp variable
			var ch2 = ch[a].id;  //put current id into tmp variable
			document.images[ch2].src = ch1 + "?" + new Date();  //set the src of image to its orig location + "?" + today's date to force browser to reload
			}
		};
		//if this function has been called automatically, ref will be 1, otherwise manual mode, no repeat:
		if (ref==1){setTimeout("refresh(1)", refreshrate*1000);};
};
