function OneMoreInput(name, post, comment, size)
{
	p = document.getElementById(name);
	
	div = document.createElement('div');
	
	input = document.createElement('input');
	input.setAttribute('type', 'file');
	input.setAttribute('name', post);
	input.setAttribute('size', size);
	input.setAttribute('accept','image/gif,image/jpeg');
	
	memo = document.createElement('textarea');
	memo.setAttribute('rows',2);
	memo.setAttribute('cols',60);
	memo.setAttribute('name',comment);

	br = document.createElement('br');
	
	div.appendChild(input);
	div.appendChild(br);	
	div.appendChild(memo);
	p.appendChild(div);
}

function mailTo(host,user)
{
	window.location = "mailto:" + user + "@" + host;
}

function toggleVisibility(elementName)
{
	var me = document.getElementById(elementName)
	if (me.style.display == "none")
		me.style.display="block";
	else
		me.style.display="none";
}

