
/*#############################################################################################
# Name:         getAllMembers(obj,setobj)
# Description:  Get all listbox entries
# 
# Last updated: 05/07/02	 (alexander@switch.no)
#############################################################################################*/
function getAllMembers(obj,setobj) {
          var str;
           
          str = '';  	            	          
          for (var i=0; i<obj.options.length; i++) {
              str = str + obj.options[i].value + ',';
          }
          
          setobj.value = str;           
}


/*#############################################################################################
/**
* Description:
* 
* Detailed descr:
*
*
* @param:
* @since : 	17/07/02	 
* @author:	(alexander@switch.no)
*//*###########################################################################################*/
function getPassword(objField) {
    
    windowProps = 'dialogHeight: 200px; dialogWidth: 310px; help: off; scroll: off; status: off';  
    windowSrc = '/neted/admin/password_window.php';    
    userpassword =  window.showModalDialog(windowSrc, '', windowProps);
    
    if (userpassword != undefined){    
        objField.value = userpassword;
    }
    //window.open(windowSrc); 
}