/*.......  Fonction revue
Paramètres :
  titre, page web,service payeur
Doit s'insérer dans 
   debut_liste_revues()
     article_liste_revues(...)
   fin_biblio()
*/
function revue(titre_revue,page_web,payeur){
   document.write('<tr>') 
  document.write('<td valign="top">')
  document.write('<a href=')
  document.write(page_web)
  document.write('>')
  document.write(titre_revue)
  document.write('</a>')
  document.write('</td>')
  document.write('<td>')
  document.write(payeur)
  document.write('</td>')
  document.write('</tr>')
}
/*..Fonction liste revue debut_liste_revues et fin_liste_revues..*/
function debut_liste_revues(){
  document.write('<table border="0" cellpadding="2">')
}
function fin_liste_revues(){
  document.write('</table>')
}
/*........ Fonction participant 
Paramètres : 
 prenom, nom, page web perso, 
 nom du labo, page web du labo,
 nom de la fac, page web de la fac.
Met en page les informations suivantes d'un participant a un projet
 prenom, nom, page web perso (nom du labo, page web du labo, nom de la fac, page web de la fac).
Si une page web n'existe ps, la rentrer comme ""
Utilise la feuille de style er_projet.css  
*/
function participant(surname,name,page_perso,nom_labo,page_labo,nom_fac,page_fac){
  if (page_perso != ""){
   document.write('<a href=')
   document.write(page_perso)
   document.write(' class="gens">')
  }
  document.write('<span class="prenom">')
  document.write(surname) 
  document.write('</span><span class="nom"> ')
  document.write(name)
  document.write('</span>')
  if (page_perso != ""){
   document.write('</a>')
  }
  document.write(' (')
  if (page_labo != ""){
   document.write('<a href=')
   document.write(page_labo) 
   document.write(' class="lieu">')
  }
  document.write(nom_labo)
  if (page_labo != ""){
   document.write('</a>')
  }
  document.write(', ')
  if (page_fac != ""){
   document.write('<a href=')
   document.write(page_fac)
   document.write(' class="lieu">')
  }
  document.write(nom_fac)
  if (page_fac != ""){
   document.write('</a>')
  }
  document.write(') ')
}
/*..Fonction bibliographique incollection_list
Insère un élément bibliographique de type incollection dans une liste.
Doit s'insérer dans 
   debut_biblio()
     incollection_list(...)
   fin_biblio()
*/
function incollection_list(link,no,author,title,booktitle,series,volume,pages,publisher,place,year,note){
  document.write('<tr>') 
  document.write('<td valign="top">')
  document.write('<a href=')
  document.write(link)
  document.write('>[')
  document.write(no)
  document.write(']</a>')
  document.write('</td>')
  document.write('<td>')
  document.write(author)
  document.write(', ')
  document.write(title) 
  document.write('. ')
  if (booktitle !=""){
   document.write('<i>'+booktitle+'</i>, ')
  }
  if (pages !=""){
   document.write(pages+', ')
  }
  if (series !=""){
   document.write(series+', ')
  }
  if (volume !=""){
   document.write(volume+', ')
  }
  if (publisher !=""){
   document.write('<i>'+publisher+'</i>, ')
   if (place !=""){
    document.write('<i>'+place+'</i>, ')
   }
  }
  document.write(year+'. ')
  if (note!= ""){
   document.write(note)
   document.write('. ')
  }
  document.write('</td>')
  document.write('</tr>')
}
/*..Fonction bibliographique article_list
Insère un élément bibliographique de type article dans une liste.
Doit s'insérer dans 
   debut_biblio()
     article_list(...)
   fin_biblio()
*/
function article_list(link,no,author,title,journal,year,volume,number,pages,note){
  document.write('<tr>') 
  document.write('<td valign="top">')
  document.write('<a href=')
  document.write(link)
  document.write('>[')
  document.write(no)
  document.write(']</a>')
  document.write('</td>')
  document.write('<td>')
  document.write(author)
  document.write(', ')
  document.write(title) 
  document.write('. ')
  document.write('<i>')
  document.write(journal)
  document.write('</i> ')
  document.write(volume+" ") 
  document.write("("+year+")")
  if (number!= ""){
    document.write(", no "+number)
  }
  if (pages!= ""){
   document.write(", "+pages)
  }
  if (note!= "")
  {
   document.write(". "+note+".")
  }
  else
  {
   document.write('. ')
  }
  document.write('</td>')
  document.write('</tr>')
}
/*..Fonction bibliographique debut_biblio et fin_biblio..*/
function debut_biblio(){document.write('<table border="0" cellpadding="3">')}
function fin_biblio(){document.write('</table>')}
