function Deletemessage() { 
	
	if(confirm("Weet je zeker dat je dit berichtje wilt verwijderen?")) { 
	return true; 
	} 
	else { 
	return false; 
	} 
}

function FocusMessageBox() {
	if (document.postbericht)
	{
    document.postbericht.bericht.focus(); 
	}
}


function pic(url){
	sjow = window.open('../../profielpagina/pic.php?user='+url,'foto','width=20,height=20');
	sjow.focus();
}

function friends(url){
	sjow = window.open('../../buddy/friends.php?user='+url,'foto','width=260,height=352,scrollbars=yes');
	sjow.focus();
}

function open_window(url,width,height)
{
window.open(url,'window','toobars= no,scrollbars=yes,statusbar=no, width='+width+',height='+height)
}

function ShowHideBlogBox() {

 var reactie_box = document.getElementById('blog_reactie_box');

 if (reactie_box.style.display != 'block') {
  reactie_box.style.display = 'block';
 }
 else {
  reactie_box.style.display = 'none';
 } 

}