


// selecteer of delecteer checkbox
var checkflag = "false";
function check(field) {
if (checkflag == "false") {
  for (i = 0; i < field.length; i++) {
  field[i].checked = true;}
  checkflag = "true";
  return "deselecteer alles"; }
else {
  for (i = 0; i < field.length; i++) {
  field[i].checked = false; }
  checkflag = "false";
  return "selecteer alles"; }
}




// canManipulateImages - check if the browser we're using can do
// clever stuff with document images.

function canManipulateImages() {
	if (document.images)
		return true;
	else
		return false;
}

// loadPosterImage

function loadPosterImage(imageURL) {
	if (gImageCapableBrowser) {
		document.imagePoster.src = imageURL;
		return false;
	}
	else {
		return true;
	}
}

// gImageCapableBrowser - is this browser hip to images? Set up
// a global variable so that we don't have to keep calling a function
// (useful if the function becomes costly to compute).

gImageCapableBrowser = canManipulateImages();



var name = navigator.appName
if (name == "Microsoft Internet Explorer")
document.write('<STYLE TYPE="text/css">	<!--  A:hover {color:"<% response.write hovercolor %>";  background:"<% response.write hoverbackground %>"; text-decoration:"<% response.write hovertextdecoration %>";} .box {width : <% response.write boxwidth %>; } --><\/STYLE>');



function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,titlebar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=750,height=550');");
}



function popUptelefoon(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,titlebar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=100,height=20');");
}




function popUp3(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,titlebar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=850,height=650');");
}




function popUpfoto(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL,'" + id + "', 'toolbar=0,titlebar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=550,height=600');");
}




function popUpgames(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,titlebar=0,scrollbars=0,location=0,statusbar=1,menubar=0,resizable=1,width=970,height=800');");
}





function popUproute(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,titlebar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=500');");
}




function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}

 
 

function formHandler2(form2){
var URL = document.form2.site2.options[document.form2.site2.selectedIndex].value;
window.location.href = URL;
}

 


function formHandler3(formrangschik){
var URL = document.formrangschik.rangschik.options[document.formrangschik.rangschik.selectedIndex].value;
window.location.href = URL;
}

 
 

function formHandler4(formsubgroep){
var URL = document.formsubgroep.subgroep.options[document.formsubgroep.subgroep.selectedIndex].value;
window.location.href = URL;
}

 
 
 
function formHandler5(formusers){
var URL = document.formusers.users.options[document.formusers.users.selectedIndex].value;
window.location.href = URL;
}

 
 
 

function formHandler6(dagboekkiesdatum){
var URL = document.dagboekkiesdatum.kiesdatum.options[document.dagboekkiesdatum.kiesdatum.selectedIndex].value;
window.location.href = URL;
}

 
 
  
function formHandler6(form6){
var URL = document.form6.site6.options[document.form6.site6.selectedIndex].value;
window.location.href = URL;
}

 
 

function formHandler7(form7){
var URL = document.form7.site7.options[document.form7.site7.selectedIndex].value;
window.location.href = URL;
}

 


 
function formHandler8(formrangschik2){
var URL = document.formrangschik2.rangschik2.options[document.formrangschik2.rangschik2.selectedIndex].value;
window.location.href = URL;
}

 
 

 
 
function formHandlerCat(formcat){
var URL = document.formcat.cat.options[document.formcat.cat.selectedIndex].value;
window.location.href = URL;
}

 


function formHandler(formpaging){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}

 
 

function formChangeADSCAT(formadupdate){
var URL = document.formadupdate.ADSCAT_ID.options[document.formadupdate.ADSCAT_ID.selectedIndex].value;
window.location.href = URL;
}

 
 
 
function formChangeADSSUB(formadupdate){
var URL = document.formadupdate.ADSSUB_ID.options[document.formadupdate.ADSSUB_ID.selectedIndex].value;
window.location.href = URL;
}

 
 
 
function formChangeADSSUBSUB(formadupdate){
var URL = document.formadupdate.ADSSUBSUB_ID.options[document.formadupdate.ADSSUBSUB_ID.selectedIndex].value;
window.location.href = URL;
}




