
var callTimer = "";
var current_link = "";

function showCircle(y,x,thelink) {
	clearTimeout(callTimer);
	document.getElementById("red_circle").style.top = y+"px";
	document.getElementById("red_circle").style.left = x+"px";
	document.getElementById("red_circle").style.display = "block";
	
	current_link = thelink;
}

function hideCircle() {
	callTimer = setTimeout("hideNow()", 500);
}

function hideNow() {
	document.getElementById("red_circle").style.display = "none";
	current_link = "";
}

function killTimer() {
	clearTimeout(callTimer);
}

function gotoLink() {
	window.location=current_link;	
}
function gotoNewLink() {
	window.open(current_link);	
}
