function openwindowablage(dateiname,breite,hoehe) { zwab = window.open(dateiname,'zwischenablage','dependent=yes,toolbar=no,scrollbars=yes,status=no,menubar=no,location=no,resizable=yes,width='+breite+',height='+hoehe+',left=0,top=0'); zwab.focus(); } function disableInlineEdit(cookieName) { // Ablaufdatum des Cookies einfach in die Vergangenheit temp = ''; document.cookie = cookieName + "=" + temp + "; expires=Thu, 01-Jan-70 00:00:01 GMT;"; document.location.reload(); } /* PopUp fuer Modul Link */ function openLinkWindow(link, breite, hoehe, left, top, scrollbars, resizable, status) { var linkPopUp = window.open(link, 'LinkPopUp', 'toolbar=no,scrollbars='+scrollbars+',status='+status+',menubar=no,location=no,resizable='+resizable+',width='+breite+',height='+hoehe+',left='+left+',top='+top); if (linkPopUp.opener == null) linkPopUp.opener = self; linkPopUp.focus(); } // Notwendige Funktion zur Umsetzung der Paging-Klasse im Frontend mit POST-Werten function NFYPagingSubmit(FormName,costart_val) { window.document.forms[FormName].elements['costart'].value=costart_val; window.document.forms[FormName].submit(); } // Einbau für Test var player = null; function playerReady(thePlayer) { player = window.document[thePlayer.id]; addListeners(); } function addListeners() { if (player) { player.addControllerListener("ITEM", "itemListener"); } else { setTimeout("addListeners()",100); } } function itemListener(obj) { if (obj.index != currentItem) { previousItem = currentItem; currentItem = obj.index; var tmp = document.getElementById("itm"); if (tmp) { tmp.innerHTML = "current item: " + currentItem + "
previous item: " + previousItem; } getPlaylistData(currentItem); } } //Tracking ausgelagert in pa_game2009.php /* // Moegliche Tracking-Funktion beim Abspielen eines Videos und Audios function tracking(nfy_content_id) { //Default-Werte //if(!nfy_content_type) var nfy_content_type = ''; //if(!nfy_content_id) var nfy_content_id = ''; //alert('Hello 1'); //var ivw = new Image(); //ivw.src = "http://pznews.ivwbox.de/cgi-bin/ivw/CP/multimedia?d="+(Math.random()*100000); if(nfy_content_id != '') { //Kommt hier nicht an //var playCount = new Image(); //playCount.src = "/scripts/content_count.php?id="+nfy_content_id+"&type="+nfy_content_type+"&rand="+(Math.random()*100000); alert('Hello 2'); } } function playTracker(obj) { tracking(obj.id.split(/_/)[1]); } function playerReady(obj) { document.getElementById(obj['id']).addViewListener('PLAY','playTracker'); } */