rem: var userInputFile = document.setupPlugin.GetCurrentProfileDirectory(); 
add: var userInputFile = currentProfileDirectory; 
context: function saveGlobalData(){	netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );	if ( document.vars.editMode.value.toLowerCase() == "yes" )		return;	if ( document.setupPlugin == null )		return;/*	if (document.vars.debugMode.value.toLowerCase() != "yes" && (document.vars.editMode.value.toLowerCase() != "yes"))	{		if (checkPluginExists("application/x-netscape-autoconfigure-dialer",false))	{			document.setupPlugin.SetKiosk(false);			}		}	top.statusbar.visible=true;	top.scrollbars.visible=true;	top.toolbar.visible=true;	top.menubar.visible=true;	top.locationbar.visible=true;	top.personalbar.visible=true;				// was directory*/			if (document.vars.cookieWarning.value == "yes")	{		navigator.preference("network.cookie.warnAboutCookies", true);	}	else	{		navigator.preference("network.cookie.warnAboutCookies", false);	}	if (document.vars.offlineMode.value != "undefined")	{		navigator.preference("offline.startup_mode", document.vars.offlineMode.value);	}	// save user input (if any)	var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();	if (userInputFile != null && userInputFile != "")	{		userInputFile = userInputFile + "ACCTSET.DAT";		var theSection="Account Setup User Input";			SetNameValuePair(userInputFile,theSection,"startupFile", document.vars.startupFile.value);		SetNameValuePair(userInputFile,theSection,"regServer", document.vars.regServer.value);		SetNameValuePair(userInputFile,theSection,"first", document.vars.first.value);		SetNameValuePair(userInputFile,theSection,"last", document.vars.last.value);		SetNameValuePair(userInputFile,theSection,"company", document.vars.company.value);		SetNameValuePair(userInputFile,theSection,"address1", document.vars.address1.value);		SetNameValuePair(userInputFile,theSection,"address2", document.vars.address2.value);		SetNameValuePair(userInputFile,theSection,"address3", document.vars.address3.value);		SetNameValuePair(userInputFile,theSection,"city", document.vars.city.value);		SetNameValuePair(userInputFile,theSection,"state", document.vars.state.value);		SetNameValuePair(userInputFile,theSection,"zip", document.vars.zip.value);		SetNameValuePair(userInputFile,theSection,"areaCode", document.vars.areaCode.value);		SetNameValuePair(userInputFile,theSection,"phoneNumber", document.vars.phoneNumber.value);		SetNameValuePair(userInputFile,theSection,"country", document.vars.country.value);		SetNameValuePair(userInputFile,theSection,"countryCode", document.vars.countryCode.value);				SetNameValuePair(userInputFile,theSection,"cardname", document.vars.cardname.value);		SetNameValuePair(userInputFile,theSection,"cardtype", document.vars.cardtype.value);		SetNameValuePair(userInputFile,theSection,"cardcode", document.vars.cardcode.value);		if (document.setupPlugin.NeedReboot() == true)	{			SetNameValuePair(userInputFile,theSection,"cardnumber", document.vars.cardnumber.value);			SetNameValuePair(userInputFile,theSection,"path", document.vars.path.value);			SetNameValuePair(userInputFile,theSection,"pageHistory", document.vars.pageHistory.value);			SetNameValuePair(userInputFile,theSection,"accountPassword", document.vars.accountPassword.value);		// existing path			SetNameValuePair(userInputFile,theSection,"accountPasswordCheck", document.vars.accountPasswordCheck.value);			SetNameValuePair(userInputFile,theSection,"emailPassword", document.vars.emailPassword.value);			SetNameValuePair(userInputFile,theSection,"emailPasswordCheck", document.vars.emailPasswordCheck.value);			SetNameValuePair(userInputFile,theSection,"publishPassword", document.vars.publishPassword.value);			SetNameValuePair(userInputFile,theSection,"publishPasswordCheck", document.vars.publishPasswordCheck.value);			SetNameValuePair(userInputFile,theSection,"SMTP", document.vars.SMTP.value);			SetNameValuePair(userInputFile,theSection,"mailServer", document.vars.mailServer.value);			SetNameValuePair(userInputFile,theSection,"mailProtocol", document.vars.mailProtocol.value);			SetNameValuePair(userInputFile,theSection,"NNTP", document.vars.NNTP.value);			SetNameValuePair(userInputFile,theSection,"domainName", document.vars.domainName.value);			SetNameValuePair(userInputFile,theSection,"primaryDNS", document.vars.primaryDNS.value);			SetNameValuePair(userInputFile,theSection,"secondaryDNS", document.vars.secondaryDNS.value);			SetNameValuePair(userInputFile,theSection,"ipAddress", document.vars.ipAddress.value);			SetNameValuePair(userInputFile,theSection,"scriptEnabled", document.vars.scriptEnabled.value);			SetNameValuePair(userInputFile,theSection,"scriptFile", document.vars.scriptFile.value);			SetNameValuePair(userInputFile,theSection,"lckFilename", document.vars.lckFilename.value);		}		else		{			SetNameValuePair(userInputFile,theSection,"cardnumber", "");			SetNameValuePair(userInputFile,theSection,"path", "");			SetNameValuePair(userInputFile,theSection,"pageHistory", "");			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", "");		}		SetNameValuePair(userInputFile,theSection,"month", document.vars.month.value);		SetNameValuePair(userInputFile,theSection,"year", document.vars.year.value);		SetNameValuePair(userInputFile,theSection,"modem", document.vars.modem.value);		SetNameValuePair(userInputFile,theSection,"manufacturer", document.vars.manufacturer.value);		SetNameValuePair(userInputFile,theSection,"model", document.vars.model.value);		SetNameValuePair(userInputFile,theSection,"modemAreaCode", document.vars.modemAreaCode.value);		SetNameValuePair(userInputFile,theSection,"modemPhoneNumber", document.vars.modemPhoneNumber.value);		SetNameValuePair(userInputFile,theSection,"altAreaCode1", document.vars.altAreaCode1.value);		SetNameValuePair(userInputFile,theSection,"altAreaCode2", document.vars.altAreaCode2.value);		SetNameValuePair(userInputFile,theSection,"altAreaCode3", document.vars.altAreaCode3.value);		SetNameValuePair(userInputFile,theSection,"cwData", document.vars.cwData.value);		SetNameValuePair(userInputFile,theSection,"prefixData", document.vars.prefixData.value);		SetNameValuePair(userInputFile,theSection,"dialMethod", document.vars.dialMethod.value);		SetNameValuePair(userInputFile,theSection,"providername", document.vars.providername.value);		SetNameValuePair(userInputFile,theSection,"providerFilename", document.vars.providerFilename.value);		// existing path		SetNameValuePair(userInputFile,theSection,"accountAreaCode", document.vars.accountAreaCode.value);		SetNameValuePair(userInputFile,theSection,"accountPhoneNumber", document.vars.accountPhoneNumber.value);		SetNameValuePair(userInputFile,theSection,"accountName", document.vars.accountName.value);		SetNameValuePair(userInputFile,theSection,"emailName", document.vars.emailName.value);		SetNameValuePair(userInputFile,theSection,"publishURL", document.vars.publishURL.value);		SetNameValuePair(userInputFile,theSection,"viewURL", document.vars.viewURL.value);		SetNameValuePair(userInputFile,theSection,"externalEditor", document.vars.externalEditor.value);		}}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/495c50ea208cbee240dfc86d5af90b0c7536e6c6/globals1.js/clean/cmd/dialup/as_html/globals1.js