contributions/html5local/company.js
/*
 * Class: Department 
 *
 * A department has a name and contains several employees. It is part of a company.
 */
Department
A department has a name and contains several employees. It is part of a company.
Department A department has a name and contains several employees . It is part of a company .
function Department(id, name) {
	this.id = id;
	this.name = name;
	this.employees = new Array();
	this.subdepartments = new Array();
}
function Department ( id , name ) { this . id = id ; this . name = name ; this . employees = new Array ( ) ; this . subdepartments = new Array ( ) ; }
Class: Department
 A department has a name and contains several employees.
Class : Department A department has a name and contains several employees .