//Rotates Project Profiles.

 

var interval = 15000;
reasonText = new Array(); 

function randNum(x, y) {
	var range = y - x + 1;
	return Math.floor(Math.random() * range) + x;
} 

reasonNum = randNum(0,10); 

function getNextReason() {        
	if ( reasonNum >= 10 ){    
		reasonNum = 0;
	}              
	 else { 
		reasonNum ++;
	}                

}

function switchReason(place) {

	var new_reason = getNextReason();
	document.getElementById('topProfiles').innerHTML = reasonText[reasonNum];

	var recur_call = "switchReason('"+place+"')";
	timerID = setTimeout(recur_call, interval);
}





/*Environmental Engineering*/
reasonText[0] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Real Estate Developer</span><br />GEC successfully planned and permitted one property for a 56-unit single family 40B development and a 60-unit age restricted project.<br /><a href="./project_eng.htm#real"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[1] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Condominium Association</span><br />Faced with significant new costs to treat its wastewater due to permitting changes a condominium association turned to GEC.<br /><a href="./project_eng.htm#condo"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[2] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Golf Course</span><br />GEC developed a long range maintenance plan for a private golf course meeting stringent new stormwater and wetland regulations as well as complicated rules due to drainage within a public water supply Zone A.<br /><a href="./project_eng.htm#golf"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[3] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Recreation Complex</span><br />GEC and a team of firms closed and redeveloped several contiguous municipal landfills resulting in the construction of a 27-hole PGA golf course, numerous recreational playing fields and other passive recreation uses.<br /><a href="./project_eng.htm#rec"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[4] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Industrial Park</span><br />GEC expanded redevelopment opportunities for a developer by correcting FEMA base flood elevations at an industrial park.<br /><a href="./project_eng.htm#industrial"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[5] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Residential Development</span><br />GEC planned and permitted the redevelopment of a previously non-conforming commercial/retail property.<br /><a href="./project_eng.htm#residential"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[6] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Apartment Complex</span><br />GEC assisted the owner of a 48-unit apartment complex with its own public water supply well in responding to regulatory notices and design of a new water main.<br /><a href="./project_eng.htm#apartment"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[7] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Former Landfill</span><br />GEC provides state-of-the-art surveying techniques and settlement calculations to assure regulatory compliance and public safety of a redeveloped former landfill site in the Boston area.<br /><a href="./project_eng.htm#landfill"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[8] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Private Prep School</span><br />GEC operated a private preparatory  school’s wastewater treatment plant, taking it from non-compliance toward compliance saving thousands of dollars in assessed penalties.<br /><a href="./project_eng.htm#prep"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[9] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Industrial Manufacturer</span><br />GEC was contacted by an industrial manufacturer that was relocating to a new facility.<br /><a href="./project_eng.htm#manufacturer"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[10] = '<strong>ENVIRONMENTAL ENGINEERING</strong><br /><span class="caption">Conference Center</span><br />A large religious conference center had property straddling the town line of two municipalities.<br /><a href="./project_eng.htm#conference"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';









