
var InSkinLoadedFiles=(typeof(InSkinLoadedFiles)!='undefined'?InSkinLoadedFiles+';api_QUICKTV':'api_QUICKTV');if(typeof(InSkinLoad.loadedFiles['api_QUICKTV'])=='undefined'){InSkinLoad.loadedFiles['api_QUICKTV']=true;function InSkinContent_QUICKTV(id){InSkinDebug.trace('InSkinContent_QUICKTV object created.');this.type='QUICKTV';this.id=id;}
var InSkinAPI=InSkinContent_QUICKTV.prototype=new InSkinContent();InSkinAPI.init=function(){InSkinDebug.trace('InSkinContent_QUICKTV::init() called.');this.initByPolling();}
InSkinAPI.doPlay=function(){this.obj.doPlay();}
InSkinAPI.doPause=function(){this.obj.doPause();}
InSkinAPI.handler_onStateChange=function(state){InSkinDebug.trace('InSkinContent_QUICKTV::handler_onStateChange() called. State = '+state);switch(state){case'loading':case'rewinding':this.onNewItem();break;case'playing':this.onPlay();break;case'paused':this.onPause();break;case'stopped':this.onComplete();break;default:this.swIsPlaying=false;}}
var InSkin_onStateChange=null;if(typeof(onStateChange)=='function'){InSkin_onStateChange=onStateChange;}
window.onStateChange=function(state){if(InSkinContentManager.objects['QUICKTV']){for(var k in InSkinContentManager.objects['QUICKTV']){InSkinContentManager.objects['QUICKTV'][k].handler_onStateChange(state);}}
if(InSkin_onStateChange)InSkin_onStateChange(state);}}