function customGoToPage(page,extraArgs){
	var newURL;
	if (extraArgs == null)
		extraArgs = "";
	else
		extraArgs = extraArgs + "&";
	switch(page){
		case "USERAGREEMENT":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=/Investor/Agreements/customerAgreeV1.html&public=yes&" + extraArgs);
			break;
		case "PRIVACY":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=/Investor/CustomerService/Information/privacyPolicy.html&public=yes&" + extraArgs);
			break;
		case "PRIVACY2":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=/Investor/CustomerService/userAgreement_public.html&public=yes&" + extraArgs);
			break;
		case "ORDER_STATUS2":
		case "ORDERSTATUS2":
			newURL = AddAccountsAndHash("/Shared/Modules/orderStatus.html?tmpl=/Investor/OrderStatus/orderStatusAccounts.html&" + extraArgs);
			break;
		case "COMMISSION":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=Investor/CustomerService/Information/fees.html&" + extraArgs);
			break;
		case "TRANSFER":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=Investor/CustomerService/FundAcct/transfer.html&" + extraArgs);
			break;
		case "SENDSEC":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=Investor/CustomerService/FundAcct/sendSecurities.html&" + extraArgs);
			break;
		case "DEPOSITINST":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=Investor/CustomerService/FundAcct/depositFunds.html&" + extraArgs);
			break;
		case "ABOUTUS":
			newURL = AddAccountsAndHash("/Shared/Modules/webForm.html?tmpl=/Investor/CorpInfo/aboutUs.html&" + extraArgs);
			break;
		case "TRADECONFIRMS":
			newURL = AddAccountsAndHash("/Local/Investor/eDelivery/eDelivery.php?mode=confirms&" + extraArgs);
			break;
		case "STATEMENTS":
			newURL = AddAccountsAndHash("/Local/Investor/eDelivery/eDelivery.php?mode=statements&" + extraArgs);
			break;
		case "TAX":
			newURL = AddAccountsAndHash("/Local/Investor/eDelivery/eDelivery.php?mode=tax&" + extraArgs);
			break;
		case "CALCULATORS":
			newURL = AddAccountsAndHash("/Static/Calc/index.html?" + extraArgs);
		break;
		case "DAILYCOMMENTS":
			newURL = AddAccountsAndHash("/Static/DailyComments/index.html?" + extraArgs);
		break;
		case "REPORTS":
			newURL = AddAccountsAndHash("/Static/Reports/index.html?" + extraArgs);
		break;
	}
	return newURL;
}
function keepOpen(popWin){
	if(popWin == null)
		var popWin = 1;
	
	if(popWin){
		newWin = window.open("/indices.html","indices","height=400,width=200,resizable=0,status=0");
	}
	else{
		self.location=self.location;
	}
}
