function AxRep(){
  if (!document.all || !window.print || window.opera) return;
  if (document.getElementsByTagName) { 

//object   
	var theObjects = document.getElementsByTagName("object");
   for (var i = 0; i < theObjects.length; i++) {
      //ajout d'un div autour de object
      div = theObjects[i].parentNode.insertBefore(document.createElement("div"), theObjects[i]);
      div.style.display="none";
      div.appendChild(theObjects[i]);

      if(div.firstChild.data){
			// Fix for Flash Satay style objects
			div.firstChild.removeAttribute('data');
		}
      
      //Recuperation des flashvars
      var theParams = div.getElementsByTagName("param");
		for (var j = 0; j < theParams.length; j++) {
			if(theParams[j].name.toLowerCase() == 'flashvars'){
				var theFlashVars = theParams[j].value;
            break;
			}
		}
      
      //changement des flashvars
      var theInnnerHTML = div.innerHTML;
		var re = /<param name="FlashVars" value="">/ig;
		theInnnerHTML = theInnnerHTML.replace(re, "<param name='FlashVars' value='" + theFlashVars + "'>");
		div.outerHTML = theInnnerHTML;
	}

//embed
	var embs = document.getElementsByTagName("embed");
	for (i=0; i<embs.length; i++) {
		embs[i].outerHTML = embs[i].outerHTML;
	}
 }
}
/*
// passe le_className un nom de class et le script function que sur cette class
function AxRep2(le_className){
  if (!document.all || !window.print || window.opera) return;
  if (document.getElementsByTagName) { 


//object   
	var theObjects = document.getElementsByTagName("object");
   for (var i = 0; i < theObjects.length; i++) {
      if (theObjects[i].className == le_className) {
		  //ajout d'un div autour de object
		  div = theObjects[i].parentNode.insertBefore(document.createElement("div"), theObjects[i]);
		  div.style.display="none";
		  div.appendChild(theObjects[i]);
	
		  if(div.firstChild.data){
				// Fix for Flash Satay style objects
				div.firstChild.removeAttribute('data');
			}
		  
		  //Recuperation des flashvars
		  var theParams = div.getElementsByTagName("param");
			for (var j = 0; j < theParams.length; j++) {
				if(theParams[j].name.toLowerCase() == 'flashvars'){
					var theFlashVars = theParams[j].value;
				break;
				}
			}
		  
		  //changement des flashvars
		  var theInnnerHTML = div.innerHTML;
			var re = /<param name="FlashVars" value="">/ig;
			theInnnerHTML = theInnnerHTML.replace(re, "<param name='FlashVars' value='" + theFlashVars + "'>");
			div.outerHTML = theInnnerHTML;
	  }
	}

//embed
	var embs = document.getElementsByTagName("embed");
	for (i=0; i<embs.length; i++) {
		if (embs[i].className == le_className) {
			embs[i].outerHTML = embs[i].outerHTML;
		}
	}
 }
}


*/