<!--

if (top.frames.length > 1) {top.location = self.location;}

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 validate_required(field, alerttxt) {
	with (field) {
		if (value==null||value=="") {
			alert(alerttxt);return false;
		} else {
			return true;
		}
	}
}

function validate_form(thisform) {
	with (thisform) {
		if (validate_required(rsk, "Please type search keyword(s) before clicking the button!")==false)
			{rsk.focus();return false;}
	}
}

// -->