//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);
}




/*Site Assessment*/
reasonText[0] = '<strong>SITE ASSESSMENT</strong><br /><span class="caption">Commercial Property</span><br />GEC conducted a Phase I Environmental Site Assessment for a client looking to relocate its business to a, Massachusetts property formerly operated as a trucking company and found that the property was a State Disposal Site that achieved regulatory closure via a Class A-2 RAO.<br /><a href="./project_site.htm#commerical"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

/*Second*/
reasonText[1] = '<strong>SITE ASSESSMENT</strong><br /><span class="caption">Industrial Property</span><br />GEC conducted a Phase I Environmental Site Assessment at an industrial property in Massachusetts located within the boundaries of a Superfund Site.<br /><a href="./project_site.htm#industrial"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[2] = '<strong>SITE ASSESSMENT</strong><br /><span class="caption">Former Dry Cleaner</span><br />GEC conducted a Phase I Environmental Site Assessment at a former dry cleaner in Massachusetts and recommended soil and groundwater sampling to determine if historic chlorinated solvent use had impacted the subsurface.<br /><a href="./project_site.htm#dry"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[3] = '<strong>SITE ASSESSMENT</strong><br /><span class="caption">Multi-Family Residential Property</span><br />At a multi-family residential property in Massachusetts GEC conducted a Phase I Environmental Site Assessment and coordinated asbestos and lead-based paint testing for the prospective purchaser.<br /><a href="./project_site.htm#multi"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[4] = '<strong>SITE ASSESSMENT</strong><br /><span class="caption">Open Space, Water Resource Protection Land Acquisition (DCR, DCAM, DFW, TNC)</span><br />GEC has conducted over 100 assessments pursuant to the EOEEA Land Acquisition Policy for Environmental Site Assessments on behalf of the Massachusetts Department of Conservation and Recreation, the Division of Capital Asset Management, and the Division of Fish and Wildlife.<br /><a href="./project_site.htm#open"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[5] = '<strong>SITE ASSESSMENT</strong><br /><span class="caption">Foreclosure Assessments</span><br />GEC conducts Phase I Environmental Site Assessments lenders considering foreclosure.<br /><a href="./project_site.htm#foreclosure"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';





