var selectedQuestion = null;
/*  		function changeIA(type)
        {
            if(document.getElementById('trIA').style.display == "none")
            {
                document.getElementById('trIA').style.display = "";
                document.getElementById('headIA').style.display = "";
                document.getElementById('close').style.display = "";
                if(type == "w")
                {
                    document.getElementById('Wat').className = 'contentxt_unhide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
                }
                else if(type == "d")
                {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_unhide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
                }
                else if(type == "e")
                {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_unhide';
                    document.getElementById('Env').className = 'contentxt_hide';
                }
                else if(type == "s")
                {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_unhide';
                }
                               
            }    
            else
            {

                if(type == "w")
                {
                    document.getElementById('Wat').className = 'contentxt_unhide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
                }
                else if(type == "d")
                {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_unhide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
                }
                else if(type == "e")
                {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_unhide';
                    document.getElementById('Env').className = 'contentxt_hide';
                }
                else if(type == "s")
                {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_unhide';
                }
               
            }
          
        }*/
		
		function changeIAW()
        {
          /*  if(document.getElementById('trIA').style.display == "none")
            {
                document.getElementById('trIA').style.display = "";
                document.getElementById('close').style.display = "";
              
                    document.getElementById('Wat').className = 'contentxt_unhide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
            }    
            else
            {
                    document.getElementById('Wat').className = 'contentxt_unhide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
            }*/
            DispayQA("W");
            ArrangeContent("trIA","close");
            document.getElementById('Wat').className = 'contentxt_unhide';
            document.getElementById('Dis').className = 'contentxt_hide';
            document.getElementById('Exc').className = 'contentxt_hide';
            document.getElementById('Env').className = 'contentxt_hide';
        }
		
		function changeIAD()
		{
/*		  	if(document.getElementById('trIA').style.display == "none")
            {
                document.getElementById('trIA').style.display = "";
                document.getElementById('close').style.display = "";
        
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_unhide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
            }    
            else
            {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_unhide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_hide';
            }*/
            DispayQA("D");
            //ViewIAAnswer(15);
            ArrangeContent("trIA","close");
            document.getElementById('Wat').className = 'contentxt_hide';
            document.getElementById('Dis').className = 'contentxt_unhide';
	        document.getElementById('Exc').className = 'contentxt_hide';
            document.getElementById('Env').className = 'contentxt_hide';
		}
		
		function changeIAE()
		{
/*			if(document.getElementById('trIA').style.display == "none")
            {
                document.getElementById('trIA').style.display = "";
                document.getElementById('close').style.display = "";
            
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_unhide';
                    document.getElementById('Env').className = 'contentxt_hide';
            }    
            else
            {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_unhide';
                    document.getElementById('Env').className = 'contentxt_hide';
            }*/
            DispayQA("X");
            //ViewIAAnswer(28);
            ArrangeContent("trIA","close");
            document.getElementById('Wat').className = 'contentxt_hide';
            document.getElementById('Dis').className = 'contentxt_hide';
            document.getElementById('Exc').className = 'contentxt_unhide';
            document.getElementById('Env').className = 'contentxt_hide';
		}
		
		function changeIAS()
        {
/*            if(document.getElementById('trIA').style.display == "none")
            {
                document.getElementById('trIA').style.display = "";
                document.getElementById('close').style.display = "";

                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_unhide';
            }    
            else
            {
                    document.getElementById('Wat').className = 'contentxt_hide';
                    document.getElementById('Dis').className = 'contentxt_hide';
                    document.getElementById('Exc').className = 'contentxt_hide';
                    document.getElementById('Env').className = 'contentxt_unhide';
            }*/
            DispayQA("E");
            //ViewIAAnswer(25);
			ArrangeContent("trIA","close");
            document.getElementById('Wat').className = 'contentxt_hide';
            document.getElementById('Dis').className = 'contentxt_hide';
            document.getElementById('Exc').className = 'contentxt_hide';
            document.getElementById('Env').className = 'contentxt_unhide';
        }

        function ClearAnswers() {
            document.getElementById('disp_ans1').innerHTML = "";
        }
		
        function CloseIA()
        {
            document.getElementById('trIA').style.display = "none";
            document.getElementById('close').style.display = "none";
            if (selectedQuestion != null) {
                document.getElementById(selectedQuestion).className = 'contentxt1';
                selectedQuestion = null;
            }
            ClearAnswers();
			//Hide2();
		}
        
        function DispayQA(param){
/*            document.getElementById("newsticker-water").style.display = "none";
            document.getElementById("newsticker-disp").style.display = "none";
            document.getElementById("newsticker-ex").style.display = "none";                
            document.getElementById("newsticker-en").style.display = "none";                                
                      
            
            if (param == "W"){
                document.getElementById("newsticker-water").style.display = "";
            } else if (param == "D") {
                document.getElementById("newsticker-disp").style.display = "";
            } else if (param =="E") {
                document.getElementById("newsticker-en").style.display = "";                
            } else if (param =="X") {
                document.getElementById("newsticker-ex").style.display = "";
            }*/
			
		    document.getElementById("mywater").style.display = "none";
            document.getElementById("mydisp").style.display = "none";
            document.getElementById("myex").style.display = "none";                
            document.getElementById("myen").style.display = "none";                                
                      
            
            if (param == "W"){
                document.getElementById("mywater").style.display = "";
            } else if (param == "D") {
                document.getElementById("mydisp").style.display = "";
            } else if (param =="E") {
                document.getElementById("myen").style.display = "";                
            } else if (param =="X") {
                document.getElementById("myex").style.display = "";
            }
        
        }
				
        function ViewIAAnswer(QuesNo)
		{
		    for(var i=0;i<34;i++)
		    {
		        if(i!=18 && i!= 31)
		        {
		            var qId = "IAquest" + i ;
		            if (i == QuesNo) {
		                selectedQuestion = qId;
		                document.getElementById(qId).className = 'contentxt3';
		            }
		            else {
		                document.getElementById(qId).className = 'contentxt1';
		            }
		        }
		    }
		    
			var i = 0;
			var arrANS = new Array();	
			arrANS[0] = "Primo water is available nationwide at thousands of convenient locations including Lowes Home Improvement, Kroger, Kmart, Winn Dixie, Albertsons, HEB and Food Lion. ";

			arrANS[1] = "Primo water is 99.99% pure and always free from chemicals and impurities. Every bottle is 100% safe and meets or exceeds all Federal, State and local requirements.  Primo water has a clean, refreshing taste that is preferred by  3 to 4 people over the leading brands. ";
			
			arrANS[2] = "Primo originates from municipal sources.";
			
			arrANS[3] = "Primo uses a 9 Step state-of-the-art commercial purification process. We start by filtering water to remove harmful contaminants. We remove very small particles and microbiological constituents using micro-filtration.  Next, the water enters either a reverse osmosis or distillation phase.  After this phase, Primo Water's proprietary mixture of minerals is added to create its clean and refreshing taste. Then, the water is ozonated to ensure that it is completely disinfected, making the water 99.99% pure.";

			arrANS[4] = "See our most recent water quality report. ";

			//arrANS[5] = "Primo Water does NOT contain fluoride.";
			arrANS[5] = "No - Primo Water does NOT contain fluoride.  Fluoride can cause mottling (discoloration) of teeth for infants (www.online-family-doctor.com) and can accelerate osteoporosis (loss of bone mass) for older adults (www.health-science.com/fluoride_toxicity.html).  Primo Water has chosen not to put fluoride in our water to better serve all of our consumers.";
			
			arrANS[6] = "Primo Water has 0.2 milligrams sodium per 8 ounce serving.  According to the USFDA, if water has less than 5.0 milligrams of sodium in an 8oz serving, it is considered sodium free. ";
			
			//arrANS[7] = "It ranges between 6.3 and 7.0, with an average of 6.6.";
			arrANS[7] = "It ranges between 6.3 and 7.0, with an average of 6.6.  The pH is determined by the purity of the water and the minerals added.   The pH impacts mouth feel of beverages. Primo Water meets a certain pH range to provide its silky mouth feel.";
			
			//arrANS[8] = "It ranges between 12 and 26 ppm.";
			arrANS[8] = "It ranges between 12 and 26 ppm.  The TDS of Primo water gives it its unique and perfect taste.  The narrow range of mineral addition results in Primo water tasting the same, all the time and everywhere.";
			
			//arrANS[9] = "It is less than 1 grain of hardness per gallon.  ";
			arrANS[9] = "Hardness is based on the calcium and magnesium content of water. Hardness is a measure of water's ability to make soap bubbles.  It lets you know whether you need more or less laundry detergent, dish soap or shampoo relative to softer water.  Primo water is less than 1 grain of hardness per gallon."
			
			arrANS[10] = "According to the USFDA, bottled water has no expiration date.  Primo water can be stored indefinitely as long as the bottles are kept in a cool location and out of direct sunlight.";
			
			//arrANS[11] = "Primo uses industry standard bottles that are made from polycarbonate which contains bisphenol A. ";
			arrANS[11] = "At Primo water, we always seek to put the customer first.  Tests conducted by an independent, certified laboratory, verified that no BPA was found in Primo Water.  The USFDA does not consider BPA a toxic compound.  We will closely monitor research, and if any conclusive evidence that BPA causes adverse health effects arises, we will certainly identify and implement an alternative material to polycarbonate.  In the interim, we will remain in compliance with federal regulations which maintain that polycarbonate, a plastic containing BPA, is an acceptable material for bottled water containers";
			
			arrANS[12] = "Polycarbonate water bottles have been tested extensively by numerous governmental and scientific organizations around the world including the US CDC, US FDA, European Union and the Japanese Ministry of the Environment. All are unanimous in support of the safety of polycarbonate for this application.";
			
			arrANS[13] = "No. Primo brand water is purified water with minerals added for taste. In nationwide independent blind taste tests consumers preferred Primo over leading spring brands.";
			
			arrANS[14] = "Primo water is available by delivery only in the Triad area of North Carolina (Alamance, Davidson, Davie, Forsyth, Guilford, Randolph, Rockingham, Stokes, Surry or Yadkin counties). ";
			
			//arrANS[15] = "A cooler provides instant access to great tasting hot and cold water without costly filters to maintain. In addition, a cooler can save you money (versus case pack water), produces zero landfill waste and frees up refrigerator space. Surveys indicate families with coolers drink more water and less sugary drinks, sleep better and exercise more frequently.";
			arrANS[15] = "A cooler provides instant access to great tasting hot and cold water without costly filters to maintain. In addition, a cooler can save you money (versus cases of single-use water) and frees up refrigerator space. Surveys indicate families with coolers drink more water and less sugary drinks, sleep better and exercise more frequently. Finally, having a cooler and using Primo Water in zero waste bottles helps eliminate thousands of single-use plastic bottles from our nation's landfills.";
			
			arrANS[16] = "Primo coolers are available online as well as at thousands of the nation's leading discount, home center and hardware stores. Prices start at only $30. ";
			
			arrANS[17] = "Primo bottles are designed to a standard specification and should fit most water dispensers on the market.";
			
			arrANS[18] = "When full, Primo 5 gallon bottles weigh 44 pounds. Primo 3 gallon bottles weigh 26 pounds.";
			
			//arrANS[19] = "Primo water appliances are Energy Star rated and are up to 50% more efficient than most non-Energy Star models. On average Primo Energy Star coolers consume only .8 kw of electricity per day. The typical US household can have instant access to piping hot and icy cold water for less than $40 per year in electricity costs.";
			arrANS[19] = "Primo water appliances are Energy Star rated and are up to 50% more efficient than most non-Energy Star models. On average, Primo Energy Star coolers consume only 0.8 kw of electricity per day. The typical US household can have instant access to piping hot and icy cold water for less than $40 per year in electricity costs."
			
			arrANS[20] = "Primo has developed a new line of products that eliminate the lifting and flipping of heavy water bottles, which also prevents any spilling.   These attractive models store the bottle in the base of the cabinet and pump the water up to the hot and cold tanks for dispensing. Usage is easier than ever and these models are designed to look great in any room of the house.";
			
			arrANS[21] = "To ensure taste perfection, always store Primo bottles indoors in a clean, cool, dry and well-ventilated location out of direct sunlight. Always place the bottle neck up. Never store water near chemicals, gasoline, paint, solvents or cleaning supplies.";
			
			arrANS[22] = "Access to Troubleshooting Tips.";
			
			arrANS[23] = "Always clean your cooler before its first use and as recommended by the manufacturer.  Consult your manufacturer's User Manual for timing and cleaning instructions.";
			
			arrANS[24] = "<ol><li>If your top loading cooler has a probe:<ul><li>Clean cap and neck of bottle with a soft damp cloth.</li><li>Peal paper label off bottle cap.</li><li>Place neck of bottle into receptacle. Probe will push white plastic plug into bottle. Water will flow into tank.</li></ul></li><li>If your top loading cooler does NOT have a probe:<ul><li>Clean cap and neck of bottle with a soft damp cloth.</li><li>Peal paper label off bottle cap.</li><li>Poke the plastic seal into the water.</li><li>Place neck of bottle into receptacle. Be careful not to spill water. Water will flow into tank.</li></ul></li><li>If you have a Primo bottom loading cooler:<ul><li>Clean cap and neck of bottle with a soft damp cloth.</li><li>Remove entire plastic cap.</li><li>Place probe into bottle until it is fully seated.</li><li>Tighten to secure a complete seal.</li></ul></li></ol>";
			
			arrANS[25] = "When you use Primo Exchange you help the environment by reducing landfill waste and the demand for crude oil. Primo bottles are reused up to 40 times before being recycled into other products.  One Primo 5 gallon bottle can replace 2,700 single serve bottles - with zero landfill waste!";
			
			arrANS[26] = "Primo Water is produced at over 60 bottling locations around the continental US. This extensive network means Primo water travels less miles on average from bottler to consumer than any other brand makes Primo the most energy responsible bottled water company in the US.";
			
			arrANS[27] = "Primo water appliances are Energy Star rated and are up to 50% more efficient than most non-Energy Star models. On average Primo Energy Star coolers consume only .8 kw of electricity per day. The typical US household can have instant access to piping hot and icy cold water for less than $40 per year in electricity costs. ";
			
			arrANS[28] = "Why wait on costly delivery services or waste your time filling your own dirty bottles with filtered tap water? Instead you can exchange your bottles at any of the thousands of conveniently located Primo retail locations nationwide. You get fresh bottles of great tasting water whenever you want without contracts or minimums. Primo users typical save 25% over delivery.  In addition, all Primo bottles feature handles and caps that eliminate spills when loading onto coolers.";
			
			arrANS[29] = "<ol><li>Deposit any brand empty bottle at the Primo recycle center, which is typically located outside the store. You will receive a discount ticket that provides you with a discount off your next Primo purchase. </li><li>Select a fresh full bottle from the Primo display inside the store. </li><li>Bring your full Primo bottle and discount ticket to the casher. </li><li>The cashier will scan the bottle and the discount ticket. </li><li>Take your Primo bottle home and enjoy. </li></ol>";
			
			arrANS[30] = "We are sorry you are not completely satisfied with Primo's water exchange program. Your business is important and we'd like to find a way to please you. We understand you may be used to traditional bottle deposit programs and did not understand that with Primo you actually purchase the bottle. Since this has caused you hardship, we will refund you $7.00 per bottle for a maximum of 3 bottles (this is a onetime refund per household). Simply return your excess bottles to any Primo recycle center and secure tickets. Mail the tickets to 104 Cambridge Plaza Drive, Winston Salem, NC 27104. Please include the reason for the refund, your name, street address, city, state, zip code and location where you recycled the bottles. Please allow 4-6 weeks to process your request and you will receive a check by mail. We hope you find this offer to your needs and will continue to enjoy Primo water.";
			
			arrANS[31] = "You don't get a deposit back because you own your bottles.  Either you bought a Primo to get started or you traded another brand for a Primo bottle.<br/><br />If you no longer need your bottles, Primo can help ensure they don't end up in landfills. <ul><li>Please return them as you normally would to your local store and secure your coupons. </li><li>Mail the tickets to Primo Water Corporation, 104 Cambridge Plaza Drive, Winston-Salem, NC 27104. Please include the reason for the refund request, your name, street address, city, state, zip code and location where you recycled the bottles. </li><li>We will refund you $7.00 per bottle for a maximum of 3 bottles. Notice: This is a onetime per household offer. </li><li>Please allow 4-6 weeks to receive a check by mail.</li></ul>";
			
			arrANS[32] = "The empty bottles weigh a little more than 1.5 lbs. and 1 lb. for the 5-gallon and 3-gallon bottles, respectively.  When full of Taste Perfection, Primo 5-gallon bottles weigh 44 pounds. Primo 3-gallon bottles weigh 26 pounds.";
			
			arrANS[33] = "Primo bottles are designed to a standard specification and should fit most water dispensers on the market.";

			if (QuesNo < 34)
			    document.getElementById('disp_ans1').innerHTML = "<span>" + arrANS[QuesNo] + "</span>";
			return false;
		}
