function AfficheFlashVU(id,pays){document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="0" height="0" id="flashdev" align="middle">');document.write('<param name="movie" value="http://www.pixmania.com/dev/gui_web/grafx/flashprod.swf" />');document.write('<param name="quality" value="high" />');document.write('<param name="bgcolor" value="#ffffff" />');document.write('<param name="flashvars" value="&user_id='+id+'&pays='+pays+'" />');document.write('<embed src="http://www.pixmania.com/dev/gui_web/grafx/flashprod.swf" flashvars="&user_id=&user_id='+id+'&pays='+pays+'" quality="high" bgcolor="#ffffff" width="0" height="0" name="flashdev" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');document.write('</object>')}function test_br_flash(id,pays){var isFlash=false;if(navigator.plugins&&navigator.plugins.length>0){var pluginsArrayLength=navigator.plugins.length;for(pluginsArrayCounter=0;pluginsArrayCounter<pluginsArrayLength;pluginsArrayCounter++){if(navigator.plugins[pluginsArrayCounter].name.indexOf("Shockwave Flash")>=0){isFlash=true;break}}if(isFlash){AfficheFlashVU(id,pays)}else{var xhr_object=null;if(window.XMLHttpRequest){xhr_object=new XMLHttpRequest();xhr_object.open("GET",'http://www.pixmania.com/dev/process/act_vu.php?fla=1&pays='+pays,true);xhr_object.send(null)}}}else{AfficheFlashVU(id,pays)}}