function Blogger(){ var id = ['7545310787835285929'],jon = [],all,sta,end,con; this.jon = function(x){ all = x.feed.openSearch$totalResults.$t;sta = x.feed.openSearch$startIndex.$t;end = x.feed.openSearch$itemsPerPage.$t; for(i=0;i'+con[3].replace(/\(@/mg,'

').replace(/:\)/mg,':

').replace(/'/mg,",'").replace(/"/mg,'\')">').replace(/\[/mg,'36){if(casi.match(' -'))casi = casi.split(' -')[0];if(ten.length>36-casi.length)ten = ten.slice(0,36-casi.length)+'..'} arr.push('') }return arr.join('') }; this.all = function(x,c){ var p = x.getElementsByTagName('p'),s = ghi[this.ghi()].split('.'),k = ''; for(j=0;j-1)M.cek(p[j]) } }; this.pag = function(s,x,y,c,d){ var min = x - 10,max = x + 10,pag = Math.ceil(c/y),arr = new Array(); for(j=min;j=0)arr.push('
  • '+(x==j?((j+1)+'/'+pag):(j+1))+'
  • '); else max++; return '

    '+(x>0?'':'')+(x':'')+'

    '+arr.join('') }; var nec = ''; this.sow = function(sql,page){ var k,s = this.gen('sql');if(s.match('M=')&&s.match('/')){s = s.split('/');for(i=0;i0){M.sen('sql',s,1); if(isNaN(sql))sec = 'music';else sec = sec.toString().replace(/music/mg,''); M.sub('musics',sql,page); $('lis').innerHTML = M.lie(M.zip(Nson));M.cfo(); $('pms').innerHTML = M.pag(sql,page,30,Nol,'sow') }else M.non('không thấy nhạc..') }) }; this.flm = function(x){ this.sto(); var z = this.zip(Fson),stt = z[x][0],url = z[x][1],ten = z[x][2],eng = z[x][3],click = z[x][4],rate = z[x][5]; ato = setTimeout('M.aha(\'film\',\'click\',0,'+stt+')',999999); var s = $('film').lang.split(',');setTimeout("M.sro('film')",1200); $('film').innerHTML = ''+ ''+ ''+ ''+ '

    '+s[1]+''+s[2]+''+ten+'
    ';M.rte(rate,'film',stt); B.pos(url,0) }; this.fil = function(x){ var arr = []; for(i=0;i':'')+ '
    '+ (rate.length>7?''+this.rat(rate)+'':'')+ (click>0?'

    '+click+'

    ':'')+ '
    '+ten.replace(/-/g,' - ').replace(/(\s\s)/g,' ').replace(/vs/g,'&')+'') }return ''+arr.join('')+'
    ' }; var fec = ''; this.fim = function(sql,page){ var k,s = this.gen('sql');if(s.match('F=')&&s.match('/')){s = s.split('/');for(i=0;i0){M.sen('sql',s,1); if(isNaN(sql))fec = fec+'film';else fec = fec.toString().replace(/film/mg,''); $('fim').innerHTML = M.fil(M.zip(Fson));M.sub('films',sql,page);$('fms').innerHTML = M.pag(sql,page,30,Fol,'fim'); }else M.non('không thấy film..') }) }; var tec = ''; this.tol = function(sql,page){ var k,s = this.gen('sql');if(s.match('T=')&&s.match('/')){s = s.split('/');for(i=0;i0){M.sen('sql',s,1); if(isNaN(sql))sec = sec+'total';else sec = sec.toString().replace(/total/mg,''); $('toal').innerHTML = M.bie(M.zip(Tson),1);M.sub('totals',sql,page);$('tms').innerHTML = M.pag(sql,page,30,Tol,'tol') }else M.non('không thấy total..') }) }; this.bie = function(x,y){ var ar = [],as = []; for(i=0;i0?'href="'+this.hot(y,loai,url,ten,stt)+'"':'onclick="M.sie('+i+','+y+')"'; if(!ten.match('-'))ten = ten.replace(/\s\(/,'-(').replace(/\s\[/,'-['); ten = ten.replace(/^v\s-\sa\s-\s|^v\s-\sa\s/,'').replace(/vs/g,'&').replace(/-\s([0-9a-z]{1})\s-/g,'- $1. ').replace(/\s-\s([0-9a-z]{1,3})$/,'. $1').replace(/\((.+)-(.+)\)/g,'($1&$2)'); ten = ten.substring(0,1).toUpperCase()+ten.substring(1,5).replace(/\s-\s/g,'. ')+ten.substring(5,47).toLowerCase().replace(/–/g,'-').replace(/(\s-\s|\s-|-\s|-)/,'').replace(/(\s-\s|\s-|-\s|-)/g,' - '); var c = '
  • '+(M.rat(rate)>0?(''+this.rat(rate)+''):'')+''+click+'

    '+ten+'

  • '; i%2==0?ar.push(c):as.push(c) }return '
      '+ar.join('')+'
      '+as.join('')+'
    ' }; var bec = ''; this.bum = function(sql,page){ var k,s = this.gen('sql');if(s.match('A=')&&s.match('/')){s = s.split('/');for(i=0;i0){M.sen('sql',s,1); if(isNaN(sql))sec = sec+'album';else sec = sec.toString().replace(/album/mg,''); $('abum').innerHTML = M.bie(M.zip(Ason),0);M.sub('albums',sql,page);$('ams').innerHTML = M.pag(sql,page,30,Aol,'bum'); }else M.non('không thấy album..') }) }; this.sie = function(x,y){ this.sto();var g = y;if(y>0)y = 'total';else y = 'album'; if(x<0)var lh = location.href.split('&'),ls = lh[2].split('=')[1].split('-'),stt = parseInt(ls[0]),url=lh[1].split(y+'=')[1],loai=parseInt(ls[1]),ten=decodeURIComponent(lh[0].split('nhacf=')[1]).replace(/\+/g,' ').replace(/-/g,' - '),click='',rate=''; else{ if(g>0)var z = this.zip(Tson);else var z = this.zip(Ason); var stt = z[x][0],url = z[x][1],loai = z[x][2],ten = z[x][3],click = z[x][4],rate = z[x][5] } ato = setInterval('M.aha(\''+y+'\',\'click\',0,'+stt+')',150000); var s = $(y).lang.split(',');setTimeout("M.sro('"+y+"')",1200); $(y).innerHTML = ''+ ''+ ''+ ''+ '
    '+s[1]+''+s[2]+''+ten+'
    ';M.rte(rate,y,stt);this.ure(parseInt(loai),url) }; this.xem = function(x){ this.sto(); if(x<0)var lh = location.href.split('?')[1].split('&'),stt = lh[2].split('=')[1],url = lh[1].split('video=')[1],ten = decodeURIComponent(lh[0].split('nhacf=')[1]).replace(/\+/g,' ').replace(/-/g,' - '),eng = 150,click = '',rate = ''; else var z = this.zip(Vson),stt = z[x][0],url = z[x][1],ten = z[x][2],eng = z[x][3],click = z[x][4],rate = z[x][5]; ato = setTimeout('M.aha(\'video\',\'click\',0,'+stt+')',eng*777); var s = $('video').lang.split(',');setTimeout("M.sro('video')",1200); $('video').innerHTML = ''+ ''+ ''+ ''+ '

    '+s[1]+''+s[2]+''+ten+'
    ';M.rte(rate,'video',stt); swfobject.embedSWF('http://www.youtube.com/v/'+url+'?version=3&modestbranding=1&use_tablet_controls=0&use_native_controls=false&allow_embed=1&autoplay=1&autohide=1&showsearch=0&rel=0&fs=1&showinfo=1&iv_load_policy=3&playerapiid=viem&border=0','viem','100%',486,'9.0.0',null,null,{allowScriptAccess:'always',menu:'false',wmode:'transparent',allowfullscreen:'true'},null) }; this.vie = function(x){ var arr = []; for(i=0;i0?"location.href='"+this.hot(2,'',url,ten,stt)+"'":'M.xem('+i+')'; arr.push((i%5==0?'':'')+'
    '+(rate.length>7?''+this.rat(rate)+'':'')+(click>0?'

    '+click+'

    ':'')+'
    '+ten.replace(/-/g,' - ').replace(/(\s\s)/g,' ').replace(/vs/g,'&')+''); }return ''+arr.join('')+'
    ' }; var dec = ''; this.deo = function(sql,page){ var k,s = this.gen('sql');if(s.match('V=')&&s.match('/')){s = s.split('/');for(i=0;i0){M.sen('sql',s,1); if(isNaN(sql))sec = sec+'video';else sec = sec.toString().replace(/video/mg,''); $('vdeo').innerHTML = M.vie(M.zip(Vson));M.sub('videos',sql,page);$('vms').innerHTML = M.pag(sql,page,25,Vol,'deo'); }else M.non('không thấy video..') }) }; var ghi = [];this.gen('ghi').match(',')?ghi=this.gen('ghi').split(','):ghi.push(this.gen('ghi')); this.tab = function(x){ Nsoa = '';cek = [];if(x>=ghi.length)ghi.push('');$('tabs').innerHTML = ''; var arr = []; for(i=0;i'+(ghi[i].split('.').length-1)+'

    '); $('tab').innerHTML = arr.join('')+''; if(ghi[x].length>0)M.sql('kid=1&json=4&sql='+ghi[x].substring(0,ghi[x].length-1)+'&page=0&line=30',function(){if(Nsoa.length>7)M.cek(-1)});else this.cfo() }; this.xoa = function(x){ if(x==1){ghi.splice(this.ghi(),1);this.sen('ghi',ghi,27)} else if(x==2){ghi = [];this.sen('ghi','',0)} this.tab(0) }; this.cek = function(x){ var i = this.ghi(),k = ghi[i].split('.'); if(x<0){ var n = this.zip(Nsoa),ar = []; for(j=0;j'+(ten.substring(0,1).toUpperCase()+ten.substring(1,ten.length))+''+casi.replace(/\s-\s/,' - ')+'' } }else{ var c = k.indexof(x.id),t = x.lang.split('~'); if(c<0){ if(k.length<31){ cek.push('
  • '+(t[0].substring(0,1).toUpperCase()+t[0].substring(1,t[0].length))+''+t[1].replace(/\s-\s/,' - ')+'
  • '); ghi[i] = ghi[i]+x.id+'.' }else this.non('Tối đa 30 bài trong 1 tab, nhấn dấu cộng bên trên để tạo tab mới!') }else{cek.splice(c,1);k.splice(c,1);ghi[i] = k.join('.')} this.sen('ghi',ghi,27); $('p'+i).innerHTML = cek.length } $('tabs').innerHTML = cek.join('');M.cfo() }; this.rae = function(x){var r = $('rate').getElementsByTagName('a');for(i=0;i<5;i++)if(i<=x)r[i].className = 'c';else r[i].className = ''}; this.rte = function(x,a,t){ if(x.length>7){var c = x.split('111111');c = ' - '+parseFloat(c[1])+' lần đánh giá, điểm trung bình '+(parseInt(c[0].slice(0,1))+1)+', tổng '+parseFloat(c[0].slice(1,c[0].length))+', tỉ lệ '+Math.round(parseFloat(c[0].slice(1,c[0].length))/parseFloat(c[1])*10)+'%'}else c = ''; var f = function(s,i){return ''}; var ar = [],s = M.rat(x); for(i=0;i<5;i++){ if(i'+ar.join('')+'' }; var ato = ala = 0; this.pay = function(x){ this.sto(); this.sql('kid=1&json=5&sql='+x+'&page=0&line=1',function(){ var z = M.zip(Nsob),stt = z[0][0],url = z[0][1],nhacsi = z[0][2],casi = z[0][3],ten = z[0][4],size = z[0][5],eng = z[0][6],rate = z[0][7]; ato = setTimeout('M.ato()',eng*1000+3000);ala = setTimeout('M.aha(\'music\',\'click\',0,'+x+')',eng*777); var obj = ''; var s = $('nhac').lang.split(',');setTimeout("M.sro('nhac')",777); $('nhac').innerHTML = '

    '+s[0]+':

    '+(ten.substring(0,1).toUpperCase()+ten.substring(1,ten.length))+ '

    '+s[1]+':

    '+casi+'

    '+s[2]+':

    '+(nhacsi.length>0?nhacsi:s[3])+''+ ''+ ''+ ''+ ''+ ''+ ''+ '
    '+ ''+s[6]+''+s[7]+''+obj+'
    • '+(Math.round(size/100)/10)+' M
    • '+Math.round(8*1024/1000*size/eng)+' Kbits
    ';M.rte(rate,'music',x) }) }; this.loc = function(x){return x.toLowerCase().replace(/(^\-+|\-+$|^\s+|\s+$|<|>|\*|\$|\[.*?\]|\s(http:|www\.).*?$|\.\w{3}$)/g,'').replace(/'|"|\"\;/g,'′').replace(/\&\;|\&|\s\s\&\s\s|\s\s\&\s|\s\&\s\s/g,' vs ').replace(/(\_|\.|\;|\:|\s-|-\s|-|-\s\s-|-\s-|\sft\s|\sft.\s|\|)/g,' - ').replace(/,|\s\s,\s\s|\s\s,\s|\s,\s\s|,\s\s/g,', ').replace(/\(/g,' (').replace(/\(\s\s|\(\s/g,'(').replace(/\)/g,') ').replace(/\s\s\)|\s\)/g,')').replace(/\[/g,' [').replace(/\[\s\s|\[\s/g,'[').replace(/\]/g,'] ').replace(/\s\s\]|\s\]/g,']').replace(/\s\s/g,' ').replace(/-\s-|\s+$|\s-\s$/g,'')}; this.you = function(){ var d = tube.getDuration(),t = this.loc(document.add.ten.value),i = this.bat(); if(t.length>3&&i.length==11&&d>9){ this.sql('kid=2&json=1&ten='+encodeURIComponent(t)+'&url='+i+'&eng='+d,function(){$('button').disabled = true;tube = 0}); document.add.ten.value = '';document.add.code.value = '' } }; this.ten = function(){ var t = this.loc(document.add.ten.value),i = this.bat(); $('view').innerHTML = '

    Hiển thị:'+t.replace(/-/,'')+''+(t.match(/-/)?'[đảo]':'')+'

    '; if(i.length>0){ if(i.match('&url=')){i = i.split('&url=');$('viu').innerHTML = M.swi(parseInt(i[0]),i[1])} else swfobject.embedSWF('http://www.youtube.com/v/'+i+'?version=3&modestbranding=1&use_tablet_controls=0&use_native_controls=false&allow_embed=1&autoplay=1&autohide=1&showsearch=0&rel=0&fs=1&showinfo=1&iv_load_policy=3&playerapiid=viu&border=0','viu','100%',486,'9.0.0',null,null,{allowScriptAccess:'no'}); $('button').disabled = false } }; this.add = function(x){ var e = 0,t = this.loc(x.form.ten.value); if(t.match(' ')){var ar = t.split(' ');for(j=0;j18)e = 1}else if(t.length>18)e = 1; if(t.match(/địt|đụ |dâm|nứng|cặc|dái|buồi|lồn |đù |đú |đéo|đĩ |điếm|vãi|tổ cha|tổ mẹ|cố nội|dit me|du ma |du me|deo me|di me|lon me|suc cac|suc lon|bu cac|bu lon|ma cha|ma me|thang cha|cho de/i))e = 2; switch(e){ case 1:alert('Tên có từ độ dài trên 18 ký tự.');break; case 2:alert('Trong tên có chứa từ nhạy cảm.');break }if(e==0){ var i = this.bat(); if(!i.match('url=')&&i.length==11) swfobject.embedSWF('http://www.youtube.com/v/'+i+'?version=3&modestbranding=1&use_tablet_controls=0&use_native_controls=false&allow_embed=1&autoplay=1&autohide=1&showsearch=0&rel=0&fs=1&showinfo=1&iv_load_policy=3&enablejsapi=1&playerapiid=viu&border=0','viu','100%',486,'9.0.0',null,null,{allowScriptAccess:'always'}); else this.sql('kid=2&json=2&ten='+encodeURIComponent(t)+'&loai='+i,function(){x.form.ten.value='';x.form.code.value='';$('button').disabled = true}) } }; this.bat = function(){ var c = document.add.code.value,f = ''; if(c.match(/youtube.com|youtu.be/)){ if(c.match('v='))f = c.split('v=')[1].split('&')[0]; else if(c.match('/v/'))f = c.split('/v/')[1].split('?')[0]; else if(c.match('/embed/'))f = c.split('/embed/')[1].split('?')[0]; else if(c.match('.be/'))f = c.split('.be/')[1]; f = f.replace(/(#|@|!|$|%|\^|\*)/mg,'&').split('&')[0];f = f.slice(0,11) } else{ var ar = new Array('mp3.zing.vn','nhaccuatui.com','nhac.vui.vn','nghenhac.info','amnhac.yume.vn','mixi.vn','musik.soha.vn','.mp3','nhacso.net'); if(c.match(ar[0])){ if(c.match('/playlist/'))f = '0&url='+c.split('/playlist/')[1].split('&')[0]; else if(c.match('/video-clip/'))f = '50&url='+c.split('/video-clip/')[1].split('&')[0]; else if(c.match('/blog\\?'))f = '51&url='+c.split('/blog?')[1].split('"')[0]} else if(c.match(ar[1])){ if(c.match('nghe\\?L|/l/'))f = '1&url='+c.replace(/nghe\?L=/,'/l/').split('/l/')[1].replace(/$|\[/g,'"').split('"')[0]; else if(c.match('/xem-clip/'))f = '52&url='+c.split('/xem-clip/')[1].replace(/"|\[/g,'/').split('/')[0]; else if(c.match('nghe\\?M|/m/')){ if(c.match('"640"'))f = '53&url='+c.split('/m/')[1].split('"')[0]; else f = '54&url='+c.replace(/nghe\?M=/,'/m/').split('/m/')[1].replace(/$|\[/g,'"').split('"')[0]}} else if(c.match(ar[2])){f = c.replace(/id%3D/g,'-m').replace(/&|\[\//g,'.htm').split('.htm')[0].split('-');f = f[f.length-1];if(f.match(/m\d*/g))f = '55&url='+f.match(/m\d*/g);else f = '2&url='+f.match(/a\d*/g)} else if(c.match(ar[3])){ if(c.match('albumid=|info/a/')){ if(c.match('albumid='))f = '3&url='+c.split('albumid=')[1].split('&')[0]; else{f = c.split('/');f = '3&url='+f[f.length-3]}} else{ if(c.match('songid='))f = '56&url='+c.split('songid=')[1].split('&')[0]; else{f = c.split('/');f = '56&url='+f[f.length-4]}}} /*else if(c.match(ar[4])){f = '4&url='+c.split('getxml/')[1].split('.xml')[0]} else if(c.match(ar[5])){f = c.split('.html')[0].split('.');f = '5&url='+f[f.length-1]}*/ else if(c.match(ar[6])){ if(c.match('/album/')){f = c.split('/album/')[1].split('/')[0];f = '6&url='+f.slice(1,f.length)} else if(c.match('/mp3/|/track/')){f = c.replace(/\/track\//,'/mp3/d').split('/mp3/')[1].replace(/'|\[\//g,'/').split('/')[0];f = '57&url='+f.slice(1,f.length)} else if(c.match('/clip/|/video/')){f = c.replace(/\/video\//,'/clip/d').split('/clip/')[1].replace(/'|\[\//g,'/').split('/')[0];f = '58&url='+f.slice(1,f.length)}} else if(c.match(ar[7])){f = '59&url='+c.split('http://')[1].replace(/(^\s+|\s+$)/g,'')} else if(c.match(ar[8])){ if(c.match('nghe-album|nghe-playlist|/album/|/playlist/')){ if(c.match('/album/|/playlist/'))f = c.split(',')[1]; else{f = c.split('.');f = f[f.length-2]};f = '8&url='+f} else if(c.match('nghe-nhac|/song/')){ if(c.match('/song/'))f = c.split('/id/')[1].split('&')[0]; else{f = c.split('.');f = f[f.length-2]};f = '60&url='+f} else if(c.match('xem-video|/video/')){ if(c.match('/video/'))f = c.split('/id/')[1].split('&')[0]; else{f = c.split('.');f = f[f.length-2]};f = '61&url='+f}} }return f }; this.fas = function(a,c,w,h,s,f){ return '
    '+ ''+ ''+ '
    ' }; this.fae = function(w,h,s){var rae = '';if(w+h<3)return '
    '+rae+'
    ';else return rae}; this.ure = function(x,u){ if(x==50||x==51||x==52||x==53||x==54||x==55||x==57||x==58||x==60||x==61){ this.sql('kid=3&int='+x+'&url='+u,function(){ if(ure&&ure.length>0){ if(ure.slice(ure.length-3,ure.length)=='mp3')cao = 20;else cao = 486; $('urle').innerHTML = M.fas(0,cao,'100%',cao,'http://mp3.socbay.com/public/flashplay/mediaplayer.swf','width=643&height='+cao+'&file='+ure+'&image=http://2.bp.blogspot.com/-F4tTeYLxU1o/Tr1sZuu-reI/AAAAAAAAASI/1UjK6Wyo7Ps/s643/nhacf.png&displaywidth=643&autostart=true&repeat=false'); }else $('urle').innerHTML = M.swi(x,u); }); }else $('urle').innerHTML = this.swi(x,u); }; this.swi = function(x,u){ switch(x){ case 0:return this.fas(332,316,'100%',657,'http://static.mp3.zing.vn/skins/mp3_main/flash/mp3playlist.swf','songID=0&autoplay=true&xmlURL=http://mp3.zing.vn/xml/playlist/'+u);break; case 1:return this.fas(50,150,'100%',200,'http://www.nhaccuatui.com/l/'+u,'&autostart=true');break; case 2:return this.fas(0,377,'100%',377,'http://hcm.nhac.vui.vn/upload/nhacvui-player.swf','playlistfile=http%253A%2F%2Fhcm.nhac.vui.vn%2Fasx2.php%253Ftype%253D3%2526id%253D'+u.substring(1,u.length)+'&frontcolor=1717f7&lightcolor=ff4a4a&screencolor=000000&bufferlength=10&item=0&volume=100&playlistsize=292&autostart=true&repeat=always&controlbar=bottom&dock=false&plugins=http://hcm.nhac.vui.vn/upload/players/spectrumvisualizer-1.swf&spectrumvisualizer.effect=reflection'+(u.match('a')?'&playlist=bottom':''));break; case 3:return this.fas(19,260,'100%',280,'http://nghenhac.info/AudioPlayer/AudioPlayer_Multi.swf','xmlPath=http://nghenhac.info/AudioPlayer/PlayList.aspx?albumid='+u+'&themeID=1&timeOut=25&autoPlay=1&volume=1&repeat=0&expandingMode=0');break; /*case 4:return this.fas(0,106,'500px',127,'http://static.yume.vn/yumemusic/flashplayer/flplayerlistblog.swf?xmlPath=http://amnhac.yume.vn/getxml/'+u+'.xml&local=embed&autoPlay=true','');break; case 5:return this.fae('485',270,'http://mixi.vn/resources/media/player/player_list_t.swf?playlist=http://mixi.vn/album-play-list/nhac-f.'+u+'.html&songID=0');break;*/ case 6:return this.fas(0,322,'100%',322,'http://musik.soha.vn/Flash/playerAlbum5.swf','file=http://musik.soha.vn/Handlers/XmlAlbum.ashx?key='+u+'&autostart=true&playlistsize=280&repeat=always');break; case 8:return this.fas(25,242,'100%',267,'http://st.nhacso.net/flash/v59/embedPlaylistjs.swf','xmlPath=http://nhacso.net/flash/playlist/xnl/1/uid/X1lWW0NabwIBAw==,'+u+'&colorAux=0xff4a4a&colorBorder=0x078939&typePlayer=playlist&mAuto=true');break; case 50:return this.fas(40,479,'100%',520,'http://static.mp3.zing.vn/skins/mp3_main/flash/player_mp3zing_embed_v1.0.swf?file=http://mp3.zing.vn/xml/video-clip/'+u+'&autostart=true&zoomsizeon=false&wmode=transparent&1','');break; case 51:return this.fas(0,92,'100%',92,'http://static.mp3.zing.vn/skins/mp3_main/flash/player/mp3Player_skin7.swf','xmlurl=http://mp3.zing.vn/blog?'+u);break; case 52:return this.fas(0,479,'100%',479,'http://www.nhaccuatui.com/mv/xem-clip/'+u,'&autostart=true');break; case 53:return this.fas(0,479,'100%',479,'http://www.nhaccuatui.com/m/'+u,'&autostart=true');break; case 54:return this.fas(0,50,'100%',50,'http://www.nhaccuatui.com/m/'+u,'&autostart=true');break; case 55:return this.fas(0,107,'100%',127,'http://hn.nhac.vui.vn/upload/nhacvui-player.swf','playlistfile=http://hn.nhac.vui.vn/asx2.php%3Ftype%3D1%26id%3D'+u.substring(1,u.length)+'&frontcolor=1717f7&lightcolor=ff4a4a&screencolor=000000&bufferlength=10&volume=100&playlist=bottom&playlistsize=60&autostart=true&repeat=no&controlbar=bottom&dock=false&plugins=http://hn.nhac.vui.vn/upload/players/spectrumvisualizer-1.swf&spectrumvisualizer.effect=reflection');break; case 56:return this.fas(45,157,'100%',216,'http://nghenhac.info/AudioPlayer/AudioPlayer_Single.swf','xmlPath=http://nghenhac.info/AudioPlayer/PlayList.aspx?songid='+u+'&themeID=1&timeOut=5&autoPlay=1&repeat=0&expandingMode=0');break; case 57:return this.fas(0,42,'100%',42,'http://musik.soha.vn/share/k14/track/'+u,'&autostart=true');break; case 58:return this.fas(0,479,'100%',479,'http://musik.soha.vn/share/video/'+u,'&autostart=true');break; case 59:return this.fas(0,20,'100%',20,'http://mp3.socbay.com/public/flashplay/mediaplayer.swf','width=658&height=20&file=http://'+u+'&image=http://mp3.socbay.com/public/img/mp3.gif&displaywidth=300&autostart=true&repeat=false');break; case 60:return this.fas(25,30,'100%',60,'http://st.nhacso.net/flash/v61/embedPlaylistjs.swf','xmlPath=http://nhacso.net/flash/song/xnl/1/id/'+u+'&adsLink=&colorAux=0xff4a4a&colorMain=0xeffcfc&colorBorder=0x078939&typePlayer=single&mAuto=true');break; case 61:return this.fas(0,480,'100%',480,'http://st.nhacso.net/flash/v61/videoEmbed.swf','xmlPath=http://nhacso.net/flash/video/xnl/1/id/'+u+'&colorAux=0x0099ff&colorMain=0x000000&colorBorder=0xcccccc&mAuto=true&typePlayer=single');break; } }; var kea = sea = 0; this.kea = function(x){kea = x}; this.sea = function(x){ clearTimeout(sea); var key = M.noo(x).replace(/(\s-\s|\s-|-\s)/mg,',').replace(/(\?|!|"|'|\(|\))/mg,'').replace(/(;|:|\+|\||&|#|>|<|\/)/mg,',').replace(/(_|\s\s)/mg,' ').replace(/0/mg,'khong').replace(/1/mg,'mot').replace(/2/mg,'hai').replace(/3/mg,'ba').replace(/4/mg,'bon').replace(/5/mg,'nam').replace(/6/mg,'sau').replace(/7/mg,'bay').replace(/8/mg,'tam').replace(/9/mg,'chin'); if(kea==0||kea==13||(kea==32&&key.length>15))tip = 0;else if((kea>=65&&kea<=90)||(kea>=96&&kea<=105)){if(key.length>12&&key.match(' '))tip = 1200;else if(key.length>9)tip = 2700;else if(key.length>5)tip = 3600;else tip = 4500}else tip = 5700; if(key.length>3)sea = setTimeout("sec='';M.sow('"+key+"',0);if($('total'))setTimeout(\"M.tol('"+key+"',0)\",333);setTimeout(\"M.deo('"+key+"',0)\",666);setTimeout(\"M.bum('"+key+"',0);iput.search.value=''\",999)",tip) }; var aha = oho = ihi = 0; this.aha = function(j,f,p,x){ clearTimeout(aha);clearInterval(oho); if(sec.toString().match(j)&&f=='click')p = 2; if(!location.href.match('\\?')||!document.referrer.match('w.google.c|w.bing.c|h.yahoo.c')){ if(j=='album'&&f=='click')M.sql('kid=2&aha='+j+'&for='+f+'&pot='+p+'&stt='+x,function(){}); else if(!this.gen(j).match(x+'.')){ var h = dae>ihi?Math.round((new Date().getTime()-dae)/1000):0,t = 0; var s = function(){if(t>0){$(f).innerHTML = t;oho = setInterval("if(parseInt($('"+f+"').innerHTML)>0)$('"+f+"').innerHTML=parseInt($('"+f+"').innerHTML)-1;else clearInterval(oho)",1000)}}; switch(f){ case 'rate':t = 60-h;s();break; case 'fav':t = 60-h;s();break; case 'error':t = 30-h;s();break; case 'dload':t = 90-h;s();break }aha = setTimeout("M.sql('kid=2&aha="+j+"&for="+f+"&pot="+p+"&stt="+x+"',function(){})",t*1000);this.sen(j,this.gen(j)+x+'.',7);ihi = new Date().getTime() }} }; this.sro = function(x){if((obj = document.getElementById(x))&&obj!=null)window.scrollTo(0,obj.offsetTop)}; this.sbj = function(x){var s = x.name,o = x.options[x.selectedIndex].value;if(this.gen('sbj').length>0){var sb = this.gen('sbj').split('.'),ob = this.gen('obj').split('.');if(sb.length==ob.length){var i = sb.indexof(s);if(i<0){this.sen('sbj',this.gen('sbj')+s+'.',27);this.sen('obj',this.gen('obj')+o+'.',27)}else{ob[i] = o;this.sen('obj',ob.join('.'),27)}}}else{this.sen('sbj',s+'.',27);this.sen('obj',o+'.',27)}var k = this.gen('sbj');k = k.slice(0,k.length-1).split('.').sort(function(a,b){return a-b});if(k.length==9)location.reload(0);else{var obj = $('obj').getElementsByTagName('select');if(k.length>1){for(i=0;i0){var ob = this.gen('obj').split('.');if(ob[ob.length-1].length<1)ob.pop();if(ob.length==9)return ob.sort(function(a,b){return a-b}).join('.');else return 0}else return 0}; this.tif = function(x){this.sen('tif',x.id,27);location.reload(0)}; this.buf = function(x){if(x.innerHTML==x.lang.split(',')[0])this.sen('buf','',0);else this.sen('buf',x.id,27);location.reload(0)}; this.non = function(x){location.href = '#'+x;setTimeout('location.href = "#"',1500)}; this.sub = function(x,s,p){var ar = $('msic').lang.split(',');$(x).innerHTML = $(x).lang+' '+(isNaN(s)?' - '+s:ar[s])+(p>0?' - '+(p+1):'')}; this.fic = function(){if($('view'))$('view').innerHTML = this.fae(1,1,'http://'+pip[pip.length-1]+'/traffic.php?nghe='+(Math.floor(Math.random()*3600)*9))}; this.zip = function(x){var a = [],z = x.split('  ');z.pop();for(i=0;i0){var ar = ghi[this.ghi()].split('.');ar.pop();var g = $('nhac').innerHTML.length>0?ar.indexof($('nhac').getElementsByTagName('embed')[0].id):-1;this.pay(ar[g+1-1)c[a].className = 'down';else c[a].className = 'show'}; this.ghi = function(){if(document.forms['tap'].elements['tab']){var tab = !document.forms['tap'].elements['tab']?document.forms['tap'].tab:document.forms['tap'].elements['tab']; for(i=0;i4.5)t=5;else if(t>4)t=4.5;else if(t>3.5)t=4;else if(t>3)t=3.5;else if(t>2.5)t=3;else if(t>2)t=2.5;else if(t>1.5)t=2;else if(t>1)t=1.5;else if(t>=0.5)t=1;else t=0;return t}; this.hot = function(x,l,u,t,s){t = this.loc(t).replace(/(^\-+|\-+$|^\s+|\s+$|\(|\)|,|′)/g,'').replace(/(\s-\s|\s–\s|\s\s)/g,'-');var r = this.noo(t.replace(/(\s|\/)/g,'-'))+'.html?nhacf='+encodeURIComponent(t).replace(/%20|%2F/g,'+')+'&';switch(x){case 0:r = r+'album='+u+'&tim='+s+'-'+l;break;case 1:r = r+'total='+u+'&tim='+s+'-'+l;break;case 2:r = r+'video='+u+'&tim='+s;break;case 3:r = r+'music='+u;break}return r}; this.set = function(){if(document.getElementsByTagName('script').codef){var src = document.getElementsByTagName('script').codef.src;if(src.match('\\?')&&src.match('&')){src = src.split('?')[1].split('&');for(k=0;k12){var bip = ['sql.nhacf.com'];pip = bip.concat(pip)}var run = parseInt(this.gen('load').length>0?this.gen('load'):0)+1;if(run>pip.length-1)run = 0;var ws = screen.width,wh = screen.height,cw = document.documentElement.clientWidth,ch = document.documentElement.clientHeight;if(wh>555&&ws>777&&cw+ch>999){loa = setTimeout('M.sen("load",'+run+',1);M.loa()',3600);this.sql('kid=0&lh='+location.host+'&gmt='+gmt+'&ws='+ws+'&wh='+wh+'&cw='+cw+'&ch='+ch+'&fr='+document.referrer,function(){clearTimeout(loa);iput.search.focus();if($('tif')){var tif = $('tif').getElementsByTagName('a'),buf = M.gen('buf'),gif = M.gen('tif');for(i=0;i0&&tif[i].id==buf&&buf=='f')tif[i].innerHTML = tif[i].lang.split(',')[0];if(gif.length>0){if(tif[i].id==gif)tif[i].className = 'on';else tif[i].className = ''}}}if($('obj')){var con = 0,obj = 'o'+M.gen('obj').replace(/\./g,'o'),sbj = 'o'+M.gen('sbj').replace(/\./g,'o'),arr = [],ten = ['Thể Loại','Nhạc Điệu','Độ Tuổi','Tính Cách','Màu Sắc','Khẩu Vị','Nhóm Máu','Giới Tính','Ngày Sinh'],tec = [5,5,4,2,7,3,5,3,12],loai = ['Nhạc Việt','Nhạc Hoa','Nhạc Hàn','Quốc Tế','Không Lời','Êm Dịu','Buồn','Vui','Giật Gân','Đọc Ráp','Thiếu Nhi','Tuổi Teen','Thanh Niên','Người Lớn','Hướng Nội','Hướng Ngoại','#FFFFFF-Trắng','#0000FF-Xanh','#000000-Đen','#FF0000-Đỏ','#FF4500-Cam','#FFFF00-Vàng','#8A2BE2-Tím','Mặn','Ngọt','Nhạt','O','A','B','AB','Khác','Nam','Nữ','Khác','22/12 - 20/01','21/01 - 19/02','20/02 - 20/03','21/03 - 20/04','21/04 - 21/05','22/05 - 21/06','22/06 - 23/07','24/07 - 23/08','24/08 - 23/09','24/09 - 23/10','24/10 - 22/11','23/11 - 21/12'];for(i=0;i

    ')}$('obj').innerHTML = arr.join('')}if(location.href.match('\\?')&&location.href.match('nhacf=')){var lh = location.href;lh = lh.split('?')[1];if(lh.match('music=')){lh = parseInt(lh.split('music=')[1]);M.pay(lh)}if(lh.match('total='))M.sie(-1,1);if(lh.match('album='))M.sie(-1,0);if(lh.match('video='))M.xem(-1)}})}else this.fic()};this.loa(); } var $ = function(x){return document.getElementById(x)},iput = document.getElementsByTagName('input'),M = new Music(),B = new Blogger(),dag = tube = 0,swfobject = function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return }f(H);if(h.ie&&h.win){try{K.write("