// JavaScript Document
/******************************************************************************\
*	Project:Tip
*	Author:Bateau
*	Create date:2007-4-12
*	
\******************************************************************************/
document.writeln('<div id="asdf"></div>');
 var objTimeOut=null;
	  document.getElementById('asdf').style.position   =   "absolute";   
	  document.getElementById('asdf').style.left="0px";   
	  document.getElementById('asdf').style.top="0px";   
	  document.getElementById('asdf').style.width="100px";  
	  document.getElementById('asdf').style.height="100px";  
	  document.getElementById('asdf').style.border="1   solid   #3b5998";
	  document.getElementById('asdf').style.zIndex="1800";
//  	  document.getElementById('asdf').style.BACKGROUND="#d8dfea";
	  document.getElementById('asdf').style.display="none";

  
 function getPos(evt)
 {
	if(evt.pageX){
		x=evt.pageX+10+"px";
		y=evt.pageY+"px";
	}else{
		x=document.body.scrollLeft+evt.clientX+10+"px";
		y=document.body.scrollTop+evt.clientY+"px";
		//left=window.event.offsetX;
		//top=window.event.offsetY;
		
	}

	var temp=new Array();
	temp['left']=x;
	temp['top']=y;   
	return temp;	
 }
 
 function showit(evt,img)   
 {   
 	window.clearTimeout(objTimeOut);
 	temp=getPos(evt);
	document.getElementById("asdf").style.left=temp['left'];
	document.getElementById("asdf").style.top=temp['top'];
/*	document.getElementById("asdf").innerHTML="<table width='333' border='0'>"+
  "<tr><td width='327' align='center'><img src='"+img+"' width='265' height='199' /></td>"+
  "</tr><tr><td>"+title+"</td></tr></table>";*/
  document.getElementById("asdf").innerHTML="<table width='245' border='0' bgcolor='#f7f7f7'>"+
  "<tr><td width='245' align='center'><img src='"+img+"' width='240'  /></td>"+
  "</tr><tr><td></td></tr></table>";
	document.getElementById("asdf").onmouseover=function()
	{
	window.clearTimeout(objTimeOut);	
	}
	document.getElementById("asdf").onmouseout=function()
	{
	objTimeOut=window.setTimeout("document.getElementById('asdf').style.display='none'", 300);	
	}
	document.getElementById("asdf").style.display="block";
 }
  function hiddenit()
  {
  	
  	objTimeOut=window.setTimeout("document.getElementById('asdf').style.display='none'", 300);
	
  }
  function continueShow()
  {
  	window.clearTimeout(objTimeOut); 	
  }
