function resizeFlash(l,h) {
	var ff=getFlashMovieObject("flashfilm");
	if(document.body.style.height!=undefined) {
		document.body.style.height=h;
		document.body.style.width=l;
	}
	if(ff!=undefined) {
		ff.style.height=h;
		ff.style.width=l;
	}
}
function so_clearInnerHTML(obj) {
	// so long as obj has children, remove them
	while(obj.firstChild) obj.removeChild(obj.firstChild);
}
function recupereElement(nom) {
	if (document.getElementById) {
	    return document.getElementById(nom);
	} else if (document.all) {
	    return document.all[nom];
	}
	return undefined;
	
}
function REF_basculeFlash(params) {
	//alert(largeurFlash+" - "+hauteurFlash);
	var contenu=recupereElement('contenuHTML');
	if(contenu!=undefined) {
		//document.getElementById('contenuHTML')="";
		so_clearInnerHTML(contenu);
	}
	resizeFlash(largeurFlash,hauteurFlash);
	var ff=getFlashMovieObject("flashfilm");
	ff.SetVariable('REF_action',''+params);
	document.body.scroll='no';
//	document.getElementById('contenuHTML').innerHTML="";
	
}

