if(условие) {t=text.split('[play]'); if(t[1]) {t2=t[1].split('[/play]'); if(t2[0]) {var autostart='true'; if(loaded) autostart='false'; text=text.replace('[play]'+t2[0]+'[/play]','<embed type="application/x-shockwave-flash" src="http://mpchat.com/blank/player.swf" allowfullscreen="false" flashvars="file='+t2[0]+'&autostart='+autostart+'" width="250" height="20">'); }}}