//<!--
document.title = 'Recherche d\'information';

function openWindow(url, w, h, iLeft, iTop, bScroll) {
	if (w==0) {
		var w=screen.width;
	}
	if (h==0) {
		var h=screen.height;
	}
    var options = "width=" + w + ",height=" + h + ",left=" + iLeft + ", top=" + iTop;
    options += "resizable=no,scrollbars=" + bScroll + ",status=no,";
    options += "menubar=no,toolbar=no,location=no,directories=no";
    var newWin = window.open(url, 'newWin', options);
    newWin.focus();
}

function AfficherImgNextFile(sNiv, sNextFile) {
	var sOut = '';

	sOut = '<div align="center"><a href="' + sNiv + sNextFile + '" target="_self" onMouseOver="MM_swapImage(\'Image13\',\'\',\'' + sNiv + 'images/commun/repondre_02.gif\',1)" onMouseOut="MM_swapImgRestore()"><img src="' + sNiv + 'images/commun/repondre_01.gif" name="Image13" width="193" height="25" border="0"></a></div>';

	return sOut;
}

//Francois Moreau 11 janv. 2006
//fonction d'ouverture de fenetre pour les boutons multifenetres

function multifen()
{
    fenetre = window.open(location.href, 'multifenetre');
	fenetre.focus();
}

//Unobtrusive pop-up pour les formulaires-courriels

//http://simon.incutio.com/archive/2004/05/26/addLoadEvent

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}

//http://mar.anomy.net/entry/2004/02/09/12.17.47/
function initPopupLinks()
{
  
  if (!document.getElementsByTagName) return true;
  var pageLinks = document.getElementsByTagName("a");
  for (var i = 0; i < pageLinks.length; i++) 
  {
    if (((pageLinks[i].className != null) && 
         (pageLinks[i].className != "")) ||
        ((pageLinks[i].parentNode.className != null) && 
         (pageLinks[i].parentNode.className != "")))
    {
      var linkClass = " " + pageLinks[i].className + " ";
      if ((linkClass == "  ") && (pageLinks[i].parentNode.className != ""))
      {
        linkClass = " " + pageLinks[i].parentNode.className + " ";
      }
      for (var theKey in popupLinkConfig) 
      {
        if (linkClass.indexOf(" " + theKey + " ") > -1)
        {
          if ((pageLinks[i].target == "") || (pageLinks[i].target == null))
          {
            pageLinks[i].target = (popupLinkConfig[theKey][0] != "") ? popupLinkConfig[theKey][0] : theKey;
          }
          pageLinks[i].settings = popupLinkConfig[theKey][1];
          pageLinks[i].onclick = popUp;
        }
      }
    }
  }
  return true;
}

function popUp()
{
  newWin = window.open(this.href, this.target, this.settings);
  newWin.focus();
  return false;
} 

// Delete/copy/modify the following lines to configure your popup windows.
var popupLinkConfig = new Array();
popupLinkConfig["fcourriel"] = new Array ("fcourriel", "width=600,height=550,scrollbars=yes,menubar=no,resizable=yes");


addLoadEvent(initPopupLinks);
-->
