var popText=new Array();


function setPopText(id, str) {

	popText[id]=str;

}

function showPopup(obj, targetId) {

	if (document.getElementById(targetId)) {
		document.getElementById(targetId).innerHTML=popText[obj.id];
		document.getElementById(targetId).className="popupact";
	}

}

function hidePopup(obj, targetId) {

	if (document.getElementById(targetId)) {
		document.getElementById(targetId).innerHTML="";
		document.getElementById(targetId).className="popuppas";
	}

}

