// JavaScript Document

//MY SCRIPTS BELOW

//preload the walkthrough images
if (document.images) 
{
   wtimages1 = new Image();
   wtimages2 = new Image();
   wtimages3 = new Image();
   wtimages4 = new Image();
   wtimages5 = new Image();
   wtimages6 = new Image();
   wtimages7 = new Image();
   wtimages8 = new Image();
   wtimages9 = new Image();
   wtimages10 = new Image();
   wtimages11 = new Image();
   wtimages12 = new Image();
   wtimages13 = new Image();
   wtimages14 = new Image();
   wtimages15 = new Image();
   wtimages16 = new Image();
   wtimages17 = new Image();
   wtimages18 = new Image();
   wtimages19 = new Image();
   wtimages20 = new Image();
   wtimages21 = new Image();
   wtimages22 = new Image();
   wtimages1.src = "/images/bt-one.jpg";
   wtimages2.src = "/images/bt-one_f2.jpg";
   wtimages3.src = "/images/bt-two.jpg";
   wtimages4.src = "/images/bt-two_f2.jpg";
   wtimages5.src = "/images/bt-three.jpg";
   wtimages6.src = "/images/bt-three_f2.jpg";
   wtimages7.src = "/images/center-one.jpg";
   wtimages8.src = "/images/center-two.jpg";
   wtimages9.src = "/images/center-three.jpg";
   wtimages10.src = "/images/bt-expand.gif";
   wtimages11.src = "/images/bt-expand_f2.gif";
   wtimages12.src = "/images/banner-slide3.gif";
   wtimages13.src = "/images/banner-acidosis.gif";
   wtimages14.src = "/images/banner-dehydration.gif";
   wtimages15.src = "/images/banner-freeradicals.gif";
   wtimages16.src = "/images/banner-acidosis-2.gif";
   wtimages17.src = "/images/banner-dehydration-2.gif";
   wtimages18.src = "/images/banner-freeradicals-2.gif";
   wtimages19.src = "/images/banner-slide2.gif";
   wtimages20.src = "/images/illo-clusters.jpg";
   wtimages21.src = "/images/illo-ph.jpg";
   wtimages22.src = "/images/illo-oxidation.jpg";
}

//This array holds the content for each of the 3 slides in the walkthrough DIV in the center of the home page
var slides = new Array();
slides[0] = 	"<table width='457' border='0' align='center' cellpadding='0' cellspacing='0'>\
<tr>\
	<td><img src='/images/center-one.jpg' width='457' height='225'></td>\
</tr>\
<tr>\
    <td><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[0]; createCookie('slideCookie','slideone',1);\" onMouseOver=\"MM_swapImage('btone','','/images/bt-one_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-one_f2.jpg' name='btone' width='153' height='49' border='0' id='btone'></a><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[1]; createCookie('slideCookie','slidetwo',1);\" onMouseOver=\"MM_swapImage('bttwo','','/images/bt-two_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-two.jpg' name='bttwo' width='152' height='49' border='0' id='bttwo'></a><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[2]; createCookie('slideCookie','slidethree',1);\" onMouseOver=\"MM_swapImage('btthree','','/images/bt-three_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-three.jpg' name='btthree' width='152' height='49' border='0' id='btthree'></a>\
				<div id=\"acidosis\">\
					<p><img src='/images/banner-acidosis.gif' width='168' height='41' align='left'></p>\
					<p>Too much acid in the body, a distinctly abnormal condition resulting from the accumulation of acid or from the depletion of alkaline reserves...</p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('acidosis').innerHTML = slideOne[0];\"><img src='/images/bt-expand.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
				</div>\
					<div id=\"dehydration\">\
					<p><img src='/images/banner-dehydration.gif' width='168' height='41' align='left'></p>\
					<p>Dehydration means your body does not have as much water and fluids as it should. Dehydration can be caused by losing too much fluid, not drinking enough water or fluids, or both. Vomiting and diarrhea are common causes...</p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('dehydration').innerHTML = slideOne[1];\"><img src='/images/bt-expand.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
				</div>\
				<div id=\"freeradicals\">\
					<p><img src='/images/banner-freeradicals.gif' width='168' height='41' align='left'></p>\
					<p>An atom or group of atoms that has at least one unpaired electron and is therefore unstable and highly reactive...</p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('freeradicals').innerHTML = slideOne[2];\"><img src='/images/bt-expand.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
				</div>\
	</td>\
</tr>\
</table>";
slides[1] = 	"<table width='457'  border='0' align='center' cellpadding='0' cellspacing='0'>\
  <tr> \
    <td><img src='/images/center-two.jpg' width='457' height='225'></td>\
  </tr> \
  <tr> \
    <td><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[0]; createCookie('slideCookie','slideone',1);\" onMouseOver=\"MM_swapImage('btone','','/images/bt-one_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-one.jpg' name='btone' width='153' height='49' border='0' id='btone'></a><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[1]; createCookie('slideCookie','slidetwo',1);\" onMouseOver=\"MM_swapImage('bttwo','','/images/bt-two_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-two_f2.jpg' name='bttwo' width='152' height='49' border='0' id='bttwo'></a><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[2]; createCookie('slideCookie','slidethree',1);\" onMouseOver=\"MM_swapImage('btthree','','/images/bt-three_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-three.jpg' name='btthree' width='152' height='49' border='0' id='btthree'></a>\
				<p><img src='/images/banner-slide2.gif'></p>\
    			<div id=\"acidosis\">\
					<p><img src='/images/banner-acidosis-2.gif' width='168' height='41' align='left'></p>\
					<p><strong>Alkalized water can reverse acidosis.</strong> Though dependant upon the source water, the unit produces an adequate range of pH through the five level settings. These settings are computer controlled and has the ability to stabilize the pH of the output water after electrolysis...</p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('acidosis').innerHTML = slideTwo[0];\"><img src='/images/bt-expand.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
				</div>\
				<div id=\"dehydration\">\
					<p><img src='/images/banner-dehydration-2.gif' width='168' height='41' align='left'></p>\
					<p><strong>Rehydrate, don't dehydrate.</strong> The smaller mineral clusters, as measured by the use of a Nuclear Magnetic Resonance device is a more hydrating water than normal tap water...</p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('dehydration').innerHTML = slideTwo[1];\"><img src='/images/bt-expand.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
				</div>\
				<div id=\"freeradicals\">\
					<p><img src='/images/banner-freeradicals-2.gif' width='168' height='41' align='left'></p>\
					<p><strong>Antioxidants replace free-radicals.</strong> Oxidation of healthy cells by too much oxygen (free radicals) in the body, breaks down the cells, making them susceptible to disease...</p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('freeradicals').innerHTML = slideTwo[2];\"><img src='/images/bt-expand.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
				</div>\
  </tr> \
</table>";
slides[2] =  	"<table width='457'  border='0' align='center' cellpadding='0' cellspacing='0'>\
	<tr>\
		<td><img src='/images/center-three.jpg' width='457' height='225'></td>\
	</tr>\
	<tr>\
    	<td><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[0]; createCookie('slideCookie','slideone',1);\" onMouseOver=\"MM_swapImage('btone','','/images/bt-one_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-one.jpg' name='btone' width='153' height='49' border='0' id='btone'></a><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[1]; createCookie('slideCookie','slidetwo',1);\" onMouseOver=\"MM_swapImage('bttwo','','/images/bt-two_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-two.jpg' name='bttwo' width='152' height='49' border='0' id='bttwo'></a><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[2]; createCookie('slideCookie','slidethree',1);\" onMouseOver=\"MM_swapImage('btthree','','/images/bt-three_f2.jpg',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src='/images/bt-three_f2.jpg' name='btthree' width='152' height='49' border='0' id='btthree'></a> \
					<p><img src='/images/banner-slide3.gif'></p>\
					<p class=\"bodyheaders\"><strong>What Medical Professionals are saying about Alkalized water...</strong></p>\
					<p><a href = \"/news/studies/2006/study-01.shtml\">Adequate fluid replacement helps maintain hydration and, promotes the health, safety, and optimal physical performance</a></p>\
      <p><a href = \"/news/studies/2006/study-02.shtml\">Electrolyzed-reduced water scavenges active oxygen species and protects DNA from oxidative damage.</a></p>\
      <p><a href = \"/news/studies/2006/study-03.shtml\">The mechanism of the enhanced antioxidant effects against superoxide anion radicals of reduced water produced by electrolysis.</a></p>\
	  <p align=\"right\"><a href = \"/news/studies.shtml\">More Case Studies...</a></p>\
      <div class=\"learnmore\"></div>\
					<p class=\"bodyheaders\"><strong>What Authors & Industry Experts are saying about Alkalized water...</strong></p>\
					<p><a href = \"/news/articles/2006/article-03.shtml\">Clinical Documentary Reports from Doctors</a></p>\
					<p><a href = \"/news/articles/2006/article-04.shtml\">Alkaline Water Helps Remove the Cause of Cancer</a></p>\
					<p align=\"right\"><a href = \"/news/articles.shtml\">More Articles...</a></p>\
					<div class=\"learnmore\"></div>\
					<p class=\"bodyheaders\"><strong>What Customers are saying about the Alkalizer...</strong></p>\
					<p><a href=\"javascript:;\" onClick = \"myPopUp('/testimonials/images/testimonial-03.gif', '792', '612', 'Testimonials - Disease/Afflictions'); return false;\">\"I have tested the bio-electronically pure alkaline water in numerous clinical cases.. The water has produced amazing results... Thank you for the Alkalizer&trade;.\"</a> </p>\
	  <p><a href=\"javascript:;\" onClick = \"myPopUp('/testimonials/images/testimonial-05.gif', '792', '612', 'Testimonials - Disease/Afflictions'); return false;\">\"As a clinical doctor, I find that alkaline water asists the permeability of nutrients in all of my treatment programs.\"</a></p>\
	  <p><a href=\"javascript:;\" onClick = \"myPopUp('/testimonials/images/testimonial-08.gif', '792', '612', 'Testimonials - Disease/Afflictions'); return false;\">\"One year ago our six year old son was diagnosed with Leukemia.\"</a></p>\
					<p align=\"right\"><a href = \"/testimonials/\">More Testimonials...</a></p>\
					<div class=\"learnmore\"></div>\
		</td>\
	</tr>\
</table>";

//This array holds the expanded text for each of the 3 sections on the first slide
var slideOne = new Array();
slideOne[0] = 	"\
					<p><img src='/images/banner-acidosis.gif' width='168' height='41' align='left'></p>\
					<p>Too much acid in the body, a distinctly abnormal condition resulting from the accumulation of acid or from the depletion of alkaline reserves. In acidosis, the pH of the blood is abnormally low. Acidosis is associated with diabetic ketoacidosis, lung disease, and severe kidney disease.\
					\
					<p><em>Source: MedicineNet.com</em></p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[0];\"><img src='/images/bt-expand_f2.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
";
slideOne[1] = 	"\
					<p><img src='/images/banner-dehydration.gif' width='168' height='41' align='left'></p>\
					<p>Dehydration means your body does not have as much water and fluids as it should. Dehydration can be caused by losing too much fluid, not drinking enough water or fluids, or both. Vomiting and diarrhea are common causes.</p>\
					\
					<p>Infants and children are more susceptible to dehydration than adults because of their smaller body weights and higher turnover of water and electrolytes. The elderly and those with illnesses are also at higher risk.</p>\
					\
					<p>Dehydration is classified as mild, moderate, or severe based on how much of the body's fluid is lost or not replenished. When severe, dehydration is a life-threatening emergency.</p>\
					\
					<p><em>Source: MedlinePlus.com </em></p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[0];\"><img src='/images/bt-expand_f2.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
";
slideOne[2] =  	"\
					<p><img src='/images/banner-freeradicals.gif' width='168' height='41' align='left'></p>\
					<p>An atom or group of atoms that has at least one unpaired electron and is therefore unstable and highly reactive. In animal tissues, free radicals can damage cells and are believed to accelerate the progression of cancer, cardiovascular disease, and age-related diseases.</p>\
					\
					<p><em>Source: The American Heritage Dictionary</em></p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[0];\"><img src='/images/bt-expand_f2.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
";

//This array holds the expanded text for each of the 3 sections on the second slide
var slideTwo = new Array();
slideTwo[0] = 	"\
					<p><img src='/images/banner-acidosis-2.gif' width='168' height='41' align='left'></p>\
					<p><img src='/images/illo-ph.jpg' width='176' height='227' align='right'><strong>Alkalized water can reverse acidosis.</strong> Though dependant upon the source water, the unit produces an adequate range of pH through the five level settings. These settings are computer controlled and has the ability to stabilize the pH of the output water after electrolysis.</p>\
					<p>On the pH scale, which ranges from 0 on the acidic end to 14 on the alkaline end, a solution is neutral if its pH is 7. At pH 7, water contains equal concentrations of H+ and OH- ions. Substances with a pH less than 7 are acidic because they contain a higher concentration of H+ ions. Substances with a pH higher than 7 are alkaline because they contain a higher concentration of OH- than H+. The pH scale is a log scale so a change of one pH unit means a tenfold change in the concentration of hydrogen ions.</p>\
					<p>Living things are extremely sensitive to pH and function best (with certain exceptions, such as certain portions of the digestive tract) when solutions are nearly neutral. Most interior living matter (excluding the cell nucleus) has a pH of about 6.8. Blood plasma and other fluids that surround the cells in the body have a pH of 7.2 to 7.3. Numerous special mechanisms aid in stabilizing these fluids so that cells will not be subject to appreciable fluctuations in pH.</p>\
					<p>Substances which serve as mechanisms to stabilize pH are called buffers. Buffers have the capacity to bond ions and remove them from solution whenever their concentration begins to rise. Conversely, buffers can release ions whenever their concentration begins to fall. Buffers thus help to minimize the fluctuations in pH. This is an important function because many biochemical reactions normally occurring in living organisms either release or use up ions. Calcium is the body's main acid buffer. This is why there is a calcium crisis in health.</p>\
					<p>Low pH = High Acidosis = Lower Oxygen = More Calcium Loss (to buffer the acidosis)</p>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[1];\"><img src='/images/bt-expand_f2.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
";
slideTwo[1] = 	"\
					<p><img src='/images/banner-dehydration-2.gif' width='168' height='41' align='left'></p>\
					<p><strong>Rehydrate, don't dehydrate.</strong> The smaller mineral clusters, as measured by the use of a Nuclear Magnetic Resonance device is a more hydrating water than normal tap water. Through electrolysis large tap mineral clusters are reduced from their original size. The smaller cluster size gives the water excellent hydrating properties, high solubility and good permeability.</p>\
    				<img src='/images/illo-clusters.jpg' width='457' height='277'>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[1];\"><img src='/images/bt-expand_f2.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
";
slideTwo[2] =  	"\
					<p><img src='/images/banner-freeradicals-2.gif' width='168' height='41' align='left'></p>\
					<p><strong>Antioxidants replace free-radicals.</strong> Oxidation of healthy cells by too much oxygen (free radicals) in the body, breaks down the cells, making them susceptible to disease. Alkaline Water readily donates its abundant electrons to render excessive free radicals harmless so that they do not \"steal\" electrons from healthy living cells. Our bodies need to be able to eliminate or buffer over acidic conditions caused by diet, stress, physical activity, toxins and other sources. The electrolysis process concentrates available alkaline minerals in the source water to aid the buffering systems in the body.</p>\
					<img src='/images/illo-oxidation.jpg' width='457' height='495'>\
					<p><a href=\"javascript:;\" onClick=\"document.getElementById('walkthrough').innerHTML = slides[1];\"><img src='/images/bt-expand_f2.gif' width='59' height='15' border='0' align='right'></a></p>\
					<img src='/images/spacer.gif' width='457' height='1'>\
					<div class=\"learnmore\"></div>\
";