/*function addslashes(str) {
	str=str.replace(/\\/g,'\\\\');
	str=str.replace(/\'/g,'\\\'');
	str=str.replace(/\"/g,'\\"');
	str=str.replace(/\0/g,'\\0');
	
	return str;
}
function stripslashes(str) {
	str=str.replace(/\\'/g,'\'');
	str=str.replace(/\\"/g,'"');
	str=str.replace(/\\0/g,'\0');
	str=str.replace(/\\\\/g,'\\');
	
	return str;
}*/
function AddUbbArea01(UbbCode) {
	var UbbCode;
	var Message;
	var oldMessage = document.edit.introblog.value;
	
	newMessage = oldMessage+UbbCode;
	
	//Message = stripslashes(UbbCode);
	
	document.edit.introblog.value=newMessage;
	document.edit.introblog.focus();
	
	return;
}
function AddUbbArea02(UbbCode) {
	var UbbCode;
	var newMessage;
	var oldMessage = document.edit.blog.value;
	
	newMessage = oldMessage+UbbCode;
	document.edit.blog.value=newMessage;
	document.edit.blog.focus();
	
	return;
}
function AddSmile(SmileCode) {
	var SmileCode;
	var newMessage;
	var oldMessage = document.reaction.comment.value;
	
	newMessage = oldMessage+SmileCode;
	document.reaction.comment.value=newMessage;
	document.reaction.comment.focus();
	
		return htmlspecialchars(stripslashes($input));
	
	return;
}
//function AddAlbumID(ID) {
//	var ID;
//	
//	document.edit_blog.album.value=ID;
//	document.edit_blog.album.focus();
//	
//	return;
//}
function AddAlbumID(ID) {
	var ID;
	
	document.edit.album.value=ID;
	document.edit.album.focus();
	
	return;
}
function AddAlbum2ID(ID) {
	var ID;
	
	document.edit.album2.value=ID;
	document.edit.album2.focus();
	
	return;
}
function AddPictureID(ID) {
	var ID;
	
	document.edit.pictureID.value=ID;
	document.edit.pictureID.focus();
	
	return;
}

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

function MM_popupMsg(msg) { //v1.0
  confirm(msg);  
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function popupConfirm(url,msg) { //v1.0
  var answer = confirm (msg)
	if (answer)
	window.location=url
}
//-->
<!---Place Between Head Tags--->
<!---Place Between Body Tags---><input type="button" name="button" value="Ja"
//onClick="MM_popupMsg('Bent u zeker dat u deze afbeelding wilt verwijderen?');MM_goToURL('parent','http://test');return document.MM_returnValue">

