<!-- debut du script
var fenetreStage;
var hwsDiagComment = null;
var URLComments;

function afficheStage(message,hauteur,largeur) {
  fenetreStage = window.open(message, 'titre', 'toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,'+'width='+largeur+',height='+hauteur);
  fenetreStage.focus();
  fenetreStage.document.close();
  return false;
}

function afficheComment(message,hauteur,largeur) {
  fenetreStage = window.open(message, 'titre', 'toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,'+'width='+largeur+',height='+hauteur);
  fenetreStage.focus();
  fenetreStage.document.close();
  return false;
}

function changeBackGround(nomTableau, texte) {
  return false;
}

function changeCellColorOver(myObjectAMoi) {
  myObjectAMoi.style.background='#aaaaaa';
  return false;
}
function changeCellColorOut(myObjectAMoi) {
  myObjectAMoi.style.background='#eeeeee';
  return false;
}

function showDiv (idDiv) {
  document.getElementById(idDiv).style.display="block";
}

function hideDiv (idDiv) {
  document.getElementById(idDiv).style.display="none";
}

function goSendMail() {
  var titl=document.hobbesworld.title.value;
  var message=document.hobbesworld.message.value;
  if (titl != "") { 
    if (message != "") { 
      return true;
    }
    else {
      alert ("Vous devez entrer un Message"); 
    }
  }
  else {
    alert ("Vous devez entrer un Titre"); 
  }
  return false;
}

function gethwsDiagComment(){
	if(window.XMLHttpRequest)
	   hwsDiagComment = new XMLHttpRequest(); 
	else if(window.ActiveXObject){
	   try {
                hwsDiagComment = new ActiveXObject("Msxml2.XMLHTTP");
            } catch (e) {
                hwsDiagComment = new ActiveXObject("Microsoft.XMLHTTP");
            }
	}
	else {
	   alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
	   hwsDiagComment = false; 
	} 
}

function updateComments(){
   gethwsDiagComment();
	hwsDiagComment.onreadystatechange = function(){
		if(hwsDiagComment.readyState == 4 && hwsDiagComment.status == 200){
			retourHTTP = hwsDiagComment.responseText;
            document.getElementById("commentaires").innerHTML=retourHTTP;
		}
	}
	hwsDiagComment.open("POST","/loadcommentsdiv.php",true);
    hwsDiagComment.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=ISO-8859-1");
    hwsDiagComment.setRequestHeader("Accept-Language", "fr;q=0.8");
	hwsDiagComment.send("URLComments="+URLComments);
}


sitemapStr="<div class=\"sitemapDiv\">";
sitemapStr=sitemapStr+"\n<p><a class=\"titlemap\" href=\"/informatique.php\">Informatique</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/bureautique/index.php\">Bureautique</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/reseaux/index.php\">Réseaux</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/maintenance/index.php\">Maintenance</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/telnet/index.php\">Session</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/ftp/index.php\">FTP</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/unix/index.php\">Unix</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/db/index.php\">BdD &amp; SQL</a></p>";
sitemapStr=sitemapStr+"\n</div>";
sitemapStr=sitemapStr+"\n<div class=\"sitemapDiv\">";
sitemapStr=sitemapStr+"\n<p><a class=\"titlemap\" href=\"/programmation.php\">Programmation</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/algorithmes/index.php\">Algorithmes</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/php/index.php\">PHP</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/perl/index.php\">Perl</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/css/index.php\">CSS</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/html/index.php\">HTML</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/cgi/index.php\">CGI</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/javascript/index.php\">Javascript</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/vba/index.php\">V.B.A (Macro)</a></p>";
sitemapStr=sitemapStr+"\n</div>";
sitemapStr=sitemapStr+"\n<div class=\"sitemapDiv\">";
sitemapStr=sitemapStr+"\n<p><a class=\"titlemap\" href=\"/loisirs.php\">Loisirs</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/botanique/index.php\">Botanique</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/gallery/index.php\">Gallerie Photos</a> <span style=\"color:red\">!</span></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/photos/index.php\">La Photographie</a> <span style=\"color:red\">!</span></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/logique/index.php\">Jeux Logiques</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/films/index.php\">Films</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/bd/index.php\">Bandes Dessinées</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/livres/index.php\">Livres</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/musique/index.php\">Musique</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/comiques/index.php\">Comiques</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/concerts/index.php\">Concerts &amp; Clips</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/citations/index.php\">Citations</a></p>";
sitemapStr=sitemapStr+"\n</div>";
sitemapStr=sitemapStr+"\n<div class=\"sitemapDiv\">";
sitemapStr=sitemapStr+"\n<p><a class=\"titlemap\" href=\"/outils.php\">Outils</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/outilsweb/index.php\">Outils Web</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/fetes/index.php\">Fêtes</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/loganalizer/index.php\">Log Analizer</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/linkvalidator/index.php\">Link Validator</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/hws/hwsmemonotes/index.php\">HWS Memonotes</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/hws/hwsrename/index.php\">HWS Rename</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/outils/ultimateconvertor.php\">Ultimate Convertor</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/reseaux/calcip.php\">Calculatrice IP</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/outilsweb/translatehtml.php\">Traducteur HTML</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/utiles/index.php\">Logiciels Utiles</a></p>";
sitemapStr=sitemapStr+"\n</div>";
sitemapStr=sitemapStr+"\n<div class=\"sitemapDiv\">";
sitemapStr=sitemapStr+"\n<p><a class=\"titlemap\" href=\"/divers.php\">Divers</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/divers/index.php\">Listes</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/opinions/index.php\">Opinions</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/essentiel/index.php\">Essentiel</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/dico/index.php\">Dicos</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/complots/index.php\">Complots</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/bookmark/index.php\">Liens</a></p>";
sitemapStr=sitemapStr+"\n<p><a class=\"cmap\" href=\"/contact.php\">Contact</a></p>";
sitemapStr=sitemapStr+"\n</div>";

//  Fin du script -->

