if(typeof(__apShowVs)=='undefined' || !__apShowVs){ var __apShowVs={}; (function(){ var _r=window; var _F=document; var _Y=encodeURIComponent||escape; var _J = unescape; var f = function(){}; f._p = 10000; f.z=function(){ var _Q=_F.getElementsByTagName('script'); var _W=_Q[_Q.length - 1]; if(/[^?]+\?.*/.test(_W.src)){ var _w= f.d(_W.src); if(/^http[s]?$/i.test(_w._O)){ f._O = _w._O;} f._D=this.R(_w._B5); if(f._D['clientid']){ f._L = f._D['clientid'];}} return true;}; f.d=function d(_C){ var _M=new RegExp(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/); var _T=_M.exec(_C); var _X=function (_E) { return _E != null ? _E : "";}; var _w={}; _w._O=_X(_T[2]); _w._OP=_X(_T[4]); _w._FG=_X(_T[5]); _w._B5=_X(_T[7]); _w._g5=_X(_T[9]); var _vQ=new RegExp(/^(([^@]+)@)?([^:]+)(:([0-9]*))?/); var _v4=_vQ.exec(_w._OP); if (_v4) { _w._OF=_X(_v4[2]); _w._lm=_X(_v4[3]); _w._TM=_X(_v4[5]);} _w._hE=_w._FG.replace(/^\//, "").split(/\//); return _w;}; f.H=function(_Kr) { if(typeof(_Kr)!='undefined'){ return _Kr.status==0 || (_Kr.status>=200 && _Kr.status<300);}else{ return false;}}; f.R=function R(_n3){ var _hP=_n3.split("&"); var _M={}; for(var _w=0; _w<_hP.length; _w++){ var _Jf=_hP[_w].indexOf('='); if(_Jf == -1) { continue;} _M[_hP[_w].substring(0, _Jf)]=_hP[_w].substring(_Jf+1);} return _M;}; f.prototype={ V:function(_GG){ if(typeof(_GG) == 'function'){ this._LW.push(_GG);}}, h:function(_lK){ if(typeof(_lK) == 'function'){ this._LH.push(_lK);}}, t:function(_tp){ }, b:function(){ this._S2=true;}, i:function(_Vb) { var _tp=[]; for(_sI in this._tp){ _tp.push(''+_sI+'='+_Y(this._tp[_sI]));} for(var i=0; i<_Vb.length; i++){ for(_sI in _Vb[i]){ _tp.push(''+_sI+'='+_Y(_Vb[i][_sI]));}} _tp.push('clientid='+f._L); return _tp.join('&');}, S:function(_Kr) { if(f.H(_Kr)){ for(var _w=0,_Gm=this._LH.length; _w<_Gm; _w++){ try{ this._LH[_w](_Kr.responseText);}catch(err){ }} }else{ for(var _w=0,_Gm=this._LW.length; _w<_Gm; _w++){ try{ this._LW[_w](_Kr.status,_Kr.responseText);}catch(err){ }} }} }; B=function(_s9,_sU,_tp){ this._LW = []; this._LH = []; this._S2 = false; this._p = f._p; this._tp = _tp || []; this._s9 = f._O + '://' + _s9; this._sU = _sU;}; B._Fi=0; B._gJ=1; B._VH=2; B._YR=3; B._Oh=4; B.prototype = new f(); B.prototype.n=function(){ var _Dn; if(_r.XMLHttpRequest){ _Dn = new XMLHttpRequest();}else if(_r.ActiveXObject){ try{ _Dn = new ActiveXObject('Msxml2.XMLHTTP');}catch(err){ _Dn = new ActiveXObject('Microsoft.XMLHTTP');}} return _Dn;}; B.prototype.t=function(_tp){ var _uy = this; var _Kr = _uy.n(); if("post" == _uy._sU){ _Kr.open(_uy._sU,_uy._s9,true); _Kr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); _Kr.onreadystatechange= function() {_uy.s(_Kr) }; _Kr.send(_uy.i(_tp));}else{ _Kr.open(_uy._sU,_uy._s9+'?'+_uy.i(_tp), true); _Kr.onreadystatechange=function(){_uy.s(_Kr)}; _Kr.send('');}}; B.prototype.s=function(_Kr) { if(_Kr.readyState==B._Oh && this._S2==false) { this.S(_Kr);}}; A=function(_s9,_sU,_tp){ this._LW = []; this._LH = []; this._S2 = false; this._Zc = 0; this._p = f._p; this._tp = _tp || []; this._s9 = f._O + '://' + _s9; this._sU = _sU;}; A.q=function(_HN){ if(typeof(_HN) != 'function'){ return 0;} if(typeof(A._Ts) == 'undefined'){ A._Ts = [];} A._Ts.push(_HN); return A._Ts.length;}; A.Z=function(_MI,_FC){ if(typeof(A._Ts) == 'undefined'){ return false;} if(A._Ts.length < _MI){ return false;} if(A._Ts[_MI-1]){ _jQ = A._Ts[_MI-1](_FC); A._Ts[_MI-1] = false; return _jQ;}else{ return false;}}; A.P=function(_MI){ if(typeof(A._Ts) == 'undefined'){ return false;} if(A._Ts.length < _MI){ return false;} if(A._Ts[_MI-1]){ A._Ts[_MI-1] = false; return true;}else{ return false;}}; A.prototype = new f(); A.prototype.t=function(_tp){ _tp = _tp || []; _tp.push({'alt':'jsonp'}); _uy = this; _HN = function(_FC){_uy.e(0,_FC);}; this._Zc = A.q(_HN); _tp.push({'callback':'A.Z(' + this._Zc + ',{data});'}); this.u(this._Zc); _F.write(_J("%3Cscript src='" + this._s9 + "?" + this.i(_tp) + "' type='text/javascript'%3E%3C/script%3E"));}; A.prototype.e=function(_KL,_JB){ if(this._S2) return false; this.S({'status':_KL,'responseText':_JB});}; A.prototype.u=function(_MI){ _uy = this; _X2=function(){ if(A.P(_MI)){ _uy.e(408,'time out(' + _uy._p + ')');}}; setTimeout(_X2,this._p);}; c=function(_WX,_ap,_y5,_i3,_Ky){ this._ap=_ap>100 ? 100 : (_ap<1 ? 5 : _ap); this._xf=_y5; this._cn=_i3; this._Ky = _Ky || {}; this._Ky.count = this._ap; if(_WX == 'jsonp'){ this._ay=new A(c._dO,'get',this._Ky);}else{ this._ay = new B(c._dO,'get',this._Ky);} var _uy = this; this._ay.h(function(_Ec){_uy.K(_Ec);}); this._ay.V(function(_fZ,_Ec){_uy.j(_fZ,_Ec);});}; c._dO='data.woopieapi.com/sense/rv/'; c.prototype={ N:function(_PP){ this._ay.t([{'start':(_PP-1) * this._ap}]);}, K:function(_l0) { if(this._cA){ var _Pz = _l0.xml.rss.channel.item; this._cA(_Pz);}}, j:function(_fZ,_Ec) { if(this._Fs){ this._Fs(_fZ,_Ec);}}, a:function(_cA){ this._cA = _cA;}, I:function(_x2){ this._Fs = _x2;}}; l=function(_bO){ var _E = ''; if(typeof(_bO) == 'object'){ for(_JO in _bO){ _E += _JO + '=' + this.l(_bO[_JO]) + "\n";} return _E;}else{ return _bO;}}; G=function(_vu){ _vu = _vu || {}; this._bS = _vu['type'] || 'plain text'; this._rF = {}; this._Ne = {}; this._BH = {}; this._mV = {}; this._i5 = {}; this._rc = {}; this._hh = {}; this._XV = {}; _vu['panel'] && (this._rF = _vu['panel']); _vu['video'] && (this._Ne = _vu['video']); _vu['link'] && (this._BH = _vu['link']); _vu['title'] && (this._mV = _vu['title']); _vu['description'] && (this._hh = _vu['description']); _vu['image'] && (this._XV = _vu['image']); _vu['time'] && (this._i5 = _vu['time']); _vu['numViews'] && (this._rc = _vu['numViews']); var _ho = false; var _KJ = false; if(this._XV['extra'] || this._XV['style']){ _KJ = this._XV['extra'] && /width *= *['"]?[0-9]+/i.test(this._XV['extra']); _ho = this._XV['extra'] && /height *= *['"]?[0-9]+/i.test(this._XV['extra']); if(!_KJ){ _KJ = this._XV['style'] && /width *: *['"]?[0-9]+/i.test(this._XV['style']);} if(!_ho){ _ho = this._XV['style'] && /height *: *['"]?[0-9]+/i.test(this._XV['style']);}} if(!_ho){ this._XV['extra'] = this._XV['extra'] || ''; this._XV['extra'] += ' height="75"';} if(!_KJ){ this._XV['extra'] += ' width="100"';}}; G.prototype={ v:function(_Pz){ switch(this._bS){ case 'complex text': document.write(this.x(_Pz)); break; case 'image': document.write(this.m(_Pz)); break; case 'complex image': document.write(this.y(_Pz)); break; case 'full': document.write(this.g(_Pz)); break; case 'plain text': default: document.write(this.o(_Pz)); break;}}, o:function(_Pz){ var _E = ''; var _HP = this.k('div',this._Ne); var _S3 = this.k('span',this._mV); for(var _w=0,_Gm=_Pz.length; _w<_Gm; _w++){ var _BH = this._BH; _BH['href'] = _Pz[_w].link.$t; _E += _HP + this.k('a',_BH) + _S3 + _Pz[_w].title.$t + '</a></span></div>';} return _E;}, x:function(_Pz){ var _E = ''; var _HP = this.k('div',this._Ne); var _vP = this.k('span',this._mV); var _tR = this.k('p',this._hh); for(var _w=0,_Gm=_Pz.length; _w<_Gm; _w++){ var _BH = this._BH; _BH['href'] = _Pz[_w].link.$t; _E += _HP + this.k('a',_BH) + _vP + _Pz[_w].title.$t + '</span></a>' + _tR + _Pz[_w].description.$t + '</p>' + '</div>';} return _E;}, m:function(_Pz){ var _E = ''; var _HP = this.k('div',this._Ne); var _S3 = this.k('span',this._mV); for(var _w=0,_Gm=_Pz.length; _w<_Gm; _w++){ var _HS = this._XV; _HS['src'] = _Pz[_w].media$thumbnail.url; var _BH = this._BH; _BH['href'] = _Pz[_w].link.$t; _E += _HP + this.k('a',_BH) + this.k('img',_HS,true) + _S3 + _Pz[_w].title.$t + '</span></a>' + '</div>';} return _E;}, y:function(_Pz){ var _E = ''; var _HP = this.k('div',this._Ne); var _S3 = this.k('span',this._mV); var _Jf = this.k('p',this._hh); for(var _w=0,_Gm=_Pz.length; _w<_Gm; _w++){ var _HS = this._XV; _HS['src'] = _Pz[_w].media$thumbnail.url; var _BH = this._BH; _BH['href'] = _Pz[_w].link.$t; _E += _HP + this.k('a',_BH) + this.k('img',_HS,true) + _S3 + _Pz[_w].title.$t + '</span></a>' + _Jf + _Pz[_w].description.$t + '</p>' + '</div>';} return _E;}, g:function(_Pz){ var _E = ''; var _HP = this.k('div',this._Ne); var _HP = this.k('div',this._Ne); var _wp = this.k('span',this._mV); var _fA = this.k('span',this._i5); var _OD = this.k('span',this._rc); var _Jf = this.k('p',this._hh); for(var _w=0,_Gm=_Pz.length; _w<_Gm; _w++){ var _HS = this._XV; _HS['src'] = _Pz[_w].media$thumbnail.url; var _BH = this._BH; _BH['href'] = _Pz[_w].link.$t; var _AZ = _Pz[_w].media$group.media$content.duration; _AZ = ('0' + Math.floor(_AZ / 60)).substr(-2) + ':' + ('0' + (_AZ % 60)).substr(-2); _E += _HP + this.k('a',_BH) + this.k('img',_HS,true) + _wp + _Pz[_w].title.$t + '</span></a>' + _fA + '再生時間:' + _AZ + '</span>' + _OD + '再生回数:' + _Pz[_w].media$ugmc.numViews + '回</span>'+ _Jf + _Pz[_w].description.$t + '</p>' + '</div>';} return _E;}, k:function(_fL,_vu,_zp){ return '<' + _fL + (_vu['class'] ? ' class="' + _vu['class'] + '"' : '') + (_vu['style'] ? ' style="' + _vu['style'] + '"' : '') + (_vu['href'] ? ' href="' + _vu['href'] + '"' : '') + (_vu['src'] ? ' src="' + _vu['src'] + '"' : '') + (_vu['extra'] ? ' ' + _vu['extra'] : '') + (_zp ? '/' : '') + '>';}}; __apShowVs.U=function(_Bp){ if(typeof(_Bp) == 'undefined'){ _Bp = 'jsonp';} var _vu = {}; if(typeof(_apc) != 'undefined'){ _vu = _apc;} var _P9 = _vu.count || 5; if(!/^[0-9]+$/.test(_P9)){ _P9 = 5;} var _cA = false; var _oj = new c(_Bp,_P9); if(_vu.render && typeof(_vu.render) == 'function'){ _oj.a(_vu.render);}else{ var _UO = _vu['theme'] ? _vu['theme'] : {}; var _cm = new G(_UO); var _cA = function(_l0){ _cm.v(_l0);}; _oj.a(_cA);} if(_vu.errhandle && typeof(_vu.errhandle) == 'function'){ _oj.I(_vu.errhandle);} _oj.N(1);}; f.z();})();} (function(){ __apShowVs.U();})(); 