//gold.js

sUtilitiesType = "none";    		//Turns on the "Utilities panel" in the left nav. Options: 'printonly' for just the printable page feature. // can be set to "none" or "default" this way it can be turned off for individual pages, even though the site's custom js file includes the utilities.
sBreadcrumbType = "none";
  
wcMastheadType = "rp_extranet";

	sEnterpriseHomeURL = VPATH_rpc;
	sEnterpriseServicesMenuURL = VPATH_deliver2 + "rpa/rpa.asp?actioncontext=gotoServicesMenu";
	//sEnterpriseLogoutURL = VPATH_deliver2 + "rpa/rpa.asp?actioncontext=logout&from=participant";
sLocalTitle  = "PlanNet<sup>&reg;</sup>";
wcAddTableStyles = "true";
wcBodyClass =  "wcFullWidthLayout";
var sMPath = "/deliver2/rpa/";
wcFooterText = "Group variable annuity and group annuity contracts issued by Standard Insurance Company are distributed by StanCorp Equities, Inc., member NASD/SIPC, which may also provide brokerage services. Third party administrative services are provided by Standard Retirement Services, Inc. Investment advisory services are provided by StanCorp Investment Advisers, Inc, a registered investment advisor. Standard Insurance Company, StanCorp Equities, Inc., Standard Retirement Services, Inc., and StanCorp Investment Advisers, Inc. are subsidiaries of StanCorp Financial Group, Inc. and all are Oregon corporations. ";
			
 
			sLocalMenu("1", "&nbsp;&nbsp;&nbsp;Investments", "");
			sLocalMenu("1-", "Balance", "balance_history.html");
			sLocalMenu("1-", "Performance", "performance.html");
			sLocalMenu("1-", "Unit Values", "unit_value.html");

			sLocalMenu("2", "Financial Activity", "");
			sLocalMenu("2-", "Transactions","deposit_summary.html");
			sLocalMenu("2-", "Financial Activity Report",  "trust_report.html");
       		sLocalMenu("2-",  "Forfeitures", "forfeiture.html");
       		sLocalMenu("2-", "Unallocated Deposits", "unallocated_deposits.html");

			sLocalMenu("3", "Manage Plan", "");
			sLocalMenu("3-", "Participant Reports Online", "1.start_pro-demo.html");
			sLocalMenu("3-",  "Compliance Data Review", "cdr1.0.html");
			sLocalMenu("3-", "Authorize Loans", "PlanNetLoanAuthorize.html");
			sLocalMenu("3-", "Authorize Distributions", "PlanNetDistribAuthorize.html");
			sLocalMenu("3-", "Forms Center", "forms.html");
	       								
			sLocalMenu("5", "Documents", "");
			sLocalMenu("5-", "Plan Profile", "plan_profile.html");
			sLocalMenu("5-", "Plan Document", "plan_doc.html");
			sLocalMenu("5-", "Summary Plan Description", "spd.html");
			sLocalMenu("5-", "Loan Policy", "loan_policy.html");
			
			sLocalMenu("6", "Contacts", "");
			sLocalMenu("6-", "Contact The Standard","contact_standard.html");
			sLocalMenu("6-", "Plan Contacts", "contact_plan.html");
			sLocalMenu("6-", "Administration Procedures", "procedures.html");
			sLocalMenu("6-", "Glossary", "glossary.html");
			sLocalMenu("6-", "News","news.html");

			sLocalMenu("7", "Other Accounts&nbsp;&nbsp;", "");
			sLocalMenu("7-", "Select a Participant", "participant.html");
			

			function openRPC() {
    			window.open("./Marketing/startrpc.html", "NewWindow");
			}

			function openSP1() {
    			window.open(SummaryPlanDescUrl, "NewWindow", 'resizable,scrollbars,status,width=580,height=400');
			}

	function activateLoanFields(){
		if(document.forms[0].loanAmountOption[0].checked == true){
			document.forms[0].desiredLoanAmount.disabled = true;
			document.forms[0].desiredPaymentAmount.disabled = true;
			document.forms[0].loanTerm.select();
			document.forms[0].loanTerm.focus();
		}
		else if(document.forms[0].loanAmountOption[1].checked == true){
			document.forms[0].desiredLoanAmount.disabled = false;
			document.forms[0].desiredPaymentAmount.disabled = true;
			document.forms[0].desiredLoanAmount.select();
			document.forms[0].desiredLoanAmount.focus();
		}
		else if(document.forms[0].loanAmountOption[2].checked == true){
			document.forms[0].desiredLoanAmount.disabled = true;
			document.forms[0].desiredPaymentAmount.disabled = false;
			document.forms[0].desiredPaymentAmount.select()
			document.forms[0].desiredPaymentAmount.focus();
		}
		else {
			document.forms[0].loanAmountOption[0].checked = true;
			document.forms[0].desiredLoanAmount.disabled = true;
			document.forms[0].desiredPaymentAmount.disabled = true;
			document.forms[0].loanTerm.select();
			document.forms[0].loanTerm.focus();
		}
	}

	function activateAltAddress(){
		if(document.loanRequestInfo.mailingAddress.checked == true){
			document.loanRequestInfo.addressLine1.disabled = false;
			document.loanRequestInfo.addressLine2.disabled = false;
			document.loanRequestInfo.addressLine3.disabled = false;
			document.loanRequestInfo.city.disabled = false;
			document.loanRequestInfo.stateOrProv.disabled = false;
			document.loanRequestInfo.postalCode.disabled = false;
		}
		else {
			document.loanRequestInfo.addressLine1.disabled = true;
			document.loanRequestInfo.addressLine2.disabled = true;
			document.loanRequestInfo.addressLine3.disabled = true;
			document.loanRequestInfo.city.disabled = true;
			document.loanRequestInfo.stateOrProv.disabled = true;
			document.loanRequestInfo.postalCode.disabled = true;
			}
		
	}



	function activateAltDistribAddress(){
		if(document.distribReqSuppInfo.mailingAddress.checked == true){
			document.distribReqSuppInfo.addressLine1.disabled = false;
			document.distribReqSuppInfo.addressLine2.disabled = false;
			document.distribReqSuppInfo.addressLine3.disabled = false;
			document.distribReqSuppInfo.city.disabled = false;
			document.distribReqSuppInfo.stateOrProv.disabled = false;
			document.distribReqSuppInfo.postalCode.disabled = false;
		}
		else {
			document.distribReqSuppInfo.addressLine1.disabled = true;
			document.distribReqSuppInfo.addressLine2.disabled = true;
			document.distribReqSuppInfo.addressLine3.disabled = true;
			document.distribReqSuppInfo.city.disabled = true;
			document.distribReqSuppInfo.stateOrProv.disabled = true;
			document.distribReqSuppInfo.postalCode.disabled = true;
			}
		
	}

//Hide or display a div on the page.  Pass this true/false (no quotes) and the id of the div or span that you want hidden/displayed.//
function wcShow(onoff, objId) {
	var d = (onoff) ? "block" : "none" ;    
	var obj = document.getElementById(objId);
	obj.style.display = d;
	}
function noLinkHere(){

		alert("This is a demonstration site only and does not \ninclude examples of forms or legal documents.\n\nChoose 'OK' and select the 'Submit' button.");

		}
		function BlankPopup(URLstr) {
	//what kind of window is it?
	var winType = "";  //default to info winType
	var popW="710";
	var popH="385";

	var paramStr = '"left=20,top=20,scrollbars,resizable,width=' +popW+ ',height=' +popH+ '"';
	var popup = window.open(URLstr,winType,paramStr );
	}
	function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
	
