/**********************************************                  TEXT TOGGLE***********************************************/
var xhr = false;
var xPos, yPos;

function showText(evt) {    getText(evt);    return false;}

function hidePreview() {
	document.getElementById("previewWin").style.visibility = "hidden";
}

function getText(evt) {	var url = evt;
	    if (window.XMLHttpRequest) {        xhr = new XMLHttpRequest();    } else {        if (window.ActiveXObject) {            try {                xhr = new ActiveXObject("Microsoft.XMLHTTP");            } catch (e) { }        }    }        if (xhr) {        xhr.onreadystatechange = showContents;        xhr.open("GET",url,true);        xhr.send(null);    } else {        alert("Sorry, but we couldn't create an XMLHttpRequest");    }}function showContents() {
	var prevWin = document.getElementById("previewWin");
	
	if (xhr.readyState == 4) {
		prevWin.innerHTML = (xhr.status == 200) ? xhr.responseText : "There was a problem with the request " + xhr.status;
		prevWin.style.visibility = "visible";
		prevWin.onmouseout = hidePreview;
	}}