/* Blog functies*/ 

function confirm_delete(reactieid, type, blog){
		if(confirm("Weet je zeker dat je deze reactie(ID: " +reactieid + ") wilt verwijderen?")){
			parent.window.location="index.php?p=delreactie&id=" + reactieid + "&type=" + type + "&blog=" + blog + "";
		}
}

<!-- popup om te printen -->

	 	if (parent.frames.length > 1) {
	 		parent.location.href = 'http://www.webseb.nl/'
	 	}

		function popup(n,width,height,scrollbars)
		{
			var showscrollbars	= scrollbars;
			//var showscrollbars	= 1;

			var window_width 	= width;
			var window_height 	= height;

			var screen_l = screen.width / 2;
			var screen_t = screen.height / 2;

			screen_l = (screen_l - (window_width / 2));
			screen_t = (screen_t - (window_height / 2)) - 10;

			welke = n;
			var options = 'width=' + window_width + ',height=' + window_height + ',left=' + screen_l + ',Top=' + screen_t + ',toolbar=0,menubar=0,location=0,scrollbars='+ showscrollbars +',directories=0,status=0,resizable=0'
			window.open( welke, 'popup' ,options ) ;
		}


<!-- Functie voor foto's in passende popup weergeven -->

function laatZien(fotonr, breedte, hoogte, src) 
{ 
foto = window.open('','','menubar=no,toolbar=no,resizable=yes'); 
foto.resizeTo(breedte,hoogte); 
foto.document.write("<html><head><title>Websebs Modelspoor Webfoto</title></head><body leftmargin='0' topmargin='0'>"); 
foto.document.write("<center><a href='JavaScript:onClick=self.close()'><img src=" + src + " alt=\"Klik op de foto om hem te sluiten\"></center></a>"); 
foto.document.write(""); 
//foto.document.oncontextmenu = function(){return false}
  if(document.layers) {
      window.captureEvents(Event.MOUSEDOWN);
       window.onmousedown = function(e){
           if(e.target==document)return false;
      }}
  else {document.onmousedown = function(){return false}}
} 
