function hideField(oID)
{
	var o = document.getElementById(oID);
	if(o)
	{
		o.style.display = "none";
	}
}

function showField(oID)
{
	var o = document.getElementById(oID);
	if(o){
		o.style.display = "block";
	}
}

function showFieldEx(oID)
{
	var o = document.getElementById(oID);
	if(o){
		o.style.display = "";
	}
}

function go(box)
{
	if (box.value) location = box.value;
}

// "Valid" XHTML Strict with target="_blank"
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";
   else if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "nofollow")
       anchor.target = "_blank";
 }
}
