// inserts the text of the current comment into comment form and sets focus on comment field, so user can easily comment another comment
// @param  originElementId string of element Id where the original comment is
// @return void
function quoteUsercomment(originElementId) {
	source = document.getElementById(originElementId);
	target = document.forms['tx-guestbook-form'].elements['tx_veguestbook_pi1[entry]'];
	var quotingText = source.innerHTML;
	quotingText = quotingText.replace(/<br>/g,'');
	//quotingText = '> ' + quotingText.replace(/\n/g,'\n> ') + '\n\n';
	//quotingText = '<blockquote>' + quotingText + '</blockquote>\n\n';
	quotingText = '<q>' + quotingText + '</q>\n\n';
	target.value = quotingText;
	target.focus();

}
