// fixlinks.js


// ------------------------------------------------------------------------------------------------------------
//	anchorClickHandler
// ------------------------------------------------------------------------------------------------------------
function anchorClickHandler(event) {
	event.stopPropagation();
}

// ------------------------------------------------------------------------------------------------------------
//	fixLink
// ------------------------------------------------------------------------------------------------------------
function fixLink(link) {
	link.addEvent('click', anchorClickHandler)
}

// ------------------------------------------------------------------------------------------------------------
//	fixLinksInNode
// ------------------------------------------------------------------------------------------------------------
function fixLinksInNode(node) {
	var anchors = node.getElements('a')
	anchors.each(fixLink)
}