var Browser=function(){var A=navigator.userAgent.toLowerCase();return{version:(A.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(A),opera:/opera/.test(A),msie:/msie/.test(A)&&!(/opera/.test(A)),mozilla:/mozilla/.test(A)&&!(/(compatible|webkit)/.test(A))}}();var ScriptFragment="<script[^>]*>([\\S\\s]*?)<\/script>";var JSONFilter=/^\/\*-secure-([\s\S]*)\*\/\s*$/;var $break={};function $A(C){if(!C){return[]}if(C.toArray){return C.toArray()}var B=C.length||0,A=new Array(B);while(B--){A[B]=C[B]}return A}if(Browser.opera){$A=function(C){if(!C){return[]}if(!(typeof C=="function"&&C=="[object NodeList]")&&C.toArray){return C.toArray()}var B=C.length||0,A=new Array(B);while(B--){A[B]=C[B]}return A}}function $$(A){return typeof(A)=="string"?document.getElementById(A):A}function $CSS(A,B,C){return MySpace.Utils.Selector.query(A,B,C)}var mySpaceTv=function(){var C;var A="http://x.myspacecdn.com/modules/videos/static/img/mysubs/no-thumbnail.gif";var B="http://x.myspacecdn.com/modules/common/static/img/no_pic.gif";return{extend:function(D,F){for(var E in F){D[E]=F[E]}return D},_domReady:function(){if(arguments.callee.done){return}arguments.callee.done=true;if(this._timer){clearInterval(this._timer)}for(var D=0;D<C.length;D++){var E=C[D];E.call()}C=null},onReady:function(E){if(!C){var D=this._domReady;if(D.done){return E()}if(document.addEventListener){if(navigator.userAgent.indexOf("AppleWebKit/")>-1){this._timer=window.setInterval(function(){if(/loaded|complete/.test(document.readyState)){D()}},0);window.onload=D}else{document.addEventListener("DOMContentLoaded",D,false)}}else{(function(){try{document.documentElement.doScroll("left")}catch(F){this._timer=window.setTimeout(arguments.callee,50);return}D()})();document.onreadystatechange=function(){if(document.readyState=="complete"){document.onreadystatechange=null;D()}}}C=[]}C.push(E)},adjustImage:function(H,I,E){if(!(H=$$(H))){return}function F(){return(H.height/H.width)}function G(){return(E/I)}function D(M,L){if(M>L){var K=Math.ceil((I/H.clientWidth)*H.clientHeight);H.style.height=K+"px";H.style.width="auto"}else{var J=Math.ceil((E/H.clientHeight)*H.clientWidth);H.style.width=J+"px";H.style.height="auto"}}return D(F(),G())},adjustProfileImage:function(G,K,L){if(!(G=$$(G))){return}var J=G.width;var I=G.height;var H=0;var E;var F;var D;if(J>K){H=K/J;G.width=K;E=Math.floor(I*H);if(E>L){H=L/E;G.height=L;G.width=Math.floor(K*H)}else{G.height=E}}else{if(I>L){H=L/I;G.height=L;F=Math.floor(J*H);if(F>K){H=K/F;G.width=K;G.height=Math.floor(L*H)}else{G.width=F}}}},imageError:function(E,D){E=typeof(E)=="string"?$$(E):E;E.src=D;E.onload=null},imageLoad:function(F,D,E,G){F=typeof(F)=="string"?$$(F):F;if(F.width<=5||F.height<=30){G?F.src=B:F.src=A;F.onload=null;return}if(D>0&&E>0){if(G){this.adjustProfileImage(F,D,E)}else{this.adjustImage(F,D,E)}}F.onload=null;F.onerror=null},perr:function(D){this.imageError(D,B)},pload:function(F,D,E){this.imageLoad(F,D,E,true)},verr:function(D){this.imageError(D,A)},vload:function(F,D,E){this.imageLoad(F,D,E,false)}}}();function perr(A){mySpaceTv.perr.call(mySpaceTv,A)}function pload(C,A,B){mySpaceTv.pload.call(mySpaceTv,C,A,B)}function verr(A){mySpaceTv.verr.call(mySpaceTv,A)}function vload(C,A,B){mySpaceTv.vload.call(mySpaceTv,C,A,B)};