// Written by Stefaan Uytdewilligen - Stekkie.be //

//////////////////////////////////////////////////
///////////// EMAILADRES -> ANTISPAM /////////////
//////////////////////////////////////////////////

function NoSpamMail(mail_one, mail_two, mail_three)
{

	var varOne		= mail_one;
	var varTwo		= mail_two;
	var varThree	= mail_three;
	var varMail;
	var varToNormal = "";

	document.MM_returnValue	= false;
	varMail = varOne + "@" + varTwo + "." + varThree;
	varToNormal += varMail;

	location.href = "mailto:" + varToNormal;
	status = "mailto:" + varToNormal;

}

//////////////////////////////////////////////////
////////////// OPEN FOTOS -> POP UP //////////////
//////////////////////////////////////////////////

function BekijkFoto(txtFoto)
{

	window.open(txtFoto, '', "toolbar=0, location=0, directories=0, status=0, menubar=0, resizeable=1, scrollbars=0, width=470, height=357");

}

function BekijkFotoVerslag(txtVerslag)
{

	window.open(txtVerslag, '', "toolbar=0, location=0, directories=0, status=0, menubar=0, resizeable=1, scrollbars=0, width=800, height=600");

}

//////////////////////////////////////////////////
//////////////// PAGINA IN POP UP ////////////////
//////////////////////////////////////////////////

function BekijkPagina(txtPagina)
{

	window.open(txtPagina, "", "toolbar=0, location=0, directories=0, status=1, menubar=0, resizeable=0, scrollbars=1, width=400, height=450");

}

function BekijkUpdates(txtUpdates)
{

	window.open(txtUpdates, "Updates", "toolbar=0, location=0, directories=0, status=1, menubar=0, resizeable=0, scrollbars=1, width=500, height=550");

}

//////////////////////////////////////////////////
//////////////// SMILEYS KLIKBAAR ////////////////
//////////////////////////////////////////////////

function KlikSmiley(Smiley)
{

	var Smiley;
	var newMessage;
	var oldMessage = document.form.bericht.value;

	newMessage = oldMessage+Smiley;
	document.form.bericht.value=newMessage;
	document.form.bericht.focus();
	
	return;

}

function SmileyInvoegen()
{

	return;

}