function mouse_0(obj){
var imgbox=document.getElementById("imgbox");
imgbox.style.visibility="visible";
var img = document.createElement("img");
img.src=obj.src;
img.style.width=obj.width * 3;
img.style.height=obj.height * 3;
imgbox.innerHTML="";
imgbox.appendChild(img);
}
function mouse_1(obj,e){
var browerHeight=document.documentElement.clientHeight;
var browerWidth=document.documentElement.clientWidth;
var mouseY=e.clientY;
var mouseX=e.clientX;
var scrollTop=document.documentElement.scrollTop;
var scrollLeft=document.documentElement.scrollLeft
if (mouseY+obj.height * 3 + 20 <= browerHeight) var height = true;
if (browerWidth-mouseX > mouseX) var width = true;
if(height)
y=scrollTop+mouseY+20;
else
y=scrollTop + browerHeight-obj.height * 3 - 20;
if(width)
x=scrollLeft+mouseX+20;
else
x=scrollLeft+mouseX-obj.width * 3 -20;
document.getElementById("imgbox").style.left=x + "px";
document.getElementById("imgbox").style.top=y + "px";
}
function mouse_2(){
document.getElementById("imgbox").style.visibility="hidden";
}
