
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - swfplayer.js - */
// http://www.brusselnieuws.be/portal_javascripts/swfplayer.js?original=1
var currentPosition;var currentVolume;var currentItem;
function sendEvent(typ,prm){thisMovie("mpl").sendEvent(typ,prm)};
function getUpdate(typ,pr1,pr2,pid){if(typ=="time"){currentPosition=pr1}
else if(typ=="volume"){currentVolume=pr1}
else if(typ=="item"){currentItem=pr1;setTimeout("getItemData(currentItem)",100)}
var id=document.getElementById(typ);id.innerHTML=typ+": "+Math.round(pr1);pr2==undefined?null:id.innerHTML+=", "+Math.round(pr2);if(pid!="null"){document.getElementById("pid").innerHTML="(received from the player with id <i>"+pid+"</i>)"}};
function loadFile(obj){thisMovie("mpl").loadFile(obj)};
function addItem(obj,idx){thisMovie("mpl").addItem(obj,idx)}
function removeItem(idx){thisMovie("mpl").removeItem(idx)}
function getItemData(idx){var obj=thisMovie("mpl").itemData(idx);var nodes="";for(var i in obj){nodes+="<li>"+i+": "+obj[i]+"</li>"}
document.getElementById("data").innerHTML=nodes};
function thisMovie(movieName){if(navigator.appName.indexOf("Microsoft")!=-1){return window[movieName]} else{return document[movieName]}};

/* - slider.js - */
// http://www.brusselnieuws.be/portal_javascripts/slider.js?original=1
$(document).ready(function(){$('#MultimediaLinks .block > div.embeddedPlayer').hide();$('#MultimediaLinks2 .block > div.embeddedPlayer').hide();$('#MultimediaLinks .block > .icon').click(function(){$(this).next().slideToggle('normal')});$('#MultimediaLinks2 .block > .icon').click(function(){$(this).next().slideToggle('normal')})});
