<!--
  window.name="Content";

  /************************************************************************************************/
  /*                                  No frame - Top Menu - Variables init                         */
  /************************************************************************************************/
  TopMenuLink = new Array();
    TopMenuLink[0] = 'href="../index.php" target="_parent" OnClick="window.name=\'\'; close_searchWindow();" target="_self" title="Retour origine">&nbsp;Origine';
    TopMenuLink[1] = 'href="../skirando/accueil/accueil_nouveau.php?f=0" onClick="window.name=\'\'; close_searchWindow();" target="_self" title="Accès à Chablais Ski-Alpinisme">Ski-Alpi';
    TopMenuLink[2] = 'href="../accueil/accueil_plansite.php?f=0" target="_self" title="Plan du site">Plan Site';
    TopMenuLink[3] = 'href="../accueil/accueil_liens.php?f=0" target="_self" title="Liens">Liens';
    TopMenuLink[4] = 'href="../index_french.html" onClick="window.name=\'\'; close_searchWindow();" target="_self" title="Mode d\'affichage avec Frames">Avec frames';
    TopMenuLink[5] = 'href="../accueil/accueil_devlpt.php?f=0" target="_self" title="Développements du site">Développement';
    TopMenuLink[6] = 'href="../accueil/accueil_mails.php?f=0" target="_self" title="Contact">Mails';
    TopMenuLink[7] = 'href="javascript: void(0)" OnClick="bulletinWindow()" title="Recevoir le bulletin de nouveautés">Bulletin';
    TopMenuLink[8] = 'href="javascript: void(0)" OnClick="PrintContent()" title="Imprimer">Imprimer';
    TopMenuLink[9] = 'href="javascript: void(0)" OnClick="forumWindow()" title="Accès au forum">Forum&nbsp;';

  /************************************************************************************************/
  /*                                 No frame - Main Menu - Variables init                         */
  /************************************************************************************************/
  var MainMenuDisplay = new Array("Accueil", "Région Oche", "Région Bise", "Région Chauffé", "Région Mévonne", "Région Enfer","Région Hauts forts", "Autres Régions", "Falaises");
  var MainMenuName    = new Array("accueil", "oche", "bise", "chauffe", "mevonne", "enfer", "htsforts", "autres", "falaises");
  var MainMenuSub     = new Array('nouveau','presentation','presentation','presentation','presentation','presentation','presentation','voiesdiffi','presentation');
  var MainMenuTitle  = new Array("Informations générales","Région Dent d'Oche/Pointes de Darbon","Région Cornettes de Bise/Dents du Velan","Région Mont Chauffé","Région Dalle de Mévonne","Région Roc d'Enfer","Région Hauts Forts/Morzine","Autres Régions","Falaises: Porte, Pas de l'Ours...");

  function forumWindow()
    {
     if (window.PhorumWin && !PhorumWin.closed) window.PhorumWin.focus();
     else
       {
        (screen.width == 1024) ? Imtop=100 : Imtop=20;
        (screen.width == 1024) ? Imleft=180 : Imleft=40;
        PhorumWin = window.open('../phorum5/list.php?1','PhorumWin','width=780,height=450,top='+Imtop+',left='+Imleft+',scrollbars=1,status=1,toolbar=1,menubar=1,location=1,resizable=1');
        window.PhorumWin.focus();
       }
    }

  function bulletinWindow()
    {
     if (window.bulWin && !bulWin.closed) window.bulWin.focus();
     else
       {
        (screen.width > 1023) ? Imtop=330 : Imtop=20;
        (screen.width > 1023) ? Imleft=240 : Imleft=40;
        bulWin = window.open('../common/bulletin.html','bulWin','width=360,height=160,top='+Imtop+',left='+Imleft+',scrollbars=0');
        window.bulWin.focus();
       }
    }

  function searchWindow(form)
    {
     (screen.width > 1023) ? Imtop=70 : Imtop=20;
     (screen.width > 1023) ? Imleft=60 : Imleft=40;

     form = eval(form)
     grimpe_searchWin = window.open('../common/loading.htm','grimpe_searchWin','width=950,height=750,top='+Imtop+',left='+Imleft+',scrollbars=1');
     form.target = "grimpe_searchWin";
     form.submit();
     window.grimpe_searchWin.focus();
    }

  function close_searchWindow()
    {
     if (window.grimpe_searchWin && !grimpe_searchWin.closed) window.grimpe_searchWin.close();
    }

  function PrintContent()
    {
     printloc = location.href.split('?');
     if (window.printWin && !printWin.closed) window.printWin.focus();
     else
       {
        (screen.width > 1023) ? Imtop=170 : Imtop=20;
        (screen.width > 1023) ? Imleft=180 : Imleft=40;
        printWin = window.open(printloc[0]+'?f=1','printWin','width=780,height=500,top='+Imtop+',left='+Imleft+',scrollbars=1,status=1');
        window.printWin.focus();
       }
    }

  function topMenuDisplay()
    {
     for (i = 0; i < TopMenuLink.length; i++)
       {
        document.write('<a '+TopMenuLink[i]+'</a>');
        if (i<TopMenuLink.length-1) document.write('&nbsp;|&nbsp;');
       }
    }

  function mainMenuDisplay()
    {
     for (i = 0; i < MainMenuName.length; i++)
        {
          document.write('<li id="idm_'+i+'"><a href="../'+MainMenuName[i]+'/'+MainMenuName[i]+'_'+MainMenuSub[i]+'.php?f=0" target="_parent" title="'+MainMenuTitle[i]+'">');
          document.write(MainMenuDisplay[i]);
          document.write('</a></li>');
        }

      document.getElementById('idm_'+main_active).className='select';
    }

  function subMenuDisplay()
    {
      for (i = 0; i < SubMenuName.length; i++)
        {
          document.write('<li id="ids_'+i+'"><a href="'+MainMenuName[main_active]+'_'+SubMenuName[i]+'.php?f=0' +'" target="_parent" title="'+SubMenuTitle[i]+'">');
          document.write(SubMenuDisplay[i]);
          document.write('</a></li>');
        }

      document.getElementById('ids_'+sub_active).className='select';
    }

//-->
