function fpv_ServiceGetPlaylist(_1){
if(_1==0){
return;
}
var pl=new SOAPClientParameters();
pl.add("clip_id",_1);
pl.add("nusoap_gateway",FPV_SERVICES_BASE+"more_video/nusoap_gateway.php");
var r=SOAPClient.invoke(moreVideoUrl,"getPlaylist",pl,true,fpv_ServiceGetPlaylist_callback);
}
function fpv_ServiceGetPlaylist_callback(r,_5){
var _6="";
var _7=r.items;
if(r.error_code==0){
if(r.clips){
embeddedPlayerManager.getPlayer().playlists=null;
embeddedPlayerManager.getPlayer().playlists=new Array();
embeddedPlayerManager.getPlayer().createPlaylist(r.clips);
}
}
}
var stopplayField=false;
function stopplayInit(){
for(var q=0;q<stopplayDivIDs.length;q++){
if(document.getElementById(stopplayDivIDs[q]).addEventListener){
$(stopplayDivIDs[q]).addEventListener("mouseover",stopplayTrue,false);
$(stopplayDivIDs[q]).addEventListener("mouseout",stopplayFalse,false);
}else{
$(stopplayDivIDs[q]).attachEvent("onmouseover",stopplayTrue);
$(stopplayDivIDs[q]).attachEvent("onmouseout",stopplayFalse);
}
}
for(q=0;q<stopplayFieldIDs.length;q++){
if(document.getElementById(stopplayFieldIDs[q]).addEventListener){
$(stopplayFieldIDs[q]).addEventListener("focus",stopplayFieldTrue,false);
$(stopplayFieldIDs[q]).addEventListener("blur",stopplayFieldFalse,false);
}else{
$(stopplayFieldIDs[q]).attachEvent("onfocus",stopplayFieldTrue);
$(stopplayFieldIDs[q]).attachEvent("onblur",stopplayFieldFalse);
}
}
}
function stopplayFieldTrue(){
stopplayField=true;
stopplayTrue();
}
function stopplayFieldFalse(){
stopplayField=false;
stopplayFalse();
}
function stopplayTrue(){
embeddedPlayerManager.getPlayer().allowPlaylistAdvance=false;
}
function stopplayFalse(){
if(stopplayField==true){
return;
}
embeddedPlayerManager.getPlayer().allowPlaylistAdvance=true;
}

