//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,5); 

function getNextReason() {        
	if ( reasonNum >= 5 ){    
		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);
}








/*Waste Site Cleanup*/
reasonText[0] = '<strong>WASTE SITE CLEANUP</strong><br /><span class="caption">MCP Response Action</span><br />GEC filed a Downgradient Property Status (DPS) for a client.  In filing the DPS we demonstrated that though on-site fuel oil contamination existed, a petroleum-based solvent plume emanated from an abutter.<br /><a href="./project_site.htm#foreclosure"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[1] = '<strong>WASTE SITE CLEANUP</strong><br /><span class="caption">Risk Assessment</span><br />GEC completed an Imminent Hazard Evaluation of a multi-tenant commercial property to determine the risk posed by an abutting dry cleaner whose solvent plume extended onto our client’s site.<br /><a href="./project_waste.htm#risk"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[2] = '<strong>WASTE SITE CLEANUP</strong><br /><span class="caption">Litigation Support</span><br />GEC provided litigation support to demonstrate that a complex groundwater plume resulted from both an on-site fuel oil release and off-site petroleum-based solvent and chlorinated solvent releases.<br /><a href="./project_waste.htm#litigation"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[3] = '<strong>WASTE SITE CLEANUP</strong><br /><span class="caption">Brownfields</span><br />GEC assessed soil and groundwater contamination and completed a Method 3 risk characterization of a closed seaside restaurant to demonstrate that site conditions are consistent with a Permanent Solution.<br /><a href="./project_waste.htm#brownfields"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[4] = '<strong>WASTE SITE CLEANUP</strong><br /><span class="caption">Oil &amp; Hazardous Materials Release Response</span><br />GEC provided Emergency Response oversight services when tons of cement dust spewed over a five-acre parking lot covering hundreds of school buses and their drivers, many of whom were rushed to neighborhood hospitals.<br /><a href="./project_waste.htm#ohm"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[5] = '<strong>WASTE SITE CLEANUP</strong><br /><span class="caption">Site Remediation</span><br />A release of fuel oil at a commercial property, resulted in more than 1/2 inch of product in two monitoring wells.<br /><a href="./project_waste.htm#site"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';





