function getSymbol(mysymbol) {
	var regazAZ=/[^a-zA-Z]/;
	if (mysymbol.search(regazAZ)==-1) {
		var Symbol = mysymbol;
		Symbol.toUpperCase();
		if (( Symbol.length > 0 ) && ( Symbol.length < 7 )) {
			var urlstring = "getchain.php?sym="+Symbol;
			window.open(urlstring, "_blank", "width=660,height=560,top=0,left=400,location=1,menubar=1,resizable=1,scrollbars=1,status=1,titlebar=1, toolbar=1");
		}
		else alert("Symbol length incorrect. Must be 1 to 6 characters.");
	}
	else alert("Only letter A-Z are allowed in symbol.");
}