	function popUpTextKill()
	{
		if (typeof(textwin)=='undefined')
			return;
		if (typeof(textwin.closed)=='undefined')
			return;
		if (textwin.closed==true)
			return;
		textwin.close();
	}

	function popUpText(element)
	{
		popUpTextKill();

		href = element.href;

		width=700;
		height=500;

		swleft = Math.round((self.screen.width - width)/2);
    	swtop  = Math.round((self.screen.height - height)/3);

		textwin = window.open(href,"","height="+height+",width="+width+", left = "+swleft+", top = "+swtop+", toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no");
		if (!textwin)
		{
			return false;
		}
		textwin.focus();
		return true;
	}