/*{encoding="utf­8"}*/
__SIN2_REQUEST_TIME__=new Date();
__SIN2_SERVICE_ID__="musicplayer";/*base*/
__SIN2_MODEL_ID__="prototype";/*prototype*/
__SIN2_CONFIG_PATH__="";/*'?id='+__SIN2_SERVICE_ID__+'/'+__SIN2_MODEL_ID__;*/
__SIN2_SERVICE_STARTUP__=(function(){var $$=document.getElementsByTagName('script'); return $$[$$.length-1].src;})();
__SIN2_SERVICE_OPTIONS__=__SIN2_SERVICE_STARTUP__.split("?").slice(1).join("?");
__SIN2_FRAMEWORK_PATH__="http://open.soribada.com/sin";
__SIN2_FRAMEWORK_ROOT_PATH__=__SIN2_FRAMEWORK_PATH__.replace(/\/[^\/]+$/, "");
function loadScriptFrameworkDefer(){this.load=function($ph){var $hTS={$css:'<link sname="sinframework" type="text\/css" rel="stylesheet" charset="utf-8" href="{PATH}" \/>',$js:'<script sname="sinframework" type="text\/javascript" charset="utf-8" src="{PATH}"><\/script>'};$ph.$includes=$ph.$includes.join("\n").replace(/\{SERVICEID\}/g,__SIN2_SERVICE_ID__).replace(/\{MODELID\}/g,__SIN2_MODEL_ID__).replace(/\{FRAMEWORKPATH\}/g,__SIN2_FRAMEWORK_PATH__).replace(/\{FRAMEWORKROOTPATH\}/g,__SIN2_FRAMEWORK_ROOT_PATH__).split("\n");for(var $i=-1,$a=[],$s,$sExt;++$i in $ph.$includes;){if(($s=$hTS["$"+($sExt=($ph.$includes[$i].match(/\.([^\.]+)$/)||["",""])[1])])){document.write($s.replace(/\{PATH\}/,$ph.$includes[$i]+"?rev="+$ph.$rev))}}}};
(new loadScriptFrameworkDefer).load({
	$rev: "20091105"
, $includes: [
	"{FRAMEWORKPATH}/sin.javascript.core.bootstrap.js"
	, "{FRAMEWORKPATH}/sin.javascript.lang.prototype.extension.@.js"
	, "{FRAMEWORKPATH}/sin.javascript.lang.prototype.compatibility.@.js"
	, "{FRAMEWORKPATH}/sin.javascript.lang.prototype.extension.xml.@.js"
	, "{FRAMEWORKPATH}/sin.javascript.lang.library.@.js"
	, "{FRAMEWORKPATH}/sin.javascript.lang.extension.observer.js"

	, "{FRAMEWORKPATH}/sin.javascript.core.onloadhandler.js"

	, "{FRAMEWORKPATH}/sin.javascript.platform.html.core.bootstrap.js"
	, "{FRAMEWORKPATH}/sin.javascript.platform.html.core.event.js"
	, "{FRAMEWORKPATH}/sin.javascript.platform.html.core.@.js"
	, "{FRAMEWORKPATH}/sin.javascript.platform.html.ui.@.js"
	, "{FRAMEWORKPATH}/sin.javascript.platform.html.ui.component.js"
	, "{FRAMEWORKPATH}/sin.javascript.platform.html.ui.htmlview.js"

	, "{FRAMEWORKPATH}/sin.javascript.api.@.js"

	, "{FRAMEWORKPATH}/com.soribada.javascript.openapplication.loading.js"
	, "{FRAMEWORKPATH}/com.soribada.javascript.openapplication.xml.converter.js"
	, "{FRAMEWORKPATH}/com.soribada.javascript.openapplication.widget.musicplayer.@.js"
	, "{FRAMEWORKPATH}/com.soribada.javascript.openapplication.widget.musicplayer.playerview.js"
	, "{FRAMEWORKPATH}/com.soribada.javascript.openapplication.widget.musicplayer.playerinterface.pilot_c.js"
	, "{FRAMEWORKPATH}/com.soribada.javascript.openapi.auth.@.js"
	, "{FRAMEWORKPATH}/com.soribada.javascript.openapi.auth.pending.js"
	, "{FRAMEWORKPATH}/com.soribada.javascript.openapi.musicplayer.@.js"

	, "{FRAMEWORKROOTPATH}/openapplication/mediaplayer/chosun/com.chosun.module.extends.js"
	]
});



// for SoundManager2
/*
soundManager.url = '/objects/flash/sm/'; // directory where SM2 .SWFs live

// Note that SoundManager will determine and append the appropriate .SWF file to the URL,
// eg. /path/to/sm2-flash-movies/soundmanager2.swf automatically.

// Experimental HTML5 audio support (force-enabled for iPad), flash-free sound for Safari + Chrome. Enable if you want to try it!
// soundManager.useHTML5Audio = true;

//soundManager.flashVersion = 10; // optional: shiny features (default = 8)

// do this to skip flash block handling for now. See the flashblock demo when you want to start getting fancy.
soundManager.useFlashBlock = false;

// disable debug mode after development/testing..
soundManager.debugMode = true;
soundManager.debugFlash = true;
*/
/*
soundManager.onload = function() {
  var mySound = soundManager.createSound({
    id: 'aSound',
    url: '/mp3/kkk.mp3'
    // onload: [ event handler function object ],
    // other options here..
  });
}
*/
// Option 1: Simple onload() + createSound() method
/*
soundManager.onload = function() {
  // SM2 has loaded - now you can create and play sounds!
  soundManager.createSound('helloWorld','/mp3/kkk.mp3');
  soundManager.play('helloWorld');
};

// Option 2 (better): More flexible onload() + createSound() method

soundManager.onload = function() {
  var mySound = soundManager.createSound({
    id: 'aSound',
    url: '/mp3/kkk.mp3'
    // onload: [ event handler function object ],
    // other options here..
  });
  mySound.play();
}

// Option 3 (best): onready() + createSound() methods, handle load/failure together:

soundManager.onready(function(oStatus) {
  // check if SM2 successfully loaded..
  if (oStatus.success) {
    // SM2 has loaded - now you can create and play sounds!
    var mySound = soundManager.createSound({
      id: 'aSound',
      url: '/mp3/kkk.mp3'
      // onload: [ event handler function object ],
      // other options here..
    });
    mySound.play();
  } else {
    // (Optional) Hrmm, SM2 could not start. Show an error, etc.?
  }
});
*/