<style type="text/css">  
<!--  
.btnMp3 {  
    background:transparent url(/static/forums/mic.png) no-repeat 20px 20px;  
    background-position:3px 3px;  
}  
-->  
</style>  
<script type="text/javascript">
    var mp3addr;
    var mp3upload_plugins = {
        Mp3upload:{  
            c:'btnMp3',t:'语音回复',h:1,e:function(){  
                var _this=this; 
                $('<a href="/forum/mp3upload/{{=forum.id}}/{{=slug}}"></a>').fancybox( {
                    type : 'iframe',
                    autoSize : false,
                    width : 700,
                    height: 350,
                    afterClose:function(){
                        if(mp3addr){
                            _this.pasteHTML("<a href="+mp3addr+">录音</a>");
                        }
                     } 
                 }).click();
                
            }  
        }
    }
</script>
