/*-----------------------------------------------------------------
 Date de mise à jour
 Attention :
 	les vieux browsers n'aiment pas les zéros superflus, genre 08,05, etc...

-------------------------------------------------------------------*/
function LastUpdate(lan,j,m,a)
{
  var fr= lan=="fr";

  document.write("<small><i><font color=\"#339933\"> ");
  document.write( (fr)?"Mise &agrave; jour : ":"Last Update : ");
  document.write( j+" ");
  if (m==1) document.write( (fr)?"janvier "	:"January ");
  if (m==2) document.write( (fr)?"f&eacute;vrier ":"February ");
  if (m==3) document.write( (fr)?"mars "	:"March ");
  if (m==4) document.write( (fr)?"avril "	:"April ");
  if (m==5) document.write( (fr)?"mai "		:"May ");
  if (m==6) document.write( (fr)?"juin "	:"June ");
  if (m==7) document.write( (fr)?"juillet "	:"July ");
  if (m==8) document.write( (fr)?"ao&ucirc;t "	:"August ");
  if (m==9) document.write( (fr)?"septembre "	:"September ");
  if (m==10) document.write( (fr)?"octobre "	:"October ");
  if (m==11) document.write( (fr)?"novembre "	:"November ");
  if (m==12) document.write( (fr)?"d&eacute;cembre ":"December ");
  /*switch (m) : non supporté par NN3
    {   case 1  : document.write( (fr)?"janvier "	:"January ");	break;
	case 2  : document.write( (fr)?"f&eacute;vrier ":"February ");	break;
	case 3  : document.write( (fr)?"mars "		:"March ");	break;
	case 4  : document.write( (fr)?"avril "		:"April ");	break;
	case 5  : document.write( (fr)?"mai "		:"May ");	break;
	case 6  : document.write( (fr)?"juin "		:"June ");	break;
	case 7  : document.write( (fr)?"juillet "	:"July ");	break;
	case 8  : document.write( (fr)?"ao&ucirc;t "	:"August ");	break;
	case 9  : document.write( (fr)?"septembre "	:"September ");	break;
	case 10 : document.write( (fr)?"octobre "	:"October ");	break;
	case 11 : document.write( (fr)?"novembre "	:"November ");	break;
	case 12 : document.write( (fr)?"d&eacute;cembre ":"December ");	break;
	default : document.write( "???");
    }
   */
  document.write(a+". </font></i></small>");
}
/*--------------------------------------------------------------------
  Recherche de la page dans l'autre langue, drapeau de l'autre langue :
----------------------------------
L'organisation des répertoires est :

   .../site/chapitre/langue/fichier
Donc une traduction se trouve dans le répertoire d'à côté,
en "../langue/MêmeNomDeFichier.htm".

Les images propres au chapitre sont dans son répertoire.
Les images communes sont dans le répertoire .../site/img,
donc en "../../img/FichierImage" par rapport au fichier htm courant.
---------------------------------------------------------------------*/
function FlagPage(lan,file)
{
  document.write("<A HREF=\"../");
  document.write((lan=="fr")?"us":"fr" );
  document.write("/"+file+".htm\"><IMG WIDTH=40 HEIGHT=25 BORDER=1 ALIGN=RIGHT SRC=\"../../img/");
  document.write((lan=="fr")?"gb-us.jpg\" ALT='English version'":"fr.jpg\" ALT='En fran&ccedil;ais'");
  document.write("></A>");
}
/*------------------------------------------------------------------
	Haut de document : logo, titre, page traduite et date de mise à jour
--------------------------------------------------------------------*/
function Entete(lang,page,j,m,a,titre,phrase)
{
  document.write("<A NAME=\"top\"></A>"+
  		 "<TABLE BORDER=0 WIDTH=\"100%\"><TR><TH ALIGN=LEFT WIDTH=\"15%\">"+
  		 "<A HREF= \"../../index-" + lang + ".htm\"><IMG BORDER=1 SRC=\"../../img/logofa20.gif\" WIDTH=160 HEIGHT=100></A></TH>"+
		 "<TD ALIGN=CENTER><FONT SIZE=7>FENUA ANIMALIA</FONT><br><IMG WIDTH=64 BORDER=1 SRC=\"../../img/flag-pf.jpg\"></TD>"+
		 "<TD ALIGN=RIGHT VALIGN=TOP WIDTH=\"15%\">");
		 FlagPage(lang,page);
  document.write("</TD></TR></TABLE>");

  LastUpdate(lang,j,m,a);

  document.write("<hr><CENTER><H1><FONT COLOR=\"magenta\">"+titre+"</FONT></H1><P>");
  if((phrase != "") && (phrase != null))  document.write("<FONT COLOR=\"#0033cc\" SIZE=+1><i>"+phrase+"</i></FONT><br>&nbsp;");
  document.write("</CENTER><hr>");
}
/*-----------------------------------------------------------------
	Milieu de document : titre et retour au haut de page
------------------------------------------------------------------*/
function SousTitre(lang,ancre,titre)
{
  document.write("<a name=\""+ancre+"\"></a><hr>");
  document.write("<table width=\"100%\"><tr><td align=left><FONT COLOR=\"#336633\"><h2><b><u>"+titre+"</u></b></h2></font></td>");
  document.write("<td align=\"right\" valign=\"top\">");
	document.write("<a href=\"#top\">");
	document.write((lang=="fr")?"Haut":"Top");
	document.write("</a>");
  document.write("</td></tr></table>");
}
/*----------------------------------------------------------------
	Empêcher les spammeur d'extraire l'adresse du source :
------------------------------------------------------------------*/
function EcrireA(qui,ou,msg)
{
  document.write('<A HREF="mailto:'+qui+'@'+ou+'">'+msg+"</A>");
}
/*----------------------------------------------------------------
	Bas de document : logo et retour au sommaire
------------------------------------------------------------------*/
function Sommaire(lang)
{
  document.write("<HR><TABLE WIDTH=\"100%\"><TR><TD WIDTH=65><IMG SRC=\"../../img/logofa20.gif\" BORDER=0 WIDTH=60 HEIGHT=40></TD>"+
		"<TD ALIGN=LEFT VALIGN=CENTER>");

  if(lang == "fr")
  	{	document.write("<A HREF= \"../../index-fr.htm\"> Sommaire Fenua Animalia </A></I></TD>"+
					"<TD ALIGN=LEFT><FONT SIZE=1> ");
		EcrireA("fenua.animalia","mail.pf","Nous &eacute;crire");
		document.write(" ---&nbsp; ");
		EcrireA("eric.loeve","mail.pf","Remarques et suggestions sur ce site. ");
		document.write(" </TD>"+
					"<TD ALIGN=RIGHT><A HREF=\"#top\">Haut</A></TD>"
					);
	}
  else
  	{	document.write("<A HREF= \"../../index-us.htm\"> Fenua Animalia\'s Home Page </A></I></TD>"+
					"<TD ALIGN=LEFT><FONT SIZE=1> ");
		EcrireA("fenua.animalia","mail.pf","Write us");
		document.write(" ---&nbsp;");
		EcrireA("eric.loeve","mail.pf","Remarks and suggests on this site.");
		document.write(" </TD>"+
					"<TD ALIGN=RIGHT><A HREF=\"#top\">Top</A></TD>"
					);
	}
  document.write("</TR></TABLE><HR>");
}
/*----------------------------------------------------------------
	Bas de document PFF : logo et retour au sommaire PFF et au général
------------------------------------------------------------------*/
function SommairePFF(lang)
{
  document.write("<HR><TABLE WIDTH=\"100%\"><TR><TD WIDTH=65><IMG SRC=\"../../img/logofa20.gif\" BORDER=0 WIDTH=60 HEIGHT=40></TD>"+
		"<TD ALIGN=LEFT VALIGN=CENTER>");

  if(lang == "fr")
  	{	document.write("<A HREF= \"../../index-fr.htm\"> Sommaire Fenua Animalia </A></I></TD>"+
					"<TD> <A href=\"index.htm\">Sommaire PFF</A></TD>"+
					"<TD ALIGN=LEFT><FONT SIZE=1> ");
		EcrireA("fenua.animalia","mail.pf","Nous &eacute;crire");
		document.write(" ---&nbsp;");
		EcrireA("eric.loeve","mail.pf","Remarques et suggestions sur ce site.");
		document.write("</TD>"+
					"<TD ALIGN=RIGHT><A HREF=\"#top\">Haut</A></TD>"
					);
	}
  else
  	{	document.write("<A HREF= \"../../index-us.htm\"> Fenua Animalia\'s Home Page </A></I></TD>"+
				"<TD> <A href=\"index.htm\">LFA's menu</A></TD>"+
				"<TD ALIGN=LEFT><FONT SIZE=1> ");
		EcrireA("fenua.animalia","mail.pf","Write us");
		document.write("---&nbsp;");
		EcrireA("eric.loeve","mail.pf","Remarks and suggests on this site.");
		document.write("</TD>"+
					"<TD ALIGN=RIGHT><A HREF=\"#top\">Top</A></TD>"
					);
	}
  document.write("</TR></TABLE><HR>");
}
/*----------------------------------------------------------------
	Tableaux de liens : une ligne
------------------------------------------------------------------*/
function LinkRaw(flag,altflag, url,desc,comment)
{
  document.write("<TR><TH><IMG SRC=\"../../img/"+ flag +".gif\" BORDER=0 WIDTH=30 HEIGHT=20 ALT=\"");
  document.write( altflag + "\"></TH><TD ALIGN=\"left\">");
  document.write("<a href=\"" + url + "\"> ");
  document.write( desc + "&nbsp;</a>");
  document.write("</TD><TD>" + comment + ".</TD></TR>");
}
/*---------------------------------------------------------------------------
		Pages du CORNELL FELINE HEALTH CENTER :
-----------------------------------------------------------------------------
--- Bas de document : logo Cornell et retour à leur sommaire
-----------------------------------------------------------------*/
function CfhcSommaire(lang)
{
  document.write("<p><hr><A HREF=\"somcfhc.htm\">"+
		"<IMG border=0 SRC=\"../logosm.gif\">");
  document.writeln(
     (lang=="fr")?"Retour &agrave la Page d'Accueil F&eacutelins"
                 :"Back to the Feline Home Page"
                );
  document.writeln("</A><p><p>");
}
/*-------------------------------------------------------------*/
function CfhcCopyright(lan,year,assoc)
{
  if(lan=="fr")
  { document.write("<small><i>\nPr&eacutepar&eacute par");
    if(assoc == "VAFSTF")
      document.write(" le <i>Vaccine-Associated Feline Sarcoma Task Force</i>."+
	" Un effort combin&eacute de l'AVMA, l'AAHA, l'AAFP, et la Veterinary Cancer Society,"+
	" la Task Force est constitu&eacutee de representants de chacun de ces groupes,"+
	" v&eacutet&eacuterinaires chercheurs et cliniciens, ainsi que de representants de"+
	" l'USDA/APHIS et de l'Animal Health Institute.\n<p>\nLes informations de cette"+
	" page doivent &ecirctre reproduites avec la permission de la Task Force."+
	" Les demandes de permission de copie doivent &ecirctre envoy&eacutees par fax"+
	" ou courrier (en anglais) au Dr. James R. Richards, Cornell Feline Health Center,"+
	" Cornell University College of Veterinary Medicine, Ithaca, NY, 14853. FAX (607)"+
	" 253-3419.\n<p>\nTous droits r&eacute;serv&eacute;s. Copyright 1997.");

    else
     { if(assoc == "AAFP")
		document.write("l'<B>American Association of Feline Practitioners</B> et");
       document.writeln(" le <B>Cornell Feline Health Center</B>,"+
	" Cornell University, College of Veterinary Medicine, Ithaca, New York 14853-6401.\n<br>");
       document.write("Le but premier du Centre est d'am&eacuteliorer la sant&eacute des chats"+
	" par l'&eacute;laboration de m&eacutethodes pr&eacuteventives ou curatives"+
	" contre les maladies f&eacutelines, et par l'offre de formation continue aux"+
	" v&eacutet&eacuterinaires et aux propri&eacutetaires de chats. L'essentiel de"+
	" ce travail est rendu possible par le soutien financier des amis.\n"+
	"<br>\n © ");
       document.write(year);
       document.writeln(" Cornell University. Tous droits r&eacuteserv&eacutes.\n<br>\n"+
	"Cornell University se pose &eacutegalement en opportunit&eacute, &eacuteducateur"+
	" et employeur engag&eacute.\n<p>\n</small>");
     }
  }
  else
  { document.write("<small><i>\nPrepared by");
    if(assoc == "VAFSTF")
      document.write(" the <b>Vaccine-Associated Feline Sarcoma Task Force</b>. A combined effort"+
	" of the AVMA, AAHA, AAFP, and Veterinary Cancer Society, the Task Force consists"+
	" of representatives from each of the groups, veterinary researchers and clinicians,"+
	" and representatives from the USDA/APHIS and the Animal Health Institute.\n<p>"+
	"The information in this brochure may be reproduced in its entirety with the"+
	" permission of the task force. Requests for permission to reprint should be"+
	" submitted in writing or fax to Dr. James R. Richards, Cornell Feline Health"+
	" Center, Cornell University College of Veterinary Medicine, Ithaca, NY, 14853."+
	" FAX (607) 253-3419.\n<p>\nAll rights reserved. Copyright 1997.");

    else
    {  if(assoc == "AAFP")
		document.write(" the <b>American Association of Feline Practitioners</b> and");
      document.writeln(" the <b>Cornell Feline Health Center</b>, Cornell"+
	" University, College of Veterinary Medicine, Ithaca, New York 14853-6401.\n<br>");
      document.write("The ultimate purpose of the center is to improve the health of cats"+
	" by developing methods to prevent or cure feline diseases and by providing"+
	" continuing education to veterinarians and cat owners. Much of that work is"+
	" made possible by the financial support of friends.\n"+
	"<br>\n © ");
	 document.write(year);
	 document.writeln(" by Cornell University. All rights reserved.  <br>"+
	"Cornell University is an equal opportunity, affirmative action educator"+
	" and employer.\n<p>\n</small>");
    }
  }
}
/*---------------------------------------------------------------------------
		Pages de l'ISSG :
-----------------------------------------------------------------------------*/
/*----------------------------------------------------------------
	Un Onglet
p.ex: IssgTab("dark","Ecologie","fr","issg-ecologie.htm")
p.ex: IssgTab("light",Ecologie","us","http://interface.creative.auckland.ac.nz/database/species/contacts.asp?si=58&amp;fr=1&amp;sts=sss" target="_blank")
-----------------------------------------------------------------*/
function IssgTab(on,titre,fr,ref)
{
	var bgd= (on==1)?"light":"dark";
	var tgt= (fr=="fr")?'':' target="_blank"';

 document.write('<TD width=110 background="../../img/issg_tab_'+bgd+'.gif">\n'+
				'<FONT face="Arial, Helvetica, sans-serif" color=#000000 size=1>\n'+
				'	<a href="'+ref+'"'+tgt+'><NOBR><B>'+titre);
				if(fr == 'fr')	document.write('<br><i>Traduit ici</i>');
document.writeln('</NOBR>\n	</B></a>\n'+
				'</FONT>\n'+
			'</TD>');
}
/*----------------------------------------------------------------
	Tous les onglets
------------------------------------------------------------------*/
function IssgTabs(dev,nb)
{
	var siteissg= (dev)?"interface.creative.auckland.ac.nz":"www.issg.org";

document.write('<TABLE border=0 height=33 cellSpacing=0 cellPadding=0 width="100%" background="../../img/issg_tab_bg.gif">\n'+
				'<TR vAlign=center align=middle>\n');
					IssgTab((nb==1),"Présentation","fr","issg.htm");
					IssgTab((nb==2),"Ecologie","fr","issg-ecologie.htm");
					IssgTab((nb==3),"Répartition","us",'http://'+siteissg+'/database/species/distribution.asp?si=58&amp;fr=1&amp;sts=sss');
					IssgTab((nb==4),"Info de gestion","fr","issg-manage.htm");
					IssgTab((nb==5),"Impacts","fr","issg-impact.htm");
					IssgTab((nb==6),"Références<BR>et Liens","us",'http://'+siteissg+'/database/species/references.asp?si=58&amp;fr=1&amp;sts=sss');
					IssgTab((nb==7),"Contacts","us",'http://'+siteissg+'/database/species/contacts.asp?si=58&amp;fr=1&amp;sts=sss');
document.writeln(		'<TD width=110>&nbsp;</TD>\n'+
					'<TD><IMG height=10 src="../../img/issg_spacer.gif" width=160></TD>\n'+
					'<TD vAlign=center align=middle width=110>&nbsp;</TD>\n'+
				'</TR>\n'+
			'</TABLE>');
}
/*----------------------------------------------------------------
	interligne du tableau-texte ISSG
------------------------------------------------------------------*/
function IssgInterligne() /* début du texte */
{
document.writeln(		'<TD bgColor="#f0f0f0"> &nbsp; </TD>\n'+
				'</TR><TR>\n'+
					'<TD bgColor="#f0f0f0" width="5%"> &nbsp; </td>\n'+
					'<TD bgcolor="#f0f0f0">\n'+
						'<br>');
}
/*----------------------------------------------------------------
	entête GISD
------------------------------------------------------------------*/
function IssgHead(dev,nb)
{
	var siteissg= (dev)?"interface.creative.auckland.ac.nz":"www.issg.org";

document.writeln('<center><font color="red"><b>\n'+
				'Attention : Sauf spécification contraire, tous les liens renvoient directement au <a href="http://'+siteissg+'/database/welcome/" target="_blank">GISD</a> qui est en anglais :\n'+
			  '</b></font></center>\n'+
			'<hr>\n'+
			'<font color="#006600" size=2><b>Traduction Fenua Animalia </font></b><hr>');
/* entête GISD sst. */
document.writeln('<table border=0 width="100%" cellspacing=0 cellpadding=3>\n'+
				'<tr bgcolor="black">\n'+
					'<td align="left"> <img src="../../img/issg_gisd.gif" width="480"> </td>\n'+
					'<td align="right">\n'+
						'<a href="http://'+siteissg+'/database/species/search.asp?st=100ss&fr=1&sts=" target="_blank"><img src="../../img/issg_top100.gif"></a>\n'+
						'&nbsp; &nbsp;\n'+
						'<a href="http://'+siteissg+'/database/welcome/" target="_blank"><img src="../../img/issg_home.gif"></a>\n'+
					'</td>\n'+
				'</tr>\n'+
			'</table>'+
			'<br><font color="#002244" face="Arial" size=4>\n'+
			'<b><i>Wasmannia auropunctata</i></b> (insectes)\n'+
			'</font>\n'+
			'<p>');
/* onglets */
document.writeln('<TABLE border=0 cellSpacing=0 cellPadding=0 width="95%" align="center">\n'+
				'<TR>\n'+
					'<TD align=middle height=25 colspan=3>');
						IssgTabs(dev,nb);
document.writeln(		'</TD>\n'+
				'</TR><TR>\n'+
					'<TD bgColor="#f0f0f0" width="5%"> &nbsp; </TD>\n'+
					'<TD bgcolor="#f0f0f0">\n'+
						'<br>');
}

/*----------------------------------------------------------------
	fin du tableau ISSG
------------------------------------------------------------------*/
function IssgEnd()
{
document.writeln('<p>&nbsp;\n'+
			'</TD>\n'+
			'<TD bgColor="#f0f0f0" width="3%"> &nbsp; </TD>\n'+
			'</TR>\n</TABLE>\n<p>\n'+
			'<center><a href="index.htm#how"><b>Retour au sommaire sur les PFF</b></a></center><br>');
}

/*- fin de traduit.js ----------------------------------------*/

