// Test pour les navigateurs 4.0
version4 = false
if(navigator.appVersion.charAt(0) == "4") version4 = true
function displayPopup(url,name,height,width,evnt) {
 var properties = "toolbar=0,location=0,height="+height
 properties = properties+",width="+width
 if(evnt != null) {
  if(navigator.appName == "Microsoft Internet Explorer") {
  properties = properties+",left="+(evnt.screenX - 250)
   properties = properties+",top="+(evnt.screenY + 20)
  }else { // Navigator coordinates must be adjusted for scrolling
   properties = properties+",left="+(evnt.screenX - pageXOffset - 250)
   properties = properties+",top="+(evnt.screenY - pageYOffset + 20)
  }
 }
 popupHandle = open(url,name,properties)
}
function closePopup() {
 if(popupHandle != null && !popupHandle.closed) popupHandle.close()
}

