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