/**************************************************
***************************************************
*                                                 *
*     SCRIPTS POUR LE SITE PSI.LETEMPSDUNON       *
*                                                 *
*                                                 *
***************************************************
* showImg(imgName,switcher)                       *
* showMenu()                                      *
* showCopyright()                                 *
***************************************************
**************************************************/
/**************************************************
* FONCTION SHOWIMG                                *
*                                                 *
* description: affiche l'image selon l'evenement  *
*   souris ; necessite le code prealable :        *
*   imgswitcher = new Image();                    *
*   imgswitcher.src = "localisationdelimage.html";*
*                                                 *
* variable: imgName : l'image a montrer           *
*           switcher : l'extension de l'image     *
***************************************************/


function showImg(imgName,switcher) {


  if (document.images) {


    document[imgName].src = eval(imgName + switcher + ".src");


  }


}

/**************************************************
* FONCTION SHOWMENU                               *
*                                                 *
* description: affiche le menu                    *
*                                                 *
* variable: aucune                                *
***************************************************/


function showMenu() {

  document.write('<font size="2">');

  writeLien("index-text.html","Accueil");

  document.write('<br>');

  document.write('<br>');

  writeLien("courrier/index.html","Courrier");

  document.write('<br>');

  document.write('<br>');

  writeLien("livres/index.html","Livres et travaux");

  document.write('<br>');

  document.write('<br>');

  writeLien("parus.html","Ouvrages <br> parus");

  document.write('<br>');

  document.write('<br>');

  writeLien("media/index.html","Audio / Vidéo");

  document.write('<br>');

  document.write('<br>');

  writeLien("presse/index.html","Presse");

  document.write('<br>');

  document.write('<br>');

  writeLien("archives/index.html","Archives");

  document.write('<br>');

  document.write('<br>');

  writeLien("liens.html","Liens");

  document.write('<br>');

  document.write('<br>');

  writeLien("plan.html","Plan");

  document.write('<br>');

  document.write('<br>');

  writeLien("mailto:associationsite@orange.fr","Contact");

  document.write('</td>');

}



function writeLien(va_lien,va_texte) {

  vl_status_blank="status='',return true;";

  vl_status_texte="status='+va_texte+',return true;";

  document.write('<a class="navigation" href='+va_lien+' title='+va_lien+' ');

  document.write('onmouseout="return true;" ');

  document.write('onmouseover="return true;" ');

  document.write('>'+va_texte+'</a>');

}

/**************************************************
* FONCTION SHOWCOPYRIGHT                          *
*                                                 *
* description: affiche le copyright               *
*                                                 *
* variable: aucune                                *
***************************************************/

function showCopyright() {

  document.write('<font size="-1">');

  document.write('&copy; <img alt="psi" border="0" src="img/psi-txt.gif">');

  document.write('. Le temps du non 2006</font>');

}
