rem: CalendarPublishObject.username = document.getElementById( "publish-username-textbox" ).value; CalendarPublishObject.password = document.getElementById( "publish-password-textbox" ).value; 
context: function onOKCommand(){   var CalendarPublishObject = new Object();   CalendarPublishObject.remotePath = document.getElementById( "publish-remotePath-textbox" ).value;   CalendarPublishObject.username = document.getElementById( "publish-username-textbox" ).value;   CalendarPublishObject.password = document.getElementById( "publish-password-textbox" ).value;   document.getElementById( "publish-progressmeter" ).setAttribute( "mode", "undetermined" );   // call caller's on OK function   gOnOkFunction( CalendarPublishObject );   document.getElementById( "calendar-publishwindow" ).getButton( "accept" ).setAttribute( "label", closeButtonLabel );      document.getElementById( "calendar-publishwindow" ).getButton( "accept" ).setAttribute( "oncommand", "closeDialog()" );      document.getElementById( "publish-progressmeter" ).setAttribute( "mode", "determined" );   return( false );}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/4c45ef82548cb211397be177fd26e5a4234bc45c/publishDialog.js/clean/calendar/resources/content/publishDialog.js