

// EXTERNAL LINK NEW WINDOW CODE add: rel="external"

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 FUNCTIONS 

window.onload = function () {
	externalLinks();

	
}

// SMALL POPUP WINDOW
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

// RESUME JUMP TO THING
function jumpTo(s) {
if (s.selectedIndex != 0) self.location.href = s.options[s.selectedIndex].value;return 1;
}

function refresh()
{
	window.location.reload( false );
}