function placerFlash(sClassId, sVersion, sName, sWidth, sHeight, sTitle) {
	document.write('<object classid="clsid:'+sClassId+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+sVersion+'" width="'+sWidth+'" height="'+sHeight+'" title="'+sTitle+'">');
	document.write('<param name="movie" value="'+sName+'">');
	document.write('<param name="quality" value="high">');
	document.write('<embed src="'+sName+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+sWidth+'" height="'+sHeight+'">');
	document.write('</embed>');
	document.write('</object>');
  }
function showTr(sName){
	document.getElementById(sName).style.display = '';
}
function hideTr(sName){
	document.getElementById(sName).style.display = 'none';
}
function hideNonSelectedTr(iNumTr, iThisTr){
	i=0;
	while(i<iNumTr){
		if(i != iThisTr){
			document.getElementById(i).style.display = 'none';
		}
	++i;
	}
}
function switchTr(sTrToShow, sTrToHidde){
	//TR to show
	document.getElementById(sTrToShow).style.display = '';
	document.getElementById(sTrToHidde).style.display = 'none';
}
function writeCadreValue(sCadreValue){
	document.getElementById('cadre_value').value = sCadreValue;
	}
function switchImage(sDiv, sImage){
	document.images[sDiv].src = sImage;
}
<!--
function popup(theURL,winName,features) { 

  window.open(theURL,winName,features);
}
function isEmpty(fieldName,strng) {
var error = "";
  if (strng.length == 0) {
     error = fieldName + " est vide.\n"
  }
return error;	  
}
function checkHeard (strng) {
var error = "";
if (strng == "") {
   error = "Vous avez entendu parler de Pop-entity par ....\n";
}
return error;
}
function checkWholeForm(theForm) {

    var why = '';
	why += checkHeard(theForm.heard.options[theForm.heard.selectedIndex].value);
    if (why != "") {
       alert(why);
       return false;
    }else{
	return true
	;}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function checkCheckOut(theForm) {
	var error = "";
	if (theForm.agree[0].checked == false) {
	   alert("Choisissez une action!.\n");
	   return false;
	}
	return true;
}
function PrintThisPage() 
{ 
   var sOption="toolbar=yes,location=no,directories=yes,menubar=yes,"; 
       sOption+="scrollbars=yes,width=720,height=600,left=100,top=25"; 

   var sWinHTML = document.getElementById('content').innerHTML; 
   
   var winprint=window.open("","",sOption); 
       winprint.document.open(); 
	   winprint.document.write("<html>");   
       winprint.document.write('<LINK href=../_lib/_css/global.css rel=Stylesheet>');
	   winprint.document.write("<body onLoad='javascript:window.print();'>");
       winprint.document.write(sWinHTML);          
       winprint.document.write('</body>'); 
	   winprint.document.write("</html>");
       winprint.document.close(); 
       winprint.focus(); 
	   
}
//-->