rem: var userInputFile = document.setupPlugin.GetCurrentProfileDirectory(); 
add: userInputFile = currentProfileDirectory; 
context: function loadUserInput(){	netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");	if (document.vars.inited.value != "yes")	{		document.vars.inited.value = "yes";		var cookieWarning = navigator.preference("network.cookie.warnAboutCookies");		if (cookieWarning == true)	{			document.vars.cookieWarning.value = "yes";			}		else	{			document.vars.cookieWarning.value = "no";			}		navigator.preference("network.cookie.warnAboutCookies", false);		document.vars.offlineMode.value = navigator.preference("offline.startup_mode");		navigator.preference("offline.startup_mode", 0);		// online		navigator.preference("network.online", true);		var acctSetupFile = getAcctSetupFilename(self);		if (acctSetupFile != null && acctSetupFile != "")	{			var intlMode = parent.parent.globals.GetNameValuePair(acctSetupFile,"Mode Selection","IntlMode");			if (intlMode != null && intlMode != "")	{				intlMode = intlMode.toLowerCase();				}			}			var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();		if (userInputFile != null && userInputFile != "")	{			userInputFile = userInputFile + "ACCTSET.DAT";			var theSection="Account Setup User Input";					var regServer = GetNameValuePair(userInputFile,theSection,"regServer");			if (regServer != null && regServer != "")	{				document.vars.regServer.value = regServer;				SetNameValuePair(userInputFile,theSection,"regServer", "");				}			document.vars.first.value = GetNameValuePair(userInputFile,theSection,"first");			document.vars.last.value = GetNameValuePair(userInputFile,theSection,"last");			document.vars.company.value = GetNameValuePair(userInputFile,theSection,"company");			document.vars.address1.value = GetNameValuePair(userInputFile,theSection,"address1");			document.vars.address2.value = GetNameValuePair(userInputFile,theSection,"address2");			if (intlMode=="yes")	{				document.vars.address3.value = GetNameValuePair(userInputFile,theSection,"address3");				document.vars.city.value="";				document.vars.state.value="";				document.vars.zip.value="";				document.vars.areaCode.value="";				}			else	{				document.vars.address3.value="";				document.vars.city.value = GetNameValuePair(userInputFile,theSection,"city");				document.vars.state.value = GetNameValuePair(userInputFile,theSection,"state");				document.vars.zip.value = GetNameValuePair(userInputFile,theSection,"zip");				document.vars.areaCode.value = GetNameValuePair(userInputFile,theSection,"areaCode");				}			document.vars.phoneNumber.value = GetNameValuePair(userInputFile,theSection,"phoneNumber");			document.vars.country.value = GetNameValuePair(userInputFile,theSection,"country");			document.vars.countryCode.value = GetNameValuePair(userInputFile,theSection,"countryCode");							document.vars.cardname.value = GetNameValuePair(userInputFile,theSection,"cardname");			document.vars.cardtype.value = GetNameValuePair(userInputFile,theSection,"cardtype");			document.vars.cardcode.value = GetNameValuePair(userInputFile,theSection,"cardcode");			document.vars.cardnumber.value = GetNameValuePair(userInputFile,theSection,"cardnumber");			SetNameValuePair(userInputFile,theSection,"cardnumber", "");				document.vars.month.value = GetNameValuePair(userInputFile,theSection,"month");			document.vars.year.value = GetNameValuePair(userInputFile,theSection,"year");				document.vars.modem.value = GetNameValuePair(userInputFile,theSection,"modem");			document.vars.manufacturer.value = GetNameValuePair(userInputFile,theSection,"manufacturer");			document.vars.model.value = GetNameValuePair(userInputFile,theSection,"model");					document.vars.externalEditor.value = GetNameValuePair(userInputFile,theSection,"externalEditor");					if (intlMode=="yes")	{				document.vars.modemAreaCode.value="";				}			else	{				document.vars.modemAreaCode.value = GetNameValuePair(userInputFile,theSection,"modemAreaCode");				}			document.vars.modemPhoneNumber.value = GetNameValuePair(userInputFile,theSection,"modemPhoneNumber");						document.vars.altAreaCode1.value = GetNameValuePair( userInputFile, theSection, "altAreaCode1" );			document.vars.altAreaCode2.value = GetNameValuePair( userInputFile, theSection, "altAreaCode2" );			document.vars.altAreaCode3.value = GetNameValuePair( userInputFile, theSection, "altAreaCode3" );						document.vars.cwData.value = GetNameValuePair(userInputFile,theSection,"cwData");			if (document.vars.cwData.value != null && document.vars.cwData.value != "")			{//				document.vars.prefix.cwOFF=1;			}			else			{//				document.vars.prefix.cwOFF=0;			}			document.vars.prefixData.value = GetNameValuePair(userInputFile,theSection,"prefixData");			if (document.vars.prefixData.value != null && document.vars.prefixData.value != "")			{//				document.vars.prefix.checked=1;			}			else			{//				document.vars.prefix.checked=0;			}			document.vars.dialMethod.value = GetNameValuePair(userInputFile,theSection,"dialMethod");				document.vars.providername.value = GetNameValuePair(userInputFile,theSection,"providername");			if (intlMode=="yes")			{				document.vars.accountAreaCode.value="";			}			else			{				document.vars.accountAreaCode.value = GetNameValuePair(userInputFile,theSection,"accountAreaCode");			}			document.vars.accountPhoneNumber.value = GetNameValuePair(userInputFile,theSection,"accountPhoneNumber");				document.vars.accountName.value = GetNameValuePair(userInputFile,theSection,"accountName");			document.vars.emailName.value = GetNameValuePair(userInputFile,theSection,"emailName");			document.vars.publishURL.value = GetNameValuePair(userInputFile,theSection,"publishURL");			document.vars.viewURL.value = GetNameValuePair(userInputFile,theSection,"viewURL");			document.vars.accountPassword.value = GetNameValuePair(userInputFile,theSection,"accountPassword");		// existing path			document.vars.accountPasswordCheck.value = GetNameValuePair(userInputFile,theSection,"accountPasswordCheck");			document.vars.emailPassword.value = GetNameValuePair(userInputFile,theSection,"emailPassword");			document.vars.emailPasswordCheck.value = GetNameValuePair(userInputFile,theSection,"emailPasswordCheck");			document.vars.publishPassword.value = GetNameValuePair(userInputFile,theSection,"publishPassword");			document.vars.publishPasswordCheck.value = GetNameValuePair(userInputFile,theSection,"publishPasswordCheck");			document.vars.SMTP.value = GetNameValuePair(userInputFile,theSection,"SMTP");			document.vars.mailServer.value = GetNameValuePair(userInputFile,theSection,"mailServer");			document.vars.mailProtocol.value = GetNameValuePair(userInputFile,theSection,"mailProtocol");			document.vars.NNTP.value = GetNameValuePair(userInputFile,theSection,"NNTP");			document.vars.domainName.value = GetNameValuePair(userInputFile,theSection,"domainName");			document.vars.primaryDNS.value = GetNameValuePair(userInputFile,theSection,"primaryDNS");			document.vars.secondaryDNS.value = GetNameValuePair(userInputFile,theSection,"secondaryDNS");			document.vars.ipAddress.value = GetNameValuePair(userInputFile,theSection,"ipAddress");			document.vars.scriptEnabled.value = GetNameValuePair(userInputFile,theSection,"scriptEnabled");			document.vars.scriptFile.value = GetNameValuePair(userInputFile,theSection,"scriptFile");			document.vars.lckFilename.value = GetNameValuePair(userInputFile,theSection,"lckFilename");			SetNameValuePair(userInputFile,theSection,"accountPassword", "");										// existing path			SetNameValuePair(userInputFile,theSection,"accountPasswordCheck", "");			SetNameValuePair(userInputFile,theSection,"emailPassword", "");			SetNameValuePair(userInputFile,theSection,"emailPasswordCheck", "");			SetNameValuePair(userInputFile,theSection,"publishPassword", "");			SetNameValuePair(userInputFile,theSection,"publishPasswordCheck", "");			}		}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7723aff0781f6aeaade97cc2d5538c9302640048/globals1.js/buggy/cmd/dialup/as_html/globals1.js