onepixelout_objects=new Array();onepixelout_players=new Array();onepixelout_initialized=0;function ap_stopAll(playerID){if(!onepixelout_initialized){onepixelout_getPlayers();onepixelout_initialized=1;}for(var i=0;i<onepixelout_players.length;i++){try{if(onepixelout_players[i]!=playerID){document.getElementById(onepixelout_objects[i]).SetVariable('closePlayer',1);}else{document.getElementById(onepixelout_objects[i]).SetVariable('closePlayer',0);}}catch(errorObject){}}}function onepixelout_getPlayers(){i=0;$('.onepixelout > [id^=swf]').each(function(){onepixelout_objects[i]=$(this).attr('id');flashvars=$('#'+onepixelout_objects[i]+' > param').filter('[name=flashvars]').attr('value');index1=flashvars.indexOf('playerID');index2=flashvars.indexOf('&');onepixelout_players[i++]=flashvars.substring(index1+9,index2);});};