var xmlhttp

function loadtopBeaches()
{
	xmlhttp=GetXmlHttpObject();
	if (xmlhttp==null)
	{
		alert ("Your browser does not support AJAX!");
		return;
	}
	var url="ajax/load_top_beaches.php";
	url=url+"?sid="+Math.random();
	xmlhttp.onreadystatechange=showtopbeaches;
	xmlhttp.open("GET",url,true);
	xmlhttp.send(null);
}

function showtopbeaches()
{
	if (xmlhttp.readyState==4)
	{
		document.getElementById("top_list").innerHTML=xmlhttp.responseText;
	}
}
