// created 7.14.06
// last modified 7.21.06

function getPosition(element) {
  var position = new Object;
  position.left = 0;
  position.top = 0;
  
  while (element.offsetParent) {
    position.left = position.left + element.offsetLeft;
    position.top = position.top + element.offsetTop;
    element = element.offsetParent;
  }
  
  return position;
}

function zoomBig(username, compatibility, userID) {


	   var x = 10;
//  yes i fixed this justin you know-it-all bastard
	document.getElementById("zoom").innerHTML = compatibility;
	var thumb_height = document.getElementById('zoom').offsetHeight; 
	var y = 0+20;
	thumb = document.getElementById(userID);
	document.getElementById("zoom").style.left = String(getPosition(thumb).left + x) + "px";
	document.getElementById("zoom").style.top = String(getPosition(thumb).top + y) + "px";
	document.getElementById("zoom").style.visibility = "visible";	
}

function killZoom() {
  document.getElementById("zoom").style.visibility = "hidden";  
}