function evenements(doc){
var date_statement="";
var date_statement2="";
var time_statement="";
var today=new Date();
var month="";
var day="";
var year="";
//document.write(year);
function todays_date() {
var year=today.getYear();
var month=today.getMonth();
var day_of_week=today.getDay();
date_statement=""
date_statement2=""
document.month=""
month++; // So it's now between 1 - 12.
if(month==1) {
january(today.getDate());
document.month="janvier";
}
if(month==2) {
february(today.getDate());
document.month="f&eacute;vrier";
}
if(month==3) {
march(today.getDate());
document.month="mars";
}
if(month==4) {
april(today.getDate());
document.month="avril";
}
if(month==5) {
may(today.getDate());
document.month="mai";
}
if(month==6) {
june(today.getDate());
document.month="juin";
}
if(month==7) {
july(today.getDate());
document.month="juillet";
}
if(month==8) {
august(today.getDate());
document.month="ao&ucirc;t";
}
if(month==9) {
september(today.getDate());
document.month="septembre";
}
if(month==10) {
october(today.getDate());
document.month="octobre";
}
if(month==11) {
november(today.getDate());
document.month="novembre";
}
if(month==12) {
december(today.getDate());
document.month="d&eacute;cembre";
}
document.day=""
if(day_of_week==0)
document.day="dimanche";
if(day_of_week==1)
document.day="lundi";
if(day_of_week==2)
document.day="mardi";
if(day_of_week==3)
document.day="mercredi";
if(day_of_week==4)
document.day="jeudi";
if(day_of_week==5)
document.day="vendredi";
if(day_of_week==6)
document.day="Samedi";
}
function january(date) {
// if(date>1 && date<20)
// date_statement=" «  <Font color=#ff0000>L’APRÈS VIE<font color=#000000>  » avec  Jean-Jacques Charbonier, Jean-Pierre // Postel,<br>Pim van Lommel et Sylvie Déthiolaz.<img src='images/cale.gif' width=1 height=16 align=top 
// border=0><br><font color=#ff0000>Mercredi 19 Janvier 2011 à 20h<Font color=#ff0000>20 <font color=#000000>sur RTBF 
// Chaine 1 (Belgique)&nbsp;:&nbsp;&nbsp;<a class='type14' href='http://www.rtbf.be/tv/' 
// target='_blank'>http://www.rtbf.be/tv/</a>";
}
function february(date) {
// if(date==1)
// date_statement=" M&eacute;fiez-vous poissons d'avril !";
}
function march(date) {
// if(date==1)
// date_statement=" M&eacute;fiez-vous poissons d'avril !";
}
function april(date) {
// if(date==1)
// date_statement=" M&eacute;fiez-vous poissons d'avril !";
}
function may(date) {
// if(date==1)
// date_statement=" M&eacute;fiez-vous poissons d'avril !";
}
function june(date) {
// if(date==24)
// date_statement=" Qu&eacute;bec...Bonne Saint-Jean Baptiste!";
}
function july(date) {
// if(date==1)
// date_statement=" Canada...Bonne f&ecirc;te Nationale!";
}
function august(date) {
// if(date>4 && date<31)
// date_statement="<font color=#006A6A>La série <font color=#000000>&#171;&nbsp;Enquêtes Extraordinaires&nbsp;&#187;<font // color=#006A6A> de Stéphane Allix<br><font color=#006A6A>est présentement diffusée sur TV5 &#151; Québec. Voir // // // // l'horaire de diffusion à l'adresse suivante : <a class='type14' href='http://www.tv5.ca/emissions/enquetes-// // 
// extraordinaires-100367252.html' target='_blank'>http://www.tv5.ca/emissions/enquetes-extraordinaires-// // 
// 100367252.html</a><br><font Color=#6C6C6C>( heure avancée d'été de Montréal&#151;Québec = GMT-4<font color=#6C6C6C> ).";
}
function september(date) {
// if(date==21)
// date_statement=" Journ&eacute;e Internationale de la Paix et l'&eacute;quinoxe, bon passage !";
}
function october(date) {
//  if(date>18 && date<24)
//  date_statement="<font color=#006A6A>Jeudi, le 28 mai 2009 :&nbsp;&nbsp;<font color=#000000>&#171;&nbsp;Ces voix 
// venues de l'Au-delà&nbsp;&#187;</a><br><font color=#006A6A>en direct à 23h, heure de Paris, ou à 17h00 <font 
// color=#6C6C6C>( heure avancée de Montréal&#151;Québec = GMT-4<font color=#6C6C6C> ),<br>sur le site de 
// &#171;&nbsp;idFM 98.0&nbsp;&#187;, radio Enghien.";
}
function november(date) {
// if(date==1)
// date_statement=" Bonne Toussaint !";
}
function december(date) {
if(date==25)
date_statement=" Joyeuse Fête de la Lumière&nbsp;!";
}
// 
function time_of_day() {
var time=today.getHours();
time_statement=""
if(time>=6 && time<8)
time_statement="D&eacute;ja sur le Net !,"
if(time>=8 && time<12)
time_statement="Bonne matin&eacute;e,"
if(time>=12 && time<13)
time_statement="Bon app&eacute;tit," 
if(time>=13 && time<18)
time_statement="Bon apr&egrave;s-midi,"
if(time>=18 && time<23)
time_statement="Bonsoir,"
if(time>=23 || time<6)
time_statement="Salut les couche-tard,"
}
// -- End Hiding Here --></FONT>
// --              </script>
// --              <script language="JavaScript" type="text/javascript">
// --  <!-- Hide the script from non-Javascript browsers
//
// filter:alpha(opacity=80);-moz-opacity:0.85;
//
// style=filter:Alpha(opacity=70)
//
// background=\"images/cale.jpg\" style=\"filter:alpha(opacity=70)\"
time_of_day();
todays_date();

if (date_statement == ""){
document.writeln(" ");
}
else {
		document.writeln('<IMG SRC=\"images/cale.gif\" width=\"2\" height=\"6\" align=\"absmiddle\" border=\"0\">');
		document.writeln('<br>');
		document.writeln('<TABLE width=100% bgcolor="#CEFDF9" cellpadding="0" cellspacing="0" bordercolor="#ffffff" border="0"><TR><TD bgcolor="#CEFDF9" width="61 bgcolor="#ffffff"><IMG SRC=\"images/avoir.jpg\" width=\"61\" height=\"57\" align=\"left\" border=\"0\"><td>');
		document.writeln("<dt><span class=texte11px><B><font color=#000000>"+date_statement+" "+"<dt>");
document.writeln('</td></div></TD></TR></TABLE>');

	document.writeln("<IMG SRC=\"images/cale.gif\" width=\"2\" height=\"20\" align=\"absmiddle\" border=\"0\">");
 		}
}
