// We need history based back links in some documents which are referred from multiple sources,
// but Plone discards all javascript based links from user-created content. 

function setHistoryLink()
{
	var targetLink = document.getElementById("linkBack");
	if (targetLink != null) targetLink.href = "javascript:history.go(-1)";
}


registerPloneFunction(setHistoryLink);
