function refresh(){
	var pos = window.location.href.indexOf('&ran=');
	var newlocation;
	if (pos>=0) {
		newlocation = window.location.href.substring(0,pos) + '&ran=' + Math.random();
	}else{
		newlocation = window.location.href + '&ran=' + Math.random();
	}
	window.location.replace(newlocation);
}

function doUpdateAlert(){
	alert('The data on this page have been updated!');
}