var players=function(){var E=null;
var D="template/lessonframe/flash/flowplayer.swf";
function C(F){F.onStart=function(G){E._trackEvent("Video","Start",G.url)
};
F.onPause=function(G){E._trackEvent("Video","Pause",G.url,parseInt(this.getTime()))
};
F.onStop=function(G){E._trackEvent("Video","Stop",G.url,parseInt(this.getTime()))
};
F.onFinish=function(G){E._trackEvent("Video","Finish",G.url)
}
}function A(G,H,I){var F={type:H,key:"#$b7a77fb62923901ae34",plugins:{synchronised:{url:"flowplayer.synchronised.swf",synch:(H!=="single"),master:(H=="master"),suffix:I}},clip:{scaling:"fit",bufferLength:10,provider:"synchronised",autoPlay:(H==="single"),autoBuffering:true},playlist:[{url:G}],play:{opacity:0}};
if(H==="slave"){F.plugins.controls={all:false,fullscreen:true,volume:true,mute:true,playlist:false}
}else{if(H==="master"){F.plugins.controls={all:true,stop:false,volume:false,mute:false,playlist:false}
}else{F.plugins.controls={all:true,stop:false,playlist:false}
}}if(E&&H!=="slave"){C(F.clip)
}return F
}function B(F,I,G,H){return $f(I,D,A(F,G,H))
}return{setGoogleAnalyticsTracker:function(F){if(typeof (F)==="object"){E=F
}},load:function(G,F){var H=Math.round(Math.random()*32767)+"";
if(F){B(G,"player1","master",H);
B(F,"player2","slave",H)
}else{B(G,"player1","single","")
}},fullscreenPause:function(){$f("*").each(function(){this.getPlugin("synchronised").fullscreenPause()
})
}}
}();