anchor.diff:  	var assembly = button.data('assembly');
   
   	if (school !=undefined) {
  -		var formattedAmt = parseFloat(amount).toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');    
  +		var formattedAmt = '$'+formatAmount(amount)+'';
  +
   		schoolInfo.find('.school-title').text(school.toProperCase() + " ");
  +		
   		schoolInfo.attr("data-school-info", [button.data('school-id'), button.data('loc')] );
   		$("#school-info-section").find('#share-school a').attr("href", "/schools/"+button.data('loc')+"/"+button.data('school-id')+"");
  -	
  +
   		schoolInfo.find('.school-title-district').text("(" + district.toProperCase() + ")")
   
   		cartSection.find('.school-title').text(school.toProperCase() + " ");
   
   		if (formattedAmt=="0.00") {
  -			schoolInfo.find('.amount-number').text("budget data not available");
  -			cartSection.find('.amount-number').text("budget data not available");
  +			$('.amount-number').text("budget data not available");
   		} else {
  -			schoolInfo.find('.amount-number').text("$" + formattedAmt);
  -			cartSection.find('.amount-number').text("$" + formattedAmt);
  +			$('.amount-number').text(formattedAmt);
   			cartSection.find('.amount-number').attr("data-amount-number", amount);
  -
   		}
  -
   		displayResourceAmount(amount, schoolInfo);
  -
   		var perStudentAmount = parseFloat(amount / enrollment).toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
   		schoolInfo.find('.per-student-amount').text(perStudentAmount);
  -		// cartSection.find('.per-student-amount').text(perStudentAmount);
  -
  -
   		schoolInfo.find('.twitter-link').html("<a href='https://twitter.com/share' class='twitter-share-button' data-url='http://www.cfemoneyowednys.org/' data-text='NYS & @nygovcuomo owe "+school+" $"+formattedAmt+" - ' data-count='none' data-hashtags='ProtectOurSchools, AllKidsNeed, WeCantWait'>Tweet</a>")
   
  -		toggleVisibility("legislators-section")
  -	
   		findSchoolLegInformation("upper", senate, takeAction);
   		findSchoolLegInformation("lower", assembly, takeAction);
  -
  -		// twitterLink();
   
   		schoolInfo.find('.twitter-link').html("<a href='https://twitter.com/share' class='twitter-share-button'{count} data-size='large' data-url='http://www.cfemoneyowednys.org/' data-text='NYS & @nygovcuomo owe "+school+" $"+formattedAmt+" - ' data-count='none' data-hashtags='ProtectOurSchools, AllKidsNeed, WeCantWait'>Tweet</a>");
   	}
   };
   
   // School legislators js
  -
   function findSchoolLegInformation(chamber, district, targetDiv) {
   	$.ajax({
   		dataType:'json',
  
positive.code: // not sure where the 2 items below  are used in site
  function listSchools(arr) {
  	var schoolslist = ""
  	for (i=0; i<arr.length; i++) {
  		schoolslist += "<span class='school-list-item'>"+arr[i]+"</span>"
  	}
  	return schoolslist;
  }
  
  String.prototype.toProperCase = function () {
  	return this.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
  };
  
  
  //resource costs
  var teacher = 54329;
  var arts_program = 75000;
  var library = 77000;
  
  
  function showSchoolInformation() {
  	$(".result-item a").click(function(e){
  		$(".warning-text").css("visibility", "hidden");
  		$("#school-info-section .school-section").css("visibility", "visible");
  		$("#take-action-section").css("visibility", "visible");
  		$("#cart").css("visibility", "visible");
  
  		$("#legislators-section .leg-info").empty()
  		
  		var button = $(this);
  		console.log(button);
  		prepareSchoolInformation(button);
  	})
  }
  
  function prepareSchoolInformation(button){
  	console.log('clicked');
  	var schoolInfo = $('#school-information')
  	console.log(schoolInfo);
  	var takeAction = $('#take-action-section')
  	var cartSection = $('#cart');
  
  	var school = button.data('school');
  	var district = button.data('district');
  	var enrollment = button.data('enrollment');
  
negative.code: 	targetDiv.find('.resource-teacher .resource-text h4').text('Hiring at least '+num_teacher+' classroom teacher/s')
  	targetDiv.find('.resource-arts .resource-text h4').text('Providing an arts program for at least '+num_arts_programs+' years/')
  	targetDiv.find('.resource-library .resource-text h4').text('Maintaining a library for at least '+num_library+' year/s')
  }