var PlayerInstanceCount = 0;
function WHMSonic(config, containerId){
PlayerInstanceCount++;
if (typeof config == "undefined")
config = {};
if (typeof containerId != "undefined" && containerId)
config.containerId = containerId;
this.config = config;
//script url
if (typeof this.config.url == "undefined"){
var scripts = document.getElementsByTagName("script");
for (var i = 0; i < scripts.length; i++)
if (scripts[i].src.indexOf('player.js') > 0){
this.config.url = scripts[i].src.replace(new RegExp("/[^/]+$"), "");
break;
}
}
//id
this.id = "WHMSonicPlayer" + PlayerInstanceCount;
//defaults
if (typeof this.config.path == "undefined") this.config.path = this.config.url + "/WHMSonic.swf";
if (typeof this.config.width == "undefined") this.config.width = 372;
if (typeof this.config.height == "undefined") this.config.height = 60;
if (typeof this.config.embedCallback == "undefined") this.config.embedCallback = null;
if (typeof this.config.embedCallback == "string") this.config.embedCallback = eval(this.config.embedCallback);
if (typeof this.config.bgcolor == "undefined") this.config.bgcolor = "#FFFFFF";
if (typeof this.config.wmode == "undefined") this.config.wmode = "transparent";
//setup container
if (typeof this.config.containerId == "undefined" || !this.config.containerId){
this.config.containerId = this.id;
document.write('');
}
//embed
var params = {
menu : "false",
id: this.id,
allowFullscreen: "true",
allowScriptAccess: "always",
bgcolor: this.config.bgcolor,
wmode: this.config.wmode
};
swfobject.embedSWF(this.config.path, this.config.containerId, this.config.width, this.config.height, "10.1", false, this.config, params, {}, this.config.embedCallback);
}
//SWFObject v2.2 is released under the MIT License
var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y0){for(var af=0;af'}}aa.outerHTML='
Get the Flash Player to see this player.
Shoutcast & Icecast Server
Get the Flash Player to see this player.
Shoutcast & Icecast Server
Popular Posts
-
C-Clown ( coreano : 씨클 라운 , abreviatura de Crown Clown ) es una banda de chicos de Corea del Sur bajo Ye...
-
Epik High (en hangul 에픽 하이) es un grupo surcoreano de hip hop, formado por dos MC's (Tablo y Mithra) y un DJ (DJ Tukutz). Su...
-
SS501 es un grupo juvenil surcoreano de K-Pop integrado por cinco chicos bajo la dirección de Daesung Enterta...
-
NU'EST ( New Established Style y Tempo ) (Hangul: 뉴 이스트 ) es un grupo de chicos de Corea del Sur formado por P...
-
Miss A (coreano: 미쓰에이) es un grupo surcoreano de pop, creado por JYP Entertainment en el 2010 . El grupo está conformado ...
-
Nell (Hangul: 넬 ) es un banda de indie rock de Corea del Sur, su nombre hace referencia a la película galardonada con un Ósc...
-
CN Blue son una banda de rock surcoreana formada en Seúl en 2009. La banda está compuesta por Jung Yong Hwa (voca...
ADs
Video of the day
Con la tecnología de Blogger.





