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://www.stervideotheekonline.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 = "#F5F5F5 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
function flash(filename,w,h) {
document.write('');
}
function MM_preloadImages() { //v3.0
alert('tut');
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i