function School(name,cds,district,city,county,enrollment,gradeSpan,isHighPoverty,isHighMinority,isHighPerforming){
	this.name = name;
	this.cds = cds;
	this.district = district;
	this.city = city;
	this.county = county;
	this.enrollment = enrollment;
	this.gradeSpan = gradeSpan;
	this.isHighPoverty = isHighPoverty;
	this.isHighMinority = isHighMinority;
	this.isHighPerforming = isHighPerforming;
	if(isHighPoverty || isHighMinority || isHighPerforming){
		this.hasStatusIndicators = true;
	} else {
		this.hasStatusIndicators = false;
	}
	this.type = "school";
}

School.prototype.getStatusIndicatorList = function(){
	var list = document.createElement("ul");
	list.className = "unit_info";
	return list;
};

School.prototype.getStatusIndicators = function(){
	var hasList = false;
	var list, newItem, content;
	if(this.isHighPoverty){
		list = this.getStatusIndicatorList();
		hasList = true;
		newItem = document.createElement("li");
		newItem.setAttribute("title","high poverty");
		content = document.createTextNode("$");
		newItem.appendChild(content);
		list.appendChild(newItem);
	}
	if(this.isHighMinority){
		if(!hasList){
			list = this.getStatusIndicatorList();
			hasList = true;
		}
		newItem = document.createElement("li");
		newItem.setAttribute("title","high minority");
		content = document.createTextNode("m");
		newItem.appendChild(content);
		list.appendChild(newItem);
	}
	if(this.isHighPerforming){
		if(!hasList){
			list = this.getStatusIndicatorList();
			hasList = true;
		}
		newItem = document.createElement("li");
		newItem.setAttribute("title","high performing");
		content = document.createTextNode("a+");
		newItem.appendChild(content);
		list.appendChild(newItem);
	}
	if(hasList){
		return list;
	} else {
		return null;
	}
};
function District(name,cds,county,enrollment){
	this.name = name;
	this.cds = cds;
	this.county = county;
	this.enrollment = enrollment;
	this.type = "district";
}