//Breaks out of the referring page's frameset
function changePage()
	{
		if (top != self) top.location.href = self.location.href;
	}


//Hides link text in browser status bar
function message(text) 
	{
		window.status = text;
	}

//Open external links in a new browser window -- only works with modern browsers
function externalLinks()
	{
		if (!document.getElementsByTagName) return;
		var anchors = document.getElementsByTagName("a");
		for (var i=0; i<anchors.length; i++)
			{
				var anchor = anchors[i];
				if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank";
			}
	}
window.onload = externalLinks;