//Start fleXcroll using any method you like, either inside your html like this, or you may use seperate files
//The latter is more ideal, but this code is here for easy viewing
if (document.getElementById && document.getElementsByTagName) {
if (window.addEventListener) window.addEventListener('load', initScrollBars, false);
else if (window.attachEvent) window.attachEvent('onload', initScrollBars);
}


function initScrollBars() {
CSBfleXcroll('mycustomscroll');
CSBfleXcroll('mycustomscroll1');
CSBfleXcroll('mycustomscroll2');
CSBfleXcroll('mycustomscroll3');
CSBfleXcroll('mycustomscroll230');
CSBfleXcroll('mycustomscroll230a');
CSBfleXcroll('mycustomscroll230b');
CSBfleXcroll('mycustomscroll230c');
CSBfleXcroll('mycustomscroll275');
CSBfleXcroll('mycustomscroll275a');
CSBfleXcroll('mycustomscroll320');
CSBfleXcroll('mycustomscroll430');
CSBfleXcroll('mycustomscroll445');
CSBfleXcroll('mycustomscroll570');
CSBfleXcroll('mycustomscroll570a');
CSBfleXcroll('mycustomscroll570b');
CSBfleXcroll('mycustomscroll570h');
CSBfleXcroll('mycustomscroll920');
CSBfleXcroll('mycustomscroll320-2');
CSBfleXcroll('mycustomscroll570-2');
CSBfleXcroll('mycustomscrollforum');

CSBfleXcroll('mycustomscroll473');
CSBfleXcroll('mycustomscroll473b');
CSBfleXcroll('mycustomscroll473c');
CSBfleXcroll('mycustomscroll473d');
CSBfleXcroll('mycustomscroll473e');
CSBfleXcroll('mycustomscroll473f');
CSBfleXcroll('mycustomscroll473g');
CSBfleXcroll('mycustomscroll411a');
CSBfleXcroll('mycustomscroll411b');
CSBfleXcroll('mycustomscroll411c');
CSBfleXcroll('mycustomscroll411d');
CSBfleXcroll('mycustomscroll411e');
CSBfleXcroll('mycustomscroll411f');
CSBfleXcroll('mycustomscroll205a');
CSBfleXcroll('mycustomscroll205b');
CSBfleXcroll('mycustomscroll190a');
CSBfleXcroll('mycustomscroll190a1');
CSBfleXcroll('mycustomscroll190a2');
CSBfleXcroll('mycustomscroll190b');
CSBfleXcroll('mycustomscroll190c1');
CSBfleXcroll('mycustomscroll190c2');
CSBfleXcroll('mycustomscroll950');
}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=500,left = 340,top = 262');");
}




if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
    window.attachEvent("onload", alphaBackgrounds);
}

function alphaBackgrounds(){
    var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
    var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
    for (i=0; i<document.all.length; i++){
        var bg = document.all[i].currentStyle.backgroundImage;
        if (itsAllGood && bg){
            if (bg.match(/\.png/i) != null){
                var mypng = bg.substring(5,bg.length-2);
                document.all[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+mypng+"',sizingMethod='scale')";
                document.all[i].style.backgroundImage = "url('/images/spacer.gif')";
            }
        }
    }
}

function selectProvince(passLocation, passValue) {
	if (passValue>0) {
		location = passLocation+'&forumId='+passValue;
	}
	else {
		location = passLocation+'&forumId=';
	}
}

function PopupPic(sPicURL) {
     window.open("popup.html?"+ sPicURL, "VerledenvanNederland", "resizable=1,HEIGHT=200,WIDTH=200");
   }

function PopupPers(sPicURL) {
     window.open("index.php?page=10&pers&"+ sPicURL, 'VerledenvanNederland', 'resizable=1,scrollbars=yes,height=200,width=800px');
   }


