<!-- Begin
/***************************/
/* back-forward in history */
/***************************/
function goHist(a) {
 	history.go(a);
}
/************************************/
/* To write the Navigation Bar      */
/*                                  */
/* needs the following constants :  */
/*    cPageCodeCurrent              */
/*    cPageLangCurrent              */
/************************************/
function writeNavigationBar() {
  var vPageNumber;
  var vPageNumberPrevious;
  var vPageCodePrevious;
  var vPageCodeUp2;
  var vPageCodeUp1;
  var vPageUrl;
  var vPageFullPath;
  var vPageShortPath;
  var vPageTitleMenu;
  var vPageNumberNext;
  var vPageCodeNext;
  var vPageLang;
  var vDone;
  var vText;
  vPageNumber = aPageNumber[cPageCodeCurrent];
  document.write(
  '<TABLE width="100%" border="1"  cellpadding="2" cellspacing="0" ',
    'bordercolor="#551A8B" frame="hsides" rules="none" style="background: #FFCC99">',
    '<TR>',
      '<TD class="navigation" width="15%" align="left" valign="middle">');
// Guided tour : visit previous
		vPageNumberPrevious = vPageNumber-1;
        if(vPageNumberPrevious>=-1){
	      vDone = 0;
		  for (i=vPageNumberPrevious;i>-1&&vDone==0;i--){
		    vPageCodePrevious  = aPageCode[i];
            vPageLang = aPageLang[vPageCodePrevious];
 		    vPageStatus = aPageStatus[vPageCodePrevious];
		    if (vPageLang==cPageLangCurrent&&vPageStatus!="PR"){
		      vPageUrl=aPageUrl[vPageCodePrevious];
		      vPageFullPath=aPageFullPath[vPageCodePrevious];
		      if(cPageLangCurrent=="fr")
			    vText='Visite guidée : page précédente';
		      else vText='Rondleiding : vorige pagina';
		      document.write(
		      '<A href="'+vPageUrl+'" title="'+vText+' = '+vPageFullPath+'">',
		      '<img src="../Clipart/Arrow_Left_Blue.gif" width="10" height="10" border="0">');
		      if(cPageLangCurrent=="fr")
			    vText=' Visite';
		      else vText=' Rondleiding';
			  document.write(
			  vText+'</A>');
              vDone = -1;
			}
		  }
	    }
	  document.write(
      '</TD>',
	  '<TD class="navigation" width="*" align="center" valign="middle">');
// Localization : Home
	    if(cPageLangCurrent == "fr")
		  vText='Retour à la page d\'accueil (homepage)';
	    else if(cPageLangCurrent == "nl")
		  vText='Terug naar homepage';
	    document.write(
	    '<A href="../index.htm" target="_top" title="'+vText+'">',
	    '<img src="../Clipart/Arrow_Right_Blue.gif" border="0" width="10" height="10">',
		' AMFMGIS </A>');
// Localization : Welcome page
	    if(cPageLangCurrent == "fr")
		  document.write(
		  '<A href="fr100_intro.htm" title="Retour à la page d\'Introduction en français">',
	      '<img src="../Clipart/Arrow_Right_Blue.gif" border="0" width="10" height="10">',
		  ' fr </A>');
	    else if(cPageLangCurrent == "nl")
		  document.write(
		  '<A href="nl100_intro.htm" title="Terug naar nederlandstalige Introductie pagina">',
	      '<img src="../Clipart/Arrow_Right_Blue.gif" border="0" width="10" height="10">',
		  ' nl </A>');
// Localization : Upper page level 1
        vPageCodeUp1 = aPageCodeUp1[cPageCodeCurrent];
	    if(vPageCodeUp1!=""){
		  vPageUrl=aPageUrl[vPageCodeUp1];
		  vPageShortPath=aPageShortPath[vPageCodeUp1];
		  vPageTitleMenu=aPageTitleMenu[vPageCodeUp1];
		  document.write(
		  '<A href="' + vPageUrl + '"');
		  if(cPageLangCurrent == "fr")
		    document.write(
		    ' title="Retour au niveau supérieur');
		  else if(cPageLangCurrent == "nl")
		    document.write(
		    ' title="Terug naar boven');
		  document.write(
		  ' = '+vPageTitleMenu+'">',
		  '<img src="../Clipart/Arrow_Right_Blue.gif" border="0" width="10" height="10"> ',
		  ' ' + vPageShortPath + ' </A>');
	    }
// Localization : Upper page level 2
        vPageCodeUp2 = aPageCodeUp2[cPageCodeCurrent];
	    if(vPageCodeUp2!=""){
		  vPageUrl=aPageUrl[vPageCodeUp2];
		  vPageShortPath=aPageShortPath[vPageCodeUp2];
		  vPageTitleMenu=aPageTitleMenu[vPageCodeUp2];
		  document.write(
		  '<A href="' + vPageUrl + '"');
		  if(cPageLangCurrent == "fr")
		    document.write(
		    ' title="Retour au niveau supérieur');
		  else if(cPageLangCurrent == "nl")
		    document.write(
		    ' title="Terug naar boven');
		  document.write(
		  ' = '+vPageTitleMenu+'">',
		  '<img src="../Clipart/Arrow_Right_Blue.gif" border="0" width="10" height="10"> ',
		  ' ' + vPageShortPath + ' </A>');
	    }
// Localization : Current page
        vPageShortPath=aPageShortPath[cPageCodeCurrent];
	    document.write(
	    '<img src="../Clipart/Arrow_Right_Red.gif" width="10" ',
		  'height="10"><font color="#551a8b"> '+vPageShortPath+'</font>',
      '</TD>',
	  '<TD class="navigation" width="15%" align="right" valign="middle">');
// Guided tour : visit next
		vPageNumberNext = vPageNumber+1;
	    if(vPageNumberNext<cPageCounter){
	      vDone = 0;
		  for (i=vPageNumberNext;i<cPageCounter&&vDone==0;++i){
		    vPageCodeNext  = aPageCode[i];
            vPageLang = aPageLang[vPageCodeNext];
 		    vPageStatus = aPageStatus[vPageCodeNext];
		    if (vPageLang==cPageLangCurrent&&vPageStatus!="PR"){
		      vPageUrl=aPageUrl[vPageCodeNext];
		      vPageFullPath=aPageFullPath[vPageCodeNext];
		      if(cPageLangCurrent=="fr")
			    vText='Visite guidée : page suivante';
		      else if(cPageLangCurrent=="nl")
			    vText='Rondleiding : volgende pagina';
		      document.write(
		      '<A href="'+vPageUrl+'" title="'+vText+' = '+vPageFullPath+'">');
		      if(cPageLangCurrent=="fr")
			    vText='Visite ';
		      else if(cPageLangCurrent=="nl")
			    vText='Rondleiding ';
		      document.write(
		      vText+'<img src="../Clipart/Arrow_Right_Blue.gif" width="10" height="10" border="0">',
              '</A>');
              vDone = -1;
			}
	      }
		}
	  document.write(
	  '</TD>',
    '</TR>',
    '<TR>',
	'<TD width="*" align="center" valign="middle" colspan="3"><FONT size="1" color="#cc0033">');
// Button Back
	  if(cPageLangCurrent == "fr")
	    vText='Retour à la page précédente';
	  else if(cPageLangCurrent == "nl")
	    vText='Terug naar vorige pagina';
	  document.write(
	  '<A href="javascript:goHist(-1)" title="'+vText+'">',
	  '<IMG src="../Clipart/Button_Back4.gif" width="48" height="14" border="0" ',
	  'alt="'+vText+'">',
	  '</A>');
// Button Forward
	  if(cPageLangCurrent == "fr")
	    vText='Retour à la page suivante';
	  else if(cPageLangCurrent == "nl")
	    vText='Terug naar volgende pagina';
	  document.write(
	  ' <A href="javascript:goHist(1)" title="'+vText+'">',
	  '<IMG src="../Clipart/Button_Forward4.gif" width="48" height="14" border="0" ',
	  'alt="'+vText+'">',
	  '</A>');
// Button Home
	  document.write(
	  ' <A href="../index.htm" target="_top" title="');
	  if(cPageLangCurrent == "fr")
	    document.write('Retour à la page d\'accueil');
	  else if(cPageLangCurrent == "nl")
	    document.write('Terug naar homepage');
	  document.write(
	  '">',
	  '<IMG src="../Clipart/Button_Home4.gif" width="48" height="14" border="0">',
      '</A>');
// Button Plan
	  if(cPageLangCurrent == "fr")
	    document.write(' <A href="fr111_plan.htm" title="Plan du Site Internet de AMFMGIS');
	  else if(cPageLangCurrent == "nl")
	    document.write(' <A href="nl111_plan.htm" title="AMFMGIS Internetsite Plan');
	  document.write(
	  '" target="_top">',
	  '<IMG src="../Clipart/Button_Plan4.gif" width="48" height="14" border="0">',
	  '</A>');
// Button Print
	  document.write(
	  ' <A HREF="#" onClick="return printPage(window)" title="');
	  if(cPageLangCurrent == "fr")
	    document.write('Imprimer cette page');
	  else if(cPageLangCurrent == "nl")
	    document.write('Deze pagina printen');
	  document.write(
	  '">',
	  '<IMG src="../Clipart/Button_Printer4.gif" width="48" height="14" border="0">',
	  '</A>');
// Button Mail
	  document.write(
	  ' <A href="mailto:'+cMailToS1+'" title="');
	  if(cPageLangCurrent == "fr")
	    document.write('Adresser un Email au secrétaire');
	  else if(cPageLangCurrent == "nl")
	    document.write('Een Email aan het secretariaat sturen');
      document.write(
	  '">',
	  '<IMG src="../Clipart/Button_Email4.gif" width="48" height="14" border="0">',
	  '</A>');
// Button Disclaimer
	  if(cPageLangCurrent == "fr")
	    document.write(' <A href="fr112_cond.htm" ',
		  'title="Conditions d\' utilisation du Site Internet de AM/FM-GIS');
	  else document.write(' <A href="nl112_Voorwaarden.htm" ',
		  'title="AM/FM-GIS Internetsite Gebruiksvoorwaarden');
	  document.write(
	  '" target="_top">',
	  '<IMG src="../Clipart/Button_Disclaimer4.gif" width="48" height="14" border="0">',
	  '</A>',
	'</FONT></TD>',
    '</TR>',
  '</TABLE>');
}
/*********************/
/* To popup an image */
/*********************/
var ImageView = '';
function PopupImage(ImageSource,Description){
  myImage= new Image();
  myImage.src=(ImageSource);
  if((myImage.width!=0)&&(myImage.height!=0)){
	myDescription = Description+"";
    myWidth=myImage.width+20;
	if (myDescription!="") myHeight=myImage.height+115;
  	else myHeight=myImage.height+60;
	myString="width="+myWidth+",height="+myHeight;
    if(ImageView.location && !ImageView.closed){
	  ImageView.close();}
    ImageView = window.open("", "ImageView", "toolbar=0,location=0,directories=0,status=0,"+
	  "menubar=0,scrollbars=0,resizable=0,copyhistory=0,"+myString);
    ImageView.document.open();
    ImageView.document.write(
	'<HTML><HEAD>',
    '<TITLE>AMFMGIS/Image</TITLE>',
    '</HEAD><BODY bgcolor="#000000" TEXT=#FF0000>',
    '<IMG HSPACE=0 VSPACE=0 SRC="'+ImageSource+'"><BR><BR><CENTER><FORM>');
	if (myDescription!="")
	ImageView.document.write('<B><FONT SIZE=+1>'+Description+'</FONT></B><HR>');
    ImageView.document.write(
	'<INPUT TYPE="button" VALUE="Close" onClick="window.close()">',
    '</FORM></CENTER></BODY></HTML>');
    ImageView.document.close();
	ImageView.focus();
  }
}
/*********************/
/* To close an image */
/*********************/
function CloseImage(){
  if(ImageView.location && !ImageView.closed){
	ImageView.close();}
}
/*********************************************************************************/
/* To print the content of a frame                                               */
/*********************************************************************************/
/* From the frame itself:                                                        */
/* <A HREF="#" onClick="return printPage(window)">Print</A>                      */
/* From another frame:                                                           */
/* <A HREF="#" onClick="return printPage(parent.frames[3], this)">Print Main</A> */
/*********************************************************************************/
var da = (document.all) ? 1 : 0;
var pr = (window.print) ? 1 : 0;
var mac = (navigator.userAgent.indexOf("Mac") != -1);

function printPage(frame, arg) {
  if (frame == window) {
    printThis();
  } else {
    link = arg; // a global variable
    printFrame(frame);
  }
  return false;
}

function printThis() {
  if (pr) { // NS4, IE5
    window.print();
  } else if (da && !mac) { // IE4 (Windows)
    vbPrintPage();
  } else { // other browsers
    alert("Sorry, your browser doesn't support this feature.");
  }
}

function printFrame(frame) {
  if (pr && da) { // IE5
    frame.focus();
    window.print();
    link.focus();
  } else if (pr) { // NS4
    frame.print();
  } else if (da && !mac) { // IE4 (Windows)
    frame.focus();
    setTimeout("vbPrintPage(); link.focus();", 100);
  } else { // other browsers
    alert("Sorry, your browser doesn't support this feature.");
  }
}

if (da && !pr && !mac) with (document) {
  writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');
  writeln('<' + 'SCRIPT LANGUAGE="VBScript">');
  writeln('Sub window_onunload');
  writeln('  On Error Resume Next');
  writeln('  Set WB = nothing');
  writeln('End Sub');
  writeln('Sub vbPrintPage');
  writeln('  OLECMDID_PRINT = 6');
  writeln('  OLECMDEXECOPT_DONTPROMPTUSER = 2');
  writeln('  OLECMDEXECOPT_PROMPTUSER = 1');
  writeln('  On Error Resume Next');
  writeln('  WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER');
  writeln('End Sub');
  writeln('<' + '/SCRIPT>');
}
// End -->