function isIE5() { return (navigator.userAgent.indexOf("MSIE 5") > -1); } function isIE6() { return ((navigator.userAgent.indexOf("MSIE 6") > -1) && (navigator.userAgent.indexOf("Opera") == -1)); } function isIE() { return (isIE5() || isIE6());} function fixpng() { for (var i = 0; i < document.images.length; i++) { var img = document.images[i]; imgSrc = img.src; if (imgSrc.substr(imgSrc.length-3).toLowerCase() == "png") { var w, h; w = img.width, h = img.height; img.src = "http://film.kanalenkiezer.nl/null.gif"; img.width = w, img.height = h; img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'" + imgSrc + "\', sizingMethod='scale');"; } } } var isIE = isIE(); if ( isIE ) { window.attachEvent("onload", fixpng); } // Global n4=(document.layers); n6=(document.getElementById&&!document.all); ie=(document.all); function addtext_only_ie() { var ExcelSheet; try { ExcelSheet = new ActiveXObject('Microsoft.XMLHTTP'); } catch (e) { document.writeln('U maakt geen gebruik van Internet Explorer.
Dit is echter een vereiste.Start uw Internet Explorer en log opnieuw in om uw film te bestellen.
'); } } function GetEl(el) { if(n4){ obj = document.el; // NN4 } else { if(n6){ obj = document.getElementById(el); } else { if(ie){ obj = document.all[el]; // IE4 } } } return obj; } function itemFocus() { return; eId = window.event.srcElement.id; document.all[eId].style.border = "black 1px solid"; } function itemBlur() { return; eId = window.event.srcElement.id; document.all[eId].style.border = " 1px solid"; } if (window.Event) // Only Netscape will have the CAPITAL E. document.captureEvents(Event.MOUSEUP); // catch the mouse up event function nocontextmenu() // this function only applies to IE4, ignored otherwise. { var path = document.location.pathname; if((path != '/billing/') && (path !='/profile/inbox/')) { event.cancelBubble = true event.returnValue = false; return false; } } function norightclick(e) // This function is used by all others { if (window.Event) // again, IE or NAV? { if (e.which == 2 || e.which == 3) return false; } else if (event.button == 2 || event.button == 3) { event.cancelBubble = true event.returnValue = false; return false; } } document.oncontextmenu = nocontextmenu; // for IE5+ document.onmousedown = norightclick; // for all others /* 19.10.2006 by cyxapuk */ function show_trailer() { document.getElementById('trailershot').style.display="none"; document.getElementById('trailer').style.display="block"; document.getElementById('trailerlink').style.display="block"; player = document.getElementById('mediaPlayer'); player.play(); } /* 17.11.2006 cyxapuk */ /* trailer ajax */ var req; var req2; var req3; var req4; function start_ajax(id,slide) { url = 'trailer.php'; url2 = 'show.php'; url3 = 'bar.php'; var box = document.getElementById("slideshow"); var trailer = document.getElementById("ajax_show"); box.style.display = 'none'; trailer.style.display = 'block'; if(window.XMLHttpRequest) { req = new XMLHttpRequest(); req2 = new XMLHttpRequest(); req3 = new XMLHttpRequest(); } else if(window.ActiveXObject) { req = new ActiveXObject("Microsoft.XMLHTTP"); req2 = new ActiveXObject("Microsoft.XMLHTTP"); req3 = new ActiveXObject("Microsoft.XMLHTTP"); } req.open("GET", url+'?id='+id, true); req3.open("GET", url3+'?id='+id, true); req.onreadystatechange = callback; req3.onreadystatechange = callback3; req.send(null); req3.send(null); if(slide == 1) { trailer.style.display = 'none'; box.style.display = 'block'; slideshow(id); } else { req2.open("GET", url2+'?id='+id, true); req2.onreadystatechange = callback2; req2.send(null); } } //to know film id function slide_ajax(id) { url = 'slide.php'; if(window.XMLHttpRequest) { req4 = new XMLHttpRequest(); } else if(window.ActiveXObject) { req4 = new ActiveXObject("Microsoft.XMLHTTP"); } req4.open("GET", url+'?id='+id, true); req4.onreadystatechange = callback4; req4.send(null); } function callback4() { if(req4.readyState == 4) { if(req4.status == 200) { //response = ''; response = req4.responseText; document.getElementById("slide_ajax").innerHTML = response; } else { alert("REQ1: There was a problem retrieving the data:\n" + req.statusText); } } } function callback() { if(req.readyState == 4) { if(req.status == 200) { response = req.responseText; document.getElementById("ajax_info").innerHTML = response; } else { alert("REQ1: There was a problem retrieving the data:\n" + req.statusText); } } } function callback2() { if(req2.readyState == 4) { if(req2.status == 200) { response = req2.responseText; document.getElementById("ajax_show").innerHTML = response; } else { alert("REQ2: There was a problem retrieving the data:\n" + req2.statusText); } } } function callback3() { if(req3.readyState == 4) { if(req3.status == 200) { response = req3.responseText; document.getElementById("ajax_bar").innerHTML = response; } else { alert("REQ3: There was a problem retrieving the data:\n" + req3.statusText); } } } /* function sm_over_(obj) { obj.style.backgroundImage="url(http://film.kanalenkiezer.nl/images/leftmenu/images/leftmenu_button_over.gif)"; } function sm_out_(obj) { obj.style.backgroundImage="url(http://film.kanalenkiezer.nl/images/leftmenu/images/leftmenu_button.gif)"; } */ function sm_over_(obj) { obj.className = 'obutton'; } function sm_out_(obj) { obj.className = 'button'; } function flash(filename,w,h) { document.write(''); document.write(''); document.write(''); } function PlaceOnFocus() { if(document.LOG.LOGIN.value == 'Uw e-mail adres hier') document.LOG.LOGIN.value = ''; } function PlaceOnBlur() { if(document.LOG.LOGIN.value == '') document.LOG.LOGIN.value = 'Uw e-mail adres hier'; } function conf(txt){ return confirm(txt); } function zoom(url,ww,hh,id){ var wX=10; var wY=10; if(!ie && !n6){ ww+=15; hh+=15; } if(ie || n6){ wX=(screen.availWidth-(ww+5))*.5; wY=(screen.availHeight-(hh+20))*.5; } return popup=window.open(url,id,"scrollbars=0,resizable=0,width="+ww+",height="+hh+",left="+wX+",top="+wY); } function pop(url,ww,hh,id){ var wX=10; var wY=10; if(!ie){ ww+=15; hh+=15; } if(ie || n6){ wX=(screen.availWidth-(ww+5))*.5; wY=(screen.availHeight-(hh+20))*.5; } return popup=window.open(url,id,"scrollbars=1,resizable=1,width="+ww+",height="+hh+",left="+wX+",top="+wY); }