<!--
function confirm_delete_block(page_id,block_id){
  input_box = confirm("Weet u zeker dat u dit blok wilt verwijderen?");
  if (input_box == true){ 
    window.location = "?pageId=" + page_id + "&blockId=" + block_id + "&action=deleteconfirmed";
  }
}

function confirm_delete_article(page_id,article_id){
  input_box = confirm("Weet u zeker dat u dit artikel wilt verwijderen?");
  if (input_box == true){ 
    window.location = "?pageId=" + page_id + "&remove=" + article_id;
  }
}

function confirm_delete_photobook(page_id,photobook_id){
  input_box = confirm("Weet u zeker dat u dit fotoalbum wilt verwijderen?");
  if (input_box == true){ 
    window.location = "?pageId=" + page_id + "&remove=" + photobook_id;
  }
}

function confirm_delete_photo(page_id,photobook_id,photo_id){
  input_box = confirm("Weet u zeker dat u deze foto wilt verwijderen?");
  if (input_box == true){ 
    window.location = "?pageId=" + page_id + "&photoBookId=" + photobook_id + "&remove_photo=" + photo_id;
  }
}

function confirm_delete_forum(page_id,forum_id){
  input_box = confirm("Weet u zeker dat u dit forum wilt verwijderen?");
  if (input_box == true){ 
    window.location = "?pageId=" + page_id + "&remove_forum=" + forum_id;
  }
}

function confirm_delete_topic(page_id,forum_id,topic_id){
  input_box = confirm("Weet u zeker dat u deze discussie wilt verwijderen?");
  if (input_box == true){ 
    window.location = "?pageId=" + page_id + "&forumId=" + forum_id + "&remove_topic=" + topic_id;
  }
}

function confirm_delete_reply(page_id,forum_id,topic_id,reply_id){
  input_box = confirm("Weet u zeker dat u deze reactie wilt verwijderen?");
  if (input_box == true){ 
    window.location = "?pageId=" + page_id + "&forumId=" + forum_id + "&topicId=" + topic_id + "&remove_reply=" + reply_id;
  }
}

function confirm_popup(url){
  input_box = confirm("Weet u het zeker?");
  if (input_box == true){
    window.location = url;
  }
}

function confirm_delete(url)
{
	input_box=confirm("Weet u zeker dat u wilt verwijderen?");
	if (input_box==true) {
		window.location = url;
	}
}
function confirm_approve(page_id,article_id)
{
	input_box=confirm("Weet u zeker dat u wilt goedkeuren?");
	if (input_box==true) {
		window.location = "?pageId=" + page_id + "&articleId=" + article_id + "&approveConcept=true";
	}
}
function confirm_approve_agenda(page_id,agenda_id)
{
	input_box=confirm("Weet u zeker dat u wilt goedkeuren?");
	if (input_box==true) {
		window.location = "?pageId=" + page_id + "&agendaId=" + agenda_id + "&approveConcept=true";
	}
}
function confirm_reject(page_id,article_id)
{
	input_box=confirm("Weet u zeker dat u wilt afkeuren? Dit verwijdert het concept.");
	if (input_box==true) {
		window.location = "?pageId=" + page_id + "&articleId=" + article_id + "&rejectConcept=true";
	}
}
function confirm_reject_agenda(page_id,agenda_id)
{
	input_box=confirm("Weet u zeker dat u wilt afkeuren? Dit verwijdert het concept.");
	if (input_box==true) {
		window.location = "?pageId=" + page_id + "&agendaId=" + agenda_id + "&rejectConcept=true";
	}
}

function toggleLayer(whichLayer)
{
if (document.getElementById)
{
// this is the way the standards work
var style2 = document.getElementById(whichLayer).style;
style2.display = style2.display? "":"block";
}
else if (document.all)
{
// this is the way old msie versions work
var style2 = document.all[whichLayer].style;
style2.display = style2.display? "":"block";
}
else if (document.layers)
{
// this is the way nn4 works
var style2 = document.layers[whichLayer].style;
style2.display = style2.display? "":"block";
}
}

function resizeFlash(id)
{
	if (document.getElementById)
	{
		var flash = document.getElementById(id);
		
	}
	else if (document.all)
	{
		var flash = document.all[id];
	}
	else if (document.layers)
	{
		var flash = document.layers[id];
	}
	flash.width = parseInt(flash.TGetProperty('/',8)) + "px";
	flash.height = parseInt(flash.TGetProperty('/',9)) + "px";
}

function toggleElementBasedOnCheckbox(checkbox,elementID)
{
	if (document.getElementById) {
		var element = document.getElementById(elementID);
	} else if (document.all) {
		var element = document.all[elementID];
	} else if (document.layers) {
		var element = document.layers[elementID];
	}
	if (checkbox.value == "on") {
		element.disabled = true;
	} else {
		element.disabled = false;
	}
}
-->