<!--

// Vous voulez personnaliser l'aspect et l'impression à donner aux infos
// virales de votre site ?
// Il vous suffit de changer les valeurs suivantes dans vos préférences :
//
// Changer la valeur "count" changera le nombre de colonnes
// affichées.
// Changer la valeur "target" en "new" affichera le lien dans
// une nouvelle fenêtre.

// **********************************************************************

var bgcolour_main     = '#cccccc'
var bgcolour_heading  = '#99cccc'
var text_colour       = '#000000'
var link_colour       = '#000099'
var font_size         = '1'
var font_face         = 'verdana, arial, helvetica, sans-serif'
var count             =  10   // le nombre doit être compris entre 1 et 10
var first_column      = 'yes' // 'yes' ou 'no'
var cellspacing       = 'yes' // 'yes' ou 'no'
var target            = 'new' // '_self' ou 'new'

// **********************************************************************
//  Surtout, ne changez rien en-dessous de cette ligne !


var htmltxt = "";
var font_desc = '<font face="' + font_face + '" size="'
  + font_size + '" color="' + text_colour + '">';
var tmp_count = 0;
    
if (first_column == "no") { 
  colspan = 1;
} else {
  colspan = 2;
}

if (cellspacing == "no") { 
  cellspacing = 0;
} else {
  cellspacing = 2;
}  

if (count > 0) {
  if (count > 10) {count = 10}
  htmltxt += '\n<table cellpadding="6" cellspacing="' 
  + cellspacing + '" border="0" bgcolor="#ffffff">';
  if (count == 1) {
    htmltxt += '\n<tr><td colspan="' + colspan + '" bgcolor="'
    + bgcolour_heading + '">' + font_desc
    + '<b>Top des canulars</b></font></td></tr>';
  } else { 
    htmltxt += '\n<tr><td colspan="' + colspan + '" bgcolor="'
    + bgcolour_heading + '">' + font_desc + '<b>Top '
    + count + ' des canulars</b></font></td></tr>';
  }

  for (var i=0; i<hoax.length; i+=3) {
    tmp_count++;
    if (tmp_count > count) {
      break;
    } else {
      if (first_column == "no") {
        htmltxt += '\n<tr><td bgcolor="' + bgcolour_main + '">' 
        + font_desc + '<a href="' + hoax[i+2] + '" target="' 
        + target + '"><font color="'
        + link_colour + '"><nobr>' + hoax[i+1]
        + '</nobr></font></a></font></td></tr>';
      } else {  
        htmltxt += '\n<tr><td bgcolor="' + bgcolour_main + '">' 
        + font_desc + '<nobr>' + hoax[i+0] 
        + '</nobr></font></td><td bgcolor="' + bgcolour_main + '">' 
        + font_desc + '<a href="' + hoax[i+2] + '" target="' 
        + target + '"><font color="'
        + link_colour + '"><nobr>' + hoax[i+1]
        + '</nobr></font></a></font></td></tr>';
      }
    }  
  }
} else {
  document.write
  ("===  Indiquez une valeur de Count > 0 ===");
}

// Veuillez ne pas supprimer la code après ce point. 


htmltxt += '\n<tr><td colspan="' + colspan + '" bgcolor="'
+ bgcolour_heading + '">' + font_desc 
+ 'Source : <a href="http://www.sophos.fr" target="' 
+ target + '"><font color="' + link_colour 
+ '">Sophos Anti-Virus</font></a></font></td></tr>';
htmltxt += '\n<tr><td colspan="' + colspan + '" bgcolor="'
+ bgcolour_heading + '">' + font_desc 
+ '<a href="http://www.sophos.fr/virusinfo/infofeed/" target="' 
+ target + '"><font color="' + link_colour 
+ '">Ajoutez cette info &agrave; votre site</font></a></font></td></tr>';
htmltxt += '\n</table>';

document.write(htmltxt);
//-->



/*
Code a placer entre les balises <BODY> et </BODY> 
<SCRIPT type="text/javascript" SRC="java/virus_2.js"></SCRIPT>

              xxxxxxxxxxxxx  Le code à copier  xxxxxxxxxxxxxxxxxx

<!-- Infos Sophos en continu : top des canulars - DEBUT -->
<script language="JavaScript1.1"
src="http://www.sophos.fr/virusinfo/infofeed/hoax.js"></script>

<SCRIPT type="text/javascript" SRC="java/virus_2.js"></SCRIPT>
<!-- Infos Sophos en continu : top des canulars - FIN -->

*/
