var currentInfoSpan;

function removeInfoSpan() {
	currentInfoSpan.innerHTML = "&nbsp;";
}

function loadIframeLocation(iframeid, infospanid, url, text) {
	nbpoints = 0;
	iframe = document.getElementById(iframeid);
	if (typeof iframe == "undefined" || iframe == null)
		return;
	infospan = document.getElementById(infospanid);
	if (typeof infospan == "undefined" || infospan == null)
		return;
	currentInfoSpan = infospan;

	currentInfoSpan.innerHTML = text;
	iframe.src = url;
	setTimeout("removeInfoSpan()", 5000);
}

