
function submitQuickQuoteForm(quoteURL) {
		
		var displayPage =  quoteURL + "?ticker=";
		
		var symbolVal = document.quickquote.quote.value;

		if (symbolVal != "undefined") {
			displayPage= displayPage + symbolVal;
		}		
		if(symbolVal == "GET QUOTE") {
			top.location = "http://www.nyse.com/marketinfo/1089312752882.html";			
		} else {
			top.location.href = "http://www.nyse.com" + displayPage;
		}

}

function submitSearchForm() {
	var searchVal = document.searchform.q.value;
	if(searchVal == "SEARCH") {
		top.location = "http://www.nyse.com/cgi-bin/google.pl";
	} else {
		document.searchform.action = "http://www.nyse.com/cgi-bin/google.pl";
		document.searchform.submit();
	}
}
