function showspot(){
	document.getElementById("warning").style.visibility = 'visible';
	//setLyr(document.getElementById("adspot"),'warning');
	}

function hidespot(){
	document.getElementById("warning").style.visibility = 'hidden';
	}
	
function showspot2(){
	document.getElementById("recall").style.visibility = 'visible';
	//setLyr(document.getElementById("recallspot"),'recall');
	}

function hidespot2(){
	document.getElementById("recall").style.visibility = 'hidden';
	}

function setLyr(obj,lyr)
{
	var coors = findPos(obj);
	var x = document.getElementById(lyr);
	x.style.top = coors[1] + 'px';
	x.style.left = coors[0] + 'px';
}

function findPos(obj)
{
	var curleft = curtop = 0;
	if (obj.offsetParent) {
		curleft = obj.offsetLeft
		curtop = obj.offsetTop
		while (obj = obj.offsetParent) {
			curleft += obj.offsetLeft
			curtop += obj.offsetTop
		}
	}
	
	curleft -= 280;
	return [curleft,curtop];
}
function closeWindow() {
	if(navigator.userAgent != null && navigator.userAgent.indexOf( "Firefox/" ) != -1 ){
		window.open('','_parent','');
		window.close();
	}else{
		nameplay = window.open('','_parent','');
		nameplay.opener = "foo";
		nameplay.close();
	}
}