// JavaScript Document


function Show_Hide(obj){
if (obj.style.display != 'none')
obj.style.display = 'none';
else
obj.style.display = 'block';
}

function Create_AJAX() {
var xmlHttp;
  try
    {    // Firefox, Opera 8.0+, Safari  
	 xmlHttp=new XMLHttpRequest();    }
  catch (e)
    {    // Internet Explorer    
	try
      {      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");      }
    catch (e)
      {      try
        {        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");        }
      catch (e)
        {  
		   alert("Your browser does not support AJAX!");    
		   return false;        
	  }
	}
} // Create ActiveX Object
return xmlHttp;
}

function Show_ToolTip(id){
//Create a new AJAX instance
var xmlHttp = Create_AJAX();
//Send the Request to AJAX.Asp with function value = 1
xmlHttp.onreadystatechange=function()
      {
      if(xmlHttp.readyState==4)
        {
		//Separate the Two values
		document.getElementById("ToolTip").innerHTML = (xmlHttp.responseText);
		}
      }
		var url = "AJAX.Asp?F=1&ID=" + id;
		xmlHttp.open("POST",url,true);
		xmlHttp.send(null);
		document.getElementById("ToolTip").innerHTML = "Loading......";
		
}
	
function Show_ToolTip2(){
	document.getElementById("ToolTipFrame").style.left = event.clientX + 25 + document.body.scrollLeft;
	document.getElementById("ToolTipFrame").style.top = event.clientY + 25 + document.body.scrollTop;
	document.getElementById("ToolTipFrame").style.visibility = "visible";
	
}