// JavaScript Document
function popup(div,url,e)
{
	ie4 = document.all;
	nn6 = document.getElementById && !document.all; 

	if (ie4) {
		if (url!='')
  			document.all[div].innerHTML='';
     	document.all[div].style.visibility = "visible";
		if (e.clientX>700)
     		document.all[div].style.left = e.clientX-250+document.documentElement.scrollLeft+'px';
		else
			document.all[div].style.left = e.clientX+document.documentElement.scrollLeft+'px';
     		
		document.all[div].style.top = e.clientY+document.documentElement.scrollTop+'px';
	}
  	else if (nn6) {
		if (url!='')
  			document.getElementById(div).innerHTML='';
     	document.getElementById(div).style.visibility = "visible";
		if (e.clientX>700)
     		document.getElementById(div).style.left = e.clientX-250+window.pageXOffset+'px';
		else
			document.getElementById(div).style.left = e.clientX+window.pageXOffset+'px';
     	document.getElementById(div).style.top = e.clientY+window.pageYOffset+'px';
  	} 
	if (url!='')
		jah(url,div);
		
	return false;	
}
function popup_close(div)
{
	ie4 = document.all;
	nn6 = document.getElementById && !document.all; 
	
  	if (ie4) {
		document.all[div].style.visibility = "hidden";
	}
  	else if (nn6) {
     	document.getElementById(div).style.visibility = "hidden";
  	} 
}