var captions = ['The Alluvial Net embraces the stark realities of rising water levels and increasingly erratic storm events as a springboard to imagine a new form of civic infrastructure at the water’s edge.  The “net” is an alluvial sediment and water catchment system, which evolves from a prefabricated set of prototypical building components.  As these units accrete, they form a porous tidal habitat, bio-remediation filter, and public landscape amidst the inundated low-lying industrial and commercial zones that ring much of the San Francisco Bay.',

'<b>The Inundated Ruins</b><br />The Alluvial Net directly confronts one of the most prevalent future conditions around the Bay; the inundation of large swaths of low-rise industrial and commercial developments that buffer and separate tidal wetlands from small scale, modest residential communities.  As tidal habitats migrate inland, the Alluvial Net permeates and rejuvenates this abandoned landscape.',

'<b>Alluvial Sediment Catchment System </b><br />The Alluvial Net fosters this migration by hastening the accretion of alluvial sediment and thus, the development of new tidal zones and land surfaces. The net creates a new hybrid civic landscape of built and natural forms; protected wetland habitats exist among water-treatment (grey-water, septic, and desalination) infrastructure, the re-purposed shells of inundated buildings, and public recreation.',

'<b>The Alluvion Trails | Bay Trail </b><br />As the Alluvial Net spreads, the new-formed land completes the vision of the Bay Trail — a 500-mile long recreational park system circling the San Francisco and San Pablo estuaries.  These new sections of parkland, the Alluvion Trails, connect to existing portions of the Bay Trail through areas currently inaccessible or untenable as public space.',

'<b>Pre-Fab Building Blocks</b><br />The Alluvial Net is constructed from an array of base units — high fly-ash, light-weight concrete building blocks of varying porosities, which combine in different orientations and intensities to form all the elements of the net.',

'<b>Tidal Marsh Habitat</b><br />In its most open state, the elements combine to form a system of ridges placed perpendicular to the tidal flow, which trap and hold sediment — both from the tides inland and outward from surface and storm drain run-offs. As the deposits build up over time, the accumulated sediment creates new terrain to displaced flora and fauna, replacing the wetland habitat lost to inundation. ',

'<b>Catchment Basins </b><br />As the system deploys more densely, it forms fields of basins to capture and loosely hold grey-water and storm-water runoff from the adjacent communities. The basins are porous, providing a controlled system of percolation and overflow.  Excess water is then stored in a system of aboveground holding tanks and re-distributed throughout the Alluvial Net for treatment and re-distribution for irrigation, agriculture, evaporative cooling, heat exchangers, and other adaptive uses.',

'<b>Septic Pods </b><br />With the addition of cap pieces and the use of non-porous concrete, the system creates septic pods for the bio-remediation of wastewater. Here, wetland plants grow in a sandy medium to filter and remove contaminants from the wastewater and prepare it for recycling back into the grey-water utility infrastructure.',

'<b>An Emerging Landscape</b><br />Despite the rise in water levels, over time the Alluvial Net creates new useable parkland and a system to accept storm surge events.  Like wandering the ruined World War batteries along the Golden Gate’s coasts, the Alluvial Net becomes a civic memorial to the challenges facing coastal areas around the globe.      ',

'<b>Section Perspective</b><br />A series of water storage towers line the Bay.  Each tower is a series of bundled “straws” drawing water up from the various remediation sites through capillary action (like the giant Saguaro cacti of the Southwest deserts).  The flexible straws then deposit the water into holding tanks, which swell as they fill, announcing through their shape the level of available water at any time.',

'<b>A Living Fabric</b><br />This landscape fosters a resilient and diverse habitat.',

'<b>A New Civic Infrastructure</b><br />Flooded sites become salt “green houses”, which desalinate seawater through solar condensation and evaporation for agricultural, civic and residential use.  Other sites house nurseries to grow native seedlings for the new landscape and provide wetland habitat viewing stations.',

'<b>The Vertical Aqueduct </b><br />Like the old Roman aqueducts marching horizontally across the landscape, the new vertical water infrastructure becomes an iconic element for the communities around the bay.'];



var current=0;

function setImg(num){
	if(num < 10)
	{
		var image_path = "all_0";
	}
	else
	{
		var image_path = "all_";
	}
	if(current < 10)
	{
		var cur_path = "all_0";
	}
	else
	{
		var cur_path = "all_";
	}
	if (document.getElementById('thumb'+current))
	{
		document.getElementById('thumb'+current).src='img/tn/'+cur_path+current+'bw.jpg';
	}
	document.getElementById('mainpic').src='img/'+image_path+num+'.jpg';
	document.getElementById('thumb'+num).src='img/tn/'+image_path+num+'.jpg';
	document.getElementById('desc1').innerHTML=captions[num];
	current=num;
}

function mouseout(num) {
	if(num < 10)
	{
		var image_path = "all_0";
	}
	else
	{
		var image_path = "all_";
	}
	
	if (num == current) return;
	document.getElementById('thumb'+num).src='img/tn/'+image_path+num+'bw.jpg';
}

function mouseover(num) {

	if(num < 10)
	{
		var image_path = "all_0";
	}
	else
	{
		var image_path = "all_";
	}
	document.getElementById('thumb'+num).src='img/tn/'+image_path+num+'.jpg';
}

function nextImg(){
	var num = current + 1;
	if (num > 12) num = 1;
	setImg(num);
}

var currentTxt=1;

function mouseoutTxt(num,name) {
	if (num == currentTxt) return;
	document.getElementById('btn_'+name).src='img/link_'+name+'.gif';
}

function mouseoverTxt(num,name) {
	document.getElementById('btn_'+name).src='img/link_'+name+'_over.gif';
}
