/*********************************************************************************************

 HTML Text for popup



 Add new elements to this array for each popup. Use a unique name for the array index string.

 Use this string when you call "popup()" from the link (see links at bottom of page...). 

*/

var vPopupText = new Array();

vPopupText["DAFPopup"] = "<b>Dissolved Air Flotation (DAF) Technology:</b><br>A method of treating water and wastewater, which has been available for more than 80 years, primarily in Europe. Some of the first systems installed in Scandinavia in the 1920s are still in operation.</br>";

vPopupText["CryptoPopup"] = "<b>Cryptosporidium, Giardia lamblia, and E. coli:</b><br>Microscopic protozoan parasites. These common organisms exist naturally in the digestive systems of livestock and wild animals, and end up in lakes and streams. Extremely resistant to chlorine disinfection, they have caused millions of Americans to become severely ill with diarrhea, dehydration, and flu-like symptoms. For the elderly and persons with compromised immune systems, the illnesses can be fatal.</br>";

vPopupText["THMPopup"] = "<b>Trihalomethanes (THM’s):</b><br>When chlorine reacts with natural organic carbon compounds in water, Trihalomethanes are produced. THM’s are dangerous byproducts, and have been linked to a wide variety of health hazards, including cancer.</br>";

vPopupText["ChalLim01Popup"] = "<b>Fresh, Usable Water:</b><br>97.5% of the earth’s water is salt water. Of the remaining 2.5% that is fresh, two-thirds is ice, leaving very little usable fresh water. For comparison purposes, if the world’s water supply could be poured into a gallon jug, the available fresh water would equal little more than one tablespoon.</br>";

vPopupText["ChalLim02Popup"] = "<b>Critical Water Problem:</b><br>According to <em>The Global Water and Sanitation Assessment 2000</em> in a United Nations report, &#8220;At the beginning of 2000, one-sixth (1.1 billion people) of the world&#8217;s population was without access to improved water supply and two-fifths (2.4 billion people) lacked access to improved sanitation.&#8221;<br></br>In <em>Scientific American</em>, water expert Peter H. Gleick wrote, &#8220;Half of the world&#8217;s population still suffers with water services inferior to those available to the ancient Greeks and Romans&#8221; and &#8220;Preventable water-related diseases kill an estimated 10,000 to 20,000 children every day.&#8221;</br>";

vPopupText["ChalLim03Popup"] = "<b>Recent Public Health Emergencies:</b><br>In 1993, more than 400,000 people in Milwaukee, Wisconsin, became ill and nearly 100 people died during a failure in the drinking water filtration system. Other recent outbreaks include one in Las Vegas and one at The Pentagon.</br>";

vPopupText["ChalSDWA01Popup"] = "<b>Small- to Medium-sized Water Districts:</b><br>94% (more than 185,000) of the public rural water districts in the U.S. are considered small- to medium-size, supporting populations of fewer than 10,000 people. More than 50,000 serve small towns, rural housing tracts, trailer parks or resorts with fewer than 3,300 people.</br>";

vPopupText["ChalProb01Popup"] = "<b>Current Method:</b><br>Slow sand treatment facilities occupy large tracts of land. The settling clarifiers and filtration beds are large, shallow in-ground concrete structures to accommodate large volumes of water.</br><br /><b>Sionix Solution:</b><br>Sionix systems have a small footprint. The units are built into a standard ISO transportable container measuring 8&#8217; wide x 9&#8217 1/2&#8217&#8217; high x 40&#8217; long. For higher volumes of water, multiple units can be placed next to one another.</br>";

vPopupText["ChalProb02Popup"] = "<b>Current Method:</b><br>Water must remain in the clarifiers and slow sand filtration beds for relatively long periods of time, to allow low-density materials to settle and be removed.</br><br /><b>Sionix Solution:</b><br>There is little residence time. One Sionix system will produce a minimum of 200 gallons of fresh water per minute, or 288,000 gallons per day.</br>";

vPopupText["ChalProb03Popup"] = "<b>Current Method:</b><br>The sand and charcoal filters quickly become saturated and clogged with low density organic materials, which requires frequent back flushing and maintenance.</br><br /><b>Sionix Solution:</b><br>Filters do not become saturated and clogged as they do in slow sand filtration. The filter run times are greatly extended.</br>";

vPopupText["ChalProb04Popup"] = "<b>Current Method:</b><br>Once the filters become saturated and clogged, the filtration bed must be taken offline and back-flushed, which uses large volumes of water. In a typical treatment plant, up to 20% of the water flowing through the facility is waste water used for back-flushing.</br><br /><b>Sionix Solution:</b><br>Sionix systems have an Automatic Back-Flush Ultimate Barrier Filtration System. Back-flushing is less frequent, and does not generate wastewater. Sionix systems generally use less than 1% of the water flowing through the facility during the back-flushing cycle.</br>";

vPopupText["ChalProb05Popup"] = "<b>Current Method:</b><br>The large volumes of water used for back-flushing become contaminated. This water, ironically, is now wastewater and returned to the environment.</br><br /><b>Sionix Solution:</b><br>Waste water from back-flushing is recycled, nearly eliminating wasted water during the back-flush cycle.</br>";

vPopupText["ChalProb06Popup"] = "<b>Current Method:</b><br>The wastewater generated by back-flushing must now be “de-watered,” or evaporated, in settling ponds, which require more valuable land. Once evaporated, the dried solids are hauled to a landfill.</br><br /><b>Sionix Solution:</b><br>There is no need for settling ponds with a Sionix system.</br>";

vPopupText["ChalProb07Popup"] = "<b>Current Method:</b><br>New treatment facilities require significant design lead times and lengthy environmental impact studies. Additionally, they are expensive to construct and maintain, and entail complex financing programs.</br><br /><b>Sionix Solution:</b><br>Sionix systems can be quickly installed and easily maintained. They typically require no environmental impact studies. </br>";



/**********************************************************************************************

  The popup position is currently set to 160 px to the left of the mouse and 20 px below the

  mouse. (160 because width is currently 350 in popup.css.) Modify Xoffset and Yoffset to change

  the popup position relative the the mouse.

*/

Xoffset=-420; 

Yoffset= -360; 



/**********************************************************************************************/



var old,iex=(document.all),yyy=-1000;

var skn=null;

var vPopupX,vPopupY;

var ns4=document.layers;

var ns6=document.getElementById&&!document.all;

var ie4=document.all;

var vIsVisible = false;



function fOnload() {

	if (ns4) {

		skn=document.genericPopup;

	}

	else if (ns6) {

		skn=document.getElementById("genericPopup").style;

	}

	else if (ie4) {

		skn=document.all.genericPopup.style;

	}

	

	if(ns4) {

		document.captureEvents(Event.MOUSEMOVE);

	}

	else{

		skn.visibility="visible";

		skn.display="none";

	}

	document.onmousemove=get_mouse;

}

function popup(pId){

	if (skn == null) {

		return;

	}

	var content="<table id='popupTable' cellpadding=2 cellspacing=0";

	if (ns4) {

		content += "border=1 bordercolor='black'";

	}

	content += "><td class='popupText'>"+vPopupText[pId]+"</td></table>";

	yyy=Yoffset;

	skn.left = (vPopupX+Xoffset) < 0 ? 0 : vPopupX+Xoffset ;

	skn.top = vPopupY+yyy;

	

	if(ns4){

		skn.document.write(content);

		skn.document.close();

		skn.visibility = "visible"

	}

	if(ns6){

		document.getElementById("genericPopup").innerHTML=content;

		skn.display='';

	}

	if(ie4){

		document.all("genericPopup").innerHTML=content;

		skn.display='';

	}

}



function get_mouse(e) {

	vPopupX=(ns4||ns6)?e.pageX:event.x+document.body.scrollLeft;

	vPopupY=(ns4||ns6)?e.pageY:event.y+document.body.scrollTop;

}



function kill(){

	yyy=-1000;

	if(ns4){skn.visibility="hidden";}

	else if (ns6||ie4)

	skn.display="none"

	vIsVisible = false;

}

