url_site='http:\/\/www.biotribune.com';
urlImage='http:\/\/www.biotribune.com\/images\/';
function AfficherLigneMenu(lien,titre)
	{
	document.write('<tr>\n<td class="hm04" valign="top">&#149;&nbsp;</td>\n<td class="actug" valign="top"><a class="menu_left" href="'+url_site+'\/'+lien+'">'+titre+'</a></td>\n<td class="gm02">&nbsp;</td>\n</tr>');
	}

function AfficherMenu(rubrique,contenu,hauteur)
	{
	document.write('<tr>\n<td colspan="2"><img src="'+urlImage+'menu_left/'+rubrique+'.gif" width="140" height="'+hauteur+'" border="0"></td>\n</tr>\n<tr>\n<td>\n');
	document.write('<table border="0" cellspacing="0" cellpadding="0">\n<tr>\n<td class="temp" valign="bottom"><img src="'+urlImage+'body/gcc01.gif" width="10" height="10"></td>\n<td class="gm01"><img src="'+urlImage+'body/trans.gif" width="126" height="10"></td>\n<td class="temp" valign="bottom"><img src="'+urlImage+'body/gcc02.gif" width="10" height="10"></td>\n</tr>\n');
	for (i=0;i<contenu.length;i++)
		{
		AfficherLigneMenu(contenu[i][0],contenu[i][1]);
		}
	document.write('<tr>\n<td class="temp"><img src="'+urlImage+'body/gcc04.gif" width="10" height="10"></td>\n<td class="gm03">&nbsp;</td>\n<td class="temp"><img src="'+urlImage+'/body/gcc03.gif" width="10" height="10"></td>\n</tr></table>');
	document.write('\n</td>\n</tr>\n');
	}
/*
function AfficherMenu(rubrique,contenu,hauteur)
	{
	document.write('<tr>\n<td colspan="2"><img src="'+urlImage+'menu_left/'+rubrique+'.gif" width="140" height="'+hauteur+'" border="0"></td>\n</tr>\n<tr>\n<td>\n<table border="0" cellspacing="0" cellpadding="3" width="140">');
	for (i=0;i<contenu.length;i++)
		{
		AfficherLigneMenu(contenu[i][0],contenu[i][1]);
		}
	document.write('</table>\n</td>\n</tr>\n');
	}
*/
function cartouche(texte,classe,align2)
	{
	if (align2!="") alignement2=' align="'+align2+'"';
	else alignement2=' align="center"';
	document.write('<table border="0" cellspacing="0" cellpadding="0"'+alignement2+'>\n<tr>\n<td class="temp"><img src="'+urlImage+'body/'+classe+'ct01.gif" width="7" height="20"></td>\n<td class="'+classe+'top" nowrap>&nbsp;'+texte+'&nbsp;</td>\n<td class="temp"><img src="'+urlImage+'body/'+classe+'ct02.gif" width="7" height="20"></td>\n</tr>\n</table>');
	}
function deb_tableau(largeur,classe,titre,align,align2)
	{
	var alignement, lg_img, lg, hauteurImgTransp, classeTD;
	var IeNs = detectionNavigateur();
	var decalage = '';
	if (align != '' && align != null) alignement=' align="'+align+'" ';
	else alignement='';
	if (!IeNs && align=='center' && classe != "f" && classe != "g")
		{
		var lgDecalage = (484 - largeur)/2;
		var decalage = '<td rowspan="4" class="temp"><img src="'+urlImage+'body/trans.gif" width="'+lgDecalage+'" height="20"></td>';
		}
	if (largeur!='')
		{
		lg_img=largeur-20;
		lg=' width="'+largeur+'"';
		}
	else
		{
		lg_img=20;
		lg='';
		}
	if (classe == "f")
		{
		hauteurImgTransp = 10;
		classeTD = ' class="right"';
		}
	else if (classe == "g")
		{
		hauteurImgTransp = 10;
		classeTD = ' class="actug"';
		}
	else if (classe == "h")
		{
		hauteurImgTransp = 1;
		classeTD = ' class="actug"';
		classe = "g"
		}
	else
		{
		hauteurImgTransp = 20;
		classeTD = ' class="actu"';
		}
	document.write('<table border="0" cellspacing="0" cellpadding="0"'+lg+alignement+'>\n<tr>'+decalage+'<td class="temp">&nbsp;</td><td class="temp"><img src="'+urlImage+'body/trans.gif" width="'+lg_img+'" height="'+hauteurImgTransp+'"></td><td class="temp">&nbsp;</td></tr>\n<tr>\n<td class="temp" valign="bottom"><img src="'+urlImage+'body/'+classe+'cc01.gif" width="10" height="10"></td>\n<td class="'+classe+'m01">');
	if (titre != "" && titre != null) cartouche(titre,classe,align2);
	else document.write('<img src="'+urlImage+'body/trans.gif" width="'+lg_img+'" height="'+hauteurImgTransp+'">');
	document.write('</td>\n<td class="temp" valign="bottom"><img src="'+urlImage+'body/'+classe+'cc02.gif" width="10" height="10"></td>\n</tr>\n<tr>\n<td class="'+classe+'m04">&nbsp;</td>\n<td'+classeTD+' valign="top">');
	}
function fin_tableau(classe)
	{
	document.write('\n</td><td class="'+classe+'m02">&nbsp;</td>\n</tr>\n<tr>\n<td class="temp"><img src="'+urlImage+'body/'+classe+'cc04.gif" width="10" height="10"></td>\n<td class="'+classe+'m03">&nbsp;</td>\n<td class="temp"><img src="'+urlImage+'/body/'+classe+'cc03.gif" width="10" height="10"></td>\n</tr></table>');
	}
// Actualités
t01=new Array(new Array("articles/actu/revue/index.php","Revue de presse scientifique"),new Array("articles/actu/science/index.php","Science et santé dans les médias"),new Array("articles/actu/infos/index.php","Informations Professionnelles<br>et économiques"),new Array("articles/actu/veille/index.php","Veille institutionnelle<br>et recommandations"),
new Array("articles/actu/vds/index.php","Vie des Sociétés"),new Array("innovation/index.php","Innovations"));
//,new Array("articles/actu/evenements/","Evénements"));
// Revue des connaissances
t02=new Array(new Array("articles/dossiers/biomedicaux/index.php","Dossiers Biomédicaux"),new Array("articles/dossiers/perspectives/index.php","Perspectives"),new Array("articles/dossiers/entretiens/index.html","Entretiens"),new Array("articles/dossiers/cas_cliniques/index.html","Cas cliniques"),new Array("articles/dossiers/congres/index.php","Compte-rendu<br>de congrès"),new Array("QCMs/","QCM"));
// Juridique et réglemenatire
t03=new Array(new Array("articles/dossiers/juridique/index.html","Juridique"),new Array("articles/dossiers/info_com/index.html","Informatique<br>et Telecom"),new Array("articles/dossiers/assurance_qualite/index.php","Assurance qualité"),new Array("articles/dossiers/nomenclature/index.html","Nomenclature"),new Array("articles/dossiers/rmo/index.html","RMO"));
// Biotribune technique
//t04=new Array(new Array("vie_soc/index.php?mode=innov","Innovations"),new Array("articles/actu/reactovigil/","Réactovigilance"),new Array("articles/dossiers/controle_qualite/","Contrôle de qualité"));
// Le tour du Web
t05=new Array(new Array("articles/dossiers/tour_du_web/hemato/index.html","Hématologie"),new Array("articles/dossiers/tour_du_web/immuno/index.html","Immunologie"),new Array("articles/dossiers/tour_du_web/parasito/index.html","Parasitologie<br>Mycologie"),new Array("articles/dossiers/tour_du_web/toxicologie/index.html","Toxicologie"),new Array("articles/dossiers/tour_du_web/virologie/index.html","Virologie"),new Array("articles/dossiers/tour_du_web/bacterio/index.html","Bactériologie"),new Array("articles/dossiers/tour_du_web/biochimie/index.html","Biochimie"),new Array("articles/dossiers/tour_du_web/sitesincont/index.html","Les sites incontournables"));
// Les cahiers de l'internat
//t06=new Array(new Array("articles/dossiers/cahiers_internat/","Les cahiers de l\'internat"));


// affichage du module de recherche
function modRecherche()
	{
	var classTab, champRecherche, coinTab;
	var IeNs = detectionNavigateur();
	// détection navigateur
	if (IeNs)
		{
		var champRecherche='<input type="text" size="15" class="champSearch" name="q" value="Rechercher" onFocus="if (this.value==\'Rechercher\') this.value=\'\';">';
		var classTab = ' class="search"';
		IeNs = 1;
		}
	else
		{
		var champRecherche='<input type="text" size="10" name="q" value="Rechercher" onFocus="if (this.value==\'Rechercher\') this.value=\'\';">';
		var classTab = ' class="accesa"';
		}
	// écriture du champ
	if (IeNs) aEcrire='<tr>\n<td colspan="2" background="'+urlImage+'fond/ffffff.gif">\n<form method="get" action="'+url_site+'/recherche/" name="rechercher">\n<table border="0" cellspacing="0" cellpadding="0" width="145">\n<tr>\n<td'+classTab+'>\n<table border="0" cellspacing="0" cellpadding="0" width="145">\n<tr>\n<td><img src="'+urlImage+'body/trans.gif" width="10" height="10"></td>\n<td><br>\n'+champRecherche+'<br>\n<a class="rechercher" href="'+url_site+'/recherche/">Recherche affinée</a>\n</td>\n<td class="temp"><img src="'+urlImage+'body/trans.gif" width="10" height="10"></td>\n</tr>\n<tr height="10">\n<td class="temp"><img src="'+urlImage+'body/trans.gif" width="10" height="20"></td>\n<td class="temp"><img src="'+urlImage+'body/trans.gif" width="125" height="20"></td>\n<td class="temp"><img src="'+urlImage+'body/trans.gif" width="10" height="20"></td>\n</tr>\n</table></td>\n</tr>\n</table></form></td>\n</tr>';
	else aEcrire='<tr>\n<td colspan="2" background="{SITE_ROOT}/images/fond/ffffff.gif">\n<form method="get" action="'+url_site+'/recherche/" name="rechercher">\n<table border="0" cellspacing="0" cellpadding="0" width="145">\n<tr>\n<td class="accesb">&nbsp;</td>\n<td class="accesa"><br>\n<input type="text" size="10" name="q" value="Rechercher" onFocus="if (this.value==\'Rechercher\') this.value=\'\';"><br>\n<a class="menu2" href="'+url_site+'/recherche/">Recherche affinée</a>\n</td>\n<td class="accesb">&nbsp;</td>\n</tr>\n<tr>\n<td><img src="'+urlImage+'menu_right/c04.gif" width="10" height="10" border="0"></td>\n<td class="accesb" width="125">&nbsp;</td>\n<td><img src="'+urlImage+'menu_right/c03.gif" width="10" height="10" border="0"></td>\n</tr>\n</table></form></td>\n</tr>';
	document.write(aEcrire);
	}
function menu_left()
	{
	modRecherche();
	AfficherMenu("t_01",t01,48);
	AfficherMenu("t_02",t02,70);			
	AfficherMenu("t_03",t03,72);
	AfficherMenu("t_05",t05,60);
	}
function ouvrirEntete()
	{
	document.write('<table width="780" border="0" cellpadding="0" cellspacing="0">\n<tr>\n<td rowspan="3" class="temp"><a href="http://www.biotribune.com/accueil/"><img src="'+urlImage+'entete/b1.gif" width="282" height="99" border="0"></a></td>\n<td colspan="2" class="temp"><img src="'+urlImage+'entete/b2.gif" width="498" height="24" border="0"></td>\n</tr>\n<tr>\n<td width="468" height="60" class="temp">');
	}
function fermerEntete()
	{
	document.write('</td>\n<td class="temp"><img src="'+urlImage+'entete/b3.gif" width="30" height="60" border="0"></td>\n</tr>\n<tr>\n<td colspan="2" class="temp"><img src="'+urlImage+'entete/b4.gif" width="498" height="15" border="0"></td>\n</tr>\n</table>');
	}
	
function detectionNavigateur()
	{
	if (document.getElementById && !document.all)
		{
		return true;
		}
	else if (document.all)
		{
		return true;
		}
	else
		{
		return false;
		}
	}
function moisFrancais(mois)
	{
	var tabMoisFrancais = new Array;
	tabMoisFrancais["01"] =  "Janvier";
	tabMoisFrancais["02"] =  "Février";
	tabMoisFrancais["03"] =  "Mars";
	tabMoisFrancais["04"] =  "Avril";
	tabMoisFrancais["05"] =  "Mai";
	tabMoisFrancais["06"] =  "Juin";
	tabMoisFrancais["07"] =  "Juillet";
	tabMoisFrancais["08"] =  "Août";
	tabMoisFrancais["09"] =  "Septembre";
	tabMoisFrancais["10"] =  "Octobre";
	tabMoisFrancais["11"] =  "Novembre";
	tabMoisFrancais["12"] =  "Décembre";
	return tabMoisFrancais[mois];
	}