
function signOnGo() {
	var iTempSelectedIndex =
 document.getElementById('signOnForm').elements['signOnSelect'].selectedIndex;
	var thelink = document.getElementById('signOnForm').elements['signOnSelect'].options[iTempSelectedIndex].value;
	if (thelink.indexOf('realTimeCrude') >= 0)  {
		window.open('https://secure.ngx.com/ngxcs/realTimeCrudeOilIndexPrices.html', '_blank','top=100, left=100, height=297, width=450, status=no, menubar=no, resizable=yes, scrollbars=no, toolbar=no, location=no, directories=no'); 
	} else {
		newWindow=window.open (thelink);	
	}
}



document.write('<form id="signOnForm">\n'+
'<div id="signOnTo">\n'+
	'<h2>SECURE AREA LOGIN:</h2>\n'+
	'<label for="stockList">Choose a site:</label>\n'+
	'<select id="signOnSelect" name="signOnSelect">\n'+
		'<option value="https://secure.ngx.com/ngxreports/ngx.MainServlet?action=AccessMenu">Trading Reports</option>\n'+	
		'<option value="http://www.ngx.com/ngx_member/cgi/amv_rtpidx.cgi">Real Time Price Index - Natgas</option>\n'+
		'<option value="realTimeCrude">Real Time Price Indices - Crude</option>\n'+
		'<option value="protectedmembers/indices.html">Historical Indices - Natgas</option>\n'+
		'<option value="https://secure.ngx.com/ngxcs/indexPrice.html">Historical Indices - Crude</option>\n'+
		'<option value="protectedmembers/downloads.html">Downloads</option>\n'+
		'<option value="protectedmembers/publications.html">Publications</option>\n'+
'</select>\n'+
	'<a href="javascript: signOnGo();"><img src="images/search_go.gif" border="0" alt="GO"></a>\n'+
'</div>\n'+
'</form>');


