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
-
Fiestar ( coreano : 피에스타 ) es un grupo de chicas de seis miembros de Corea del Sur formado por LOEN entertainment.
-
RAINBOW (a veces estilizada como RAINBOW ; Hangul : 레인보우 , Katakana : レインボー ) son 7 miembros de Corea del ...
-
4Minute ( coreano hangul : 포미닛 , hanja : 四分鐘 , japonés : 四分 , romanización revisada : Pominis , sistema ...
-
Baek Ji Hye ( coreano : 박지혜 , nacio el 21 de julio de 1986), más conocida por su nombre artístico Zia ( coreano : 지아 ), es una cant...
-
Jung San (nacido el 23 de enero de 1985) conocido por su nombre artístico, San E , es un rapero de hip hop que se estrenó bajo JYP E...
ADs
Video of the day
Con la tecnología de Blogger.