//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,9); 

function getNextReason() {        
	if ( reasonNum >= 9 ){    
		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);
}



/*Regulatory Compliance*/
reasonText[0] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Biotech Firm</span><br />GEC helped a biotech firm reduce EPA fines from $155K to $20K.  GEC performed an EHS audit, identified regulatory deficiencies, trained employees on hazardous waste, IATA, DOT, and wrote programs to help get them into compliance.<br /><a href="./project_reg.htm#bio"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[1] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Plastics Manufacturer</span><br />GEC consulted on indoor air quality issues, collected samples, evaluated and advised on the impacts related to worker exposure for a Massachusetts plastics manufacturer.<br /><a href="./project_reg.htm#plastics"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[2] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Hospital</span><br />GEC filed air quality reports (SSEIS and ARESCR) with DEP as outside EHS contractor for a Massachusetts hospital.<br /><a href="./project_reg.htm#hospital"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[3] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Property Management Firm</span><br />For a large property management firm, GEC prepared and submitted Source Registration for large facility boilers, found surcharges from DEP and applied for a rebate, resulting in $13,000 back from DEP.  GEC also advised on hazmat issues with tenant companies who did not have required permits or had outgrown their initial permits.<br /><a href="./project_reg.htm#property"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[4] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Medical Device Manufacturer</span><br />GEC designed a wastewater pretreatment system, including a mercury trap, for a medical device manufacturer’s laboratory wastewater.<br /><a href="./project_reg.htm#medical"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[5] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Air Quality Permitting</span><br />GEC prepared, submitted and obtained a new air permit for a large cement storage and transfer terminal.<br /><a href="./project_reg.htm#air"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[6] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Paint & Coatings Company</span><br />GEC provided outsourced EH&S services to meet a paint and coating company’s compliance requirements under ISO14001.<br /><a href="./project_reg.htm#paint"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';



reasonText[7] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Chemical Company</span><br />GEC staff provided training and support as a chemical company client achieved ISO 14001 environmental management system (EMS) certification.<br /><a href="./project_reg.htm#chemical"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[8] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Marine Port</span><br />GEC responded to a major marine port’s desire to document its “beyond compliance efforts” using GEC’s “Stages of Sustainability” approach to drive toward its goal of becoming the “greenest port” in the world.<br /><a href="./project_reg.htm#marine"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';

reasonText[9] = '<strong>REGULATORY SERVICES</strong><br /><span class="caption">Law Firm</span><br />Greening a service provider, such as a law firm, is challenging because there are a variety of larger and smaller tenants in the same buildings that the firm occupies. <br /><a href="./project_reg.htm#law"><em><span class="redarrow">&raquo;</span> View Full Project Profile</em></a>';







