/* Pops up a window and outputs an HTML document  */

function ShowWindow(url)
{
   options = "width=400,height=400,resizable=yes,scrollbars=yes,menubar=yes";
   // Open the window and output the HTML content
   w = window.open(url,'Cause',options);
   
   // not supported by ie6 so we detect if the browser is ie6 or not
   // for ie the focus if on the onload method in the popup
	if(navigator.appVersion.indexOf("MSIE") == -1) {
		w.focus();
	}
}

function ConfirmAction(message, url)
{
  if (confirm(message))
  {
	window.location = url;
  } 
  else alert ('Annulé');
}


