
function addurlcode(code) {
  	if (document.form.new_message.createTextRange) {
  		document.form.new_message.focus();
  		document.selection.createRange().duplicate().text = code;
   	} else {
  		document.form.new_message.value += code;
   	}
}
function fotopopup(image, my_Width, my_Height) 
{

	//my_Width		= eval(my_Width);	my_Width			+= 40;
	my_Height		= eval(my_Height);	my_Height			+= 16;
	SizeString		= 'width=' + my_Width + ',height=' + my_Height;
	oPopup	=	window.open("","Foto_popup",SizeString);

	myHTML			= '<html><body style="margin: 0px;"><center><img src="' + image + '"><br /></center><div style="font-size: 9pt; text-align: right; padding-right: 5px;"><img src="./opmaak/kleurbalk15x120_2.jpg" width="120" height="15" alt="- | -" style="vertical-align: top; float:left; margin-top: 1px;"><a href="javascript:this.close()">:::: sluit venster ::::</a></div></body></html>';
	oPopup.document.write(myHTML);
	oPopup.document.close();
	oPopup.focus();
	
}


function do_s1()
{
var txt=document.getElementById('my_txtarea').value+" :) ";
document.getElementById('my_txtarea').value=txt;
}
function do_s2(willekeur)
{
var txt=document.form.(new_message + willekeur).value+" :p ";
document.form.(new_message + willekeur).value=txt;
}
function do_s3()
{
var txt=document.form.new_message.value+" :d ";
document.form.new_message.value=txt;
}
function do_s4()
{
var txt=document.form.new_message.value+" 8) ";
document.form.new_message.value=txt;
}
function do_s5()
{
var txt=document.form.new_message.value+" :( ";
document.form.new_message.value=txt;
}
function do_s6()
{
var txt=document.form.new_message.value+" :huh: ";
document.form.new_message.value=txt;
}
function do_s7()
{
var txt=document.form.new_message.value+" ;) ";
document.form.new_message.value=txt;
}
function do_s8()
{
var txt=document.form.new_message.value+" :!: ";
document.form.new_message.value=txt;
}
function do_s9()
{
var txt=document.form.new_message.value+" :?: ";
document.form.new_message.value=txt;
}
function do_s10()
{
var txt=document.form.new_message.value+" :czy: ";
document.form.new_message.value=txt;
}

