function Includepage(serverPage, objID) 
	{
		var obj = document.getElementById(objID);
		xmlhttp.open("GET", serverPage);
		xmlhttp.onreadystatechange = function() 
			{
			if (xmlhttp.readyState == 4 && xmlhttp.status == 200) 
				{
				obj.innerHTML = xmlhttp.responseText;
				}
			else obj.innerHTML = "";
			}
		xmlhttp.send(null);
		
	}

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;
function popitup(url) {
	newwindow=window.open(url,'name','height=400,width=600,scrollbars=1,menubar=1,resizable=1');
	if (window.focus) {newwindow.focus()}
	return false;
}

