function populateSWFbadge(nomeFile, dimW, dimH, idDiv,strip){

                sito=nomeFile;
                nomeFile=nomeFile+"leggiFumetto.swf";
                
                var body = document.getElementsByTagName("body")[0];
				var Divcreato=document.createElement('div'); 
				Divcreato.id='ContenitoreBadge';

				body.appendChild(Divcreato); 
								
				var Divcreato=document.getElementById('ContenitoreBadge'); 
										
				with (Divcreato.style) {
					zIndex="100000000";
	                position='absolute';
	                display='block';
	                width='945px';
                    height='385px';
	                top='50%'; 
	                left='50%';
                	marginTop='-192px';
	                marginLeft='-472px';
                    padding='0px';
                    visibility='visible';
    			}




	var shtml = " <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\""
	shtml += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\"" 
	shtml += " width=\""+dimW+"\" height=\""+dimH+"\" ID=\"mainMovie\" VIEWASTEXT title=\"Chiudi il fumetto\">"
	shtml += " <param name=\"movie\" value=\""+nomeFile+"\">"
	shtml += " <param name=\"quality\" value=\"high\">"
	shtml +="  <param name=\"wmode\" value=\"transparent\">"
	shtml += " <param name=FlashVars value=\"strip1="+strip+"&sito="+sito+"\">"
	shtml +="  <PARAM NAME=\"AllowScriptAccess\" VALUE=\"always\">"
	shtml += " <embed src=\""+nomeFile+"\" AllowScriptAccess='always' "
	shtml += " FlashVars=\"strip1="+strip+"&sito="+sito+"\""
	shtml += " quality=\"high\" wmode=\"transparent\""
	shtml += " swLiveConnect=\"true\""
	shtml += " name=\"mainMovie\""
	shtml += " pluginspage=\"http://www.macromedia.com/go/getflashplayer\""
	shtml += " type=\"application/x-shockwave-flash\""
	shtml += " width=\""+dimW+"\""
	shtml += " height=\""+dimH+"\">"
	shtml += " </embed>"
	shtml += "</object>"
    
	Divcreato.innerHTML = shtml;
}
//******************************************************************************************************************

function chiudibadge(){
var mdd = document;
var df = mdd.getElementById("ContenitoreBadge");
df.style.visibility='hidden';
}

