// JavaScript Document

function ShowDet(F)
{
   var Z = document.getElementById("MyZoom");
   
   Z.src =  F ;
   Z.style.display = '';

// Get mouse coords
		X = event.x + document.body.scrollLeft - 2;
		Y = event.y + document.body.scrollTop - 2;
		
//		Xs = screen.width 
//		Ys = screen.height 
   
   //Find the frame reslution
     var myWidth = 0, myHeight = 0;
		  if( typeof( window.innerWidth ) == 'number' ) {
			//Non-IE
			myWidth = window.innerWidth;
			myHeight = window.innerHeight;
		  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
			//IE 6+ in 'standards compliant mode'
			myWidth = document.documentElement.clientWidth;
			myHeight = document.documentElement.clientHeight;
		  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
			//IE 4 compatible
			myWidth = document.body.clientWidth;
			myHeight = document.body.clientHeight;
		  }
   
   Z.style.top  = 25;
   
   if (X > myWidth /2)
   		Z.style.left= X - 310;
	else
   		Z.style.left= X + 30;
}



function HideDet()
{
   var Z = document.getElementById("MyZoom");
   
   Z.src = '' ;
   Z.style.display = 'none';
 }
