// --------------------------------------------------
// Library Javascript
// Version: Jun 2008
// Dependent on jQuery
// --------------------------------------------------
// Check Tags on Document
function libCheckTags(checkTag) {
	if (!document.getElementsByTagName) return;
	var nodeList = document.getElementsByTagName(checkTag);
	return nodeList;
}

// --------------------------------------------------
// External Links
// --------------------------------------------------
function externalLinks() {
	var anchors = libCheckTags('a');
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
		if (anchor.getAttribute('href') && anchor.getAttribute('rel') == 'external') {
			anchor.target = '_blank';
		}
	}
}
$(function(){ externalLinks();});

// --------------------------------------------------
// Drop Down List URL Jump
// --------------------------------------------------
function dropdownlistURLJump(selectOBJ) {
	num = selectOBJ.selectedIndex;
	location.href = selectOBJ.options[num].value;
}