addLoadEvent(RegisterHyperlinks);

/*
* Registers the events for all of the objects
*/
function RegisterHyperlinks() {
	var hyperlinks = document.body.getElementsByTagName('a');

	for (var i=0;i<hyperlinks.length;i++) {
		//open up all external hyperlinks in a new window
		if (hyperlinks[i].className!==null) {
			if (hyperlinks[i].className.match("blank")!==null) {
				hyperlinks[i].onclick= function () {
					window.open(this.href,"_blank");
					return false;
				};
			}
		}
	}
}


