// JavaScript Document
<!-- //
	var origQLContent = '';
	var QL = document.getElementById('quickLookContent');
		
	var bannerCaptions = new Array(6);
	bannerCaptions[0] = "<p>Microscopic plant life called phytoplankton form the beginning of the food web in the Bay.  The Resource Center keeps a watch for <i>Alexandrium</i>, which causes Red Tide, and other species such as this <i>Eucampia</i>.</p>";
	bannerCaptions[1] = "<p>Cobscook Bay is home to some of the last good scallop grounds in Maine. Before formation of the Cobscook Bay Fishermen\'s Association and development of scallop conservation plans, over 170 boats would descend upon Cobscook Bay on opening day of scallop season.</p>";
	bannerCaptions[2] = "<p>In 1999, students and teachers at Shead High School in Eastport designed and built PVC \"drifters\" to track the currents in Cobscook Bay.  The Resource Center used the drifter data to create this map of the drifter pathways.  </p>";
	bannerCaptions[3] = "<p>Growing out of the student drift study project, the Cobscook Drift Study is an ongoing effort to map the circulation in the Cobscook / Passamaquoddy region using barrel drifters with onboard GPS and satellite telemetry technology.</p>";
	bannerCaptions[4] = "<p>The Resource Center organizes an annual forum to present information and facilitate discussions around local marine issues. The first Cobscook Fisheries Award was given to Reid Wilson at the 2005 forum to honor his life-long commitment to the fisheries of the region. </p>";
	bannerCaptions[5] = "<p>Two allied organizations, the Downeast Institute, based on Beals Island, and the Penobscot East Resource Center, based in Stonington, are developing hatchery programs for growing lobsters and releasing them into the wild to support the commercial fishery. </p>";
	bannerCaptions[6] = "<p>In 2005 we purchased the property at 110 Water Street in Eastport. Located at the head of the Breakwater wharf, the building pictured here will be renovated to become the new home for the Resource Center. A new building will house a marketing co-op and community kitchen. </p>";

	function setClassName(objId, theClass) {
    	document.getElementById(objId).className = theClass;
	}
	function showElement(id) {
		var obj= document.getElementById(id);
		if(obj!=null) {
			setClassName(id,'quickLookHighlighted');
		}
	}
	function hideElement(id) {
		var obj = document.getElementById(id);
		if(obj!=null) {
			setClassName(id,'');
		}
	}
	function quickLook(html) {
		var obj = document.getElementById('quickLookContent');
		//if(obj!=null) {
			origQLContent = obj.innerHTML;
			obj.innerHTML = html;
			setClassName('quickLookContent','quickLookHighlighted');
		//}
	}
	function quickLookReset() {
		var obj = document.getElementById('quickLookContent');
		if(obj!=null) {
			obj.innerHTML = origQLContent;
			setClassName('quickLookContent','');
		}
	}
// -->
