init = function() {
	// check for out links
	var allA = document.getElementsByTagName('A');
	for (i=0; i<allA.length; i++) {
		if( (allA[i].rel == "appendix") || (allA[i].rel == "bookmark") ){
			allA[i].onclick = function () {
				window.open(this.href);
				return false;
			}
		}
	}
}

window.onload = init;