rem: var intlFlag = globals.GetNameValuePair( acctSetupIni, "Mode Selection", "IntlMode" ); intlFlag = intlFlag.toLowerCase(); 
context: function loadData(){	netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );	if ( parent.controls.generateControls )		parent.controls.generateControls();	// * only connect to reggie if editmode is off	if ( documentVars.editMode.value != "yes" )	{		var configFolder = globals.getConfigFolder( self );		var acctSetupIni = globals.getAcctSetupFilename( self );		var regFile = configFolder + documentVars.regServer.value;		var intlFlag = globals.GetNameValuePair( acctSetupIni, "Mode Selection", "IntlMode" );		intlFlag = intlFlag.toLowerCase();		var regSource = globals.GetNameValuePair( acctSetupIni, "Mode Selection", "RegSource" );				var localFlag = globals.GetNameValuePair( regFile, "Dial-In Configuration", "LocalMode" );		localFlag = localFlag.toLowerCase();		if ( localFlag == null || localFlag != "yes" )		{			var connectStatusFlag = plugin.IsDialerConnected();			if ( connectStatusFlag == true )			{				if ( confirm( "Account Setup can't connect until you close your current connection. Close the connection now?" ) == false )					return;				plugin.DialerHangup();			}			configureDialer( configFolder, acctSetupIni, regFile );		}				regCGI = globals.GetNameValuePair( regFile, "IP", "RegCGI" );		regRoot = globals.GetNameValuePair( regFile, "Configuration", "RegRoot" );		metadataMode = globals.GetNameValuePair( regFile, "Configuration", "MetadataMode" );		if ( regCGI == null || regCGI == "" )		{			alert( "Internal problem determining the Registration Server." );			return;		}		if ( regRoot == null )		{			alert( "Internal problem determining location of Registration Server data file repository (RegRoot)." );			return;		}/*		// * write out reggie data to Java Console		if ( documentVars.debugMode.value.toLowerCase() == "yes" )		{			globals.debug( "\nRegServer data: " + document.forms[ 0 ].action );			var numElements = document.forms[ 0 ].length;			for ( var x = 0; x < document.forms[ 0 ].length; x++ )				globals.debug( "        " + x + ": " + document.forms[ 0 ].elements[ x ].name + "=" + document.forms[ 0 ].elements[ x ].value );		}*/			// * submit reggie data		navigator.preference( "security.warn_submit_insecure", false );		navigator.preference( "security.warn_entering_secure", false );		navigator.preference( "security.warn_leaving_secure", false );		// * automatically submit form to registration server		//document.forms[ 0 ].submit();		reggieData = plugin.newStringArray( 8 );		// increment this # as new dialer strings are added		reggieData[ 0 ] = "CST_PHONE_NUMBER=" + documentVars.modemPhoneNumber.value;		reggieData[ 1 ] = "REG_SOURCE=" + regSource;		reggieData[ 2 ] = "CLIENT_LANGUAGE=" + navigator.language;		reggieData[ 3 ] = "CST_AREA_CODE_1=" + documentVars.modemAreaCode.value;		reggieData[ 4 ] = "CST_AREA_CODE_2=" + documentVars.altAreaCode1.value;		reggieData[ 5 ] = "CST_AREA_CODE_3=" + documentVars.altAreaCode2.value;		reggieData[ 6 ] = "CST_AREA_CODE_4=" + documentVars.altAreaCode3.value;		reggieData[ 7 ] = "CST_COUNTRY_CODE=" + "1";				/*documentVars.countryCode.value;*/						if ( localFlag != "yes" )			globals.set1StepMode( 1 );		var		result = plugin.GenerateComparePage( globals.getFolder( self ), regCGI, regRoot, metadataMode, reggieData );		if ( localFlag != "yes" )			globals.oneStepSemaphore = true;				if ( result == true )			window.location.replace( "compwrap.htm" );		else			window.location.replace( "error.htm" );	}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d3bd082e5674d4895e633d44d3a2d6fe7568dc9b/1step.js/buggy/cmd/dialup/as_html/1step.js