//<![CDATA[
con = null;
divname = "";
con_plusx = 0;
con_plusy = 0;

document.onmousemove = updateCon;

function updateCon(e) {

	if (con != null) {
	   //alert (divname);
	   x = (document.all) ? window.event.x + document.getElementById(divname).offsetLeft : e.pageX;
	   y = (document.all) ? window.event.y + document.getElementById(divname).offsetTop  : e.pageY;
	   con.style.left = (x + con_plusx) + "px";
		con.style.top 	= (y + con_plusy) + "px";
	}
}

function showCon(id,divid,src,width,height,plusx,plusy) {
   divname = divid;
   con = document.getElementById(id);
	con.innerHTML = '<img src="'+src+'" border="0" width="'+width+'" height="'+height+'">';
	con.style.width = width;
	con.style.height = height;
	con_plusx = plusx;
	con_plusy = plusy;
	con.style.display = "block"

}

function hideCon() {
	con.style.display = "none";
	con == null;
}
//]]>