function mouseX(evt) {
if (evt.pageX) return evt.pageX;
else if (evt.clientX)
   return evt.clientX + (document.documentElement.scrollLeft ?
   document.documentElement.scrollLeft :
   document.body.scrollLeft);
else return null;
}
function mouseY(evt) {
if (evt.pageY) return evt.pageY;
else if (evt.clientY)
   return evt.clientY + (document.documentElement.scrollTop ?
   document.documentElement.scrollTop :
   document.body.scrollTop);
else return null;
}

var state = 'none';

function showhide_description(description_ref) {

var dd = document.getElementById(description_ref);
AssignPosition(dd);

if (state == 'inline') {
state = 'none';
}
else {
state = 'inline';
}
if (document.all) { //IS IE 4 or 5 (or 6 beta)
eval( "document.all." + description_ref + ".style.display = state");
}
if (document.descriptions) { //IS NETSCAPE 4 or below
document.descriptions[description_ref].display = state;
}
if (document.getElementById && !document.all) {
maxwell_smart = document.getElementById(description_ref);
maxwell_smart.style.display = state;
}
}

var cX = 0; var cY = 0;
function UpdateCursorPosition(e)
	{ 
	cX = mouseX(e);
	cY = mouseY(e);
	}
function UpdateCursorPositionDocAll(e)
	{ 
	cX = mouseX(event);
	cY = mouseY(event);
	}
if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }
else { document.onmousemove = UpdateCursorPosition; }
function AssignPosition(d) {
d.style.left = (cX-230) + "px";
d.style.top = (cY-180) + "px";
}
