// JScript source code

// global variables
// browser identifies the browser name

var	browser = "";
imgArray = new Array();
imgArray[0] = new Image();
imgArray[0].src = "images/arrow.gif";
imgArray[1] = new Image();
imgArray[1] = "images/arrow1.gif";

arAcmpTitle = new Array();
arAcmpDate = new Array();
arAcmpBodyCase = new Array();
arAcmpBodyBenefit = new Array();
arNewspaper = new Array();
arNewspaperLink = new Array();
arQuote = new Array();
arQAttr = new Array();

arTipsTitle = new Array();
arTipsBody = new Array();

// ***********************



/*

arTipsTitle[tip] = "Avoiding excessive Internet charges on your phone&nbsp;bill";
arTipsBody[tip] = "When you sign up with an Internet service provider make sure that calls to your “log on” number are within your local, “untimed” calling zone so you won’t have to pay per minute charges for the time you surf the web. To check if a phone number is in your local zone, call your phone company.";

arTipsTitle[1] = "Leave lights on or turn them&nbsp;off?";
arTipsBody[1] = "There’s a myth that says you expend more energy by turning lights on and off so it’s better to leave them on even if you leave the room. Not true. For regular incandescent lights, it’s better to turn lights off when you leave a room. For energy-efficient fluorescent bulbs, turn them off if you won’t be back in a room for more than 15 minutes.";

arTipsTitle[2] = "Utility security&nbsp;deposits";
arTipsBody[2] = "If you have had continuous service with a gas or electric company for more than two years, the company cannot demand a security deposit from you—regardless of how many late payments you’ve made. The exceptions to this rule are if you have tampered with utility equipment—or benefited from tampering—or if you have been disconnected. This rule applies to accounts defined by the utility as residential.";

arTipsTitle[3] = "Read the fine print before purchasing a pre-paid phone&nbsp;card";
arTipsBody[3] = "Before buying a prepaid phone card, read the fine print to determine if the card has any restrictions, such as an expiration date or no in-state calls. The card should have clear instructions, and it should display a toll-free number you can call if there are problems. Give the number a call. A busy signal could be a bad sign. And buy the smallest amount of calling time possible to test the card and see if it has any hidden charges.";

arTipsTitle[4] = "Beware of unlimited phone plans that aren’t really&nbsp;unlimited";
arTipsBody[4] = "Beware of phone companies that oeedr “unlimited” calling plans that aren’t unlimited at all. Most local and long-distance companies are marketing flat-rate, all-you-can-use calling packages that sound too good to be true. But most of these plans only cover basic local calling. They don’t include local toll calls or monthly taxes and surcharges, which can add another 20 percent to your phone bill. And, they only apply to one phone line. The bottom line? Read the fine print and make sure you understand what you’re getting before you sign up.";

//as of 7/1/04 is $10.11
arTipsTitle[5] = "SBC usage fees capped at $10.11 a&nbsp;month";
arTipsBody[5] = "As of July 1, 2004, SBC/Ameritech usage fees are capped at $10.11 a month. That’s the most you will pay for calls within 15 miles from your home—not including the monthly line charge, surcharges and taxes. Remember the cap when you consider flat-rate plans—marketed by SBC and others—that oeedr unlimited local calling. They may not be a very good deal for you.\n\n(Updated: September 1, 2004)";

arTipsTitle[6] = "How to dispute a utility&nbsp;bill";
arTipsBody[6] = "If you are disputing a charge on your gas or electric bill, first contact the utility and tell it you are formally disputing the charge and won’t pay it until the complaint is resolved. Remember, you can’t be disconnected for nonpayment as long as you pay the greater of these two options: the undisputed portion of your bill OR an amount equal to last year’s bill for the same month.";

arTipsTitle[7] = "Budget billing plans can ease handling of winter&nbsp;bills";
arTipsBody[7] = "If you’re having trouble paying your winter gas bills, ask your gas company about entering into a budget-billing plan. Budget-billing plans allow customers to even out their monthly gas bills and avoid drastic, month-to-month fluctuations in the payments they make. Instead of a fluctuating amount, you pay the same amount—or nearly the same amount—each month, year-round.";

arTipsTitle[8] = "Get that phone number listing for&nbsp;free";
arTipsBody[8] = "Directory assistance costs about a dollar or more per call, but there are Internet web sites where you can find phone numbers for free. Here’s a list of some of those sites:<br><a href='http://www.anywho.com' class='green' target='_blank'>www.anywho.com</a><br><a href='http://www.zip2.com'  target='_blank' class='green'>www.zip2.com</a><br><a href='http://www.infousa.com' class='green' target='_blank'>www.infousa.com</a><br><a href='http://www.bigbook.com' class='green' target='_blank'>www.bigbook.com</a><br><a href='http://www.people.yahoo.com' class='green' target='_blank'>www.people.yahoo.com</a><br><a href='http://www.worldpages.com' class='green' target='_blank'>www.worldpages.com</a>";

arTipsTitle[9] = "Saving money on local toll&nbsp;calls";
arTipsBody[9] = "Do you know what rate you pay for local toll calls? If you’re using Ameritech for these calls, you may be paying too much. A local toll call is any call beyond 15 miles but still within your calling region. Ameritech charges 10 cents a minute for a local toll call while some long-distance companies charge as little as 4 cents a minute. If you make a lot of these calls, contact your long-distance provider and see what rate it oeedrs.";

arTipsTitle[10] = "Blackouts can knock out cordless&nbsp;phones";
arTipsBody[10] = "During a power outage cordless phones won’t work. So, unless you have a cell phone, you’ll need to have a hard-wired phone with a cord in your home to make calls during a blackout. If you’ve got an old phone, consider keeping it for such an emergency.";

arTipsTitle[11] = "Call before you dig!";
arTipsBody[11] = "Think safety before you start a home repair project. Call or visit these websites. A technician will visit the planned site and mark the location of underground utility lines.<br><br>Business and residents in Illinois should call <a href='http://www.illinois1call.com/' class='green' target='_blank'><b>JULIE</b></a> <br>at (800) 892-0123. <br><br>In the city of Chicago call <a href='http://www.cityofchicago.org/Transportation/html/UtilityAlert1.html' target='_blank' class='green'><b>DIGGER</b></a> at (312) 744-7000. <br><br>Projects along the Indiana and Chicago border call<br><a href='http://www.iupps.org/' target='_blank' class='green'><b>Indiana Underground Plant Protection Service</b></a> <br>at (800) 382-5544.";

arTipsTitle[12] = "Notify your old, long-distance company when you&nbsp;switch";
arTipsBody[12] = "If you switch long-distance companies, make sure to notify your old company so that it doesn’t continue to charge you. Your local company will assess you a one-time fee for switching long-distance service. Ask your new long-distance company if it will cover that charge. If you drop your long-distance service altogether, remember to notify your local phone company so it can complete the change, which it will do for a one-time charge. ";

arTipsTitle[13] = "Winter does not stop gas turn&nbsp;offs";
arTipsBody[13] = "A gas utility can and will turn off your heat for nonpayment of bills in the winter—any time the temperature is expected to stay above 32 degrees for 24 hours. Sometimes, utilities choose to put a moratorium on winter disconnections—but they don’t&nbsp;have&nbsp;to. <a href=newsCV0409_WeveGotMail.html#winterGas class=green><b>Read more</b></a> about what you can do.";

arTipsTitle[14] = "Pitfalls galore in prepaid cell&nbsp;plans";
arTipsBody[14] = "So you want a cell phone, but the prospect of one more monthly bill and an oppressive contract turns your stomach? A prepaid cell phone might be the answer—or&nbsp;not. <br><br>You pay for a certain number of minutes ahead of time, and when those minutes run out you can’t make&nbsp;calls. <br><br>It could be perfect for families who want an emergency phone, for parents who don’t want to spend a fortune on a phone for their talkative teen-ager, or for anyone with a bad credit rating. (You don’t need a credit check to buy one, unlike regular cell&nbsp;plans.) <br><br>However, rates can be twice as high, and your minutes expire after 60 to 90 days, or less. You lose the minutes you don’t use, unless you add more time to your phone before the expiration&nbsp;date. <br><br>You even could lose your phone number if you don’t use it for an extended period of time. All the more reason to read the fine print carefully before you take the&nbsp;leap. <br><br> Besides the standard questions about coverage areas and peak calling times, ask if incoming calls or outgoing calls not answered count against your time, as well as special features, such as voice&nbsp;mail.";

arTipsTitle[15] = "Keep the cold air outside where it belongs";
arTipsBody[15] = "There are numerous steps you can take to keep the cold air out. To learn the steps best suited for you to take, read the Chicago Sun-Times article, <a href='pdfs/CUBInTheNews/20051118_CST_KeepingHeatInYourHome.pdf' target='_blank' class='green'><b>Keeping heat in your&nbsp;home</b></a>, for great energy-saving tips.";

*/
tip = 0;
arTipsTitle[tip] = "Avoiding excessive Internet charges on your phone bill";
arTipsBody[tip] = "For all you dial-up Internet users, make sure that dialing your \“logon\” number is a local call (within about 15 miles from your home). If it's not, you'll get slapped with a \"Local Toll\" rate, 16 cents or more for every minute you surf the web. Check with your phone company or CUB to see if your dial-up number is a local or local toll&#160;call.";
tip++;


arTipsTitle[tip] = "Leave lights on or turn them off?";
arTipsBody[tip] = "There’s a myth that says you expend more energy by turning lights on and off so it’s better to leave them on even if you leave the room. Not true--even for energy-efficient compact fluorescent light bulbs (CFLs). Save the&#160;energy!";
tip++;

arTipsTitle[tip] = "Utility security deposits";
arTipsBody[tip] = "If you are a residential customer who has had continuous service with a gas or electric company for more than two years, the company cannot demand a security deposit from you—regardless of how many late payments you’ve made. The exceptions to this rule are if you have tampered with utility equipment (or benefited from tampering) or if you have been&#160;disconnected."; 
tip++;

arTipsTitle[tip] = "Read the fine print before purchasing a pre-paid phone card";
arTipsBody[tip] = "Before buying a prepaid phone card, read the fine print to determine if the card has any restrictions, such as an expiration date or no in-state calls. The card should have clear instructions, and it should display a toll-free number you can call if there are problems. Give the number a call. A busy signal could be a bad sign. Try this: buy the smallest amount of calling time possible to test the card and see if the deal is all it's cracked up to be. And don't settle for a rate that's more than a nickel per minute. In fact you should be able to find rates for four cents per minute or&#160;less."; 
tip++;

arTipsTitle[tip] = "Beware of fixed-rate calling plans";
arTipsBody[tip] = "You probably can do without an expensive \“fixed-rate\” plan that covers a lot of calls and extra features, such as voice mail, for a set monthly fee. Usually, such plans are best for people who make several hours of calls each month and need many features. One exception is AT&T's \“Consumer's Choice\” local calling plans, which CUB designed as part of a legal settlement with the phone company. These plans can save most Chicago-area consumers money. To learn more about Consumer’s Choice Basic, Consumer’s Choice Extra, and Consumer’s Choice Plus — call our special Phone-savings Hotline: 1-866-688-4282. Please note that these plans cover LOCAL calls only, roughly 0-15 miles from your home. You can shop for low rates for \“local toll\” and long-distance&#160;calls.";
tip++;

arTipsTitle[tip] = "Drop Line-Backer";
arTipsBody[tip] = "Line-Backer is an AT&T insurance plan that, for a monthly fee, covers repairs to the phone wires inside the walls of your home. However, most telephone problems are not caused by the inside wiring. In fact, such repairs are needed, on average, about once every 30 years. Drop Line-Backer! Your annual savings would cover any \“inside-wire\” repairs, in the rare event you need them. (Special note to apartment dwellers: It’s likely that your landlord or landlady would cover such repairs.&#160;Ask!)";
tip++;

arTipsTitle[tip] = "Don’t pay more than a nickel a minute for long distance/local toll calls";
arTipsBody[tip] = "There are hundreds of long-distance plans out there, but you shouldn’t settle for paying more than a nickel per minute. In fact, you can find a lot of plans for four cents per minute or less. Go to CUB’s Long-distance Calculator on the Telecommunications Page of our website, www.CitizensUtilityBoard.org. Or just give us a call, 1-800-669-5556, to find out about some good long-distance&#160;deals."; 
tip++;

arTipsTitle[tip] = "Beware of pricey local toll calls."; 
arTipsBody[tip] = "Local Toll (a.k.a. local long distance) calls are those that travel roughly 15-40 miles from your home. Long-distance calls are beyond that. Don’t settle for anything more than a nickel per minute for these calls. Use CUB’s \”Real Deal Guide to Long Distance\” to shop for a low-cost plan that covers both local toll and long-distance calls. If you make very few of these calls, consider dropping your local toll/long-distance plan altogether and using a prepaid calling card or 10-10 (dialaround) number. If you do this, notify your local phone company to complete the change. Your local company probably will charge you a one-time fee to drop the service. Ask your new long-distance company if it will cover that charge. Remember to read the fine print of any oeedr to spot hidden fees and other potential&#160;rip-offs.";
tip++;

arTipsTitle[tip] = "How to dispute a utility bill";
arTipsBody[tip] = "If you are disputing a charge on your gas or electric bill, first contact the utility and tell it you are formally disputing the charge and won’t pay it until the complaint is resolved. Remember, you can’t be disconnected for nonpayment as long as you pay the greater of these two options: the undisputed portion of your bill OR an amount equal to last year’s bill for the same&#160;month.";
tip++;

arTipsTitle[tip] = "Don’t pay for directory assistance";
arTipsBody[tip] = "There are new FREE directory assistance services. The trade-off is you may have to listen to an advertisement before you get the number. Still, you avoid fees of $1.25 to $2 per call for traditional \"information.\" Next time you need a residential or business phone number, try dialing this free service: 1-800-FREE411. For a business-only search, you also can use this number: 1-800-555-TELL. Another free alternative is online directory assistance, including these&#160;sites: ";
arTipsBody[tip] += "<br><br><a href='http://www.anywho.com' class='green' target='_blank'><b>www.anywho.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.bigbook.com' class='green' target='_blank'><b>www.bigbook.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.people.yahoo.com' class='green' target='_blank'><b>www.people.yahoo.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.worldpages.com' class='green' target='_blank'><b>www.worldpages.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.corp.att.com/directory' class='green' target='_blank'><b>www.corp.att.com/directory</b></a><br>";
tip++;

arTipsTitle[tip] = "Saving money on local toll calls";
arTipsBody[tip] = "Local toll, or local long-distance, calls are to places more than 15 miles from home, but still within your local calling region. Do you know how much you pay for them? AT&T and Verizon charge 16-17 cents per minute for such calls. That means it can be more expensive to call a place 20 miles from your home than Dublin, Ireland. You can find long-distance companies or prepaid cards that charge four cents per minute or less for such calls. If you make a lot of these calls, call CUB, 1-800-669-5556, to find a better deal for these&#160;calls. ";
tip++;


arTipsTitle[tip] = "Blackouts can knock out cordless phones";
arTipsBody[tip] = "During a power outage cordless phones won’t work. So, unless you have a cell phone, you’ll need to have a hard-wired phone with a cord in your home to make calls during a blackout. If you’ve got an old phone, consider keeping it for such an&#160;emergency.";
tip++;


arTipsTitle[tip] = "Make your cell phone a money-saving friend. ";
arTipsBody[tip] = "Use your cell phone to reduce your overall telecommunications costs. If you consistently have wireless minutes left at the end of a month, use them to make the Local Toll or long-distance calls you normally would make from your home landline—at extra cost to you. In fact, you may be able to drop your regular long-distance completely. Similarly, if your wireless plan comes with free voice mail, don’t pay the monthly fee for the same service on your landline. Give friends and family your cell phone number and tell them to leave messages in that voice mail&#160;box.";
tip++;
 

arTipsTitle[tip] = "Winter does not stop gas turn offs";
arTipsBody[tip] = "A gas utility can and will turn off your heat for nonpayment of bills in the winter—any time the temperature is expected to stay above 32 degrees for 24 hours. Sometimes, utilities choose to put a moratorium on winter disconnections—but they don’t have&#160;to."; 
tip++;


arTipsTitle[tip] = "Beware of natural-gas rip-offs";
arTipsBody[tip] = "In northern Illinois, unregulated gas companies are allowed to compete with the traditional utility for your business. Sales representatives — who sometimes simply identify themselves as from \“the gas company\” —  pitch their oeedrs door to door, by mail, and over the phone. CUB has received complaints of misleading marketing and rip-offs regarding the alternative suppliers. In fact, more often than not these \“deals\” end up costing more money than the rates of the traditional utility. (See CUB’s <a href='http://www.citizensutilityboard.org/GasMarketMonitor.php' class='green'><b>Gas Market Monitor</b></a>, at www.CitizensUtilityBoard.org, or call CUB.) Unless you’ve taken a day to read the fine print and are positive you like the oeedr, we recommend that you don’t sign up for something over the phone or at the door and don’t give out your account number. To be safe, ask if your utility can put a free block on your account to prevent unauthorized changes to your&#160;service."; 
tip++;


arTipsTitle[tip] = "Budget billing plans can ease handling of winter bills";
arTipsBody[tip] = "If you would like to even out your heating bills and prevent drastic month-to-month increases in the winter, your utility oeedrs a \“budget\” plan. With one exception, this program costs nothing extra for gas customers.<span style='color:#060;font-weight:bold;'>\*</span> The utility estimates how much gas you are going to use in the coming year and assigns you a monthly budget-billing amount, based on how much gas you used last year, gas-price predictions, and weather forecasts. The utility will adjust the amount if your usage increases or the price of gas shoots up. At the end of the year, you will receive a credit if the company overestimated your usage or you will be billed the dieedrence if the company underestimated your usage. Nicor customers beware. Two unregulated affiliates of Nicor Gas market plans, called \“Fixed Bill\” and \“Lock 12,\” sound very similar to the budget-billing plan, but they’re not the same. In fact, they pose a high risk that you will pay much more than on Nicor Gas’ budget&#160;plan. <span style='font-size:.9em;'><br><br><span style='color:#060;font-weight:bold;'>\*Note:</span> Unlike any other utility in the state, Nicor Gas charges interest on any debits that you build up under its budget plan. (It also pays interest on any&#160;credits.)</span>"; 
tip++;

arTipsTitle[tip] = "Save heat, save money";
arTipsBody[tip] = "Buy a programmable thermostat and set it at 68 degrees for the day and 62 degrees at bedtime. In most homes, you can save about 2 percent of your heating bill for each degree that you lower the thermostat. (NEVER turn your heat so low that it’s a health risk or turn your heat off completely. That will lead to frozen pipes and high repair bills if they burst.) Set your water heater to 120 degrees and cover it with an insulating blanket. Buy highly efficient compact fluorescent light bulbs. Caulk leaky windows and insulate openings around air conditioner window units. Close doors to rooms you’re not using, and consider heavy drapery and plastic window coverings. Finally, have a heating contractor perform an \“audit\” to determine how to heat your home more efficiently. Check out more tips in CUB’s fact sheet, \“Saving Money by Saving Energy,\” on our website’s <a href='http://www.citizensutilityboard.org/ciElectric.html' class='green' target='_blank'><b>Electric</b></a> and <a href='http://www.citizensutilityboard.org/ciNaturalGas.html' class='green' target='_target'><b>Natural Gas</b></a>&#160;pages.";
tip++;


arTipsTitle[tip] = "Be wary of gas-pipe maintenance plans";
arTipsBody[tip] = "Your utility may try to sell you a pipe-maintenance plan, even if you don’t need it. An affiliate of Nicor Gas, for example, oeedrs a $4 per month plan called \“Comfort Guard\” that covers repairs to exposed gas pipes, including the connector that links appliances to the main gas line. An affiliate of Peoples Gas oeedrs a similar program, \“Protection Plus,\” at $3 a month. For some people — especially those whose homes have potentially dangerous uncoated brass connectors installed before 1980 — such a repair program may be helpful. However, for many others it may just be a waste of money. If the old brass connectors have already been replaced in your home, the new plastic connectors should last a lifetime. If your house still needs them replaced, a home warranty may cover the work. Finally, Comfort Guard and Protection Plus don’t cover renters. Before signing up, read the fine print and determine exactly what the plan does and does not&#160;cover.";
tip++;

arTipsTitle[tip] = "Buy CFLs";
arTipsBody[tip] = "Compact Fluorescent Lightbulbs (CFLs) use 75 percent less&#160;energy. CUB&#160;estimates that one bulb can save a consumer at least $11&#160;a&#160;year. So&#160;installing 10 in your home could easily lead to more than&#160;$100 in&#160;savings. Check&#160;out more tips in CUB’s fact&#160;sheet, \“Saving Money by Saving Energy,\” on&#160;our website’s <a href='http://www.citizensutilityboard.org/ciElectric.html' class='green' target='_blank'><b>Electric</b></a> and <a href='http://www.citizensutilityboard.org/ciNaturalGas.html' class='green' target='_target'><b>Natural Gas</b></a>&#160;pages."; 
tip++;
/* */


//***********************************************************************
/*****************************************
Step #A1
ENTER Array Variable for Accomplishment 

arAcmpTitle[n] = "";
arAcmpDate[n] = "";
arAcmpBodyCase[n] = "";
arAcmpBodyBenefit[n] = "";
*****************************************/
arAcmpTitle[-1] = "How to use timeline";
arAcmpDate[-1] = "<b>Timeline</b>";
arAcmpBodyCase[-1] = "To read a short description about an accomplishment, use the timeline to the left. Move your mouse and roll your cursor over the dates. ";
arAcmpBodyBenefit[-1] = " ";



arAcmpTitle[0] = "ComEd Rate Hike&nbsp;Overturned";
arAcmpDate[0] = "1987";
arAcmpBodyCase[0] = "Overturned in court $494.8 million ComEd rate&nbsp;hike.";
arAcmpBodyBenefit[0] = "$247 million&nbsp;refund.";

arAcmpTitle[1] = "Blocked ComEd Rate&nbsp;Hike";
arAcmpDate[1] = "1987";
arAcmpBodyCase[1] = "Blocked $660 million ComEd rate hike deal at&nbsp;ICC.";
arAcmpBodyBenefit[1] = "$3.3 billion&nbsp;savings.";

arAcmpTitle[2] = "Blocked Illinois Power Rate&nbsp;Hike";
arAcmpDate[2] = "1989";
arAcmpBodyCase[2] = "Blocked Illinois Power $3.5 billion, 10-year rate hike plan.";
arAcmpBodyBenefit[2] = "$1.8 billion&nbsp;savings.";

arAcmpTitle[3] = "Disallowance From Rates For Illinois Power Clinton&nbsp;Plant";
arAcmpDate[3] = "1989";
arAcmpBodyCase[3] = "Won disallowance for $712 million from rates for Illinois Power Clinton plant.";
arAcmpBodyBenefit[3] = "Billions of dollars over plant's&nbsp;life.";

arAcmpTitle[4] = "Blocked Rate Increase For&nbsp;NiGas";
arAcmpDate[4] = "1989";
arAcmpBodyCase[4] = "Blocked $32 million residential rate increase for NiGas, $8 million rate decrease ordered instead.";
arAcmpBodyBenefit[4] = "$56 million savings over seven&nbsp;years.";

arAcmpTitle[5] = "Won Court Reversal On ComEd Rate Hike&nbsp;Deal";
arAcmpDate[5] = "1989";
arAcmpBodyCase[5] = "Won court reversal of $480 million rate hike deal for ComEd.";
arAcmpBodyBenefit[5] = "$235 million rate cut, $400 million&nbsp;refund.";
 
arAcmpTitle[6] = "Illinois Power&nbsp;Refund";
arAcmpDate[6] = "1992";
arAcmpBodyCase[6] = "Illinois Power refund for Clinton plant overcharges.";
arAcmpBodyBenefit[6] = "$8.5 million&nbsp;refund.";


arAcmpTitle[7] = "Won Reversal on ComEd Rake&nbsp;Hike";
arAcmpDate[7] = "1992 ";
arAcmpBodyCase[7] = "Won court reversal of $750 million ComEd rate hike.";
arAcmpBodyBenefit[7] = "$600 million refund included in 1993&nbsp;settlement.";

arAcmpTitle[8] = "Won Rate Reduction for&nbsp;Ameritech";
arAcmpDate[8] = "1994 ";
arAcmpBodyCase[8] = "Won $93 million annual rate reduction for Ameritech in eeedct for five years.";
arAcmpBodyBenefit[8] = "$465 million&nbsp;refund.";



arAcmpTitle[9] = "ComEd Rate Case&nbsp;Settlement";
arAcmpDate[9] = "1996";
arAcmpBodyCase[9] = "ComEd rate case settlement, record refund and rate reduction.";
arAcmpBodyBenefit[9] = "$1.3 billion refund, $339 million rate&nbsp;cut.";

arAcmpTitle[10] = "Negotiated Record Rate&nbsp;Decrease";
arAcmpDate[10] = "1997";
arAcmpBodyCase[10] = "Negotiated record rate decrease, including a 20 percent cut for ComEd and Illinois Power customers, under new electric deregulation law.";
arAcmpBodyBenefit[10] = "Average $580 million in savings per year for at least six&nbsp;years.";

arAcmpTitle[11] = "Won Refund of ComEd&nbsp;Overcharges";
arAcmpDate[11] = "1998";
arAcmpBodyCase[11] = "Won refund of ComEd overcharges from nuclear plant shutdowns in 1994 and 1996.";
arAcmpBodyBenefit[11] = "$21 million refund.";

arAcmpTitle[12] = "Negotiated Customer Assistance&nbsp;Fund";
arAcmpDate[12] = "2000";
arAcmpBodyCase[12] = "Negotiated $400,000 customer assistance fund for victims of ComEd billing dispute.";
arAcmpBodyBenefit[12] = "$400,000 in rebates.";

arAcmpTitle[13] = "Stopped CILCO's Attempt to Change Electricity&nbsp;Rates";
arAcmpDate[13] = "2001";
arAcmpBodyCase[13] = "Stopped CILCO's attempt to change electricity rates based on an erroneous formula that would have cost customers tens of millions of dollars.";
arAcmpBodyBenefit[13] = "$20.4 million consumer refund plus lower electric rates for next four years, as part of 2001&nbsp;settlement.";

arAcmpTitle[14] = "Negotiated Record Phone Credits for SBC/Ameritech&nbsp;Customers";
arAcmpDate[14] = "2002";
arAcmpBodyCase[14] = "Negotiated a record $224 million in phone credits for SBC/Ameritech customers to settle litigation over how the company’s savings from its 1999 merger with Texas-based SBC Communications would be shared with&nbsp;consumers.";
arAcmpBodyBenefit[14] = "$50 per line phone credit, the largest in Illinois history, for SBC/Ameritech residential and small-business&nbsp;customers.";

arAcmpTitle[15] = "Negotiated Rate Reduction For Verizon&nbsp;Customers";
arAcmpDate[15] = "2003";
arAcmpBodyCase[15] = "Negotiated a $25.4 million rate reduction for Verizon customers to settle litigation over how savings from the 1998 merger between GTE and Bell Atlantic, which created the company, would be shared with&nbsp;customers.";
arAcmpBodyBenefit[15] = "Typical Verizon residential customer to save $168 over the five&nbsp;years.";

	 
arAcmpTitle[16] = "Stopped ComEd/IP Legislation Raising&nbsp;Rates";
arAcmpDate[16] = "2003";
arAcmpBodyCase[16] = "<a href=http://www.citizensutilityboard.org/newsReleases2003.html class=green><b>Stopped Commonwealth Edison and Illinois Power</b></a> from getting state legislation passed that could have led to more than $2 billion in higher electricity rates, locked in until&nbsp;2011.";
arAcmpBodyBenefit[16] = "Illinois Power and ComEd customers saved from a 9 percent rate hike, which would have raised their electric bills by $520 million per year from 2007 to&nbsp;2011.";  


arAcmpTitle[17] = "CUB Complaint Sparks Fine Against Alternative&nbsp;Supplier";
arAcmpDate[17] = "2004";
arAcmpBodyCase[17] = "CUB complaint accusing Peoples Energy Services Co. of misleading marketing sparks first-ever <a href=http://www.citizensutilityboard.org/pdfs/NewsReleases/20040721_GasMarketers.pdf class=green target='_blank'><b>fine against alternative supplier</b></a> competing in Illinois’ residential natural gas&nbsp;market.";
arAcmpBodyBenefit[17] = "Company is fined $40,000 and forced to change the way it markets natural gas, setting a standard for all alternative gas suppliers operating in&nbsp;Illinois. ";
 
arAcmpTitle[18] = "Formed Consumer Coalition to Defeat SBC-Verizon&nbsp;Deregulation";
arAcmpDate[18] = "2005";
arAcmpBodyCase[18] = "Formed consumer coalition to <a href=http://www.citizensutilityboard.org/newsReleases20050601_TelecomActExtension.html class=green><b>defeat SBC-Verizon deregulation plan</b></a> in Illinois&nbsp;legislature.";
arAcmpBodyBenefit[18] = "Protected Illinois consumers from unlimited rate&nbsp;hikes.";


 
arAcmpTitle[19] = "Uncovered Illegal Peoples/Enron Energy&nbsp;Deal";
arAcmpDate[19] = "2006";
arAcmpBodyCase[19] = "Uncovered evidence that Peoples Energy used an illegal profit-sharing deal with Enron Corp. to overcharging customers in the winter of&nbsp;2000-2001.";
arAcmpBodyBenefit[19] = "Company agreed to a <a href=http://www.citizensutilityboard.org/newsReleases20060117_CUBHailsHistoricPeoplesGasRefund.html class=green><b>historic $196 million refund</b></a> package for Peoples Gas and North Shore Gas&nbsp;customers."; 
	


/*
arAcmpTitle[] = "one";
arAcmpDate[] = "one";
arAcmpBodyCase[] = "one";
arAcmpBodyBenefit[] = "";
*/

/*

arAcmpTitle[26] = "CUB Celebrates 20th&nbsp;Anniversary";
arAcmpDate[26] = "January 2004";
arAcmpBodyCase[26] = "Take a <a href=cel20map.html class=green><b>stroll down memory</b></a> lane with CUB's slide show, highlighting some of the more interesting images from CUB's past. For more details on a few of the key victories CUB's tiny, hard-working staff has won for Illinois utility consumers over the last 20 years, check out our 20th Anniversary Scrapbook.  ";	
arAcmpBodyBenefit[26] = " ";	
				
arAcmpTitle[25] = "CUB helped defeat ComEd";
arAcmpDate[25] = "November 2003";
arAcmpBodyCase[25] = "CUB helped defeat ComEd in its attempt to raise electric rates in the fall veto session.";
arAcmpBodyBenefit[25] = " ";					

arAcmpTitle[24] = "Do Not Call List";
arAcmpDate[24] = "October 2003";
arAcmpBodyCase[24] = "Supported federal efforts to create a national Do Not Call list to protect consumers from unwanted telemarketing calls.";
arAcmpBodyBenefit[24] = "51 million consumers - 1.8 million from Illinois - enrolled on list in first two months alone.";

arAcmpTitle[23] = "Wireless Number Portability";
arAcmpDate[23] = "May 2003";
arAcmpBodyCase[23] = "Supported federal efforts to require wireless phone companies to implement number portability.";
arAcmpBodyBenefit[23] = "Portability scheduled to take eeedct in November 2003, allowing cell phone customers to keep their phone numbers when they switch providers.";

arAcmpTitle[22] = "Verizon Refund";
arAcmpDate[22] = "May 2003";
arAcmpBodyCase[22] = "Negotiated $25.4 million refund for Verizon customers.";
arAcmpBodyBenefit[22] = "$127 million in savings over five years for residential consumers.";

arAcmpTitle[21] = "ComEd Settlement";
arAcmpDate[21] = "March 2003";
arAcmpBodyCase[21] = "Negotiated settlement of ComEd delivery services rate case.";
arAcmpBodyBenefit[21] = "$40 million to fund energy efficiency projects in Chicago and northern Illinois.";

arAcmpTitle[20] = "Tougher Phone Service Standards";
arAcmpDate[20] = "December 2002";
arAcmpBodyCase[20] = "Won tougher service standards and increased fines for poor service by SBC.";
arAcmpBodyBenefit[20] = " ";

arAcmpTitle[19] = "Refund for SBC Customers";
arAcmpDate[19] = "August 2002";
arAcmpBodyCase[19] = "Negotiated $224 million refund for SBC customers.";
arAcmpBodyBenefit[19] = "$50 credit, largest ever in Illinois, for residential phone customers - equivalent of two months' free phone service for average consumer.";

arAcmpTitle[18] = "Illinois Power Tree-trimming";
arAcmpDate[18] = "August 2001";
arAcmpBodyCase[18] = "CUB joined community leaders to fight Illinois Power tree-trimming proposal that outraged customers who feared the company would be allowed to mutilate trees across its territory.";
arAcmpBodyBenefit[18] = "Illinois Power withdrew its initial proposal, and CUB helped draft a new law giving communities a voice in the tree-trimming process.";

arAcmpTitle[17] = "CILCO Rate Change Rejected";
arAcmpDate[17] = "March 2001";
arAcmpBodyCase[17] = "CUB fought CILCO's attempt to change electricity rates based on an erroneous formula that would have cost customers tens of millions of dollars.";
arAcmpBodyBenefit[17] = "State regulators rejected CILCO's proposal. CUB, CILCO and state regulators negotiated a settlement that will result in a $20.4 million consumer refund and reduced electric rates for the next four years.";

arAcmpTitle[16] = "Ameritech Consumer Grand Case";
arAcmpDate[16] = "January 2001";
arAcmpBodyCase[16] = "CUB won consumer fraud case against Ameritech, banning misleading marketing of the SimpliFive calling plan.";
arAcmpBodyBenefit[16] = "Ameritech forced to stop fraudulent advertising and give consumers clear, accurate information on whether they will save money with plan.";

arAcmpTitle[15] = "Customer Assistance Fund Negociated";
arAcmpDate[15] = "May 2000";
arAcmpBodyCase[15] = "CUB negotiated $400,000 customer assistance fund to prime rebates for victims of ComEd billing dispute.";
arAcmpBodyBenefit[15] = " ";

arAcmpTitle[14] = "ComEd Overcharges Refunded";
arAcmpDate[14] = "December 1998";
arAcmpBodyCase[14] = "CUB helped win refund of ComEd overcharges from nuclear plant shutdowns in 1994 and 1996.";
arAcmpBodyBenefit[14] = "$21 million refund.";

arAcmpTitle[13] = "ComEd, Illinois Power Rate Cut";
arAcmpDate[13] = "November 1997";
arAcmpBodyCase[13] = "Negotiated record rate decrease, including a 20 percent cut for ComEd and Illinois Power customers, under new electric deregulation law.";
arAcmpBodyBenefit[13] = "Total savings of at least 3.5 billion over six years. ";

arAcmpTitle[12] = "11-Digit Dialing Halted";
arAcmpDate[12] = "May and December 1998";
arAcmpBodyCase[12] = "CUB developed number conservation plan, adopted by ICC, to halt spread of unneeded, new area codes in northern Illinois.";
arAcmpBodyBenefit[12] = "Blocked new area code and 11-digit dialing.";

arAcmpTitle[11] = "Ameritech Rate Reduction";
arAcmpDate[11] = "October 1994";
arAcmpBodyCase[11] = "Won $93 million annual rate reduction for Ameritech in eeedct for five years.";
arAcmpBodyBenefit[11] = "$465 million savings.";

arAcmpTitle[10] = "ComEd Refund Rate Reduction";
arAcmpDate[10] = "September 1993";
arAcmpBodyCase[10] = "ComEd rate case settlement, record refund and rate reduction.";
arAcmpBodyBenefit[10] = "$1.3 billion refund,\n$339 million rate cut.";

arAcmpTitle[9] = "ComEd Rate Hike Reversed";
arAcmpDate[9] = "December 1992";
arAcmpBodyCase[9] = "Won court reversal of $750 million ComEd rate hike.";
arAcmpBodyBenefit[9] = "$600 million refund included in 1993 settlement.";

arAcmpTitle[8] = "Centel Settlement";
arAcmpDate[8] = "August 1992";
arAcmpBodyCase[8] = "Centel tax refund, rate reduction settlement.";
arAcmpBodyBenefit[8] = "$2 million refund, $1 million rate cut.";

arAcmpTitle[7] = "Illinois Power Refund";
arAcmpDate[7] = "August 1992";
arAcmpBodyCase[7] = "Won $8.5 million refund for Clinton plant overcharges.";
arAcmpBodyBenefit[7] = " ";

arAcmpTitle[6] = "Centel Measured Service Blocked";
arAcmpDate[6] = "January 1991";
arAcmpBodyCase[6] = "CUB blocked Contel's request for mandatory measured phone service.";
arAcmpBodyBenefit[6] = "Contel's request would have increased phone bills.";

arAcmpTitle[5] = "ComEd Rate Hike Reversed";
arAcmpDate[5] = "December 1989";
arAcmpBodyCase[5] = "Won court reversal of $480 million rate hike deal for ComEd.";
arAcmpBodyBenefit[5] = "$235 million rate cut, $400 million refund.";

arAcmpTitle[4] = "NiGas Rate Increase Blocked";
arAcmpDate[4] = "December 1989";
arAcmpBodyCase[4] = "Blocked $32 million residential rate increase for NiGas, $8 million rate decrease ordered instead.";
arAcmpBodyBenefit[4] = "$56 million savings over seven years.";

arAcmpTitle[3] = "Illinois Power Disallowance";
arAcmpDate[3] = "March 1989";
arAcmpBodyCase[3] = "CUB helped win disallowance of $712 million from rates for Illinois Power Clinton plant.";
arAcmpBodyBenefit[3] = "Billions of dollars saved over plant's life.";

arAcmpTitle[2] = "Illinois Power Rate Hike Blocked";
arAcmpDate[2] = "March 1989";
arAcmpBodyCase[2] = "Blocked Illinois Power $3.5 billion, 10-year rate hike plan.";
arAcmpBodyBenefit[2] = "Over $2 billion in savings.";

arAcmpTitle[1] = "ComEd $660 Million Rate Hike Blocked";
arAcmpDate[1] = "July 1987";
arAcmpBodyCase[1] = "Helped block $660 million ComEd rate hike deal at Illinois Commerce Commision (ICC).";
arAcmpBodyBenefit[1] = "$3.3 billion savings.";

arAcmpTitle[0] = "ComEd Rate Hike Overturned";
arAcmpDate[0] = "June 1987";
arAcmpBodyCase[0] = "Court reversed $494.8 million ComEd rate hike.";
arAcmpBodyBenefit[0] = "$247 million refund.";
*/

//

/*
arQuote[0] = "";
arQAttr[0] = "";
*/

arQuote[0] = "CUB is always instrumental in educating me as a legislator about utility issues, which enables me to be able to create good public policy.";
arQAttr[0] = "Steven J. Rauschenberger<br>State Senator Chairman, Senate Appropriations Committee";

arQuote[6] = "CUB came along at a time when we had no consumer voice in utility matters, and has been the strong voice we've needed ever since.";
arQAttr[6] = "Dawn Clark Netch<br>former State Senator and State Comptroller";

arQuote[5] = "No legislative or regulatory issue gets settled in Illinois without major input from CUB.";
arQAttr[5] = "James R. Thompson<br>former Illinois Governor";

arQuote[4] = "CUB is an experienced and forceful advocate for Illinois consumers. The positions CUB promotes before the commission serve to safeguard consumer interests.";
arQAttr[4] = "Richard Mathias<br>Chairman, Illinois Commerce Commission";					
					
arQuote[3]= "The Citizens Utility Board has proven to be a very hard-nosed, single-minded advocate for the people of Illinois on a broad range of issues relating to vitally needed public services.";
arQAttr[3] = "Michael J. Madigan<br>Speaker, Illinois House of Representatives";

arQuote[2] = "The hard work that CUB has done in ensuring that utility companies are accountable to our citizens and in giving ratepayers a voice in the decisions that aeedct them have provided concrete benefits to the people of our state.";
arQAttr[2] = "Richard M. Daley<br>Mayor, City of Chicago";

arQuote[1] = "I first got involved with CUB after ComEd overcharged my business by $2,000. CUB helped me get my refund, plus seven percent interest! I've been involved with them ever since. They do a great job for people.";
arQAttr[1] = "Mr. John Wold<br>CUB Board Member, Owner, Wold Dry Cleaners, Yorkville ";

arQuote[0] = "I am truly grateful for the assistance CUB gave me in resolving my problem with NiCor. Through CUB, citizens like me really do have a representative to fight for them against the big utility companies.";
arQAttr[0] = "Mr. William Simmons<br>Markham";


// Newspaper array
arNewspaper[0] = "ABC7Chicago.com";
arNewspaperLink[0] = "http://abclocal.go.com/wls/";

arNewspaper[1] = "Associated Press";
arNewspaperLink[1] = "http://www.ap.org/";

arNewspaper[2] = "Beacon News Online";
arNewspaperLink[2] = "http://www.suburbanchicagonews.com/beaconnews/";

arNewspaper[3] = "Belleville News-Democrat";
arNewspaperLink[3] = "http://www.belleville.com/mld/belleville/";

arNewspaper[4] = "Bloomberg News";
arNewspaperLink[4] = "http://www.bloomberg.com/";

arNewspaper[5] = "Bloomington Pantagraph";
arNewspaperLink[5] = "http://www.pantagraph.com/";

arNewspaper[6] = "Chicago Sun-Times";
arNewspaperLink[6] = "http://www.suntimes.com";

arNewspaper[7] = "Chicago Tribune";
arNewspaperLink[7] = "http://www.chicagotribune.com";

arNewspaper[8] = "CNNMoney.com";
arNewspaperLink[8] = "http://money.cnn.com/";

arNewspaper[9] = "Crain's Chicago Business";
arNewspaperLink[9] = "http://chicagobusiness.com";

arNewspaper[10] = "Daily Herald";
arNewspaperLink[10] = "http://www.dailyherald.com/news/illinois.asp";

arNewspaper[11] = "Forbes";
arNewspaperLink[11] = "http://www.forbes.com";

arNewspaper[12] = "Kansas City Star";
arNewspaperLink[12] = "http://www.kansascity.com/mld/kansascity/";

arNewspaper[13] = "Miami Herald";
arNewspaperLink[13] = "http://www.miami.com/mld/miamiherald/";

arNewspaper[14] = "NBC5.com - Chicago";
arNewspaperLink[14] = "http://www.nbc5.com/news/index.html";

arNewspaper[15] = "News-Gazette";
arNewspaperLink[15] = "http://www.news-gazette.com/";

arNewspaper[16] = "Peoria Journal-Star";
arNewspaperLink[16] = "http://www.pjstar.com";

arNewspaper[17] = "Quincy Herald-Whig";
arNewspaperLink[17] = "http://www.whig.com/";

arNewspaper[18] = "Rockford Register Star";
arNewspaperLink[18] = "http://www.rrstar.com/apps/pbcs.dll/frontpage";

arNewspaper[19] = "St. Louis Post-Dispatch";
arNewspaperLink[19] = "http://www.stltoday.com/";

arNewspaper[20] = "The Washington Times";
arNewspaperLink[20] = "http://www.washingtontimes.com/";

arNewspaper[21] = "WBBM Newsradio 780";
arNewspaperLink[21] = "http://www.wbbm780.com/";

arNewspaper[22] = "Galesburg Register-Mail";
arNewspaperLink[22] = "http://www.register-mail.com/";

arNewspaper[23] = "WBEZ-Chicago Public Radio";
arNewspaperLink[23] = "http://www.wbez.org/";

arNewspaper[24] = "CBS2Chicago.com";
arNewspaperLink[24] = "http://www.cbs2chicago.com/";

arNewspaper[25] = "FOX Chicago";
arNewspaperLink[25] = "http://www.foxchicago.com/";

arNewspaper[26] = "WGN TV";
arNewspaperLink[26] = "http://wgntv.trb.com/";

arNewspaper[27] = "NBC WREX - Rockford";
arNewspaperLink[27] = "http://www.wrex.com/";

arNewspaper[28] = "WTTW - PBS";
arNewspaperLink[28] = "http://www.wttw.com/";

arNewspaper[29] = "Chicago Reader";
arNewspaperLink[29] = "http://www.chireader.com/";

arNewspaper[30] = "Daily Southtown";
arNewspaperLink[30] = "http://www.dailysouthtown.com/index/dsindex.html";

arNewspaper[31] = "Sauk Valley News";
arNewspaperLink[31] = "http://www.saukvalley.com/index.bsp";

arNewspaper[32] = "WIFR - CBS 23 Freeport";
arNewspaperLink[32] = "http://www.wifr.com/";

arNewspaper[33] = "WTVO - ABC 17 Rockford";
arNewspaperLink[33] = "http://www.wtvo.com/";

arNewspaper[34] = "WQRF - FOX 39 Rockford";
arNewspaperLink[34] = "http://www.fox39.com/";

arNewspaper[35] = "Americas Network";
arNewspaperLink[35] = "http://www.americasnetwork.com/";

arNewspaper[36] = "Quad City Times";
arNewspaperLink[36] = "http://www.qctimes.com";

arNewspaper[37] = "Edwardsville Intelligencer";
arNewspaperLink[37] = "http://www.goedwardsville.com/site/news.asp?brd=2291";

arNewspaper[38] = "WTHI - Wabash Valley";
arNewspaperLink[38] = "http://www.wthitv.com/";

arNewspaper[39] = "Dallas Morning News";
arNewspaperLink[39] = "http://www.dallasnews.com";

arNewspaper[40] = "Lincoln Courier";
arNewspaperLink[40] = "http://www.lincolncourier.com/";

arNewspaper[41] = "New York Times";
arNewspaperLink[41] = "http://www.nytimes.com/";

arNewspaper[42] = "Southern Illinoisan";
arNewspaperLink[42] = "http://www.thesouthern.com";

arNewspaper[43] = "News Channel 5 - Cleveland-Akron, Ohio";
arNewspaperLink[43] = "http://www.newsnet5.com/index.html";

arNewspaper[44] = "Arlington Heights Post";
arNewspaperLink[44] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand?paper2=ah";

arNewspaper[45] = "Alton Telegraph";
arNewspaperLink[45] = "http://www.zwire.com/site/news.asp?brd=1719";

arNewspaper[46] = "Indianapolis Star";
arNewspaperLink[46] = "http://www.indystar.com/";

arNewspaper[47] = "Houston Chronicle";
arNewspaperLink[47] = "http://www.chron.com/";

arNewspaper[48] = "WQAD - News Channel 8";
arNewspaperLink[48] = "http://www.wqad.com";

arNewspaper[49] = "Los Angleles Times";
arNewspaperLink[49] = "http://www.latimes.com";

arNewspaper[50] = "Journal Standard";
arNewspaperLink[50] = "http://www.journalstandard.com/";

arNewspaper[51] = "MSN Money";
arNewspaperLink[51] = "http://news.moneycentral.msn.com/";

arNewspaper[52] = "Telegram & Gazette - Worcester, Mass.";
arNewspaperLink[52] = "http://www.telegram.com/";

arNewspaper[53] = "Atlantic Journal-Constitution";
arNewspaperLink[53] = "http://www.ajc.com/hp/content/homepage/index.html";

arNewspaper[54] = "Charlotte Observer";
arNewspaperLink[54] = "http://www.charlotte.com/mld/charlotte/";

arNewspaper[55] = "KLTV ABC7 - Texas";
arNewspaperLink[55] = "http://www.kltv.com/";

arNewspaper[56] = "WTOP - Washington, DC";
arNewspaperLink[56] = "http://www.wtopnews.com";

arNewspaper[57] = "Canada Press";
arNewspaperLink[57] = "http://www.canada.com/";

arNewspaper[58] = "San Jose Mercury News ";
arNewspaperLink[58] = "http://www.mercurynews.com/mld/mercurynews/";

arNewspaper[59] = "Seattle Post Intelligencer";
arNewspaperLink[59] = "http://seattlepi.nwsource.com/";

arNewspaper[60] = "Philadelphia Inquirer";
arNewspaperLink[60] = "http://www.philly.com/mld/philly/";

arNewspaper[61] = "Times Daily Alabama";
arNewspaperLink[61] = "http://www.timesdaily.com/apps/pbcs.dll/frontpage";

arNewspaper[62] = "San Luis Obispo&nbsp;Tribune";
arNewspaperLink[62] = "http://www.sanluisobispo.com/mld/sanluisobispo/";

arNewspaper[63] = "Boston Globe";
arNewspaperLink[63] = "http://www.boston.com/";

arNewspaper[64] = "Des&nbsp;Plaines&nbsp;Times";
arNewspaperLink[64] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand?paper2=dp";

arNewspaper[65] = "Northwest Herald";
arNewspaperLink[65] = "http://www.nwherald.com/";

arNewspaper[66] = "KCTV 5 - Kansas&nbsp;City";
arNewspaperLink[66] = "http://www.kctv5.com/";

arNewspaper[67] = "Red Nova";
arNewspaperLink[67] = "http://www.rednova.com/";

arNewspaper[68] = "Macomb Journal";
arNewspaperLink[68] = "http://www.macombjournal.com/";

arNewspaper[69] = "KWQC TV";
arNewspaperLink[69] = "http://www.kwqc.com";

arNewspaper[70] = "Daily Chronicle";
arNewspaperLink[70] = "http://www.daily-chronicle.com/";

arNewspaper[71] = "ConsumerAffairs.Com";
arNewspaperLink[71] = "http://www.consumeraffairs.com";

arNewspaper[72] = "Chicago Defender";
arNewspaperLink[72] = "http://www.chicagodefender.com/index.cfm";

arNewspaper[73] = "KSDK News Channel 5";
arNewspaperLink[73] = "http://www.ksdk.com/";

arNewspaper[74] = "Kansas City infoZine";
arNewspaperLink[74] = "http://www.infozine.com/index.php";

arNewspaper[75] = "The Daily Clay&nbsp;County Advocate-Press";
arNewspaperLink[75] = "http://www.advocatepress.com/";


arNewspaper[76] = "St. Louis Business Journal";
arNewspaperLink[76] = "http://stlouis.bizjournals.com/stlouis/";


arNewspaper[77] = "The News Observer";
arNewspaperLink[77] = "http://www.newsobserver.com/";


arNewspaper[78] = "Salem Times Commoner";
arNewspaperLink[78] = "http://www.salem-tc.com/";

arNewspaper[79] = "Chicago Flame";
arNewspaperLink[79] = "http://www.chicagoflame.com";

arNewspaper[80] = "The State";
arNewspaperLink[80] = "http://www.thestate.com";

arNewspaper[81] = "Springfield State Journal&nbsp;Register";
arNewspaperLink[81] = "http://www.sj-r.com";

arNewspaper[82] = "Eagle Publications";
arNewspaperLink[82] = "http://www.eaglepublications.com/index.html";

arNewspaper[83] = "People's Weekly World&nbsp;Newspaper";
arNewspaperLink[83] = "http://www.pww.org/";

arNewspaper[84] = "WROK-AM 1440 - Rockford";
arNewspaperLink[84] = "http://www.wrok.com/index.php";


arNewspaper[85] = "The&nbsp;Northwest Indiana&nbsp;Times";
arNewspaperLink[85] = "http://www.thetimesonline.com/";

arNewspaper[86] = "U.S. Newswire";
arNewspaperLink[86] = "http://www.usnewswire.com/";

arNewspaper[87] = "Minneapolis City Pages";
arNewspaperLink[87] = "http://citypages.com/";

arNewspaper[88] = "Rock River Times";
arNewspaperLink[88] = "http://www.rockrivertimes.com/";

arNewspaper[89] = "Abingdon Argus";
arNewspaperLink[89] = "http://www.eaglepublications.com/abingdon.html";

arNewspaper[90] = "Aledo - The Times Record";
arNewspaperLink[90] = "http://www.aledotimesrecord.com";

arNewspaper[91] = "Algonquin Countryside";
arNewspaperLink[91] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand?paper2=al";

arNewspaper[92] = "Amboy News";
arNewspaperLink[92] = "http://www.amboynews.com";

arNewspaper[93] = "Antioch Review";
arNewspaperLink[93] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand";

arNewspaper[94] = "Arlington Heights Journal";
arNewspaperLink[94] = "http://www.journal-topics.com/index.html";

arNewspaper[95] = "Avon Sentinel";
arNewspaperLink[95] = "http://www.eaglepublications.com/avon.html";

arNewspaper[96] = "Barrington Courier-Review";
arNewspaperLink[96] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand?paper2=ba";

arNewspaper[97] = "Benton Evening News";
arNewspaperLink[97] = "http://www.bentoneveningnews.com";

arNewspaper[98] = "Berkeley - West Proviso&nbsp;Herald";
arNewspaperLink[98] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand?paper2=wp";


arNewspaper[99] = "Bourbonnais - The Herald/Country&nbsp;Market";
arNewspaperLink[99] = "http://www.bbherald.com";

arNewspaper[100] = "Buffalo Grove Countryside";
arNewspaperLink[100] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand?paper2=bg";

arNewspaper[101] = "Canton - The Daily&nbsp;Ledger";
arNewspaperLink[101] = "http://www.cantondailyledger.com";

arNewspaper[102] = "Finanzen.net - Germany";
arNewspaperLink[102] = "http://finanzen.net/";

arNewspaper[103] = "Cairo Citizen";
arNewspaperLink[103] = "http://www.cairocitizen.com/";

arNewspaper[104] = "Carlinville Online";
arNewspaperLink[104] = "http://www.carlinvilleonline.com";

arNewspaper[105] = "The Carmi Times";
arNewspaperLink[105] = "http://www.carmitimes.com";

arNewspaper[106] = "Hancock County<br>Journal-Pilot";
arNewspaperLink[106] = "http://www.journalpilot.com";

arNewspaper[107] = "Cary-Grove Countryside";
arNewspaperLink[107] = "http://www.pioneerlocal.com/cgi-bin/ppo-newsstand?paper2=cg";

arNewspaper[108] = "Centralia - Morning&nbsp;Sentinel";
arNewspaperLink[108] = "http://www.morningsentinel.com";

arNewspaper[109] = "Charleston Times-Courier";
arNewspaperLink[109] = "http://www.jg-tc.com";
 
arNewspaper[110] = "Suburban Chicago News";
arNewspaperLink[110] = "http://www.suburbanchicagonews.com/";
 
arNewspaper[111] = "Edgebrook-Sauganash Times";
arNewspaperLink[111] = "http://www.pioneerlocal.com/homepage/eb/ebhome.html";

arNewspaper[112] = "Edison-Norwood Times&nbsp;Review";
arNewspaperLink[112] = "http://www.pioneerlocal.com/homepage/ed/edhome.html";

arNewspaper[113] = "Hyde Park Herald";
arNewspaperLink[113] = "http://www.hpherald.com";

arNewspaper[114] = "Inside Publications";
arNewspaperLink[114] = "http://www.insideonline.com/";

arNewspaper[115] = "The Star Newspapers";
arNewspaperLink[115] = "http://www.starnewspapers.com/index/spindex.html";


arNewspaper[116] = "Clinton Daily Journal";
arNewspaperLink[116] = "http://www.clintondailyjournal.com/";


arNewspaper[117] = "Danville Commercial-News";
arNewspaperLink[117] = "http://www.commercial-news.com/";


arNewspaper[118] = "Danville News Gazette";
arNewspaperLink[118] = "http://www.news-gazette.com/localnews.cfm";


arNewspaper[119] = "Herald & Review";
arNewspaperLink[119] = "http://www.herald-review.com";


arNewspaper[120] = "Deerfield Review";
arNewspaperLink[120] = "http://www.pioneerlocal.com/homepage/de/dehome.html";




arNewspaper[121] = "Des Plaines Journal";
arNewspaperLink[121] = "http://www.journal-topics.com/dp/";

arNewspaper[122] = "Sauk Valley Newspapers";
arNewspaperLink[122] = "http://www.saukvalley.com";

arNewspaper[123] = "Du Quoin Evening Call";
arNewspaperLink[123] = "http://www.duquoin.com";

arNewspaper[124] = "Effingham Daily News";
arNewspaperLink[124] = "http://www.effinghamdailynews.com";

arNewspaper[125] = "Elburn Herald";
arNewspaperLink[125] = "http://herald.elburn.com/";

arNewspaper[126] = "The Courier News";
arNewspaperLink[126] = "http://www.suburbanchicagonews.com/couriernews/";

arNewspaper[127] = "Elk Grove Journal";
arNewspaperLink[127] = "http://www.journal-topics.com/eg/";

arNewspaper[128] = "Elk Grove Times";
arNewspaperLink[128] = "http://www.pioneerlocal.com/homepage/eg/eghome.html";

arNewspaper[129] = "Herald-Journal";
arNewspaperLink[129] = "http://www.pioneerlocal.com/homepage/fp/fphome.html";

arNewspaper[130] = "Elm Leaves";
arNewspaperLink[130] = "http://www.pioneerlocal.com/homepage/el/elhome.html";

arNewspaper[131] = "Evanston Review";
arNewspaperLink[131] = "http://www.pioneerlocal.com/homepage/ev/evhome.html";

arNewspaper[132] = "Evanston RoundTable";
arNewspaperLink[132] = "http://www.evanstonroundtable.com";

arNewspaper[133] = "Forest Park Review";
arNewspaperLink[133] = "http://www.forestparkreview.com/";


arNewspaper[134] = "Freeport Journal-Standard";
arNewspaperLink[134] = "http://www.journalstandard.com/";

arNewspaper[135] = "Galena Gazette";
arNewspaperLink[135] = "http://www.galenagazette.com/";

arNewspaper[136] = "Zephyr";
arNewspaperLink[136] = "http://www.thezephyr.com/";

arNewspaper[137] = "Kane County Chronicle";
arNewspaperLink[137] = "http://www.kcchronicle.com";

arNewspaper[138] = "Glencoe News";
arNewspaperLink[138] = "http://www.pioneerlocal.com/homepage/gl/glhome.html";

arNewspaper[139] = "Glenview Journal";
arNewspaperLink[139] = "http://www.journal-topics.com/gv/";

arNewspaper[140] = "Grayslake Review";
arNewspaperLink[140] = "http://www.pioneerlocal.com/homepage/gr/grhome.html";

arNewspaper[141] = "Gurnee Review";
arNewspaperLink[141] = "http://www.pioneerlocal.com/homepage/gu/guhome.html";

arNewspaper[142] = "The Daily Register";
arNewspaperLink[142] = "http://www.dailyregister.com";

arNewspaper[143] = "Norridge-Harwood Heights News";
arNewspaperLink[143] = "http://www.pioneerlocal.com/homepage/no/nohome.html";

arNewspaper[144] = "Hoffman Estates Review";
arNewspaperLink[144] = "http://www.pioneerlocal.com/homepage/he/hehome.html";

arNewspaper[145] = "The Doings";
arNewspaperLink[145] = "http://www.thedoings.com/";

arNewspaper[146] = "The Wall Street Journal - Editorial Page";
arNewspaperLink[146] = "http://www.opinionjournal.com";

arNewspaper[147] = "The Chief Engineer";
arNewspaperLink[147] = "http://www.chiefengineer.org/index.cfm";

arNewspaper[148] = "The New Standard";
arNewspaperLink[148] = "http://newstandardnews.net/";

arNewspaper[149] = "Wheaton - The Sun";
arNewspaperLink[149] = "http://www.suburbanchicagonews.com/sunpub/wheaton/";

arNewspaper[150] = "The Epoch Times";
arNewspaperLink[150] = "http://www.theepochtimes.com";

arNewspaper[151] = "Bol@mania - Spain";
arNewspaperLink[151] = "http://www.bolsamania.com/";

arNewspaper[152] = "Sauk Valley Newspapers";
arNewspaperLink[152] = "http://www.saukvalley.com/index.bsp";

arNewspaper[153] = "Baltimore Sun";
arNewspaperLink[153] = "http://www.baltimoresun.com/";



/*
arNewspaper[i] = "<<Name>>";
arNewspaperLink[i] = "<<URL>>";
*/

/*********************************************************/
// functions
/*********************************************************/

function setStyleSheet(){
	var style;
	if (getBrowser() == "Netscape"){
		style = "<link href='cubstyleNetscape.css' rel='stylesheet'>";
	} else {
		style = "<link href='cubstyle.css' rel='stylesheet'>";
	}
	return style;
}// setStyleSheet()	

function setStyleSheetEnergy(){
	var style;
	if (getBrowser() == "Netscape"){
		style = "<link href='cubstyleNetscape_energy2.css' rel='stylesheet'>";
	} else {
		style = "<link href='cubstyle_energy2.css' rel='stylesheet'>";
	}
	return style;
}// setStyleSheet()	

function setBrowser(bw){
	browser = bw;
}

function getBrowser(){
	return browser;
}

function sinceDate() {
	var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
	var time = new Date();
	var month = month[time.getMonth()];
	var year = time.getFullYear()-2;
	return " " + month + " " + year ; 	
}// end displayDate()

function rtnHiddenDate(){
	var datefield ="<INPUT TYPE='HIDDEN' NAME='CurrentDate' VALUE='";
	var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
	var time = new Date();
	var day = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	var d = day[time.getDay()];
	var month = month[time.getMonth()];
	var today = time.getDate();
	var year = time.getFullYear();
	datefield += month + " " + today + ", " + year; 
	datefield += "' ID='Hidden8'>";
	return datefield;
}// end rtnHiddenDate()

function getYearsOfCub(){
	var time = new Date();
	var year = time.getFullYear();
	// remember it is only a count of one once the year is completed
	var years = year - 1984;
	return years;
}// end rtnHiddenDate()


function displayDate() {
	var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
	var time = new Date();
	var day = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	var d = day[time.getDay()];
	var month = month[time.getMonth()];
	var today = time.getDate();
	var year = time.getFullYear();
	return "<span title=" + d + ">" + month + " " + today + ", " + year + "</span>"; 	
}// end displayDate()


function getCrntMonth(){
	var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
	var mthNumber = new Array("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12");
	var mthList = "";
	var time = new Date();
		var t = time.getMonth()
		for (t ; t < month.length ; t++)
		{
			mthList += "<option value='" + mthNumber[t] + "'>" + month[t] + "</option>";
		} // from current month to end of year

		for (var tb = 0 ; tb < time.getMonth() ; tb++ )
		{
			mthList += "<option value='" + mthNumber[tb] + "'>" + month[tb] + "</option>";
		} // from beginning of year to month before current
	return mthList;
} 

function yearDropDown() {
	var time = new Date();
	var currentYear = time.getFullYear();
	var optList = "";
	for (i=0;i<10 ;i++){
		optList += "<option value='" + (currentYear + i) + "'>" + (currentYear + i) + "</option>"; 
	}//end for loop
	return optList;
}// end yearDropDown()

function stateList(){
	var stList = "";
	var sel = "";
	var list = new Array("0", "&lsaquo;&lsaquo;Select State&rsaquo;&rsaquo;", "AL", "Alabama", "AK", "Alaska", "AZ", "Arizona", "AK", "Arkansas","CA", "California", "CO", "Colorado", "CT", "Connecticut", "DC", "District of Columbia", "DE", "Delaware","FL", "Florida","GA", "Georgia","HI", "Hawaii","ID", "Idaho", "IL", "Illinois", "IN", "Indiana","IA", "Iowa","KS", "Kansas","KY", "Kentucky","LA","Louisiana" ,"ME", "Maine","MD", "Maryland","MA", "Massachusetts","MI", "Michigan","MN", "Minnesota","MS", "Mississippi","MO", "Missouri","MT", "Montana","NE", "Nebraska","NV", "Nevada","NH", "New Hampshire","NJ", "New Jersey","NM", "New Mexico","NY", "New York","NC", "North Carolina","ND", "North Dakota","OH", "Ohio","OK", "Oklahoma","OR", "Oregon","PA", "Pennsylvania","RI", "Rhode Island","SC", "South Carolina","SD", "South Dakota","TN", "Tennessee","TX", "Texas","UT", "Utah","VT", "Vermont","VA", "Virginia","WA", "Washington","WV", "West Virginia","WI", "Wisconsin","WY", "Wyoming");
		var ckd = "";
		for (var i = 0; i < list.length ; i++){
		 stList += "<option value='" + list[i]  + "'>" + list[++i] + "</option>";
		} // end for list
	return stList;
}

function calcAnniversary() {
	var time = new Date();
	var year = time.getFullYear();
	var years = (year - 1983)-1;
	return "Representing Illinois utility consumers for more than " + years + " years";
}// end calcAnniversary()

function updateCopyright() {
	var time = new Date();
	var year = "" + time.getFullYear();
	return year.substring(0, year.length);
}// end updateCopyright()

function rtnHeadNIEP(a){
	var dotSlash = subFolder(a);
	var head = "<TABLE class='main' id='top'>";
	
	head +=	"<TR><TD class='gutter8'><a name='top'></a></TD>";
	head +=	"<TD width='760' valign='bottom' align='middle'>";
	head +=	"</TD>";
	head +=	"<TD class='gutter8'></td><TD class='gutter24'></TD>";
	
	
	// next line is unique, allows user to click anywhere in header to return to home page.
	
	// prev. line is unique
	
	var time = new Date();
	var month = time.getMonth();
	var day = time.getDate();

	head +=	"</TR>"
	head +=	"<TR><TD class='gutter8'></TD>";
	head +=	"<TD width='760' valign='bottom' align='left' title=''>";
	head += "<img src='http://www.citizensutilityboard.org/images/NIEP_banner.jpg'>";
	head +=	"</TD>";
	// end allow user to click on cell 
	head += "</a>";
	// end allow user to click on cell
	head +=	"<td width='8'></td>";
	head +=	"<TD class='gutter24'></TD>";
	head +=	"</TR>";
	
	head +=	"<TR>";
	head +=	"<TD colspan='2' class='vspacer8'>";
	head +=	"</TD><TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	
	head +=	"<TR>";
	head +=	"<TD width='8'></TD>";
	head +=	"<TD class='lightgrey'>";

	head +=	"<a href='http://www.citizensutilityboard.org/energysavings.html' title='Return to NIEP home page.' class='green'><b>Home</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/niep_aboutNEIP.html' class='green'><b>About Us</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/niep_aboutEnergyEfficiency.html' class='green'><b>Energy Efficiency</b></a> | ";
	head +=	"<a href='https://p2.secure.hostingprod.com/@www.citizensutilityboard.org/ssl/lightbulb.php' class='green'><b>Take Action</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/niep_links.html' class='green'><b>Links</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/http://www.citizensutilityboard.org' class='green' target='_blank'><b>Citizens Utility Board</b></a> | ";
	head +=	"<a href='http://www.ci.chi.il.us' class='green' target='_blank'><b>City of Chicago</b></a> | ";
	head +=	"<a href='http://www.statesattorney.org/' class='green' target='_blank'><b>Cook County State's Attorney</b></a>";
	
	
	/*********************************************************
		Add next line when a position at CUB needs 
		to be posted. Be sure to change the date.
	**********************************************************/
	//head +=	" | <a href='"+dotSlash+"abtCareer.html'  class='green' title='Consumer Rights Counselor&#8212;Bilingual (Spanish)\nPosted: October 20, 2004.'>Career opportunities</a>";	
	// head +=	"  | <a href='sendmeemail.html' class='green' title='I would like to be updated by email when utility issues arise.'>Send Me Email Updates</a> ";	
		
	head +=	"</TD>";	
	head += "<TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	
	head +=	"<TR>";
	head +=	"<TD width='8'></TD>";
	head +=	"<TD class='vspacer8'>";
	head +=	"</TD><TD class='gutter8'></td><TD class='gutter24'></TD></TR></form></TABLE>"; 
	
	return head;
}

// rtnHeader appears at the top of every page on the site.
function rtnHeader(a) {
	// identify if page is in subfolder, a '../' is added before page name.
	var dotSlash = subFolder(a);
		
	// next if is needed on pages that are located in subdirectories...
	var head = "";
	head += "<TABLE class='main'>";
	head +=	"<TR><TD class='gutter8'><a name='top' id='top'></a></TD>";
	if(browser == 'Netscape'){
		head +=	"<TD height='8' width='104'>";
	} else
	{
		head +=	"<TD height='8' width='104'>";
	}
	
	head +=	"</TD>";
	head +=	"<TD class='gutter8'></TD>";
	head +=	"<TD width='624' valign='bottom' align='middle'>";
	head +=	"</TD>";
	head +=	"<td width='8'></td>";
	head +=	"<TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	
	head +=	"<TR><TD class='gutter8'></TD>";
	head +=	"<TD height='104' width='104'>";
	head +=	"<a href='http://www.citizensutilityboard.org/index.html' title='Return to CUB home page.'>";
	head +=	"<IMG SRC='http://www.citizensutilityboard.org/images/CUB_REV_J05.gif' WIDTH='104' HEIGHT='104' BORDER='0' ALT='To return to the Citizens Utility Board home page, click on the CUB logo.'></a>";
	head +=	"</TD>";
	head +=	"<TD class='gutter8'></TD>";
	// next line is unique, allows user to click anywhere in header to return to home page.
	head += "<a href='http://www.citizensutilityboard.org/index.html' title='Return to CUB home page.' style='cursor:url'>";
	// prev. line is unique
	
	var time = new Date();
	var month = time.getMonth();
	var day = time.getDate();


	head +=	"<TD width='624' valign='bottom' align='middle' title='The Citizens Utility Board is a nonprofit, nonpartisan organization that represents the interests of residential-utility customers in Illinois.'>";
	head += "<br><img src='http://www.citizensutilityboard.org/images/CUB.gif' width='520' height='56' border=0>";


	head +=	"<div class='mission' title='Created by the Illinois General Assembly in 1983, and...with your support...CUB is still going strong.'>";
	head +=	"Fighting for Illinois Consumers Since 1984";
	head +=	"</div>";
	head +=	"</TD>";
	// end allow user to click on cell 
	head += "</a>";
	// end allow user to click on cell
	head +=	"<td width='8'></td>";
	head +=	"<TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	
	head +=	"<TR>";
	head +=	"<TD colspan='5' class='vspacer8'>";
	head +=	"</TD><TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	
	head +=	"<TR>";
	head +=	"<TD width='8'></TD>";
	head +=	"<TD colspan='4' class='lightgrey'>";
	
	head +=	"<a href='http://www.citizensutilityboard.org/index.html' class='green' title='Return to CUB home page.'>Home</a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/mission.html' class='green' onmouseover=makeVis('boutCub'); hideVis('newsroom');>About</a> | ";
	head += "<a href='http://cerf.convio.net/donate' target='_blank' class='green'>Join</a> | "
	//head +=	"<a href='http://cerf.convio.net/donate' class='green' title='CUB is funded by Illinois consumers and by a grant from the Illinois Clean Energy Community Foundation. Though created by the state, CUB receives no state tax dollars. '>Join</a> | ";
	//head +=	"<a href='"+dotSlash+"abtCareer.html' class='green'>Careers</a> | "; // onmouseover=makeVis('cubCareer'); hideVis('cubCareer');

if(activateDate(01, 01, 2007) && !activateDate(01, 01, 2008)){
	head +=	"<a href='http://www.citizensutilityboard.org/newsReleases2007.html' class='green' onmouseover=makeVis('newsroom'); hideVis('boutCub');>News Room</a>";
	}
if(activateDate(01, 01, 2009) && !activateDate(01, 01, 2010)){
	head +=	"<a href='http://www.citizensutilityboard.org/newsReleases2009.html' class='green' onmouseover=makeVis('newsroom'); hideVis('boutCub');>News Room</a>"; //<a href='latestnews.xml' title='If you have a news aggregators'><img src='images/xml.gif' valign='bottom'></a>
	}		

	// head +=	" | <a href='"+dotSlash+"accompfull.html' class='green' title='Read about some of CUB&#39;s accomplishments.'>Accomplishments</a>";
	// head +=	" | <a href='ciTips.html' class='green' title='Read some tips for consumers.'>Tips</a>";	
	head +=	" | <a href='http://www.citizensutilityboard.org/cubServices.html' class='green' onmouseover=makeVis('services'); hideVis('services'); >Services</a>";	
	head +=	" | <a href='http://www.citizensutilityboard.org/CUBfaq.html' class='green' title='Get your frequently asked questions about CUB and utilities answered.'>Questions/Complaints</a>"	
	//head +=	" | <a href='https://p2.secure.hostingprod.com/@www.citizensutilityboard.org/ssl/complaint.php' class='green' title='Resolve issues you are having with your utility bills.'>Complaints</a>"
	//head +=	" | <a href='mailto:bmcdaniel@citizensutilityboard.org' class='green' title='Have your questions answered.'>Contact</a>";	
	// head +=	" | <a href='http://www.citizensutilityboard.org/blog' class='green' target='_blank' title='Let your voice be heard.'><b>Blog</b></a>";
	// head +=	" | <a href='energysavings.html' class='green' title='Learn about energy saving tips from the Northern Illinois Energy Project.'>NIEP</a>";
	head +=	" | <a href='javascript:print()' class='green'><b>Print page</b></a>";
						
	
	// head +=	rtnETP();	
	
//	head +=	" | <a href='"+dotSlash+"cel20map.html'  class='green' title='Celebrate 20 years of CUB.'>20th Anniversary</a>";	
//	head +=	" | <a href='"+dotSlash+"cub_results.html'  class='green' title='Search our web site using keyords.'>Search</a>";	
	


	
	/*********************************************************
		Add next line when a position at CUB needs 
		to be posted. Be sure to change the date.
	**********************************************************/
	//head +=	" | <a href='"+dotSlash+"abtCareer.html'  class='green' title='Consumer Rights Counselor&#8212;Bilingual (Spanish)\nPosted: October 20, 2004.'>Career opportunities</a>";	
	// head +=	"  | <a href='sendmeemail.html' class='green' title='I would like to be updated by email when utility issues arise.'>Send Me Email Updates</a> ";	
	
	
	head +=	"</TD>";	
	head += "<TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	
	head +=	"<TR>";
	head +=	"<TD width='8'></TD>";
	head +=	"<TD colspan='4' class='vspacer8'>";
	head +=	"</TD><TD class='gutter8'></td><TD class='gutter24'></TD></TR></form></TABLE>"; 
	
	if(getBrowser() == "Netscape"){
		head += "<div id='newsroom' onmouseover=makeVis('newsroom'); onmouseout=hideVis('newsroom'); style='position:absolute;z-index:600;left:142;top:155;width:144;height:80;visibility:hidden;background-color:#EED;border:groove 1px #666;'>";	
	} else {
		head += "<div id='newsroom' onmouseover=makeVis('newsroom'); onmouseout=hideVis('newsroom'); style='position:absolute;z-index:600;left:142;top:150;width:144;height:56;visibility:hidden;background-color:#EED;border:groove 1px #666;'>";	
	}
		
	head += "<div class=locNavPopBox>";
	// head += "<a href=http://www.citizensutilityboard.org/newsReleases20060424_MediaAdvisory.html class=green title='The Citizens Utility Board (CUB) will hold a news conference Monday, April 24, at 10:30 a.m., in the CUB office, 208 S. LaSalle St., Suite 1760, Chicago. CUB will be joined by officials from the city of Chicago to issue a consumer alert for Chicago-area natural gas customers who are being targeted by an unscrupulous gas supplier.'><span style='color:#CC3333;font-weight:bold;'><i>Media Advisory</i></span></a><br>";	
	head += "<a href=http://www.citizensutilityboard.org/newsReleases2008.html class=green >News releases</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/newsCITN.php class=green>CUB in the News</a><br>";
	
	head += "<a href=http://www.citizensutilityboard.org/newsCUBVoice.html class=green><i>The CUB Voice</i></a><br>";
	head += "<a href=http://www.citizensutilityboard.org/dkColumns.html class=green title='CUB Executive Director David Kolata is a featured columnist for the Daily Southtown'><i>Consumer Talk</i></a><br>";
	head += "<a href=http://www.citizensutilityboard.org/clinicRockford2006.html class=green title='True stories of consumers overcoming obstacles \ncreated by utilities.'>Consumer Corner</a><br>";	
	head += "</div></div>";
	
	if(getBrowser() == "Netscape"){
		head += "<div id='boutCub' onmouseover=makeVis('boutCub') onmouseout=hideVis('boutCub'); style='position:absolute;z-index:600;left:60;top:155;width:164;height:112;visibility:hidden;background-color:#EED;border:groove 1px #666;'>";	
	} else{
		head += "<div id='boutCub' onmouseover=makeVis('boutCub') onmouseout=hideVis('boutCub'); style='position:absolute;z-index:600;left:60;top:150;width:164;height:112;visibility:hidden;background-color:#EED;border:groove 1px #666;'>";	
	}
	head += "<div class=locNavPopBox>";
	head += "<a href=http://www.citizensutilityboard.org/mission.html class=green>Mission</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/pdfs/CUB_ACT.pdf class=green target='blank'>CUB Act</a><br>";	
	head += "<a href=http://www.citizensutilityboard.org/funding.html class=green>Funding</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/accompfull.html class=green>Accomplishments</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/abtStaff.html class=green>Staff</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/abtBoard.html class=green>Board of Directors</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/abtCareer.html class=green>Career opportunities</a><br>"; //title='Posted\nSeptember 20, 2005:\nConsumer Rights Counselor &#8212; Bilingual\n\nAugust 26, 2005:\nParalegal'
	head += "</div></div>";	
	
	if(getBrowser() == "Netscape"){
		head += "<div id='cubCareer' onmouseover=makeVis('cubCareer') onmouseout=hideVis('cubCareer'); style='position:absolute;z-index:600;left:188;top:152;width:208;height:24;visibility:hidden;background-color:#EEF;border:groove 1px #666;'>";	
	} else{
		head += "<div id='cubCareer' onmouseover=makeVis('cubCareer') onmouseout=hideVis('cubCareer'); style='position:absolute;z-index:600;left:188;top:150;width:208;height:24;visibility:hidden;background-color:#EEF;border:groove 1px #666;'>";	
	}
		head += "<div class=locNavPopBox>";
	//head += "<a href=abtCareer.html#crc class=green>Consumer Rights Counselor</a><br>";
	//head += "<a href=abtCareer.html#crcb class=green>Consumer Rights Counselor<br>Bilingual&nbsp;(Spanish)</a><br>";
	//head += "<a href=abtCareer.html#para class=green>Paralegal</a><br>";
	head += "</div></div>";	
	
	if(getBrowser() == "Netscape"){
		head += "<div id='services' onmouseover=makeVis('services') onmouseout=hideVis('services'); style='position:absolute;z-index:600;left:224;top:155;width:240;height:96;visibility:hidden;background-color:#EED;border:groove 1px #666;'>";	
	} else{
		head += "<div id='services' onmouseover=makeVis('services') onmouseout=hideVis('services'); style='position:absolute;z-index:600;left:224;top:150;width:240;height:68;visibility:hidden;background-color:#EED;border:groove 1px #666;'>";	
	}
	head += "<div class=locNavPopBox>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices.html class=green>Overview</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_questions.html class=green>Answers and help</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_pubs.html class=green>Free money-saving publications</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_events.html class=green>Need a speaker?</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_pbclinics.html class=green>Phone-bill clinics</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_eventcalendar.html class=green>Event calendar</a><br>";
	head += "</div></div>";	
/*	


*/

	// rtnCursor();
	
	return head;
}// end rtnHeader()


//***********************************
/*
remember the rtnCursor above in rtnHeader()
*/
//*****************************

function rtnCursor(){

var trailimage=["images/reminder.png", 100, 72] //image path, plus width and height
var offsetfrommouse=[10,2] //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0 //duration in seconds image should remain visible. 0 for always.

if (document.getElementById || document.all)

document.write('<div id="trailimageid" style="position:absolute;visibility:visible;left:0px;top:0px;width:1px;height:1px; z-index:400;"><img src="'+trailimage[0]+'" border="0" width="'+trailimage[1]+'px" height="'+trailimage[2]+'px"></div>')

function gettrailobj(){
if (document.getElementById)
return document.getElementById("trailimageid").style
else if (document.all)
return document.all.trailimagid.style
}

function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function hidetrail(){
gettrailobj().visibility="hidden"
document.onmousemove=""

}

function followmouse(e){
var xcoord=offsetfrommouse[0]
var ycoord=offsetfrommouse[1]
if (typeof e != "undefined"){
xcoord+=e.pageX
ycoord+=e.pageY
}
else if (typeof window.event !="undefined"){
xcoord+=truebody().scrollLeft+event.clientX
ycoord+=truebody().scrollTop+event.clientY
}
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth-15
var docheight=document.all? Math.max(truebody().scrollHeight, truebody().clientHeight) : Math.max(document.body.offsetHeight, window.innerHeight)
if (xcoord+trailimage[1]+3>docwidth || ycoord+trailimage[2]> docheight)
gettrailobj().display="none"
else 
gettrailobj().display=""
gettrailobj().left=xcoord+"px"
gettrailobj().top=ycoord+"px"
}

document.onmousemove=followmouse

if (displayduration>0)
setTimeout("hidetrail()", displayduration*1000)



}

//*****************************


// rtnFooter appears at the bottom of every page on the site.
function rtnFooter(a) {
	var dotSlash = subFolder(a);
	var ft = "<table class='main'>";
	// next if is needed on pages that are located in subdirectories...
	if(a != "NIEP"){
	
	ft += "<tr><td class='gutter8'></td>";
	ft += "<td width='80'></td>";
	ft += "<td class='gutter8'></td>";
	ft += "<td width='592'></td>";
	ft += "<td width='80'></td>";
	ft += "<TD class='gutter8'></td><td class='gutter24'><br></td></tr>";
	
	ft += "<tr>";
	ft += "<td class='gutter8'></td>";	
	ft += "<td class='footer' colspan='4'>";
	if(activateDate(01, 03, 2008)&& !activateDate(02, 06, 2008)){
		ft += "<span class='foot'>Copyright &copy;1997&#8211;" +	updateCopyright() + " Citizens Utility Board  <a href='http://www.citizensutilityboard.org/legaldisclaimer.html' target='_blank' class='green' title='LEGAL NOTICE:  BY ACCESSING THE CITIZENSUTILITYBOARD.ORG WEB SITE YOU ARE AFFIRMATIVELY STATING THAT YOU HAVE READ AND UNDERSTAND THE TERMS AND CONDITIONS SET FORTH HEREIN AND ARE AFFIRMATIVELY INDICATING THAT YOU AGREE TO BE BOUND BY SAME.'><b>Terms and Conditions</b></a>. <br>208 South LaSalle Street, Suite 1760, Chicago, Illinois 60604<br>(312) 263-4282 &nbsp;Fax (312) 263-4329 &nbsp(800) 669-5556 <br><br><i>Nam et ipsa scientia potestas est</i><br>Knowledge is power - Francis Bacon (1561–1626)</span>"; //&nbsp; online: <a href='https://p2.secure.hostingprod.com/@www.citizensutilityboard.org/ssl/cu.php' class='green'>Contact CUB</a> // | <a href='"+dotSlash+"sitemap.html' class='green' title='Complete listing of the main pages on the CUB website.'> Site Map</a> |
	} else {
		ft += "<span class='foot'>Copyright &copy;1997&#8211;" +	updateCopyright() + " Citizens Utility Board  <a href='http://www.citizensutilityboard.org/legaldisclaimer.html' target='_blank' class='green' title='LEGAL NOTICE:  BY ACCESSING THE CITIZENSUTILITYBOARD.ORG WEB SITE YOU ARE AFFIRMATIVELY STATING THAT YOU HAVE READ AND UNDERSTAND THE TERMS AND CONDITIONS SET FORTH HEREIN AND ARE AFFIRMATIVELY INDICATING THAT YOU AGREE TO BE BOUND BY SAME.'><b>Terms and Conditions</b></a>. <br>309 West Washington Street, Suite 800, Chicago, Illinois 60604<br>(312) 263-4282 &nbsp;Fax (312) 263-4329 &nbsp(800) 669-5556 <br><br><i>Nam et ipsa scientia potestas est</i><br>Knowledge is power - Francis Bacon (1561–1626)</span>"; //&nbsp; online: <a href='https://p2.secure.hostingprod.com/@www.citizensutilityboard.org/ssl/cu.php' class='green'>Contact CUB</a> // | <a href='"+dotSlash+"sitemap.html' class='green' title='Complete listing of the main pages on the CUB website.'> Site Map</a> |
	}
	ft += "";
	ft += "</td><TD class='gutter8'></td><td class='gutter24'></td></tr></table>";
	
	} else {
	ft += "<tr><td class='gutter8'></td>";
	ft += "<td width='80'></td>";
	ft += "<td class='gutter8'></td>";
	ft += "<td width='592'></td>";
	ft += "<td width='80'></td>";
	ft += "<TD class='gutter8'></td><td class='gutter24'><br></td></tr>";
	
	ft += "<tr>";
	ft += "<td class='gutter8'></td>";	
	ft += "<td class='footer' colspan='4'>";
	ft += "<span class='foot'>Copyright &copy; " +	updateCopyright() + " The Northern Illinois Energy Project (NIEP) ";
	ft += "<br>208 South LaSalle Street, Suite 1760, Chicago, Illinois 60604<br>(312) 263-4282 &nbsp;Fax (312) 263-4329</span>";
	ft += "</td><TD class='gutter8'></td><td class='gutter24'></td></tr></table>";	

	}
	
	return ft;
}// end rtnFooter()

function randomHLites() {
	n = Math.round(Math.random()*(arAcmpTitle.length-1));
	return n;
}// randomHLites()


function randomTipNum() {
	n = Math.round(Math.random()*(arTipsTitle.length-1));
	return n;
}// randomHLites()

function randomNum() {
	n = Math.round(Math.random()*(15));
	return n;
}// randomHLites()

function randomNumbers(x) {
	n = Math.round(Math.random()*(x));
	if(n < 1){ n=1;}
	return n;
}// randomNumbers()


function randomQuote() {
	n = Math.round(Math.random()*(arQuote.length-1));
	return n;
}// randomHLites()

function rtnRightColumn(pagetype){
	var r = "";
	aorq = randomNum();
	n = randomHLites();
	q = randomQuote();
	tip = randomTipNum();

	
/*	r += "<tr>";
	r += "<td height=104 class='center' title='Contribute online, request a form be mailed to you or have a PDF file emailed to you.'>";
	r += "<br><a href='become.html' class='white' title='A donation of $15 or more will give a real boost to CUB&#39;s efforts. It will help CUB fight for your rights as a consumer and win fair utility rates for eveyone in Illinois. Thank you!'>Become<br>a member of CUB</a><br><br><span class=testMessage title='PLACE HOLDER: Remember a graphic will fill this space.'></a></b><br>&nbsp;? </span><br><br>";
	r += "</td>";
	r += "</tr>";
*/
	// add functions as needed depending upon page
	
			r += "<table cellpadding=0 cellspacing=0 border=0>";
			r += "<tr>";
			r += "<td height=104  width=136 valign='top'>";
			
	if(pagetype != "NIEP"){	
	
	r += "<a href='http://cerf.convio.net/donate' target='_blank'><img id='become' border='0' name='become' onmouseover='fnBon(this)' onmouseout='fnBoff(this)' src='images/becomeGreen2Off.gif'></a>"; //id='become' name='become' onmouseover='fnBon(become)' onmouseout='fnBoff(become)'
	
	/*
	rndX = randomNumbers(3);		
	r += "<!--url's used in the movie-->";
	r += "<a href='http://cerf.convio.net/donate' target='_blank'>";
	r += "<!--text used in the movie-->";
	r += "<!-- saved from url=(0013)about:internet -->";
	r += "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='137' height='110' id='BeAChampion3' align='middle'>";
	r += "<param name='allowScriptAccess' value='sameDomain' />";
	r += "<param name='movie' value='Flash/BeAChampion" + rndX +".swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='Flash/BeAChampion" + rndX +".swf' quality='high' bgcolor='#ffffff' width='137' height='110' name='BeAChampion" + rndX +"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	r += "</object></a>";
	*/
	


			/*
			r += "<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' WIDTH=136 HEIGHT=104>";
			r += "<PARAM NAME=movie VALUE='BecomeMember.swf'> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src='BecomeMember.swf' quality=high bgcolor=#FFFFFF  WIDTH=136 HEIGHT=104 TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></EMBED>";
			r += "</OBJECT>";
			*/
			r += "</td>";
			r += "</tr>";
			
			if(activateDate(27, 12, 2006)){
				r += "<tr>";
				r += "<td width=136 height=8 valign='top'>";
			
				r += "</td>";
				
				r += "</tr>";
				r += "<tr>";
				r += "<td width=136 height=80 valign='top'>";
				
				r += "<a href='javascript:makeCFLVisible();' class=green><img src=images/illinois_green_calc.png border='0'></a><br><br>";
				r += "</td>";
				r += "</tr>";	
			}
			/*
			if(pagetype != "dgsac"){
					 var img = new Array();
					 var x = 0;
					 // img[x] = "<table align='right' width='272' ID='Table2'><tr><td><br><img src='images/name.jpg' title=''><span class='foot'>Caption<br></span></td></tr><tr><td height='1' bgcolor='006600'></td></tr></table>";
					 // x++;
					 img[x] = "<img src='images/ActionCenter"+x+".jpg'>";					 
					 x++;
					img[x] = "<img src='images/ActionCenter"+x+".jpg'>";					 
					 x++;
					img[x] = "<img src='images/ActionCenter"+x+".jpg'>";					 
					 					 					 
					 // 					 			
				r += "<tr>";
				r += "<td width=136 height=8 valign='top'>";
			
				r += "</td>";
				
				r += "</tr>";
				r += "<tr>";
				r += "<td width=136 height=80 valign='top'>";
				r += "<a href='http://www.citizensutilityboard.org/ciDontGetShocked.html' class=green>" + showImage(img) + "</a>";
				r += "</td>";
				r += "</tr>";			
			}
			*/
			
			if(pagetype != "ggCFP"){

				r += "<tr>";
				r += "<td width=136 height=80 valign='top''>";
				r += "<b><a href='getgreenCarbonFootprint.html' class=green title='Watch where you step...\ncalculate your carbon dioxide footprint!'><img src='images/illinois_green_foot.png' border=0></a></span><br>";
				r += "</td>";
				r += "</tr>";
				r += "<tr>";
				r += "<td width=136 height=8 valign='top'>";
			
				r += "</td>";
				
				r += "</tr>";							
			}			
			

	
			
			
			
			
			/*
			r += "<tr>";
			r += "<td width=136 height=8 valign='top'>";
		
			r += "</td>";
			
			r += "</tr>";
			r += "<tr>";
			r += "<td width=136 height=80 valign='top''>";
			r += "<b><a href='http://www.StopComEdRateHike.org' target='_blank' class=green title='Click here to get to StopComEdRateHike.org and StopAmerenRateHike.org'><img src='images/stopElecRateHikes.gif' border=0></a></span><br>";
			r += "</td>";
			r += "</tr>";	
			*/
			
			
			// start SaveOnPhone 
			//if (pagetype != 'sops') {
			//r += "<tr>";
			//r += "<td width=136 height=4 valign='top'>";
		
			//r += "</td>";
			//r += "</tr>";
			//r += "<tr>";
			//r += "<td width=136 height=80 valign='top''>";
			//r += "<b><a href='ciTelecomm.html' class=green title='Click here to get the \nSBC Voice Mail Claim Form \nand additional information \nabout completing the form.'><img src='images/SavePhone.jpg' border=0></a></span><br>";
			//r += "</td>";
			//r += "</tr>";	
			//}
			// end SaveOnPhone 			
			
					
			/*
			r += "<tr>";
			r += "<td width=136 height=80 valign='top''>";
			r += "<b><a href='http://www.keepwarm.illinois.gov' target='_blank' class=green border=0><img src='images/KeepWarm.gif'></a></span><br>";
			r += "</td>";
			r += "</tr>";	
			*/

			
			// NIEPS graphic
			// activateDate(dd, mm, yyyy) /* to start */ || !activateDate(dd, mm, yyyy) /* to end */
			// 


			// for all phone bill clinics
			if(activateDate (9, 5, 2005) && !activateDate(1, 7, 2005)){
				r += "<tr>";
				r += "<td><br></td>";
				r += "</tr>";
				r += "<tr>";
				r += "<td width=136 valign='top' bgcolor='eedEDD' ><img src='http://www.citizensutilityboard.org/images/phBillClinics.gif' border=0><br>&nbsp;<span class=foot>Locations and dates<br></span><span class='foot'>";

				// this can be viewed from on may 9 to ends june 9
				if(activateDate (9, 5, 2005) && !activateDate(10, 6, 2005)){
					r += "<br><b>&nbsp;Waukegan</b><br>";
					r += "&nbsp;Thursday, June 9th<br>";
					r += "&nbsp;7 PM<br>";
					r += "&nbsp;Waukegan City Hall<br>";
					r += "&nbsp;100 N. Martin Luther<br>";
					r += "&nbsp;King Jr. Ave.<br>";
					r += "&nbsp;Waukegan, IL 60085<br><br>";
				} 

			
				// this can be viewed from on may 29 to ends june 29
				if(activateDate (29, 5, 2005) && !activateDate(30, 6, 2005)){
					r += "<br><b>&nbsp;Quincy Park District</b><br>";
					r += "&nbsp;Wednesday, June 29<br>";
					r += "&nbsp;7 PM<br>";
					r += "&nbsp;Emerson Community<br>&nbsp;Center<br>";
					r += "&nbsp;1310 Washington<br>";
					r += "&nbsp;Quincy, IL 62301<br><br>";
				} 
				
				// this can be viewed from on may 30 to ends june 30
				if(activateDate (30, 5, 2005) && !activateDate(1, 7, 2005)){
					r += "<br><b>&nbsp;Jacksonville</b><br>";
					r += "&nbsp;Thursday, June 30<br>";
					r += "&nbsp;11 AM<br>";
					r += "&nbsp;Jacksonville<br>&nbsp;Senior Center<br>";
					r += "&nbsp;1309 S Main Street<br>";
					r += "&nbsp;Jacksonville, IL 62650<br><br>";
				} 				
				r += "<img src=http://www.citizensutilityboard.org/images/blueBar.gif width=100% height=1>";
				r += "</td>";
				r += "</tr>";	
			}// end all Phone bill clinics




			/*

				r += "<tr>";
				r += "<td width=136 height=8 valign='top'>";
			
				r += "</td>";
				
				r += "</tr>";
				
				r += "<tr>";
				r += "<td width=136 height=80 valign='top''>";
				r += "<a href='http://www.youtube.com/watch?v=vDqQNwycnSw&amp;mode=related&amp;search=' target='_blank'><img src='images/scrh_small.jpg' border=0></a></span><br>";
				r += "<span class='foot'>Click on the image above to watch TV ad. You will need to have <a href='http://www.microsoft.com/windows/windowsmedia/mp10/default.aspx#download' target='_blank' class='green'><b>Windows Media Player</b></a> to watch the&nbsp;video.<br><br></span>";
				r += "</td>";
				r += "</tr>";	
			*/

			
			// start consumer tip
			if (pagetype != 'ciTips') {
			r += "<tr>";
			r += "<td width=132 height=4 valign='top'>";
			r += "<br>";
			r += "</td>";
			r += "</tr>";
			r += "<tr>";
			r += "<td width=132 height=80 valign='top' bgcolor='eeeeee' style='padding:4px 4px 4px 4px;border-bottom: #333366 1px groove;'>";
			r += "<b><a href='http://www.citizensutilityboard.org/ciTips.html' class=green title='Read all "+(arTipsTitle.length) +" consumer tips.'><img src='http://www.citizensutilityboard.org/images/ConsumerTips_green.gif' border=0 width=132 height=20></a></span>";
			r += "<br><b><a href='http://www.citizensutilityboard.org/ciTips.html#" + (tip + 1) +"' class=green title='"+ getTipsAlt(getTipsBody(tip)) +"'>" + getTipsTitle(tip) + "</a><b><br><span style='font-size:.8em; font-weight:normal;'><a href='http://www.citizensutilityboard.org/ciTips.html#" + (tip + 1) +"' class=green title='Read all "+(arTipsTitle.length) +" consumer tips.'>Read</a> more about this tip and others.</span>";
			r += "</td>";
			r += "</tr>";	
			}
			// end consumer tip





			/*
			r += "<tr>";
			r += "<td>";	
			r += "<br><br><a href='http://www.ftc.gov/donotcall/' class=green target='_blank'><img src='images/dncall.gif' border=0></a><br>";
			r += "<a href='pdfs/ConsumerInfo/20040120_FTCsNoCallList.pdf' class=green target='_blank'><span class=foot>Stopping Telemarketers<br>The FTC’s No-call List</span></a>";	
			*/
			

			
			if (pagetype == "secdeposit"){
				r += "<table class='calloutFuncRight' align='right' width='104' ID='Table1'><tr><td class='cOut'>";
				r += "<form onsubmit='return rtnSecDeposit(this);' ID='Form1'>";
				r += "<span style='font-size:1em;color:#FFCC99;font-weight:bold;'>";
				r += "Security deposit estimator<hr><span style='font-size:.8em;color:#FFCC99;'>";
				r += "<input type='radio' name='util' value='ge' ID='Radio1'>Gas or electric<br>";
				r += "<input type='radio' name='util' value='h2o' ID='Radio2'>Water<br><br>";
				r += "Amount:<br><input name='amount' type='text' ID='Text1' style='font-size:1em;height:16px;text-align:right;width=104px;'><br><br><br>";
				r += "&nbsp;<input style='font-size:.9em;' type='submit' value='Calculate' ID='Submit1' NAME='Submit1'><br></span>";
				r += "<br><br><span style='font-size:.7em'><input type=checkbox name='spec' value='1'>Dec. 1 to March 31</span></form>";
			}
			
			r += "<tr>";
			r += "<td width=136 height=80 valign='top''>";
			r += "<br><b><a href='http://www.citizensutilityboard.org/niep_rlp.html' target='_blank' class=green border=0><img src='http://www.citizensutilityboard.org/images/NIEP_cubad_green.jpg' border='0'></a></span><br>";
			r += "</td>";
			r += "</tr>";
			
			
	}// not NIEP if
	r+= "</td></tr></table>"
	return r;
} // end rtnRightColumn


function rtnLocalNav(pagetype, section, edition) {

	var dotSlash = subFolder(pagetype);
	// next if is needed on pages that are located in subdirectories...
	
	var locnav = "";
		locnav += "<TABLE class='locnav'>";
		locnav += "<TR>";
		locnav += "<TD class='lightblue'>" + displayDate();
		locnav += "</TD>";
		locnav += "</TR>";
		
		if(pagetype == "NIEP"){
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><span style='color:#FFCC66'>NIEP Programs...</span>";
			locnav += "</TD>";
			locnav += "</TR>";
			
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/niep_rlp.html' class='white' >Residential Lighting</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/niep_mhmee.html' class='white'>Making Homes More Energy&nbsp;Efficient</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			
			if(section == "programs"){
		locnav += "<TR>";
		locnav += "<TD class='lbSubMenu1'>";
		locnav += "<a href='http://www.citizensutilityboard.org/niep_hecp.html' class='green'>Homeowners’ Energy Conservation&nbsp;Program</a><br>";	
		locnav += "</TD>";
		locnav += "</TR>";
		
		locnav += "<TR>";
		locnav += "<TD class='lbSubMenu1'>";
		locnav += "<a href='http://www.citizensutilityboard.org/niep_cewp.html' class='green'>Chicago’s Emergency Weatherization&nbsp;Program</a><br>";	
		locnav += "</TD>";
		locnav += "</TR>";
		
		locnav += "<TR>";
		locnav += "<TD class='lbSubMenu1'>";
		locnav += "<a href='http://www.citizensutilityboard.org/niep_kwii.html' class='green'>Keep Warm Illinois&nbsp;Initiative</a><br>";	
		locnav += "</TD>";
		locnav += "</TR>";	
		
		locnav += "<TR>";
		locnav += "<TD class='lbSubMenuSpace'>";
		locnav += "<br>";
		locnav += "</TD>";
		locnav += "</TR>";		
				
			}	
			
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/niep_sep.html' class='white' >School Education</a>";
			locnav += "</TD>";
			locnav += "</TR>";	
			
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/niep_resources.html' class='white' >Energy Saving Resources</a>";
			locnav += "</TD>";
			locnav += "</TR>";			
			
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/niepsContactus.php' class='white' >Contact us</a>";
			locnav += "</TD>";
			locnav += "</TR>";				
			
			locnav += "</table>";				
		} else {		

			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/CUBMembership.html' class='white' title='How you can support CUB.'>CUB Membership</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			// if pagetype = "actionnetwork" then have row with additional action network info appear...
			// if pagetype = "gas" then have row with additional gas info appear...
				if(pagetype == "member"){
				locnav += membershipPage(pagetype, section);
				}//end electric if
		
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/actionnetwork.php' target='_blank' class='white' title='Be proactive! \nContact your elected officials \nand let them know how you feel \nabout consumer related issues.'>CUB Action Network</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			// if pagetype = "actionnetwork" then have row with additional action network info appear...

			locnav += "<TR>";
			locnav += "<TD class='darkblue'>";
			locnav += "<a href='http://www.citizensutilityboard.org/ciDontGetShocked.html' class='white' title='Information for consumers about electric utilities.'>Electric</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			if(pagetype == "ciElectric"){
				locnav += consumerRow(pagetype);
			}//end electric if
			/*
			
			*/
			
			
			locnav += "<TR>";
			locnav += "<TD class='darkblue'>";
			locnav += "<a href='http://www.citizensutilityboard.org/ciNaturalGas.html' class='white' title='Read a series of documents about natural gas rates and what you can do to lower your bills.'>Natural Gas</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			
			
			// if pagetype = "gas" then have row with additional gas info appear...
				if(pagetype == "ciGas"){
				locnav += consumerRowNatGas(pagetype, section);
				}//end electric if	
			
			locnav += "<TR>";
			locnav += "<TD class='darkblue'>";
			locnav += "<a href='http://www.citizensutilityboard.org/ciTelecomm.html' class='white' title='Read a series of documents about local and long distance services, and how you can save money.'>Telecommunications</a>";
			locnav += "</TD>";
			locnav += "</TR>";	
			
				if(pagetype == "ciTelecom"){
				locnav += consumerRowTelecom(pagetype, section);
				}//end electric if	
					
			locnav += "<TR>";
			locnav += "<TD class='darkblue'>";
			locnav += "<a href='http://www.citizensutilityboard.org/getgreen.html' class='white' title=''>Get Green</a>";
			locnav += "</TD>";
			locnav += "</TR>";	
			
				if(pagetype == "getGreen"){
				locnav += getGreen(pagetype, section);
				}//end electric if							
						
		/*

			locnav += "<TR>";
			locnav += "<TD class='darkblue'>";
			locnav += "<a href='"+dotSlash+"utilityprofiles.php' class='white' title='CUB has compiled a list of utility companies\nproviding service in Illinois.'>Utility Profiles</a>";
			locnav += "</TD>";
			locnav += "</TR>";								
					

			locnav += "<TR>";
			locnav += "<TD class='darkblue'>";
			locnav += "<a href='"+dotSlash+"consumer.html' class='white' title='Get to know more about your utilities \nand what you can do to save money.'>Consumer Information</a>";
			locnav += "</TD>";
			locnav += "</TR>";

			
			// if pagetype = "gas" then have row with additional gas info appear...
				if(pagetype == "consumer" || pagetype == "ciTips" || pagetype == "ciElectric" || pagetype == "ciRights" || pagetype == "ciTelecom" || pagetype == "ciTelecomRights" || pagetype == "ciGasRights" || pagetype == "ciGas"){
				locnav += consumerRow(pagetype, section);
				}//end electric if		
				
		*/		
			
	/*		
			locnav += "<TR>";
			locnav += "<TD class='darkblue'>";
			locnav += "<a href='energycon.html' class='white' title='Energy conservation program.'>Energy Conservation Program</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			// if pagetype = "electric" then have row with additional electric info appear...
				if(pagetype == "litigation"){
				locnav += litigationRow();
				}//end electric if
			

			
			locnav += "<TR><TD class='darkblue'>";
			locnav += "<a href='"+dotSlash+"legislation1.html' class='white' title='Read about legislation before the \nIllinois General Assembly, voting records\nof representatives and bills that passed.'>Legislative Roundup</a></TD>";
			locnav += "</TR>";
			// if pagetype = "tel" then have row with additional telecomunications info appear...	
				if(pagetype == "legislation"){
				locnav += legislationRow();
				}//end telcom if			
*/
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/espanol.html' class='white' title='Read publications translated into Spanish.'>Ahorre dinero e infórmese</a></TD>"; //  En Espa&ntilde;ol
			locnav += "</TR>";
			// if pagetype = "espanol" then have row with additional spanish info appear...
				if(pagetype == "espanol"){
				locnav += espanolRow();
				}//end telcom if			
					
		

			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/helpfullinks.html' class='white' title='Websites of interest.'>Helpful Links</a>";
			locnav += "</TD>";
			locnav += "</TR>";
			// if pagetype = "helpful" then have row with additional helpful info appear...
				if(pagetype == "helpful"){
				locnav += helpfulRow();
				}//end telcom if
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='energysavings.html' class='white' title='Northern Illinois Energy Project' target='_blank'>N I E P</a>";
			locnav += "</TD>";
			locnav += "</TR>";				
				
				
				
			locnav += "</TABLE>";
			
			// if pagetype = "about" then have row with additional about cub info appear...	
				if(pagetype == "about"){
				locnav += aboutTable(section);
				}//end about if
			
			// if pagetype = "cubvoice" then have row with additional CUB Voice info appear...	
				if(pagetype == "news"){
				locnav += newsTable(section, edition);
				}//end about if
				
			
				
				
				if(isSection(section)){
				    
					 locnav += onThisPage(section);
					
				}
				
					
				locnav += "<br><div style=\"font-size:.9em;background-color:#fff;margin-bottom:8px;padding-bottom:4px;border-bottom:solid 1px #933;\"><div style=\"padding-left:4px;\">Connect with CUB on these social networks.</div><br>";
				locnav += "<a href=\"http://twitter.com/cubillinois\" target=\"_blank\"><img src=\"images/twitter_left.jpg\" style=\"float:right;\" title=\"Click here to follow CUB on Twitter.\"></a><a href=\"http://bit.ly/2S1bGD\" target=\"_blank\"><img src=\"images/facebook_left.jpg\" style=\"float:left;\" title=\"Click here to become a fan of CUB on Facebook.\"></a><br><br><a href=\"http://www.cubenergysaver.org\" target=\"_blank\"><img src=\"images/cubes_left.jpg\" style=\"margin-left:2px;margin-top:6px;\" title=\"Click here to follow CUB on CUB's Energy Saver, learn how to save money on your energy usage.\"></a><br><br><a href=\"http://twitter.com/cubespanol\" target=\"_blank\"><img src=\"images/twitter_left_espanol.jpg\" style=\"float:right;\" title=\"oprima aquí para seguir a CUBEspañol en twitter.\"></a><a href=\"http://www.facebook.com/profile.php?id=100000227978537&ref=nf\" target=\"_blank\"><img src=\"images/facebook_left_espanol.jpg\" style=\"float:left;\" title=\"oprima aquí para hacerse amigola de CUBEspañol en Facebook.\"></a><br><br>";
				locnav += "<br><br><br></div>";	
				locnav += rtnCliffWorth();
				
				//if(pagetype == "exp")
				//   end about if
				
			// if pagetype = "ssl" do not show..........
			// SEARCH Function
			/*
				if (pagetype == "search"){
					locnav += "<!-- Begin Personal Site Search Form from SBC/Yahoo -->";
					locnav += "	<form method='get' action='/.search'>";
					locnav += "		<input type='text' name='p' class='textsearch' value=''> ";
					locnav += "		<input type='submit' name='name' class='sizebutton' value='Search CUB' width=20>";
					locnav += "		<input type='hidden' name='results_page' value='cub_results.html'>";
					locnav += "	</form>";
					locnav += "<!-- End Personal Site Search Form -->";	
				}
			*/			
					
			// if pagetype = "newsroom" then have row with additional News Room info appear...
			// if pagetype = "litigation" then have row with additional Litigation info appear...
			// if pagetype = "legislation" then have row with additional Legislation info appear...
			// if pagetype = "contact" then have row with additional contact info appear...
			//locnav += "<br>";
			//locnav += membershipLinks(dotSlash);
			//locnav += "<a href='awards_2006.html' class='green'><img src=images/GoldenTrumpet2006.jpg border=0 title='Publicity Club of Chicago\nGolden Trupmet 2006 Award\nCUB’s Website: The Great Equalizer\nDavid Mroczkowski, Webmaster\nCitizens Utility Board\nOnce an embarrassment, CUB\’s web site has become a \"great equalizer\" against multibillion-dollar utility corporations, serving diverse audiences, from fixed-income grandmothers to big-city TV producers.'></a>";
		}// if NIEP
		

		
	return locnav;
}//end rtnLocalNav


function isSection(section){
	var b = false;
	if((section != null | typeof(section) != "undefined") & (section != "ags") & (section != "pga") & (section != "career") & (section != "CITN") & (section != "rel") & (section != "CV")){
		b = true;
	}
	return b;
}

function onThisPage(section){

		var e = "";
		e +="<TABLE class='locnav'>";
		
		e += "<TR>";
		e += "<TD class='lgLocNav1'>";
		e += "On this page...<br>";
		e += "</TD>";
		e += "</TR>";
		
		
		for (i=0; i < section.length; i++){
		e += "<TR>";
		e += "<TD class='lgLocNavLarge'>";
		e += section[i];
		e += "</TD>";
		e += "</TR>";
		}

		e += "</TABLE>";
		return e;
}		

function membershipLinks(dotSlash){
	var memlinks = "<a href='http://www.nasuca.org' target='_blank' class='green'><img src='http://www.citizensutilityboard.org/images/nasuca.jpg' border=0></a><br><br>";
	return memlinks;
}

function litigationRow(){
		// | Natural Gas | Telecommunications | Rule Making
		var e = "";
		/*
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='litElectric.html' class='subBlue' title='Litigation related to electric utilities.'>Electric</a><br>";
		e += "</TD>";
		e += "</TR>";
		

		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='litGas.html' class='subBlue' title='Litigation related to natural gas utilities.'>Natrual Gas</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='litTelecom.html' class='subBlue' title='Litigation related to telecommunications utilities.'>Telecommunications</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='litRuleMaking.html' class='subBlue' title='Litigation related to rule making.'>Rule Making</a><br>";
		e += "</TD>";
		e += "</TR>";				
		
/********************** use this as a second submenu
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu two</a><br>";
		e += "</TD>";
		e += "</TR>";
*/		
		/************************************
		This is not working as a drop-down select list
		that takes user to another page. Cannot sort out
		why it will not work from with document.write */

/***********************		
		// use the following for a drop down menu
		e += "<TR>";
		e += "<TD class='lbSubMenu3'>";
		e += "<form id='form' name='form'><select name='site' size='1' class='locnavlist' OnChange=\"location.href=form.site.options[selectedIndex].value\">";
		e += "<option selected>Select one";
		e += "<option value='index.html'>ComEd rate cut</option>";
		e += "<option value='phonebillclinic.pdf'>Making sense of your bill </option>";
		e += "<option value='index.html'>Tree-trimming in Illinois</option>";
		e += "<optgroup label='Energy-saving tips'>";
		e += "<option value='index.html'>Summer</option>";
		e += "<option value='index.html'>Winter</option>";
		e += "<option value='index.html'>At home </option>";
		e += "</optgroup>"	
		e += "<optgroup label='Electric Deregulation'>"; 
		e += "<option value=''>Understanding </option>";
		e += "<option value=''>Summary</option>";
		e += "<option value=''>Full text</option>";
		e += "</optgroup>";	
	    e += "</select></form>";		
		e += "</TD>";
		e += "</TR>";	
*/
/*		
		// leave one row blank for spacing
		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";
*/		
		return e;
}// end electricRow


function consumerRow(pt, sec){
		var e = "";

		
		if (pt == "ciElectric"){
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
				e += "<a href='http://www.citizensutilityboard.org/ciDontGetShocked.html' class='subBlue' title='Helpful CUB Publications for Electric Customers'>Don\'t Get Shocked</a>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/utilityprofiles.php' class='subBlue' title='CUB has compiled a list of utility companies\nproviding service in Illinois.'>Utility Profiles</a>";
		e += "</TD>";
		e += "</TR>";
		e += ciElectricRow(pt);
		}
		
		

			
		if (pt == "ciGas" ){
			e += "<TR>";
			e += "<TD class='lbSubMenu2'>";
			e += "<a href='http://www.citizensutilityboard.org/GasMarketMonitor.php' class='subBlue' title='\"Will I save money by switching to an alternative gas supplier?\” Find out.'>Gas Market Monitor</a><br>";
			e += "</TD>";
			e += "</TR>";			
			e += "<TR>";
			e += "<TD class='lbSubMenu2'>";
			e += "<a href='http://www.citizensutilityboard.org/pga.php' class='subBlue' title='Latest PGA charges for Illinois nine largest gas utilities.'>Natural Gas Price Checker</a><br>";
			e += "</TD>";
			e += "</TR>";		
		}		
			
		
		if(sec == "pga"){

				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenCILCO.php' class='subBlue' title='Ameren CILCO'>Ameren CILCO</a><br>";
				e += "</TD>";
				e += "</TR>";
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenCIPS.php' class='subBlue' title='Ameren CIPS'>Ameren CIPS</a><br>";
				e += "</TD>";
				e += "</TR>";
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenIP.php' class='subBlue' title='Illinois Power'>Ameren IP</a><br>";
				e += "</TD>";
				e += "</TR>";	
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenUE.php' class='subBlue' title='Ameren UE'>Ameren UE</a><br>";
				e += "</TD>";
				e += "</TR>";
				
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AtmosEnergy.php' class='subBlue' title='Atmos Energy'>Atmos Energy</a><br>";
				e += "</TD>";
				e += "</TR>";	
		
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/MidAmericanEnergy.php' class='subBlue' title='MidAmerican Energy'>MidAmerican Energy</a><br>";
				e += "</TD>";
				e += "</TR>";	
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/Nicor.php' class='subBlue' title='NICOR'>NICOR</a><br>";
				e += "</TD>";
				e += "</TR>";
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/NorthShoreGas.php' class='subBlue' title='North Shore Gas'>North Shore Gas</a><br>";
				e += "</TD>";
				e += "</TR>";		
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/PeoplesGas.php' class='subBlue' title='Peoples Gas'>Peoples Gas</a><br>";
				e += "</TD>";
				e += "</TR>";																					
			
		}
/*		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu two</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='ciTelecomm.html' class='subBlue' title='Read a series of documents about local and long distance services, and how you can save money.'>Telecommunications</a><br>";
		e += "</TD>";
		e += "</TR>";
		*/
/*		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu two</a><br>";
		e += "</TD>";
		e += "</TR>";
		

		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='ciTips.html' class='subBlue' title='Read about some simple consumer tips that you can follow to save you money.'>Consumer tips</a><br>";
		e += "</TD>";
		e += "</TR>";		
	*/	
								
		
		// leave one row blank for spacing
		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";
		
		return e;
}// end consumerRow()


function ciElectricRow(pt){
		var e = "";
		/*
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciDontGetShocked.html' class='white' title='Helpful CUB Publications for Electric Customers'>Don\'t Get Shocked</a>";
		e += "</TD>";
		e += "</TR>";		
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='utilityprofiles.php' class='white' title='CUB has compiled a list of utility companies\nproviding service in Illinois.'>Utility Profiles</a>";
		e += "</TD>";
		e += "</TR>";
		*/

		return e;
}

/*

function ciRightsRow(pt){
		var e = "";	

		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciRightsMeter.html' class='subBlue' title='Learn about estimated bills and how to read your meter.'>Meter reading and billing</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciRightsPayBills.html' class='subBlue' title='Learn how to keep from paying a bill late, who you pay and if your bill is late what late charges apply.'>Payment of bills</a><br>";
		e += "</TD>";
		e += "</TR>";	
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciRightsDeferBills.html' class='subBlue' title='Learn about deferring payment on a bill.'>Deferred payment</a><br>";
		e += "</TD>";
		e += "</TR>";	
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciRightsSecDeposits.html' class='subBlue' title='When a utility can require a security deposit.'>Security deposits</a><br>";
		e += "</TD>";
		e += "</TR>";	
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciRightsShutOffs.html' class='subBlue' title='When a utility can shut off service.'>Disconnection of service</a><br>";
		e += "</TD>";
		e += "</TR>";

		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciRightsIccComplaint.html' class='subBlue' title='How to file a complaint with the Illinois Commerce Commission.'>File a complaint with the ICC</a><br>";
		e += "</TD>";
		e += "</TR>";	
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='ciRightsContactUtility.html' class='subBlue' title='A list of websites and ways to contact utilities serving consumers in Illinois.'>Contact utility</a><br>";
		e += "</TD>";
		e += "</TR>";	
		return e;
}
*/



function legislationRow(){
		var e = "";
		/*
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Submenu Item One</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu one</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Another under one</a><br>";
		e += "</TD>";
		e += "</TR>";
		

		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu two</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		// leave one row blank for spacing
		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";*/
		
		return e;
}// end telcomRow





function espanolRow(){
		var e = "";
		/* currently there is nothing needed in the submenu 10/02/2003 dm
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Submenu Item One</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Submenu Item Two</a><br>";
		e += "</TD>";
		e += "</TR>";		
		
		
		// leave one row blank for spacing
		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";
		*/
		
		return e;
}// end waterRow

function helpfulRow(){
		var e = "";
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/helpConAdv.html' class='subBlue' title='Consumer Advocacy'>Consumer Advocacy</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/helpDirAsst.html' class='subBlue' title='Directory Assistance'>Directory Assistance</a><br>";
		e += "</TD>";
		e += "</TR>";		
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/helpElec.html' class='subBlue' title='Electric'>Electric</a><br>";
		e += "</TD>";
		e += "</TR>";	

		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/helpEnviron.html' class='subBlue' title='Environmental'>Environmental</a><br>";
		e += "</TD>";
		e += "</TR>";	
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/helpGov.html' class='subBlue' title='Government'>Government</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/helpGas.html' class='subBlue' title='Natural Gas'>Natural Gas</a><br>";
		e += "</TD>";
		e += "</TR>";	
		/*
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='helpILUtilities.html' class='subBlue' title='Illinois Utilities'>Illinois Utilities</a><br>";
		e += "</TD>";
		e += "</TR>";				
		*/
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/helpTelecom.html' class='subBlue' title='Telecommunications'>Telecommunications</a><br>";
		e += "</TD>";
		e += "</TR>";				
		
		
		// leave one row blank for spacing
		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";
		
		return e;
}// end helpfulRow



function aboutTable(a){
		var e = "";
		e +="<TABLE class='locnav'>";
		e += "<TR>";
		e += "<TD class='lgLocNav1'>";
		e += "More About Cub...<br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/about.html' class='green' title='Read a brief description of what CUB does.'></a><a href='mission.html' class='green' title='&quot;To ensure eeedctive and democratic representation of utility consumers.&quot;  Read more about how the Illinois General Assembly created CUB in 1983.'>Mission</a>";
		e += "</TD>";
		e += "</TR>";	
		
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/pdfs/CUB_ACT.pdf' target='_blank' class='green' title='Read Act 220 ILCS 10, which the Illinois General Assembly passed in 1983 to establish CUB.'>CUB Act</a>";
		e += "</TD>";
		e += "</TR>";
		
		
		/**************************
		Use this for drop down menu
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<form id='form' name='form'><select name='site' size='1' class='locnavlist2' OnChange=\"location.href=form.site.options[selectedIndex].value\">";
		e += "<option selected>Select &lt;&lt;TEST&gt;&gt;";
		e += "<option value='index.html'>ComEd rate cut</option>";
		e += "<option value='phonebillclinic.pdf'>Making sense of your bill </option>";
		e += "<option value='abtAccomp.html'>Reading your meter </option>";
		e += "<option value='index.html'>Tree-trimming in Illinois</option>";
		e += "<optgroup label='Energy-saving tips'>";
		e += "<option value='index.html'>Summer</option>";
		e += "<option value='index.html'>Winter</option>";
		e += "<option value='index.html'>At home </option>";
		e += "</optgroup>"	
		e += "<optgroup label='Electric Deregulation'>"; 
		e += "<option value=''>Understanding </option>";
		e += "<option value=''>Summary</option>";
		e += "<option value=''>Full text</option>";
		e += "</optgroup>";	
	    e += "</select></form>";		
		e += "</TD>";
		e += "</TR>";			
		******************************/
		
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/funding.html' class='green' title='Learn how CUB is funded.'>Funding</a>";
		e += "</TD>";
		e += "</TR>";			
		
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/abtStaff.html' class='green' title='Read about CUB&#39;s staff and board or directors. Includes biographies and contact information.'>Staff</a>";
		e += "</TD>";
		e += "</TR>";

		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/abtBoard.html' class='green' title='Read about CUB&#39;s staff and board or directors. Includes biographies and contact information.'>Board of Directors</a>";
		e += "</TD>";
		e += "</TR>";		
		
		
		
		// Use this for drop down menu
		/*
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<form id='form' name='form'><select name='site' size='1' class='locnavlist2' OnChange=\"location.href=form.site.options[selectedIndex].value\">";

		e += "<option value=''>Staff biographies</option>";	
		e += "<option value='abtStaffCohenMR.html'>Martin R. Cohen</option>";
		e += "<option value='abtStaffClarkPat.html'>Pat Clark</option>";
		e += "<option value='abtStaffGlynnJS.html'>J. Seamus Glynn</option>";
		e += "<option value='abtStaffBradfordScarverJ.html'>Jacqueline Bradford-Scarver</option>";		
		e += "<option value='abtStaffKelterR.html'>Robert Kelter</option>";	
		e += "<option value='abtStaffMarcelinS.html'>Sandra Marcelin</option>";	
		e += "<option value='abtStaffBontragerJ.html'>Jennifer Bontrager</option>";	
		e += "<option value='abtStaffChilsenJ.html'>Jim Chilsen</option>";	
		e += "<option value='abtStaffCurrieC.html'>Cyrius Currie</option>";	
		e += "<option value='abtStaffGallagherJJ.html'>Jennifer Gallagher</option>";	
		e += "<option value='abtStaffGlassC.html'>Clara Glass</option>";	
		e += "<option value='abtStaffKolataD.html'>David Kolata</option>";	
		e += "<option value='abtStaffLucasJ.html'>Julie Lucas</option>";	
		e += "<option value='abtStaffMroczkowskiD.html'>David A. Mroczkowski</option>";	
		e += "<option value='abtStaffNavaM.html'>Martin Nava</option>";	
		e += "<option value='abtStaffSchmitK.html'>Katie Schmit</option>";	
	    e += "</select></form>";		
		e += "</TD>";
		e += "</TR>";	
		*/		
			

		// Use this for drop down menu
		/*
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<form id='form' name='form'><select name='site' size='1' class='locnavlist2' OnChange=\"location.href=form.site.options[selectedIndex].value\">";

		e += "<option value=''>Board-of-directors biographies</option>";	
		
		e += "<option value='abtBoardMcNeal.html'>Derek McNeal</option>";
		e += "<option value='abtBoardGary.html'>Thomas S. Gary</option>";
		e += "<option value='abtBoardRosen.html'>Frank Rosen</option>";
		e += "<option value='abtBoardCharlier.html'>Jac Charlier</option>";
		e += "<option value='abtBoardDunung.html'>Vaiju Dunung</option>";
		e += "<option value='abtBoardNeff.html'>Robert Craig Neff</option>";
		e += "<option value='abtBoardRau.html'>Judith Rau</option>";
		e += "<option value='abtBoardDombrowski.html'>John Dombrowski</option>";
		e += "<option value='abtBoardWold.html'>John Wold</option>";
		e += "<option value='abtBoardMarkel.html'>Bill Markel</option>";
		e += "<option value='abtBoardDeCastris.html'>Valeri DeCastris</option>";
		e += "<option value='abtBoardMeyers.html'>Lew Meyers</option>";
		e += "<option value='abtBoardFritz.html'>William &quot;Randy&quot; Fritz</option>";
	    e += "</select></form>";		
		e += "</TD>";
		e += "</TR>";
	

		// blank row for spacing
		e += "<TR>";
		e += "<TD class='lgLocNavSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>"
		*/
		
		
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/abtCareer.html' class='green'>Career opportunities</a>";
		e += "</TD>";
		e += "</TR>";
		
		
		// ENTER CAREER OPPORTUNITIES
		//if(a == "career"){
			
		//e += "<TR>";
		//e += "<TD class='lgLocNav2'>";
		//e += "&nbsp;<a href='#op' class='green' title=''>Other positions</a>";
		//e += "</TD>";
		//e += "</TR>";			
		//}						
		
		// leave one row blank for spacing
		e += "<TR>";
		e += "<TD class='lgLocNavSpaceBottom'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";

		e += "</TABLE>";
		
		return e;
}// end aboutTable





function newsTable(section, edition){
		var e = "";
		var t = new Date();
		var y = t.getFullYear();
		e +="<TABLE class='locnav'>";
		
		e += "<TR>";
		e += "<TD class='lgLocNav1'>";
		e += "News room<br>";
		e += "</TD>";
		e += "</TR>";
		/*
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		
		e += "<a href='newsReleases20060424_MediaAdvisory.html' class='green' title='The Citizens Utility Board (CUB) will hold a news conference Monday, April 24, at 10:30 a.m., in the CUB office, 208 S. LaSalle St., Suite 1760, Chicago. CUB will be joined by officials from the city of Chicago to issue a consumer alert for Chicago-area natural gas customers who are being targeted by an unscrupulous gas supplier.' ><span style='color:#CC3333;font-weight:bold;'><i>Media Advisory</i></span></a><br>";
		
		e += "</TD>";
		e += "</TR>";
		*/
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		
		e += "<a href='http://www.citizensutilityboard.org/newsReleases" + y + ".html' class='green' title='News releases from CUB.'>News releases</a><br>";
		
		e += "</TD>";
		e += "</TR>";
		
		if (section == "rel") {
			e += getNewsReleaseInfo();
		}
		
		
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/newsCITN.php' class='green'>CUB in the news</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		// this puts up Cub In The News Years
		/*
		if (section == "CITN") {
			e += getCITN();
		}			
		*/
		
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href='http://www.citizensutilityboard.org/newsCUBVoice.html' class='green'><i>The CUB Voice</i></a><br>";
		e += "</TD>";
		e += "</TR>";

		/*
		if (section == "CV") {
			e += getCV(edition);
		}		
		*/
		// leave one row blank for spacing

		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href=http://www.citizensutilityboard.org/dkColumns.html class=green title='CUB Executive David Kolata is a featured columnist for the Daily Southtown'><i>Consumer Talk</i></a><br>";
		e += "</TD>";
		e += "</TR>";
	
	
		e += "<TR>";
		e += "<TD class='lgLocNav2'>";
		e += "<a href=http://www.citizensutilityboard.org/clinicRockford2006.html class=green title='True stories of consumers overcoming obstacles \ncreated by utilities.'>Consumer Corner</a><br>";
		e += "</TD>";
		e += "</TR>";

		e += "<TR>";
		e += "<TD class='lgLocNavSpaceBottom'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "</TABLE>";

		return e;
}// end voiceTable

function showArrow(n) {
		document.all("arw"+n).innerText = ">";
}

function hideArrow(n) {
		document.all("arw"+n).innerText = "  ";
}

function chngText(chng){
	
	switch (chng){
			/***************************************
			Step #A2
			ENTER Accomplishment for Microsoft IE 
			***************************************/
			case "z":
				document.all("chngText1").innerText = arAcmpTitle[-1] + "\n\n";
				document.all("chngText2").innerText = "";
				document.all("chngText").innerText = arAcmpBodyCase[-1] + "\n\n" + arAcmpBodyBenefit[-1] + "\n\n";
				break;
				
			case "a26":
				document.all("chngText1").innerText = arAcmpTitle[26] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[26] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[26] + "\n\n" + arAcmpBodyBenefit[26] + "\n\n";
				break


			case "a25":
				document.all("chngText1").innerText = arAcmpTitle[25] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[25] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[25] + "\n\n" + arAcmpBodyBenefit[25] + "\n\n";
				break

				
			case "a24":
				document.all("chngText1").innerText = arAcmpTitle[24] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[24] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[24] + "\n\n" + arAcmpBodyBenefit[24] + "\n\n";
				break;				
				
			case "a23":
				document.all("chngText1").innerText = arAcmpTitle[23] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[23] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[23] + "\n\n" + arAcmpBodyBenefit[23] + "\n\n";
				break;				
				
			case "a22":
				document.all("chngText1").innerText = arAcmpTitle[22] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[22] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[22] + "\n\n" + arAcmpBodyBenefit[22] + "\n\n";
				break;				
				
			case "a21":
				document.all("chngText1").innerText = arAcmpTitle[21] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[21] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[21] + "\n\n" + arAcmpBodyBenefit[21] + "\n\n";
				break;				

			case "a20":
				document.all("chngText1").innerText = arAcmpTitle[20] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[20] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[20] + "\n\n" + arAcmpBodyBenefit[20] + "\n\n";
				break;

				
			case "a19":
				document.all("chngText1").innerText = arAcmpTitle[19] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[19] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[19] + "\n\n" + arAcmpBodyBenefit[19] + "\n\n";
				break;
			
			case "a18":
				document.all("chngText1").innerText = arAcmpTitle[18] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[18] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[18] + "\n\n" + arAcmpBodyBenefit[18] + "\n\n";
				break;
			case "a17" :
				document.all("chngText1").innerText = arAcmpTitle[17] + "\n\n";
				document.all("chngText2").innerText = arAcmpDate[17] + "\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[17] + "\n\n" + arAcmpBodyBenefit[17] + "\n\n";
				break;
			case "a16" :
				document.all("chngText1").innerText = arAcmpTitle[16]+ "\n\n";
				document.all("chngText2").innerText = arAcmpDate[16]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[16]+"\n\n" + arAcmpBodyBenefit[16] +"\n\n";
				break;			
			case "a15" :
				document.all("chngText1").innerText = arAcmpTitle[15]+ "\n\n";
				document.all("chngText2").innerText = arAcmpDate[15]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[15] + "\n\n" +  arAcmpBodyBenefit[15] + "\n\n";
				break;		
			case "a14" :
				document.all("chngText1").innerText = arAcmpTitle[14]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[14]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[14]+ "\n\n"+ arAcmpBodyBenefit[14]+ "\n\n";
				break;	
			case "a13" :
				document.all("chngText1").innerText = arAcmpTitle[13]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[13]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[13]+"\n\n"+arAcmpBodyBenefit[13]+"\n\n";
				break;	
			case "a12" :
				document.all("chngText1").innerText = arAcmpTitle[12]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[12]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[12]+"\n\n"+arAcmpBodyBenefit[12]+"\n\n";
				break;				
			case "a11" :
				document.all("chngText1").innerText = arAcmpTitle[11]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[11]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[11]+"\n\n"+ arAcmpBodyBenefit[11]+"\n\n";
				break;	
			case "a10" :
				document.all("chngText1").innerText = arAcmpTitle[10]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[10]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[10] + "\n\n" + arAcmpBodyBenefit[10] + "\n\n";
				break;	
			case "a9" :
				document.all("chngText1").innerText = arAcmpTitle[9]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[9]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[9]+"\n\n"+arAcmpBodyBenefit[9]+"\n\n";
				break;		
			case "a8" :
				document.all("chngText1").innerText = arAcmpTitle[8]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[8]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[8]+"\n\n"+arAcmpBodyBenefit[8]+"\n\n";
				break;		
			case "a7" :
				document.all("chngText1").innerText = arAcmpTitle[7]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[7]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[7]+ "\n\n"+ arAcmpBodyBenefit[7]+ "\n\n";
				break;							
			case "a6" :
				document.all("chngText1").innerText = arAcmpTitle[6]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[6]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[6]+"\n\n" +arAcmpBodyBenefit[6]+ "\n\n";
				break;			
			case "a5" :
				document.all("chngText1").innerText = arAcmpTitle[5]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[5]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[5]+"\n\n"+ arAcmpBodyBenefit[5]+ "\n\n";
				break;		
			case "a4" :
				document.all("chngText1").innerText = arAcmpTitle[4]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[4]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[4]+"\n\n"+ arAcmpBodyBenefit[4]+ "\n\n";
				break;		
			case "a3" :
				document.all("chngText1").innerText = arAcmpTitle[3]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[3]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[3]+"\n\n"+ arAcmpBodyBenefit[3]+ "\n\n";
				break;
			case "a2" :
				document.all("chngText1").innerText = arAcmpTitle[2]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[2]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[2]+"\n\n"+ arAcmpBodyBenefit[2]+ "\n\n";
				break;
			case "a1" :
				document.all("chngText1").innerText = arAcmpTitle[1]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[1]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[1]+"\n\n"+ arAcmpBodyBenefit[1]+ "\n\n";
				break;
			case "a0" :
				document.all("chngText1").innerText = arAcmpTitle[0]+"\n\n";
				document.all("chngText2").innerText = arAcmpDate[0]+"\n\n";
				document.all("chngText").innerText = arAcmpBodyCase[0]+"\n\n"+ arAcmpBodyBenefit[0]+ "\n\n";
				break;																
			default:
		}// end switch case
	
	}


function getAccomp(bw, full) {
	var content = "";
	if (bw == 'Netscape' || full == 'fullpage') {
		//content += "<table width=408 border=0 cellpadding=0 cellspacing=0>";
		//content += "<tr><td width=80 valign=top>";
		content += "<table width=56 border=0 cellpadding=4 cellspacing=0 align=right>";
		content += "<tr>";
		content += "<td width=56 bgcolor=#eeeedd valign=top>";
		content += "<span style=color:#666666;font-size:.9em;><b>Select year...</b></span><br><br>";
		content += "<div style=margin-left:16px;>";

		// for loop designed to return list in reverse order, most recent to earliest
		// this way additional accomplishments can be added on as needed
		ckDate = "";
		for (i=arAcmpDate.length-1 ; i >= 0 ; i-- )
		{
			if(ckDate != arAcmpDate[i]){
			 content += "<span class=foot><a href=#" + i + " class=green><b>"+arAcmpDate[i]+"</b></a><br></span>";
			 ckDate = arAcmpDate[i];
			}
		}

		content += "</div><br></td>";
		content += "</tr>";
		content += "<tr height=1px bgcolor=cc9933><td></td></tr>";
		content += "</table>";
		
		//content += "</td>";
		//content += "<td width=308 valign=top rowspan=2>";
		//content += "<table width=308 cellpadding=4 cellspacing=0>";

		// for loop designed to return list in reverse order, most recent to earliest
		// this way additional accomplishments can be added on as needed
		for (i=arAcmpDate.length-1 ; i >= 0 ; i-- )
		{
			//content += "<tr>";
			//content += "<td valign=top>";
			content += "<div class=subhead><span class=boldred><a name='"+ i +"'>" + arAcmpTitle[i] + "</a><br><br></span></div><!-- HEADLINE -->";
			content += "<span>" + arAcmpDate[i] + "<br><br></span><!-- DATE -->";
			content += "<span ID=chngText name=chngText>" + arAcmpBodyCase[i] + "<br><br>" + arAcmpBodyBenefit[i] + "</span>";
			content += toTop();
			//content += "</td>";
			//content += "</tr>";
		}		

		//content += "</table>";
		//content += "</td>";
		//content += "</tr>";
		//content += "<tr>";
		//content += "<td></td>";
		//content += "</tr>";
		//content += "</table>";
	
	}else if(bw == 'Microsoft Internet Explorer'){
		content += "<table width=408 border=0 cellpadding=0 cellspacing=0>";
		content += "<tr><td width=148 valign=top>";
			
		content += "<table width=148 cellpadding=0 cellspacing=0 border=0 valign='top'>";
		
		content += "<tr>";
		content += "<td width=8><br><span class=foot><span id=arwZ class='brown'>&nbsp;</span></td>";
		content += "<td width=140><span class=foot><br><a href=#top onmouseover=chngText('z');showArrow('Z') onmouseout=hideArrow('Z') class=greenarw>"+arAcmpDate[-1]+"</a><br></span></td>";		
		content += "</tr>";	
		
		// for loop designed to return list in reverse order, most recent to earliest
		// this way additional accomplishments can be added on as needed
		for (i=arAcmpDate.length-1 ; i >= 0 ; i-- )
		{
			content += "<tr>";
			content += "<td width=8><span class=foot><span id=arw"+i+" class='brown'>&nbsp;</span></td>";
			content += "<td width=140><span class=foot><a href=#top onmouseover=chngText('a"+i+"');showArrow('"+i+"') onmouseout=hideArrow('"+i+"') class=greenarw>"+arAcmpDate[i]+"</a><br></span></td>";		
			content += "</tr>";	
		}
		
		content += "</table>";
		
		content += "</td>";
		
		content += "<td width=260 valign=top rowspan=2>";
		
		content += "<table width=240 cellpadding=4 cellspacing=0>";
		content += "<tr>";
		content += "<td valign=top>";
		content += "<span ID=chngText1 name=chngText1 class=boldred>How to use timeline<br><br></span><!-- HEADLINE -->";
		content += "<span ID=chngText2 name=chngText2></span><!-- DATE -->";
		content += "<span ID=chngText name=chngText>To read a short description about an accomplishment, use the timeline to the left. Move your mouse and roll your cursor over the dates. <br><br></span>";
		content += "</td>";
		content += "</tr>";
		content += "</table>";
		
		content += "</td>";
		
		content += "</tr>";
		content += "<tr>";
		content += "<td></td>";
		content += "</tr>";
		content += "</table>";
					
	} 	
	return content;
}// end getAccomp();

function valEmail(form){
	var valid = true;
	var email = form.email.value;
	if (email != ""){
		var t = 0;
		var at = 0;
		var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		if (!filter.test(email)){
			for (i=0; i < email.length ; i++){
				if (email.charAt(i) == "@"){t += 1};
				if (email.charAt(i) == "."){t += 2};				
			}// end for loop
		} else {
			t = 3;
		}
		switch (t){
			case 0:
				msg = "Please remember to include the following: ";
				msg += "\n\n- The at \"@\" sign.";
				msg += "\n- The dot \".\" before the top domain name.";
				alert(msg);
				valid = false;
				break;
			case 1:
				msg = "Please remember to include the following: ";
				msg += "\n- The dot \".\" before the top domain name.";
				alert(msg);
				valid = false;
				break;
			case 2:
				msg = "Please remember to include the following: ";
				msg += "\n- The at \"@\" sign.";
				alert(msg);
				valid = false;
				break;
			case 3:
				alert(msg);
				break;
		}// end switch		
	} // end if
	return valid;	
} // end valEmail




// validate fields from quiz form
function valQuiz(form){
	var bol = true;
	var msg = "";
	var now = new Date();
	var y = now.getFullYear();
	var m = now.getMonth();
	var d = now.getDay();
	if (form.name.value == ""){
		msg = "Please enter your name. To win, we have to know who you are.";
		form.name.focus();
		bol = false;
	} else if (form.email.value == "") {
		msg = "Please enter your email address, so a CUB representative may contact you.";
		form.email.focus();
		bol = false;
	} else if (form.street1.value == "") {
		msg = "Please enter a street address, so a CUB representative may contact you.";
		form.street1.focus();
		bol = false;		
	} else if (form.phoneHome.value == "" & form.phoneWork.value == "") {
		msg = "Please enter the phone number that appears on you bill.";
		if (form.phoneHome.value == "") {
			form.phoneHome.focus();
		} 
		bol = false;
	} else if (form.city.value == "") {
		msg = "Please enter the city.";
		form.city.focus();
		bol = false;	
	} else if (form.zip.value == "") {
		msg = "Please enter at zip code.";
		form.zip.focus();
		bol = false;	
	} else if (form.zip.value != ""){
		var zip = new String(""+ form.zip.value);
		var testzip = 0;
			if (zip.length == 5 || zip.length == 10){
				
				for (i=0; i < 5 ; i++){
					for (j=0; j < ckNum.length ; j++){
						if (zip.charAt(i)==ckNum.charAt(j)){
							testzip++;
						}// end if 
					} // end j loop
				}// end i loop
			}
			if (testzip != zip.length){
				msg = "Please check the zip code you entered.\nIt must be either 5-digits or a Zip Plus 4.\nThe zip code field accepts numbers and one dash only.";
				bol = false;
				form.zip.focus();
			} 
	} else if (form.question1.value.length <= 0 ) {
		msg = "You must answer all five questions to be entered into CUB's Phone-bill Challange!. \n\nPlease answer Question 1.";
		form.question1.focus();
		bol = false;
	} else if (form.question2.value.length <= 0 ) {
		msg = "You must answer all five questions to be entered into CUB's Phone-bill Challange!. \n\nPlease answer Question 2.";
		form.question2.focus();
		bol = false;
	} else if (form.question3.value.length <= 0 ) {
		msg = "You must answer all five questions to be entered into CUB's Phone-bill Challange!. \n\nPlease answer Question 3.";
		form.question3.focus();
		bol = false;
	} else if (form.question4.value.length <= 0 ) {
		msg = "You must answer all five questions to be entered into CUB's Phone-bill Challange!. \n\nPlease answer Question 4.";
		form.question4.focus();
		bol = false;
	} else if (form.question5.value.length <= 0 ) {
		msg = "You must answer all five questions to be entered into CUB's Phone-bill Challange!. \n\nPlease answer Question 5.";
		form.question5.focus();
		bol = false;								
							
	}  else if (form.email.value.length > 0) {
		var ea = form.email.value;
		var check = 0;
		for(i = 0 ; i < eA.length; i++){
			if (emailAdd.charAt(i) == "@"){
				check++;
			}else if (eA.charAt(i)== "."){
				check++;
			}// if
			
			if(check < 2 ){
				bol = false;
				break;
			}// end if	
		}// end for loop	
		if(ea.length < 10){
			bol = false;
		}
	}else {
		// msg = form.name.value + ", thank you for completing the complaint/inquiry form.\nA CUB representative will will contact you about your complaint/inquiry\nwithin 7-10 business days.";
		msg = "Thank you for completing the complaint/inquiry form.  A CUB representative will contact customers on a &#147;first-come, first serve&#148; basis after the Holidays.";
	}
	alert(msg);
	return bol;
} // end valQuiz()


// validate fields from complaint form
function valComplaint(form){
	var bol = true;
	var msg = "";
	var now = new Date();
	var y = now.getFullYear();
	var m = now.getMonth();
	var d = now.getDay();
	if (form.name.value == ""){
		msg = "Please enter your name.";
		form.name.focus();
		bol = false;
	} else if (form.email.value == "") {
		msg = "Please enter your email address, so a CUB representative may contact you.";
		form.email.focus();
		bol = false;
	} else if (form.phoneHome.value == "" & form.phoneWork.value == "") {
		msg = "Please enter a phone number, so a CUB representative may contact you.";
		if (form.phoneHome.value == "") {
			form.phoneHome.focus();
		} 
		bol = false;
	} else {
		msg = form.name.value + ", thank you for completing the complaint/inquiry form.\nA CUB representative will will contact you about your complaint/inquiry\nwithin 7-10 business days.";
/*
		if (y == "2003" & m == "11" & (d  > 16)){	
				msg = form.name.value + ", thank you for completing the complaint/inquiry form.";
				msg += "\n\nBetween December 24 and January 5, consumer rights counselors will not be available to respond to complaints or inquiries. Responses to <b>email</b> requests sent after December 17 will be handled after the office reopens in the New Year (beginning January 5) and in the order in which CUB receives them. \n\nUntil December 24, you may call (800) 669-5556 to speak with a consumer rights counselor.\n\nIf you have an emergency while the CUB office is closed, call the Illinois Commerce Commission (ICC) at 1-800-524-0795.\n ";
		}		
*/
		   
		if (y == "2004" & m == "0" & (d < 21)){	
				msg = form.name.value + ", thank you for completing the complaint/inquiry form.";
				msg += "\n\nWe ask for your patience.\n\nThe CUB office was closed between December 24 and January 5 and received a large volume of e-mail complaints and inquiries. For efficiency, consumer counselors will be addressing complaints in the order in which they were received. \n\nDue to this back log, responses to inquiries and complaints sent today may take longer than the usual time frame of one week . \n\nIf you are having an emergency, please call (800) 669-5556 between the hours of 9:00 am and 5:00 pm.\n ";
		}	
	}
	alert(msg);
	return bol;
} // end valComplaint()





	
	
// validate fields from inquiry form
function valInquiry(form){
	var bol = true;
	var msg = "";
	var now = new Date();
	var y = now.getFullYear();
	var m = now.getMonth();
	var d = now.getDay();
	if (form.inquiry.value == ""){
		msg = "Please select a contact.";
		form.inqiry.focus();
		bol = false;
	} else if (form.name.value == ""){
		msg = "Please enter your name.";
		form.name.focus();
		bol = false;
	} else if (form.email.value == "") {
		msg = "Please enter your email address, so a CUB representative may contact you.";
		form.email.focus();
		bol = false;
	} else if (form.phoneHome.value == "") {
		msg = "Please enter a phone number, so a CUB representative may contact you.";
		if (form.phoneHome.value == "") {
			form.phoneHome.focus();
		} 
		bol = false;
	} else {
		msg = form.name.value + ", thank you for completing the inquiry form.\nA CUB representative will will contact you about your inquiry shortly.";
	
	}
	bol = valEmail(form);
	alert(msg);
	return bol;
} // end 





// validate fields on contribution form
function valContribute(form){
	var ck1 = "$1234567890.";
	var ck2 = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz,.' ";
	var ckNum = "0123456789";
	var oa = form.OtherAmount.value;
	var amt;
		for (var i=0; i < form.amt.length; i++)	{
			if (form.amt[i].checked){
				amt = form.amt[i].value;
			}// end if 
		}// end for
	var name = form.name.value;
	var email = form.email.value;
	var zip = form.zip.value;
	var cn = form.cardNum.value;
	var ph = form.phoneHome.value;
	var pw = form.phoneWork.value;
	var street = form.street1.value;
	var city = form.city.value;
	
	var bol = true;
	// filter is a regular expression that evaluates email addresses...
	var filter  = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
	var test1 = 0;
	var test2 = 0;
	var f = ""; // f represents the string that will get evaluated in focus switch
	
	// oaMsg is the message for the Other amount validation
	var msg = "";
	var msgNum = 0;
	var cardVal = 0;

	
	if (amt == "Other"){
		if(oa != ""){
			if (oa.length > 8) {
				msgNum++;
				msg += msgNum + ". Contribution*\nCUB is permitted to accept a maximum-annual contribution of $1000. \n\nEnter the amount of your contribution in the other amount field. It accepts:\n  - numbers (0-9),\n  - the dollar sign ($) and\n  - a decimal point (.)\n\nYou have entered " + oa + " in the other amount field. Please make the \nappropriate change to continue.\n\n";
				f += "a";
				bol = false;
	
			} else if (oa.length <= 8) {
				for (i=0; i < oa.length; i++){
					for (j=0 ; j < ck1.length; j++) {
						if (oa.charAt(i) == ck1.charAt(j)) {
							test1++;
						}// if
					}// for
				}// for 	
				if (test1 != oa.length){
					msgNum++;
					msg += msgNum + ". Contribution*\nCUB is permitted to accept a maximum-annual contribution of $1000. \n\nEnter the amount of your contribution in the other amount field. It accepts:\n  - numbers (0-9),\n  - the dollar sign ($) and\n  - a decimal point (.)\n\nYou have entered " + oa + " in the other amount field. Please make the \nappropriate change to continue.\n\n";
					f += "a";
					bol = false;

				} else if (test1 == oa.length){
					var oaAmount;
					if (oa.charAt(0) == '$') {
						oaAmount = oa.substring(1, oa.length);
					} else {
						oaAmount = oa;
					}// end if that tests if dollar sign was included
					
					if (oaAmount > 1000){
						msgNum++;
						msg += msgNum + ". Contribution*\nYou have entered " + oa + " in the other amount field.\nEnter an amount from $1 to $1000.\n\n";
						f += "a";
						bol = false;

					} else if (oaAmount <= 0) {
						msgNum++;
						msg += msgNum + ". Contribution*\nYou have entered " + oa + " in the other amount field.\nEnter an amount from $1 to $1000.\n\n";
						f += "a";
						bol = false;

					}// end if that evaluates 
				}
			}
		} else {
			msgNum++;
			msg += msgNum + ". Contribution*\nPlease enter a contribution.\n\n" + "CUB is permitted to accept a maximum-annual contribution of $1000.\n\nPlease select one of the four amounts listed ($10, $15, $20, $25), \nrequest a form to be mailed you by the U.S. Postal Service \nor have copy emailed to you.\n\nThe other amount field accepts\n - numbers (0-9),\n - the dollar sign ($) and\n - a decimal point (.)\n\nYou have entered nothing in the other amount field. Please make the \nappropriate change to continue.\n\n";
			f += "a";
			bol = false;
		}// end if (oa!="") this verifies Other Amount field.
	} // end if 
	
	if (name == "") {
		msgNum++;
		msg += msgNum + ". Member's name*\nPlease enter your name or the name of the member \nfor whom you are making a contribution.\n\n";
		f += "b";
		bol = false;
	} else {
		var n = name.replace(" ", ""); // must remove spaces from name to get accurate length count.
		for (i=0; i < n.length; i++){
			for (j=0 ; j < ck2.length; j++) {
				if (n.charAt(i) == ck2.charAt(j)) {
					test2++;
				}// if
			}// for
		}// for 
		if (test2 != n.length){
			msgNum++;
			msg += msgNum + ". Member's name*\nThe member's name field accepts:\n  - alpha characters lowercase (a-z) and uppercase (A-Z)\n  - comma (,)\n  - period (.) and \n  - apostrophe (')\n\nUse roman numerals for suffixes with numbers (e.g., III).\nPlease make the appropriate changes to contintue.\n\n";
			f += "b";
			bol = false;
		}
	}// end if
	
	// test email a required field.
	if (email == ""){
		msgNum++;
		msg += msgNum + ". email*\nPlease enter your email address (e.g., your.name@sub_domain.top). \n\n";
		f += "c";
		bol = false;
	} else if (email != ""){
		var t = 0;
		var p = 0;
		var at = 0;
		if (!filter.test(email)){
			for (i=0; i < email.length ; i++){
				if (email.charAt(i) == "@"){t = 1};
				if (email.charAt(i) == "."){p = 1};				
			}// end for loop
			if (email.charAt(0) == "@"){
				at = 1;
			}
			if (t == 0){
				msgNum++;
				msg += msgNum + ". Email*\nPlease check your email address.\n(e.g., your.name@sub_domain.top)\nYou have left out the @ sign. \nPlease make this change and other corrections before continuing. \n\n";
				f += "c";
				bol = false; 
			} else if (at == 1) {	
				msgNum++;
				msg += msgNum + ". Email*\nPlease check your email address.\n(e.g., your.name@sub_domain.top)\nAdd your email name before the @ sign.\nPlease make this change and other corrections before continuing. \n\n";
				f += "c";	
				bol = false;
			} else if (p == 0){	
				msgNum++;
				msg += msgNum + ". Email*\nPlease check your email address.\n(e.g., your.name@sub_domain.top)\nAdd the 'top' level domain name (e.g., '.com') at the end of your address.\nPlease make this change and other corrections before continuing.  \n\n";
				f += "c";
				bol = false;
			} else {
				msgNum++;
				msg += msgNum + ". Email*\nPlease check your email address.\n\nThe email field accepts the following (your.name@sub_domain.top):\n  - The 'your.name' portion can have\n     lowercase or uppercase letters A-Z\n     numbers from 0-9\n     underscores ( _ )\n     periods (.)\n     dashes (-)\n  - Then the at symbol (@)\n  - The sub_domain can have\n     lowercase or uppercase A-Z\n     numbers from 0-9\n     underscores ( _ )\n     periods (.)\n     dashes (-)\n  - Then a dot (.)\n  - The 'top' domain can have 2 to 4\n     lowercase or uppercase letters A-Z\n     numbers from 0-9\n\n";
				f += "c";
				bol = false;
			}// end if
		}// end if  
	}// end if amt == other
 
	// if the member is contributing online then verify the credit card information
	// otherwise check for mailing information, if amt=mail
	if (amt == "10" || amt == "15" || amt == "20" || amt == "25" || amt == "Other"){
		var a;
		if (amt == "Other"){
			if (oa == ""){
				a = "other amount";
			} else {
				a = oa + " dollars";
			}
		} else {
			a = "$" + amt;
		}
		if (cn == ""){
			msgNum++;
			msg += msgNum + ". Card number\nPlease verify your 16-digit credit card number.\n(e.g., 4200-####-####-####) \n\n";
			f += "h";
			cardVal++;
			bol = false;
		} else if (cn.length == 16){
			var test16 = 0;
			for (i=0; i < cn.length ; i++){
				for (j=0; j<ckNum.length; j++){
					if (cn.charAt(i)== ckNum.charAt(j)){
						test16++;
					}// end if
				} // end j for			
			} // end i for
			if (cn.length != test16){
				msgNum++;
				msg += msgNum + ". Card number\nPlease verify your 16-digit credit card number.\n(e.g., 4200-####-####-####) \n\n";
				f += "h";
				cardVal++;
				bol = false;
			}
		} else if (cn.length == 19){
			var test19 = 0;
			for (i = 0; i < cn.length; i++){
				if (i == 4 || i == 9 || i == 14){
					if (cn.charAt(i) == "-"){
						test19++;
					}// end cn.charAt if
				}else {
					for(j=0; j < ckNum.length; j++){
						if(cn.charAt(i) == ckNum.charAt(j)){
							test19++;
						}//end cn.charAt if
					}// end j for
				}// end i==4,9,13 if/else
			} // end for i
			if (cn.length != test19){
				msgNum++;
				msg += msgNum + ". Card number\nPlease verify your 16-digit credit card number.\n(e.g., 4200-####-####-####) \n\n";
				f += "h";
				cardVal++;
				bol = false;
			}// end cn.length != test19			
		} else {
			msgNum++;
			msg += msgNum + ". Card number\nPlease verify your 16-digit credit card number.\n(e.g., 4200-####-####-####) \n\n";
			f += "h";
			cardVal++;
			bol = false;			
		}// end cn if
		
		if (form.cardType.value == "0"){
			msgNum++;
			msg += msgNum + ". Card type\nPlease select the type of card you wish to use. \n\n";
			f += "i";
			cardVal++;
			bol = false;
		}

		
		// expDate verification
		var time = new Date();
		var	curM = time.getMonth() + 1;
		var curY = time.getFullYear();
		var m = (form.expMonth.value).replace("0", "");
		var y = form.expYear.value;
		if  (y == curY && m < curM ){
			msgNum++;
			msg += msgNum + ". Expiration date\nPlease verify the month and year you have selected.\nFrom what you entered, the card has expired. \n\n";
			f += "j";
			cardVal++;
			bol = false;
		}
		
		if (cardVal > 0) {
			msg += "Since you have indicated that you want to contribute " + a + " online, \nall credit card information needs to be accurate.*\n\n";
		} // carVal if
		
	} else if (amt == "Mail") {
		var bMail = 0;
		if (form.street1.value == "") {
			msgNum++;
			msg += msgNum + ". Street address\nPlease enter your street address.\n\n";
			f += "d";
			bMail++;
			bol = false;
		} 
		if (form.city.value == ""){
			msgNum++;
			msg += msgNum + ". City\nPlease enter your city. \n\n";
			f += "e";
			bMail++;			
			bol = false;
		} 
		if (form.state.value == "0") {
			msgNum++;
			msg += msgNum + ". State\nPlease select your state. \n\n";
			f += "f";
			bMail++;			
			bol = false;
		} 
		if (zip == ""){
			msgNum++;
			msg += msgNum + ". Zip\nPlease include your 5-digit zip code, or 5-digit zip plus 4.\n(e.g., 60600 or 60000-1234) \n\n";
			f += "g";
			bMail++;			
			bol = false;
		} else if (zip != ""){
			if (zip.length == 5){
				var testzip = 0;
				for (i=0; i < 5 ; i++){
					for (j=0; j < ckNum.length ; j++){
						if (zip.charAt(i)==ckNum.charAt(j)){
							testzip++;
						}// end if 
					} // end j loop
				}// end i loop
				if (testzip != zip.length){
					msgNum++;
					msg += msgNum + ". Zip\nPlease check the zip code you entered.\nIt must be either 5-digits or a Zip Plus 4.\nThe zip code field accepts numbers and one dash only.";
					f += "g";
					bMail++;					
					bol = false;
				}
			} else if (zip.length == 10) {
				var testzip10 = 0;
				for (i=0; i < 5 ; i++){
					for (j=0; j < ckNum.length ; j++){
						if (zip.charAt(i)==ckNum.charAt(j)){
							testzip10++;
						}// end if 
					} // end j loop
				}// end i loop
				if (zip.charAt(5) == "-"){
					testzip10++;
				}// end if 
				for (i=6; i < 10 ; i++){
					for (j=0; j < ckNum.length ; j++){
						if (zip.charAt(i)==ckNum.charAt(j)){
							testzip10++;
						}// end if 
					} // end j loop
				}// end i loop	
				if (testzip10 != zip.length){
					msgNum++;
					msg += msgNum + ". Zip\nPlease check the zip code you entered.\nIt must be either 5-digits or a Zip Plus 4.\nThe zip code field accepts numbers and one dash only.";
					bMail++;					
					f += "g";
					bol = false;
				}										
			} else {
					msgNum++;
					msg += msgNum + ". Zip\nPlease check the zip code you entered.\nIt must be either 5-digits or a Zip Plus 4.\nThe zip code field accepts numbers and one dash only.";
					bMail++;
					f += "g";
					bol = false;
			}// end zip if
		
		} // end field priority if
			if (bMail > 0){
			msg += "Since you have requested a copy of the contribution form\nbe mailed to you, please include your mailing information.* \n\n";
			}
	}// end amt = Mail if
	
	// telephone numbers must have at least 10 digits. 
	// the can include ')', '(', '-', '.' and other characters, but must have 
	// at least 10 digits
	
	if (ph != ""){
		var ph10 = 0;
		for (i=0; i<ph.length; i++){
			for (j=0; j < ckNum.length; j++){
				if (ph.charAt(i) == ckNum.charAt(j)){
					ph10++;
				} // end if
			}// end for j
		}// end for i
		if (ph10 < 10){
			msgNum++;
			msg += msgNum + ".  Phone (home)\nIf you are providing a phone number, please\ninclude the area code and seven digit local number.\n\n";
			f += "k";
			bol = false;
		}// end if
		
	}// end if ph not null 
	
	if (pw != ""){
		var pw10 = 0;
		for (i=0; i<pw.length; i++){
			for (j=0; j < ckNum.length; j++){
				if (pw.charAt(i) == ckNum.charAt(j)){
					pw10++;
				} // end if
			}// end for j
		}// end for i
		if (pw10 < 10){
			msgNum++;
			msg += msgNum + ".  Phone (work)\nIf you are providing a phone number, please\ninclude the area code and seven digit local number.\n\n";
			f += "l";
			bol = false;
		}// end if
		
	}// end if pw not null 	
	
	if(street == ""){
		msgNum++;
		msg += msgNum + ". Please enter your mailing address information.\n\n";
		f += "m";
		bol = false;
	}
	
	if(city == ""){
		msgNum++;
		msg += msgNum + ". Please the city for your address.\n\n";
		f += "n";
		bol = false;
	}	
	
	if(zip == ""){
		msgNum++;
		msg += msgNum + ". Please the zip code for your address.\n\n";
		f += "o";
		bol = false;
	}		
	
	
	if (msg != "") {
		msg += "*Required field.";
		alert(msg);	
		switch (f.charAt(0)){
			case "a":
				form.OtherAmount.focus();
				break;
			case "b":
				form.name.focus();
				break;	
			case "c":
				form.email.focus();
				break;	
			case "d":
				form.street1.focus();
				break;		
			case "e":
				form.city.focus();
				break;	
			case "f":
				form.state.focus();
				break;		
			case "g":
				form.zip.focus();
				break;			
			case "h":
				form.cardNum.focus();
				break;	
			case "i":
				form.cardType.focus();
				break;	
			case "j":
				form.expMonth.focus();
				break;
			case "k":
				form.phoneHome.focus();
				break;	
			case "l":
				form.phoneWork.focus();
				break;	
			case "m":
				form.street1.focus();
				break;	
			case "n":
				form.city.focus();
				break;	
			case "o":
				form.zip.focus();
				break;																																																			
			default:
				form.amt.focus();
		}// end switch 
	} // end if
	
	return bol; // you have to change this.
}// valContribute()







function rtnPostMark() {
	var pm;
	var time = new Date();
	var t21 = new Date(time.getTime() - (1000*60*60*24*21));
	var tooLate = new Date (time.getTime() - (1000*60*60*24*22));
	var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
	var day = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	var mth = month[t21.getMonth()];
	var today = t21.getDate();
	var year = t21.getFullYear();
	
	pm = "<span title='Please note: this feature is dynamic, and the date changes each day.'>" + mth + " " + today + ", " + year + "</span>";
	
	return pm;
}

function rtnTooLate() {
	var pm;
	var time = new Date();
	var t21 = new Date(time.getTime() - (1000*60*60*24*22));
	var tooLate = new Date (time.getTime() - (1000*60*60*24*22));
	var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" );
	var day = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	var mth = month[t21.getMonth()];
	var today = t21.getDate();
	var year = t21.getFullYear();
	
	pm = "<span title='Please note: this feature is dynamic, and the date changes each day.'>" + mth + " " + today + ", " + year + "</span>";
	
	return pm;
}

// these three functions present the amounts of security deposits
function rtnSecDeposit(form){
	var amount = form.amount.value;
	var ck = "0123456789";
	var a, b, c
	var d = 0;
	var msg = "";
	for (i=0; i< amount.length; i++){
		for (j=0; j< ck.length; j++){
			if (amount.charAt(i) == ck.charAt(j)) {
				d++;						
			} // end if	
		} // for loop j
	}// for loop i
	var specCk = form["spec"].checked ? "1" : "0";
	
	if (d > 0){
		if (form.util[0].checked && d == amount.length && specCk == "0" ){
			a = calcGESecD12(amount);
			b = calcGESecD2m(amount);
			msg += "With an annual electric or gas bill of $" + amount + ",\n";
			msg += "your total security deposit should not exceed $" + (a+b) + ".\n";
			msg += "You must pay $" + a + " within the first 12 days,\n";
			msg += "and the balance of $" + b + " within two months.\n";
		} else if (form.util[1].checked && d == amount.length) {
			a = calcWSecD12(amount);
			b = calcWSec30d(amount);
			msg += "With an annual water bill of $" + amount + " \n";
			msg += "your total security deposit should not exceed $" + (a+b) + ".\n";
			msg += "You must pay $" + a + " within the first 12 days,\n";
			msg += "and the balance of $" + b + " within 30 days.\n";
		} else if (form.util[0].checked && d == amount.length && specCk == "1"){
			a = calcSpec12GE(amount);
			b = calcSpecBalGE(amount);
			msg += "If you are asked to pay a security desposit \n";
			msg += "between December 1 and March 31 with \n";
			msg += "an annual gas or electric bill of $" + amount + ",\n";
			msg += "your total security deposit should not exceed $" + (a+b) + ".\n";
			msg += "You must pay $" + a + " within the first 12 days,\n";
			msg += "and the balance of $" + b + " within four months.\n";
		} else {
		msg += "You must select a type of utility and enter a dollar amount, \nnumbers only. Do not include a dollar sign ($) or cents.";
		}// end if 	
	} else {
		msg += "You must select a type of utility and enter a dollar amount, \nnumbers only. Do not include a dollar sign ($) or cents.";
	}// end if 
	alert(msg);
	return true;
}


function calcSpec12GE(amount){
	var a = Math.ceil((amount/6)/5);
	return a;
}

function calcSpecBalGE (amount){
	var a = Math.ceil((amount/6) - calcSpec12GE(amount));
	return a;
}

function calcGESecD12(amount){
	var a = Math.ceil((amount/6)/3);
	return a;
}

function calcGESecD2m (amount){
	var a = Math.ceil((amount/6) - calcGESecD12(amount));
	return a;
}

function calcWSecD12(amount){
	var a = Math.ceil((amount/3)/3);
	return a;
}

function calcWSec30d (amount){
	var a = Math.ceil((amount/3) - calcWSecD12(amount));
	return a;
}


function chngArrow(color){
	if (color == 'orange') { document.top.src = imgArray[1].src; }
	else { document.top.src = imgArray[0].src;}
}

function toTop(a){
	var top;
	dotSlash = new String();
	if(a == "ssl") {dotSlash = "../"};
	top = "<br><br><span class='topBlue'><a href='#top' class='green' title='Return to the top of the page.'><img src='http://www.citizensutilityboard.org/images/arrow.gif' border=0 name='top' id='top'></a></span><br><br><br>";
	// top = "<br><br><a href='#top' class=green onmouseover=chngArrow('orange') onmouseout=chngArrow('grey')><img src='images/arrow.gif' border=0 name='top' id='top'></a><br><br><br>";
	return top;
}

function getWeekDay(){
	
	days = new Array();
	days[0] = "Sunday";
	days[1] = "Monday";
	days[2] = "Tuesday";
	days[3] = "Wednesday";
	days[4] = "Thursday";
	days[5] = "Friday";
	days[6] = "Saturday";
	
	var time = new Date();
	return days[time.getDay()];
	
}

function getNewsReleaseInfo() {
	var nri = "";
	var t = new Date();
	var y = t.getFullYear();
		nri += "<TR>";
		nri += "<TD class='lgLocNav3'>";
		
		for ( i = y ; i > 1999 ; i--) {
			nri += "<a href='http://www.citizensutilityboard.org/newsReleases" + i + ".html' class='green' title='News releases from CUB during "+ i +".'>"+i+"</a><br>";	
		}
		nri += "</TD>";
		nri += "</TR>";					
	if(browser != "Netscape"){
		nri += "<TR>";
		nri += "<TD class='lgLocNavSpace'>";
		nri += "<br>";
		nri += "</TD>";
		nri += "</TR>";	
	}	
	return nri;
}// end getNewsReleaseInfo()


function getCITN() {
	var nri = "";
	var t = new Date();
	var y = t.getFullYear();
		nri += "<TR>";
		nri += "<TD class='lgLocNav3'>";
		nri += "<a href='http://www.citizensutilityboard.org/newsCITN.php' class='green'>By utility</a><br>";		
		for ( i = y ; i > 2000 ; i--) {
		nri += "<a href=http://www.citizensutilityboard.org/newsCITN" + i + ".html' class='green'>" + i + "</a><br>";		
		}
		nri += "</TD>";
		nri += "</TR>";
	if(browser != "Netscape"){
		nri += "<TR>";
		nri += "<TD class='lgLocNavSpace'>";
		nri += "<br>";
		nri += "</TD>";
		nri += "</TR>";	
	}		
	return nri;
}// end getNewsReleaseInfo()

function getCV(edition) {
	var cv = "";
		cv += "<TR>";
		cv += "<TD class='lgLocNav3'>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCUBVoice.html#current' class='green'>Current edition</a><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCUBVoice.html#previous' class='green'>Previous editions</a><br><br>";



		cv += "<div id='spring06a' class='CVGray1' onmouseover=makeVis('spring06'); onmouseout=hideVis('spring06');><a href='http://www.citizensutilityboard.org/newsCUBVoice_06Spring.html' class='green'>Spring 2006</a></div>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='spring06' onmouseover=makeVis('spring06'); onmouseout=hideVis('spring06'); style='position:absolute;z-index:600;left:194;top:159;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='spring06' onmouseover=makeVis('spring06'); onmouseout=hideVis('spring06'); style='position:absolute;z-index:600;left:192;top:0;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Spring 2006</b></span><br><br>";			
		cv += "<span class='foot'>";
		
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_01.html' class='green'><b>Not Another Nickel! State Rate-Freeze Bill<br>State Rate-Freeze Bill Fights Ameren And ComEd Quest For Windfall Profits</b></a><br><br>";
						
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_02.html' class='green'><b>";
cv += "CUB Probe Of Peoples Pays Off For Customers<br>";
cv += "Historic $100 Credits Handed Out</b></a><br><br>";									
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_03.html' class='green'><b>";
cv += "From the desk of David Kolata<br>";
cv += "The (Rate) Shocking Truth About Mr. Rowe’s Auction</b></a><br><br>";								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_04.html' class='green'><b>";
cv += "CUB Helps Consumers See The Light<br>";
cv += "Efficient, Money-Saving Bulbs Sold At<br>75 Percent Discount</b></a><br><br>";								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_05.html' class='green'><b>Searching For Intelligent Life </b></a><br><br>";								
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_06.html' class='green'><b>CUB Targets U.S. Energy In ICC Complaint<br>Against Sales Tactics <br>Sales reps accused of posing as utility, ICC, even CUB</b></a><br><br>";								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_07.html' class='green'><b>Gas Industry’s 'Supply And Demand'<br>Excuse A Lot Of Phooey<br>AG study: gas overcharges in billions, market vulnerable to Enron-like scams</b></a><br><br>";
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_08.html' class='green'><b>CUB’s Annual ICC Report<br>The Bumpy ICC Year In Review</b></a><br><br>";								
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_09.html' class='green'><b>This Is One Freeze Farmers Want</b></a><br><br>";
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_10.html' class='green'><b>Must-See Enron Film Another Argument<br>Against Rate Hikes</b></a><br>Review: Enron Documentary Oeedrs Hard Lessons For Land Of Lincoln<br>By Chris Thomas, CUB Director of Policy<br><br>";

cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_11.html' class='green'><b>CUBBitz</b></a><br>A Doozy Of A Decimal Error…<br>All in the family…<br>The 411 on 411...<br>Gas pains...<br><br>";	
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_12.html' class='green'><b>From The Front Lines<br></b></a><b>AT&T/SBC Settlement<br>Nicor Gas Refund<br>Water Complaints</b><br><br>";
								
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_13.html' class='green'><b>CUB Awarded For Good Works<br>Efforts With Website, Environment Cited	</b></a><br><br>";								
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_14.html' class='green'><b>A Haven For Weary Callers<br>Bring Your Tangled Telephone Bills<br>To CUB’s Phone-bill Clinics</b></a><br><br>";
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_15.html' class='green'><b>CUB Has Opening On Board <br>CUB Has An Open Seat On The Consumer Group’s Board Of Directors.</b></a><br><br>";
								
cv += "<a href='http://www.citizensutilityboard.org/consumerCorner_NoTeeth.html' class='green'><b>CUB Makes A Dieedrence...<br>No Chattering Teeth, No Freezing Pipes</b></a><br><br>";
												
		cv += "</span>";
		cv += "<br><br><br>";
		cv += "</div>";
		cv += "</div>";



//if(edition == "winter05"){	
		
		cv += "<div id='winter05a' class='CVGray1' onmouseover=makeVis('winter05'); onmouseout=hideVis('winter05');><a href='http://www.citizensutilityboard.org/newsCUBVoice_05Winter.html' class='green'>Winter 2005</a></div>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='winter05' onmouseover=makeVis('winter05'); onmouseout=hideVis('winter05'); style='position:absolute;z-index:600;left:194;top:159;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='winter05' onmouseover=makeVis('winter05'); onmouseout=hideVis('winter05'); style='position:absolute;z-index:600;left:192;top:0;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Winter 2005</b></span><br><br>";			
		cv += "<span class='foot'>";
		
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_196MillionRefundDealMakesHistory.html' class='green'>$196 million refund deal makes history<br>CUB detective work over ill-gotten Enron deals key in getting Peoples Energy to pay up</a>";
		cv += "<br><br>";			

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_ExelonPushesBigRateHike.html' class='green'> Exelon pushes big rate hike despite monstrous profits<br>CUB study: Exelon profit giant, even with rate freeze</a>";
		cv += "<br><br>";	


		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FromTheDeskOfDavidKolata.html' class='green'>From the desk of David Kolata Natural gas industry should make a few New Year’s resolutions</a>";
		cv += "<br><br>";		


		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_Round3SBCHasNew.html' class='green'> Round 3! SBC has new phone deregulation plan</a>";
		cv += "<br><br>";	



		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FormerRockfordMayorNamedNewICCChairman.html' class='green'>Former Rockford mayor named new ICC chairman CUB applauds governor’s new pick</a>";
		cv += "<br><br>";	

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FactvsFiction.html' class='green'> Fact vs. Fiction<br>Your guide to ComEd’s claims</a>";
		cv += "<br>";								
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FactvsFiction.html#claims' class='green'> Claims and Analysis</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FactvsFiction.html#breaking' class='green'> Breaking news: Rate-hike plans revealed</a>";
		cv += "<br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FactvsFiction.html#roundup ' class='green'> Rate-hike Roundup</a>";
		cv += "<br><br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_HistoricallyBadAgain.html' class='green'> Historically bad&#8212;again<br>Natural gas industry in 2005 broke price records for third straight year</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_HistoricallyBadAgain.html#bad' class='green'> Just how bad is bad?</a>";
		cv += "<br><br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_TipsOnAvoidingNaturalGasNightmares.html ' class='green'> Tips on avoiding a few natural gas nightmares </a>";
		cv += "<br><br>";


		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_PopQuiz.html ' class='green'>Pop Quiz!<br>So how well do you know your gas bill?</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_PopQuiz.html#answers' class='green'>The answers to CUB’s gas-bill pop quiz</a>";
		cv += "<br><br>";


		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_TreeHuggers.html' class='green'>It’s not just for ‘tree-huggers’</a>";
		cv += "<br><br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_WaterTorture.html' class='green'>Water torture!<br>Illinois American customers angered by suddenly outrageous bills</a>";
		cv += "<br><br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html' class='green'>CUB Bitz</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#Schadenfreude' class='green'>Schadenfreude...</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#seem' class='green'>Seems like old times…</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#owe' class='green'>I owe what?…</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#cost' class='green'>Cost-cutting?...</a>";
		cv += "<br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#numbers' class='green'>By the numbers</a>";
		cv += "<br><br>";							

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_ConsumerCorner.html' class='green'>Consumer Corner<br>CUB rescues soldier's mom from cell hell</a>";
		cv += "<br><br>";
												
		cv += "</span>";
		cv += "<br><br><br>";
		cv += "</div>";
		cv += "</div>";






		//if(edition == "fall05"){	
		
		cv += "<div id='fall05a' class='CVGray1' onmouseover=makeVis('fall05'); onmouseout=hideVis('fall05');><a href='http://www.citizensutilityboard.org/newsCUBVoice_05Fall.html' class='green'>Fall 2005</a></div>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='fall05' onmouseover=makeVis('fall05'); onmouseout=hideVis('fall05'); style='position:absolute;z-index:600;left:194;top:159;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='fall05' onmouseover=makeVis('fall05'); onmouseout=hideVis('fall05'); style='position:absolute;z-index:600;left:192;top:0;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Fall 2005</b></span><br><br>";			
		cv += "<span class='foot'>";
		
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_FromTheDeskOfDaveKolata.html' class='green'>Great CUB staff ready to fill some big shoes, continue the fight</a>";
		cv += "<br><br>";			
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_ComEdOtherUtilities.html' class='green'>ComEd, other utilities block Cohen from ICC</a>";
		cv += "<br><br>";			
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_HeatingPricesSlam.html' class='green'>Heating prices slam Illinois consumers</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBCallsForCrisisPlan.html' class='green'>CUB calls for crisis plan as prices reach all-time highs</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CoalitionSoundsRatehikeAlarm.html' class='green'>Coalition sounds rate-hike alarm</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBFightsRateHikePlanAtFederalLevel.html' class='green'>CUB fights rate-hike plan at federal level</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_UtilitiesHaveEyesOnLittleKnownPart280.html' class='green'>Utilities Have Eyes On Little-Know 'Part 280'<br>CUB Trying to Improve Rules, Which Can Make Life Miserable For&nbsp;Consumers</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBSetsStageForHistoric119MillionPeoplesRefund.html' class='green'>CUB Sets Stage For Historic $119 Million Peoples Refund<br>Consumer Group Hopses ICC Approves It In Time To Alleviate Pain Of&nbsp;This Winter</a>";
		cv += "<br><br>";
						
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_GasSupplierRenegesfixedrate.html' class='green'>Gas supplier reneges ‘fixed’ rate</a>";
		cv += "<br><br>";				
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_NicorRateHikeSlashed.html' class='green'>Nicor Rate Hike Slashed<br>CUB Still Fighting, Says Nicor Deserves Nothing</a>";
		cv += "<br><br>";	
	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_LikeGgasPropaneHheatingOilCostsHigh.html' class='green'>Like gas—propane, heating oil costs high</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_LetCUBPutYourPhoneBillOnADiet.html' class='green'>HOT TIPS: CUB Puts Phone Bills On Diet</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBBitz.html' class='green'>CUB Bitz</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_ConsumerCorner.html' class='green'>Consumer Corner<br>Fast utility service? Oh, pole-leeeeze!</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBWantsYou.html' class='green'>CUB Wants You!<br>Several Seats Open On CUB's Board</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_FEDUp.html' class='green'>Fed-up!<br>Man Tells Phone Company:Give Money To CUB!</a>";
		cv += "<br><br>";																
		
												
		cv += "</span>";
		cv += "<br><br><br>";
		cv += "</div>";
		cv += "</div>";	




		//if(edition == "summer05"){	
		
		cv += "<div id='summer05a' class='CVGray1' onmouseover=makeVis('summer05'); onmouseout=hideVis('summer05');><a href='http://www.citizensutilityboard.org/newsCUBVoice_05Summer.html' class='green'>Summer 2005</a></div>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='summer05' onmouseover=makeVis('summer05'); onmouseout=hideVis('summer05'); style='position:absolute;z-index:600;left:194;top:159;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='summer05' onmouseover=makeVis('summer05'); onmouseout=hideVis('summer05'); style='position:absolute;z-index:600;left:192;top:0;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Summer 2005</b></span><br><br>";			
		cv += "<span class='foot'>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_Consumerswin.html' class='green'>Consumers win! SBC, Verizon dereg bill dies<br>";
		cv += "Telecom Act extended two years, as big phone companies’ push to raise rates stalls in House</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBfightingAmeren.html' class='green'>CUB fighting Ameren and ComEd power auction plans<br>Warns of 20% rate hike, thousands of job losses</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_Fromthedeskof.html' class='green'>From the desk of Martin&nbsp;R.&nbsp;Cohen<br>Auction block puts consumers on chopping block </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_Idontremember.html' class='green'>I don’t remember a call to Diego Garcia!</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBsAnnualICC.html' class='green'>CUB’s Annual ICC Report</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBfloodedwithcalls.html' class='green'>CUB flooded with calls over gas oeedr<br>";
		cv += "State AG sues Illinois Natural Gas</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBtargetsNicorrepairplan.html' class='green'>CUB targets Nicor repair plan in class-action lawsuit</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_AmessagefromCUBSboard.html' class='green'>A Message from CUB’s Board President<br>Fight the good fight on CUB’s board of directors</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBbitz.html' class='green'>CUBbitz</a>";

		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_Fromthefrontlines.html' class='green'>From the Front Lines</a>";

		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_Napervilleretireewins.html' class='green'>Naperville retiree wins CUB Crossword Challenge</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBmakes.html' class='green'>CUB makes a dieedrence...<br>Fixed Bill doesn’t fit the bill for consumer</a>";
		cv += "</span>";

			
		cv += "<br><br><br>";
		cv += "</div>";
		cv += "</div>";		


		
		//if(edition == "05Spring"){	
		
		cv += "<div id='spring05a' class='CVGray1' onmouseover=makeVis('spring05'); onmouseout=hideVis('spring05');><a href='http://www.citizensutilityboard.org/newsCUBVoice_05Spring.html' class='green'>Spring 2005</a></div>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='spring05' onmouseover=makeVis('spring05'); onmouseout=hideVis('spring05'); style='position:absolute;z-index:600;left:194;top:159;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='spring05' onmouseover=makeVis('spring05'); onmouseout=hideVis('spring05'); style='position:absolute;z-index:600;left:192;top:0;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Spring 2005</b></span><br><br>";			
		cv += "<span class='foot'>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_SBCVerizon.html' class='green'>SBC, Verizon lobby to scrap phone regulations<br>";
		cv += "CUB fights prospect of higher&nbsp;rates, poor&nbsp;service </a>			";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_CUBWipeOut.html' class='green'>CUB: Wipe out Nicor rate-hike plan<br>";
		cv += "Customers of the scandal-plagued utility deserve $15 million rate cut&nbsp;instead</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_FromTheDeskOf.html' class='green'>From the desk of Martin&nbsp;R.&nbsp;Cohen<br>";
		cv += "Sorry SBC, cell phone’s not quite the&nbsp;same </a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_PitfallsGalore.html' class='green'>Pitfalls galore in prepaid cell&nbsp;plans</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_CUBOpposing.html' class='green'>CUB opposing ComEd, Ameren power auction<br>";
		cv += "System led to 15 percent rate hike in New&nbsp;Jersey </a>";
		cv += "<br><br>											";					
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_CUBPeoplesGas.html' class='green'>CUB: Peoples Gas owes customers $200 million<br>";
		cv += "City of Chicago, Attorney General turn up heat with lawsuits over shady Enron&nbsp;deals</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_IllinoisConsumer.html' class='green'>Illinois consumers dodge natural gas bullet, for&nbsp;now<br>";
		cv += "But CUB review shows prices steadily&nbsp;rising</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_WhyYouShould.html' class='green'>Why you should support good telephone&nbsp;regulation</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_MergerMania.html' class='green'>Merger mania!<br>";
		cv += "SBC, Verizon deals show healthy phone market hasn’t&nbsp;arrived</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_CUBbitz.html' class='green'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_GoodNews.html' class='green'>Good news! Consumer advocate named to&nbsp;ICC<br>";
		cv += "Lieberman joins commission with key cases on&nbsp;docket</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_Crossword.html' class='green'>CUB’s Crossword&nbsp;Challenge</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_CUBmakes.html' class='green'>CUB makes a&nbsp;dieedrence...<br>";
		cv += "Relieving a burrito maker’s gas&nbsp;pains</a>";
		cv += "</span>";

			
			cv += "<br><br><br>";
			cv += "</div>";
			cv += "</div>";		
	
		// }
		

		
		cv += "<div id='winter04a' class='CVGray1' onmouseover=makeVis('winter04'); onmouseout=hideVis('winter04');><a href='http://www.citizensutilityboard.org/newsCUBVoice_04Winter.html' class='green'>Winter 2004</a>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='winter04' onmouseover=makeVis('winter04'); onmouseout=hideVis('winter04'); style='position:absolute;z-index:600;left:194;top:200;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='winter04' onmouseover=makeVis('winter04'); onmouseout=hideVis('winter04'); style='position:absolute;z-index:600;left:192;top:32;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Winter 2004</b></span><br><br>";			
		cv += "<span class='foot'>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_Youvegottobe.html' class='green'>You’ve got to be kidding!<br>";
		cv += "Amid fraud probe, Nicor proposes $83 million rate&nbsp;hike</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_FromTheDeskOfMartinRCohen.html' class='green'>From the desk ";
		cv += "of Martin&nbsp;R.&nbsp;Cohen<br>";
		cv += "Choosing between a rock and a hard&nbsp;place</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_WeveGotMail.html' class='green'>We've got&nbsp;mail</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_MeetCUBSConsumer.html' class='green'>Meet CUB’s consumer&nbsp;counselors<br>";
		cv += "They’re here to&nbsp;help!</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_FinallyIP.html' class='green'>Finally...IP has a new&nbsp;owner<br>";
		cv += "CUB helps shield customers from Ameren&nbsp;surcharge</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_GasHistory.html' class='green'>Gas History&nbsp;101<br>";
		cv += "CUB traces origins of topsy-turvy natural gas&nbsp;market</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_TwoReasons.html' class='green'>Two reasons to read your bills&nbsp;carefully</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_CUBbitz.html' class='green'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_FromTheFrontLines.html' class='green'>From the Front Lines<br>";
		cv += "Highlights of cases at the ICC and in the&nbsp;courts</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_CUBMember.html' class='green'>CUB member ‘shocked’ to win ";
		cv += "Phone-bill Challenge<br>";
		cv += "Gets month of free phone&nbsp;service</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_InOtherCUBNews.html' class='green'>In Other CUB News:<br>";
		cv += "CUB salutes generous&nbsp;consumer</a><br>";
		cv += "</span>	";	
			cv += "<br><br><br>";
			cv += "</div>";
			cv += "</div>";	
			cv += "</div>";	
		
		//}	
			
		//if(edition == "04Fall"){
		cv += "<div id='fall04a' class='CVGray1' onmouseover=makeVis('fall04'); onmouseout=hideVis('fall04');><a href='http://www.citizensutilityboard.org/newsCUBVoice_04Fall.html' class='green'>Fall 2004</a>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='fall04' onmouseover=makeVis('fall04'); onmouseout=hideVis('fall04'); style='position:absolute;z-index:600;left:194;top:200;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='fall04' onmouseover=makeVis('fall04'); onmouseout=hideVis('fall04'); style='position:absolute;z-index:600;left:192;top:32;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Fall 2004</b></span><br><br>";							
		cv += "<span class='foot'>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_NicorAdmitsFraud.html' class='green'>Nicor admits possible fraud in&nbsp;plan targeted by&nbsp;CUB<br>";
		cv += "Utility fires four, CUB continues push for $190 million refund for&nbsp;customers </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_CUBtofightIP.html' class='green'>CUB to fight IP’s 30%&nbsp;rate-hike&nbsp;plan<br>";
		cv += "Consumer group counters company claim that hike&nbsp;just&nbsp;9% <br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_FromTheDeskOfMartinRCohen.html' class='green'>From the desk of Martin&nbsp;R.&nbsp;Cohen<br>";
		cv += "As usual, it’s buyer beware in gas&nbsp;market </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_WeveGotMail.html' class='green'>We've got mail</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_SBCRateHike.html' class='green'>SBC gets rate hike—now&nbsp;what?</a>";
		cv += "<br><br>";
				
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_VoIP.html' class='green'>VoIP: The future of phone&nbsp;service?<br>";
		cv += "But Voice over Internet Protocol requires&nbsp;broadband</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_HappenHere.html' class='green'>It can happen&nbsp;here!<br>";
		cv += "State task force, CUB urge action to prevent major&nbsp;blackout</a>";
		cv += "<br><br>";
		cv += "CUB’s Winter Survival Guide<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_RulesGas.html' class='green'>Rules to live by in the natural gas&nbsp;market</a><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_GasPay.html' class='green'>So what do you pay for natural gas?</a><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_DoubleTrouble.html' class='green'>Don't get fooled by the 'Fixed Bill' plan</a>";
		cv += "<br><br>";
		
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_PeoplesEnergy.html' class='green'>CUB complaint sparks first-ever gas company&nbsp;fine<br>";
		cv += "Peoples Energy Services fined $40,000 for fixed-rate plan that never&nbsp;was</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_CUBitz.html' class='green'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "Sprinting ahead...<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_ProtectionPlans.html' class='green'>Protection Plans not so&nbsp;protective<br>";
		cv += "Scan fine print before buying maintenance plans like Line-backer, Comfort&nbsp;Guard</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_Will500.html' class='green'>CUB member wills consumer group&nbsp;$500</a>";
		cv += "</span>	";	
			cv += "<br><br><br>";
			cv += "</div>";
			cv += "</div>";	
			cv += "</div>";	
						
		// }
		
//if(edition == "summer04"){	

		cv += "<div id='summer04a' class='CVGray1' onmouseover=makeVis('summer04'); onmouseout=hideVis('summer04');><a href='http://www.citizensutilityboard.org/newsCUBVoice_04Summer.html' class='green'>Summer 2004</a>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='summer04' onmouseover=makeVis('summer04'); onmouseout=hideVis('summer04'); style='position:absolute;z-index:600;left:194;top:200;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='summer04' onmouseover=makeVis('summer04'); onmouseout=hideVis('summer04'); style='position:absolute;z-index:600;left:192;top:32;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Summer 2004</b></span><br><br>";
			cv += "<span class='foot'>";			
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_ScandalsPutHeatOnGasUtilities.html' class='green'>Scandals put heat on gas utilities </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_NicorFacesCUB.html' class='green'>Nicor faces CUB, SEC, and federal grand jury </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_PeoplesStonewalls.html' class='green'>Peoples stonewalls, CUB gets help in probe </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_CUBFindsDevil.html' class='green'>CUB finds devil in IP-Ameren merger details<br>";
			cv += "Asbestos surcharge could set dangerous precedent </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_FromTheDeskOfMartinRCohen.html' class='green'>From the desk of Martin&nbsp;R.&nbsp;Cohen<br>";
			cv += "Separating fact from fiction in phone wars </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_WeveGotMail.html' class='green'>We’ve got mail</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_LegislativeRoundup.html' class='green'>CUB’s State Capitol Roundup<br>";
			cv += "Consumers two for three in Springfield </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_SBCVoiceMailCustomers.html' class='green'>SBC voice mail customers: Good news!<br>";
			cv += "Fill out claim forms in June bills to be eligible for phone credits </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_SavingAreaCodes.html' class='green'>Saving area codes<br>";
			cv += "CUB plan fights phone industry’s dark predictions </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_CUBsAnnualICCReport.html' class='green'>CUB’s Annual ICC Report<br>";
			cv += "CUB pushes for consumer advocate on ICC </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_CUBitz.html' class='green'>CUBbitz</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_FromTheFrontLines.html' class='green'>From the Front Lines </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_ThreeSeatsOpenOnCUBBoard.html' class='green'>Three seats open on CUB Board</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_CapacityCrowdPacks20thBirthday.html' class='green'>Capacity crowd packs 20th birthday on “CUB ";cv += "Day”<br>CUB praised for fighting “David vs. Goliath” battle </a>";
		
		cv += "</span>	";	
			cv += "<br><br><br>";
			cv += "</div>";
			cv += "</div>";	
			cv += "</div>";	
		
		//}		


//if(edition == "newsCUBVoice_04Spring"){	

		cv += "<div id='spring04a' class='CVGray1' onmouseover=makeVis('spring04'); onmouseout=hideVis('spring04');><a href='http://www.citizensutilityboard.org/newsCUBVoice_04Spring.html' class='green'>Spring 2004</a>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='spring04' onmouseover=makeVis('spring04'); onmouseout=hideVis('spring04'); style='position:absolute;z-index:600;left:194;top:200;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='spring04' onmouseover=makeVis('spring04'); onmouseout=hideVis('spring04'); style='position:absolute;z-index:600;left:192;top:32;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Spring 2004</b></span><br><br>";
			cv += "<span class='foot'>";			
			
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_CUBUncoversPEDealings.html' class='green'>CUB exposes Peoples’ secret Enron deals<br> ";
		cv += "Documents show company lied to ICC about rate plan</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_FromTheDeskOfMartinRCohen.html' class='green'>From the Desk ";
		cv += "of Martin R. Cohen<br>";
		cv += "CUB’s 20—and still going strong </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_WeveGotMail.html' class='green'>We’ve got mail</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_AmerenOeedrsToBuyIP.html' class='green'>Ameren oeedrs to by ";
		cv += "Illinois Power<br>CUB looking for devil in proposed merger’s details </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_CUBConvincesSBCToCreditVoicemailCustomers.html' class='green'>";
		cv += "CUB convinces SBC to credit voicemail customers<br>";
		cv += "Compensation part of class-action settlement </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_NicorGetsBadHeadlinesAgain.html' class='green'>Nicor gets ";
		cv += "bad headlines—again </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_CUBitz.html' class='green'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_FromTheFrontLines.html' class='green'>From the Front Lines</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_SBCAnnouncesRateIncreases.html' class='green'>SBC announces ";
		cv += "rate increases<br>";
		cv += "CUB warns of directory assistance, local toll&nbsp;hikes </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_LetTheCelebrationBegin.html' class='green'>Let the ";
		cv += "celebration begin!<br>";
		cv += "Month of festivities planned to commemorate CUB’s 20th anniversary </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_CUBActionNetwork.html' class='green'>CUB Action Network needs you<br></a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_ConsumerCorner.html' class='green'>CUB Makes a Dieedrence...<br>";
		cv += "Telephone companies push consumer too far </a>";
			
			
			
			cv += "</span>	";	
			cv += "<br><br><br>";
			cv += "</div>";
			cv += "</div>";	
			cv += "</div>";	
		
		//}			
		
//if(edition == "winter03"){	

		cv += "<div id='winter03a' class='CVGray1' onmouseover=makeVis('winter03'); onmouseout=hideVis('winter03');><a href='http://www.citizensutilityboard.org/newsCUBVoice_03Winter.html' class='green'>Winter 2003</a>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='winter03' onmouseover=makeVis('winter03'); onmouseout=hideVis('winter03'); style='position:absolute;z-index:600;left:194;top:225;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='winter03' onmouseover=makeVis('winter03'); onmouseout=hideVis('winter03'); style='position:absolute;z-index:600;left:192;top:64;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Winter 2003</b></span><br><br>";
			cv += "<span class='foot'>";			
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_StateUnplugsComEd.html' class='green'>State unplugs ComEd, IP rate-hike bill<br>CUB’s efforts";cv += " lead to big win for Illinois consumers</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_NicorCustomersDue143M.html' class='green'>CUB: Nicor ";
			cv += "customers due $143 million </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_FromTheDeskOf.html' class='green'>From the Desk of Martin R. Cohen<br>";
			cv += "ComEd down but not out in electric rate war</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_WeveGotMail.html' class='green'>We’ve got mail</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBActionNetwork.html' class='green'>CUB Action Network ";
			cv += "plays key role in win<br>";
			cv += "Join now to help us in the next fight </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_FedCourtStrikesDownSBC.html' class='green'>Federal court ";
			cv += "strikes down SBC rate hike law<br>";
			cv += "CUB argued law would have led to higher local phone rates </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_NatuarlGasPricesDrop.html' class='green'>Natural gas prices drop! (but not really)</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBCanHelpYouLearnObscureLanguage.html' class='green'>CUB can help you learn obscure language"; 
			cv += "of gas bills</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBTargetsMisleadingNaturalGasPlans.html' class='green'>CUB ";
			cv += "	targets misleading natural gas plans<br>";
			cv += "Confusing, tricky oeedrs common among suppliers</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_TheFixedRateThatNeverWas.html' class='green'>The fixed rate that never was<br>";
			cv += "CUB files complaint against Peoples Energy Services oeedr</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBCanHelpYouLearnObscureLanguage.html' class='green'>CUB ";
			cv += "can help you learn obscure language of gas bills</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBbitz.html' class='green'>CUBbitz</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_WhaLongDistancePlanIsRightForYou.html' class='green'>What long-distance plan is right for you?<br>CUB has tips to help decipher SBC’s, other long-distance oeedrs</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_MeetTheCUBStaff.html' class='green'>Meet the CUB Staff </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_FightTheGoodFightOnCUBsBoard.html' class='green'>Fight the ";
			cv += "good fight on CUB’s Board<br>";
			cv += "Meyers urges 17th District residents to run for board&nbsp;seat </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CounselorTacklesTelecom.html' class='green'>CUB makes a ";
			cv += "dieedrence...<br>Counselor tackles telecom engineer’s wireless woes";


		
		cv += "</span>	";	
			cv += "<br><br><br>";
			cv += "</div>";
			cv += "</div>";	
			cv += "</div>";	
		
		//}			
		
//if(edition == "fall03"){	

		cv += "<div id='fall03a' class='CVGray1' onmouseover=makeVis('fall03'); onmouseout=hideVis('fall03');><a href='http://www.citizensutilityboard.org/newsCUBVoice_03Fall.html' class='green'>Fall 2003</a>";
		if(getBrowser() == "Netscape"){
			cv += "<div id='fall03' onmouseover=makeVis('fall03'); onmouseout=hideVis('fall03'); style='position:absolute;z-index:600;left:194;top:225;width:436;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		} else {
			cv += "<div id='fall03' onmouseover=makeVis('fall03'); onmouseout=hideVis('fall03'); style='position:absolute;z-index:600;left:192;top:64;width:432;height:496;visibility:hidden;background-color:#99CCFF;border:groove 1px #006600;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#006600;'><b><i>The CUB Voice</i>, Fall 2003</b></span><br><br>";
			cv += "<span class='foot'>";
						
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_PeoplesEnergyOwes.html' class='green'>Peoples Energy owes customers $110 million</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ILPrepares.html' class='green'>Illinois prepares for costly winter—again </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_NicorSays.html' class='green'>Nicor says customers owe $7 million<br>";
			cv += "Company ignores charges of accounting trickery</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_Blackout.html' class='green'>From the Desk of Martin R. Cohen<br>";
			cv += "Blackout fallout: Watch your wallet! </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_WeveGotMail.html' class='green'>We’ve got mail </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_SmartEnergy.html' class='green'>Save energy, money with ";
			cv += "‘smart’ plan<br>";
			cv += "Program has cut participants’ electric bills by an average of 20 percent </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_Telemarketers.html' class='green'>Telemarketers try to ";
			cv += "disconnect ‘no-call’ list<br>";
			cv += "So what happens now? </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_SwitchingCell.html' class='green'>Take that number with you!<br>";
			cv += "Soon, switching cell phone companies won’t mean losing your number</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ConsumerWarning.html' class='green'>Consumer Warning</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ConserveAtHome.html' class='green'>How to conserve energy at ";
			cv += "home</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_SBCStopped.html' class='green'>SBC/Ameritech stopped—for now<br>";
			cv += "Battle continues in federal court</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_CUBbitz.html' class='green'>CUBbitz</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_FromFrontLines.html' class='green'>From the Front Lines</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_NiceWork.html' class='green'>Nice Work, If You Can Get It </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_MeetCUBBoard_JDombrowski.html' class='green'>Meet the CUB Board </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ConsumerCorner.html' class='green'>CUB makes a dieedrence...<br>";
			cv += "Clinic cures nurse’s ailing telephone bill";
			
			cv += "</span>	";	
			cv += "<br><br><br>";
			cv += "</div>";
			cv += "</div>";	
			cv += "</div>";			
		
		
		///////
		
		
				
		cv += "</TD>";
		cv += "</TR>";
		
		
	if(browser != "Netscape"){
		cv += "<TR>";
		cv += "<TD class='lgLocNavSpace'>";
		cv += "<br>";
		cv += "</TD>";
		cv += "</TR>";	
	}	
	
		
	return cv;
}// end getNewsReleaseInfo()



function createBarChartTherm(arrayAmounts, startYear, caption, barColor){
	var chart = "";		// chart is used to build the html that is returned 
	var h = 0;			// h is used to determine the height of the table
	var numSpanCols=0;	// numSpanCols, for colspan to stretch across all columns
	var time = new Date();
	var year = time.getFullYear();			// year for current year
	var aLength = (year - startYear) + 1;	// aLength for number of years
	var arrayYears = new Array(aLength);	// arrayYears to hold all years from start year
	
	for(i = 0 ; i <arrayAmounts.length; i++){
		if(h < arrayAmounts[i]){
			h = Math.round(arrayAmounts[i]);
		}// end if
	} // end for


	for (i = 0 ; i < aLength ; i++){
		arrayYears[i] = startYear+i;
	//	alert("arrayYears["+i+"]"+ arrayYears[i]);		
		if (startYear >= year){
			break;
		}// end if
	}// end for loop
	
	var spr = (arrayYears.length - 1) * 2;	// this adds up the total number of pixels used between bars
	var barWidth = Math.floor((424 - spr)/aLength);	
	var xSpace = 424 - (spr+ (barWidth*aLength));
	var barH = h;
		barWidth -= barWidth%8;
		h += 62;
		h += h%8 != 0 ; 8 - (h%8); 0;	
		chart += "<table  width=424 cellpadding=0 cellspacing=0 height=" + h + " border=0 >";		
		
		// create the top row that is for spacing and setting column sizes
		chart += "<tr>";
				
		for( i = 0 ; i < arrayYears.length; i++){
			chart += "<td width=" + barWidth +"></td>";
			numSpanCols++;
			if(i < arrayYears.length-1){
				chart += "<td width=2></td>";
				numSpanCols++;
			}// end if
		}// for loop

		chart += "</tr>";
		// end top row for spacing and sizing
		
		// create title row 
		chart += "<tr>";
		chart += "<td colspan="+(numSpanCols+1)+"><div class=subhead>" +title+ "</div></td>";

		chart += "</tr>";
		// end title row
	
		// create bar row 
		chart += "<tr valign=bottom>";
		for ( i = 0; i < aLength; i++){
			if(i < arrayAmounts.length){
				chart += "<td valign=bottom align=center>";
				chart += "<img src=http://www.citizensutilityboard.org/images/space.gif border='0' width="+barWidth+" height=" + (2*(barH-Math.round(arrayAmounts[i])))+ "><br>";
				chart += "<img src=http://www.citizensutilityboard.org/images/"+barColor+"Bar.gif width="+barWidth+" height="+ (2*(Math.round(arrayAmounts[i])))+ ">";
				chart += "</td>";
				if(i < aLength-1){
					chart += "<td></td>";
				}// end if				
			} else {
				chart += "<td></td>";
				if(i < aLength-1){
					chart += "<td></td>";
				}// end if					
			}// end if
		}

		chart += "</tr>";
		// end bar row
				
		// create year row 
		chart += "<tr>";
		for ( i = 0; i < aLength; i++){
			chart += "<td height=12 align=center><span class=foot>" + arrayYears[i] + "</span></td>";
			if(i < aLength-1){
				chart += "<td></td>";
			}// end if			
		}
		chart += "<td width=" + xSpace + ">";
		chart += "</tr>";
		// end year row
		
		// create baseline row 
		chart += "<tr>";
		chart += "<td colspan="+(numSpanCols+1)+ " class=inBodySpacerLite height=1 ></td>";

		chart += "</tr>";
		// end baseline row		
		
		// create value row 
		chart += "<tr>";
		for ( i = 0; i < aLength; i++){
			if(i < arrayAmounts.length){
				chart += "<td align=center ><span class=foot>" + arrayAmounts[i] + "</span></td>";
				if(i < aLength-1){
					chart += "<td></td>";
				}// end if				
			} else {
				chart += "<td></td>";
				if(i < aLength-1){
					chart += "<td></td>";
				}// end if					
			}// end if
		}// for loop

		chart += "</tr>";
		// end value row
		
		// create x-axis info row 
		chart += "<tr>";
		chart += "<td colspan=" + numSpanCols + "><span class=foot>"+caption+"</span></td>";

		chart += "</tr>";
		// end x-axis info row	

		
		chart += "</table>";			
	return chart;
}// end function

function createBarChartThermHz(arAmounts, sYr, caption, barColor){
	var chart = new String(); // chart is html that is returned
	var time = new Date(); 
	var currentYear = time.getFullYear(); // Determine the current year.
	var numYears = (currentYear - sYr);// Determine the number of years that will be graphed.
	var arYears = new Array(numYears); // arYears will hold each year from sYr to now
	// Using arYears array, build the array of values...
	for (i = 0 ; i <= numYears; i++){
		arYears[i] = sYr + i;
		if (sYr >= currentYear){ break;}
	}// end for loop
	
	// Determine which amount is the greatest number and make that number the divisor
	var d = 1;
	for(i = 0 ; i < arAmounts.length; i++){
		if (d < arAmounts[i]*100){
			d = (arAmounts[i]*100);
		}
	}
	
	
	// Create table
	chart += "<table width=424 cellpadding=0 cellspacing=0 border=0>";
	chart += "<tr><td width=20></td><td width=12></td><td width=24></td><td width=8></td><td width=360></td></tr>"; // set row to allow for colspan
	chart += "<tr><td colspan=5><div class=subhead>Yearly Averages</span></td></tr>"; // 
	chart += "<tr><td height=16><span class=foot>Year</span></td><td width=4></td><td width=24 colspan=3><span class=foot>Cents/Therm</span></td></tr>";
	// beging creating rows with bars, use loop
	
	
	for(i = numYears; i >= 0 ; i--){
		chart += "<tr>";
		chart += "<td width=20>"+arYears[i]
		if(browser = "Netscape"){
			chart += "&nbsp;&nbsp;";
		} else {
			chart += "&nbsp;";
		}
		chart += "</td>";
		chart += "<td></td>";
		chart += "<td align=right>";
		var test = new String(arAmounts[i]);
		if (test == "undefined" || test == 'NaN' || test == null){
			chart += "N/A";
		} else {
			//alert(arAmounts[i]);
			if (arAmounts[i].toString().length == 2) {
				chart += ""+arAmounts[i] + ".00";
			} else if ((arAmounts[i].toString().length < 4)&&(arAmounts[i] >= 100)) {
				chart += ""+arAmounts[i].toString() + ".00";
			} else if (arAmounts[i].toString().length < 5) {
				chart += ""+arAmounts[i].toString() + "0";
			} else if ((arAmounts[i].toString().length == 5)&&(arAmounts[i] >= 100)) {
				chart += ""+arAmounts[i].toString() + "0";
			} else {
				chart += ""+arAmounts[i];
			}
		}
		
		chart += "</td>";
		chart += "<td align=center>&nbsp;</td>";

		chart += "<td><img src=http://www.citizensutilityboard.org/images/"+barColor+"Bar.gif width="+(Math.round((36*((arAmounts[i]*1000))/d))-16)+" height=16></td>";
		chart += "</tr>";
		chart += "<tr><td colspan=5 height=4></td></tr>"; // spacer row
	} // end for loop
	

	
	chart += "<tr><td colspan=5 height=4>"+caption+"</td></tr>"; // spacer row
	
	chart += "</table><br>";
	return chart;
	
}


function holidayClosing() {
	
	var now = new Date();
	var y = now.getFullYear();
	var m = now.getMonth();
	var d = now.getDate();
	if (y == 2004 & m == 0 & (d < 21)){	
			msg = "<div class=holiday2>We ask for your patience.<br><br>The CUB office was closed between December 24 and January 5 and received a large volume of e-mail complaints and inquiries. For efficiency, consumer counselors will be addressing complaints in the order in which they were received. <br><br>Due to this back log, responses to inquiries and complaints sent today may take longer than the usual time frame of one week. <br><br>If you are having an emergency, please call (800) 669-5556 between the hours of 9:00 am and 5:00 pm.</div><br><br> ";
	} else {
			msg = "";
	}
	

	return msg;
	
}// end function

function getTipsTitle(t){
	var rtn = new String();
	rtn = arTipsTitle[t];
	return rtn;
}

function getTipsBody(t){
	var rtn = new String();
	rtn = arTipsBody[t];
	return rtn;
}


function rtnAllTipTitles() {
	var rtn = new String();
	var tl = arTipsTitle.length;
	for(i = 0 ; i < tl ; i++){
		if (i < 9) {
			rtn += "<div class='listSingleDgt'>";
		} else {
			rtn += "<div class='listDoubleDgt'>";
		}
		rtn += "<a href='http://www.citizensutilityboard.org/ciTips.html#"+ (i + 1) +"' class='green'><b>"+ (i + 1) +". " + arTipsTitle[i] +"</b></a></div>";
		if (i < (tl - 1)){
			rtn += "<br>";
		}
	}
	return rtn;
}


function rtnAllTips() {
	var rtn = new String();
	var tl = arTipsTitle.length;
	for(i = 0 ; i < tl ; i++){
		rtn += "<a name='#"+ (i + 1) +"' id='"+ (i + 1) +"'><br><div class='subhead'><div class='subheadList";
		if(i > 9) {
			rtn += "Double";
		}else{
			rtn += "Single";
		}
		
		rtn += "'>"+ (i+1) + ". " + arTipsTitle[i] +"</div></div></a>";
		
		rtn += arTipsBody[i] + toTop();
	}
	return rtn ;
}


// this function corrects title='message' error where there is an <a href in the body of the tip...
function getTipsAlt(s) {
	var rtn = new String();
	rtn = s;
	if (rtn.indexOf("<") >= 0) {
		rtn = "Read all " +(arTipsTitle.length) + " consumer tips.";
	}
	return rtn;
}


function otherConsumerCornerArticles(s){
	var rtn = new String();
		rtn =	toTop();
		rtn +=	"<div class=subhead>Other Consumer Corner Articles</div>";
		
		
		if (s != "CCNov152007"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_3KNightmare.html' class=green><b>Caller grateful $3,365 ‘nightmare’ over</b></a><br>";
		};		
		if (s != "CCAugust20070816"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_CondoRescue.html' class=green><b>CUB Consumer Counselor Rescues Condo Board From Dangerous Situation</b></a><br>";
		};			
		if (s != "CCAugust20070815"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_HOTLINE_HAVEN.html' class=green><b>CUB's New Hotline Haven For Confused Callers</b></a><br>";
		};		
		
		if (s != "CCApril272007"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_Bryan.html' class=green><b>Quite A Week!</b></a><br>";
		};
		
		if (s != "CCMay060524"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_NoTeeth.html' class=green><b>No Chattering Teeth, No Freezing&nbsp;Pipes</b></a><br>";
		};		
		
		if (s != "CCMay05"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_TalesOfPhoneBillClinicsPast.html' class=green><b>Tales of Phone-bill Clinics Past<br>&nbsp;&nbsp;Visit to Moline and Rock Island, April 27-28</b></a><br>";
		};	
			
		if (s != "06Feb"){
			rtn += "<a href='http://www.citizensutilityboard.org/clinicRockford2006.html' class=green><b>Consumer thankful for money-saving&nbsp;tips</b></a><br>";
		};

		if (s != "06Winter"){
			rtn += "<a href='http://www.citizensutilityboard.org/newsCV06Winter_ConsumerCorner.html' class=green><b>CUB rescues soldier's mom from cell hell</b></a><br>";
		};			
		
		if (s != "05Fall"){
			rtn += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_ConsumerCorner.html' class=green><b>Fast utility service? Oh, pole-leeeeze!</b></a><br>";
		};		
		
		if (s != "05August"){
			rtn += "<a href=news20050811_ConsumerCorner.html class=green><b>'Fixed Bill' Doesn't Fit The Bill For&nbsp;Consumer</b></a><br>";
		};		
		
		if (s != "05April"){
			rtn += "<a href=news20050418_ConsumerCorner.html class=green><b>Relieving a burrito maker's gas&nbsp;pains.</b></a><br>";
		};		
		
		if (s != "04Summer"){
			rtn += "<a href='http://www.citizensutilityboard.org/newsCV04Summer_ConsumerCorner.html' class=green><b>$7,000 ComEd bill? CUB smells a rat!</b></a><br>";
		};		
		
		if (s != "04Spring"){
			rtn += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_ConsumerCorner.html' class=green><b>Telephone companies push consumer too far</b></a><br>";
		};	
			
		if (s != "03Winter"){
			rtn += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_ConsumerCorner.html' class=green><b>Counselor tackles telecom engineer’s wireless&nbsp;woes</b></a><br>";
		};		
		
		if (s != "03Fall"){
			rtn += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ConsumerCorner.html' class=green><b>Clinic cures nurse's ailing telephone bills</b></a><br><br>";
		};
		
		
		
	return rtn;
}// end otherConsumerCornerArticles()


function openPopUp(url, wndw, wToon, hToon){
	var newWindow = window.open(url, wndw , "width=" + wToon +", height=" + hToon +", menubar='no', status='no', toolbar='no', scrollbar='no'");
	newWindow.focus();
	return false;
}


// pop variables for moving popup

var popUp = 0;
var popURL = 0;
var popWidth = 0;
var popHeight = 0;

var thisMargin = 10;

var popTopPosition = thisMargin+128;
var popLeftPosition = thisMargin+128;

var pause = 20;
var step = 10;	// The higher the number, the faster the window.
var timer = 0;

var screenWidth = 0;
var screenHeight = 0;

var endX = 0;
var endY = 0;

// moving popup
function startPop(thisurl,wndw, thiswidth,thisheight) {
	popURL = thisurl;
	popWidth = thiswidth;
	popHeight = thisheight;
	popTopPosition = 1020;
	popLeftPosition = 200;


	popUp = window.open(popURL, wndw,"toolbar=no,width="+popWidth+",height="+popHeight+",top="+(popTopPosition)+",left="+(popLeftPosition)+"");

	screenWidth = 800; //window.screen.width;
	screenHeight = 600; //window.screen.height;
	endX = screenWidth - thiswidth - thisMargin;
	endY = screenHeight - thisheight - thisMargin;
	slideup();
}

function slideup() {
	if (popTopPosition >= (240)) {
		popUp.moveTo(popLeftPosition,popTopPosition);
	//	popLeftPosition += step;
		popTopPosition -= step;
		timer = setTimeout("slideup()",pause);
	}
	else {
		clearTimeout(timer);
		popLeftPosition = (200);
		popTopPosition = (240);
		popUp.moveTo(popLeftPosition,popTopPosition);
		popUp.focus();

	}
}

function getAvgs(a){
	var avg = new Array();
		for(i = 0; i < a.length; i++){
			subT = 0; 
			div = 0;
			for(j = 0 ; j < a[i].length ; j++){
				if (a[i][j] > 0) {
					subT += a[i][j];
					div++;
				}// end if
			}
			avg[i] = (Math.round((subT/div)*100))/100;
		}// end for loop
		
	return avg;
	
}


function createThermChart(a, sYear, cap){
	var chart = "<div class=subhead>Monthly Charges in Cents/Therm</div><table width=424 cellpadding=0 cellspacing=0 border=0>";
	var time = new Date();
	var year = time.getFullYear();
	//<td>Year</td>
	chart += "<tr bgcolor='333366'><td><span class=footwhite></span></td><td align=center><span class=footwhite>Jan</td><td align=center><span class=footwhite>Feb</td><td align=center><span class=footwhite>Mar</td><td align=center><span class=footwhite>Apr</td><td align=center><span class=footwhite>May</td><td align=center><span class=footwhite>Jun</td><td align=center><span class=footwhite>Jul</td><td align=center><span class=footwhite>Aug</td><td align=center><span class=footwhite>Spt</td><td align=center><span class=footwhite>Oct</td><td align=center><span class=footwhite>Nov</td><td align=center><span class=footwhite>Dec</td></tr>";
	var l = a.length-1;
	//alert(""+l);
	for(i = l ; i >= 0 ; i--){
		var aryTherms = new Array();
		// aryTherms = a[i];
			
		chart += "<tr><td bgcolor='6699cc'></td><td colspan=12 height=1 bgcolor='cc6600'></td></tr>";
		chart += "<tr>";
		var y = (sYear+i).toString();
		var yy = "";
		for(j=2; j<5; j++){
			yy += "" + y.charAt(j);
		}
		
		chart += "<td bgcolor='99ccFF'><span class=chart >'"+ yy +"</span></td>";
		for(j = 0; j < 12 ; j++){

			
								
		
			//(j+i)> 9 ? "c" : (j+i);
			
				if(((i+j)%2)==0){
					chart += "<td align=right bgcolor='dddddd'><span class=chart>";
				} else {
					chart += "<td align=right><span class=chart>";
					
				}
			var undef = new String(a[i][j]);
				if(undef == 'undefined' || undef == null){
					chart += '<center>&#8212;</center>';				
				}else {
				    chart += getFormatedValue(a[i][j]);
				}// if undef
			chart += "</span></td>";
		} // end for loop j		
	}// end for loop i
	
	chart += "</table>";
	return chart;
}// function

// takes variables in decimals and returns string with two decimal point values
// eliminates removal of zeros to the right of the decimal point
function getFormatedValue(a){
	var s = new String("" + a);
	if(a >= 100){
		s = "" + (a*100);
		s = s.substring(0,3) + "." + s.substring(3,5);
	}
	if(a < 100){
		s = "" + (a*100);
		s = s.substring(0,2) + "." + s.substring(2,4);		
	}
	return s;
}

//	HERE's how to use activateDate
//	If you want something to run until a certain date
//	use ...
//	if (!activateDate (day after date here)... and put text that you want to appear
//		inside...it will end on the date you put in
//	if	(activateDate (start date){ it will begin running until you remove text.
//	if	(activateDate (start date) && !activateDate(end date)){ it will begin and on start date and end on end date
function activateDate(d, m, y){
	var bol = false;
	var time = new Date();
	var day = time.getDate();
	var month = time.getMonth()+1;
	var year = time.getFullYear();
	if(y < year){
		//alert("y < year " + y);
		bol = true;
	} else if(y == year){
		//alert("y == year " + y);
		if(m < month){
			//alert("m < month " + m);
			//alert("month = " + month);
			bol = true;
		} else if (m == month){
			//alert("m == month " + m);
			//alert("month =" + month);
			if(d <= day){
				//alert("d <= day " + d);
				bol = true;
			}
		}
	}
	
	return bol;
}

function deactivateDate(d,m,y){
	return !activateDate(d,m,y);
}





// use this function to identify content in a subfolder and return relative URL for situ
function subFolder(pagetype){
	var dotSlash = new String();
	if (pagetype == "perl" || pagetype == "cgi") {
			dotSlash = "../";
	}else if (pagetype == "ssl"){
		dotSlash = "http://www.citizensutilityboard.org/";
	}else{
		dotSlash = "";
	}
	return dotSlash;
}// end subFolder()


// this appears on the homepage 
function getANText(a){
	var dotSlash = subFolder(a);
	var text = "<img src='http://www.citizensutilityboard.org/images/ActionNet.gif' border='0' width='424' height='32'><br>";
	if (activateDate(9,6,2004)){
		text += "Join the <a class='green' title='Join the CUB Action Network. CUB will notify you when there is new action alert.' target='_blank' href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/actionnetwork.php'><b>CUB Action Network</b></a>. You can contact your elected officials and speak out on important utility issues. CUB will notify you when there is a new action alert. ";
	} else {
		text +=	"<span class='pub'>Take Action - March 7, 2005</span><br>";
		text +=	"<span class='headline'>";
				// landing page text goes here............................
		text +=	" <a class='green' title='Join the CUB Action Network. CUB will notify you went there is new action alert.' target='_blank' href='http://www.cubactionnetwork.org/site/lookup.asp?c=hqLRIXOAKrF&b=2576487'>";
				// type headline here............................
		text += "<span style='color:#FF3333;'>Red alert! </span><br> Stop SBC plan to deregulate local phone&nbsp;service";
		text +=	"</a></span><br>";
				// language for message goes here.... 
		text +=	"SBC is pushing legislation that could result in higher phone bills down the road and lower service standards. Taction now to help stop SBC's deregulation bill. Join the <a class='green' title='Join the CUB Action Network. CUB will notify you went there is new action alert.' target='_blank' href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/actionnetwork.php'><b>CUB Action Network</b></a>.";
		
		text += toTop();



	


	}
	
	return text;
} // end getANText()


// validate fields from Corrections form
function valCorrect(form){
	
	var msg = new String();
	
	var hhid = form.hhid.value;
	var zipU = form.Zip_UCI.value;
	var plus4U = form.Plus4_UCI.value;
	var emailU = form.email_UCI.value;	
	var name = trim(form.Name_OCI.value + form.Name_UCI.value);
	var address = form.Address1_OCI.value + form.Address1_UCI.value;
	var cityO = form.ILCity_OCI.value + form.City_OCI.value;
	var cityU = form.ILCity_UCI.value + form.City_UCI.value;

	var areaCodeU = form.PhoneHNPA_UCI.value;
	var nxxU = form.PhoneHNXX_UCI.value;
	var SuffixU = form.PhoneHSuffix_UCI.value;

	var bol = true;	
	var focus = 0;
	var c = 0;
	var d = 0;
	var e = 0;
	var f = 0;
	var z = 0;
	var y = 0;
	var x = 0;
	var digits = "0123456789";
	var alpha = "aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ";
	var alphanum = new String(digits + alpha);
	


	if(hhid != ""){
		for(i=0; i < hhid.length; i++){
			for (j=0; j<digits.length; j++){
				if(hhid.charAt(i) == digits.charAt(j)){
					c++;
				}// end if			
			} // end j loop
		}// end i for loop
		if (c != hhid.length){
			msg = "Membership numbers do not include letters. ";
			msg += "\n\n";
			if(focus == 0){
				focus= 1;
			}
			bol = false;
		}	
	} 
	
	if (trim(name) == ""){
		msg += "You must include a name. ";
		msg += "\n\n";
		if(focus == 0){
			focus= 2;
		}
		
		bol = false;		
	}
	


	if (trim(address) == ""){
		msg += "You must include a mailing address. ";
		msg += "\n\n";
		if(focus == 0){
			focus= 3;
		}
		bol = false;		
	}
	
	if (trim(cityO) == "No Illinois city selected"){
		if(trim(cityU) == "No Illinois city selected"){	
			msg += "Please include city, town or village name. ";
			msg += "\n\n";
			if(focus == 0){
				focus= 4;
			}
			bol = false;
		}		
	}	
			
	
	if (zipU != ""){
		for(i=0; i < zipU.length; i++){
			for (j=0; j<digits.length; j++){
				if(zipU.charAt(i) == digits.charAt(j)){
					d++;		
				}// end if			
			} // end j loop
		}// end i for loop
		if (d != zipU.length || zipU.length != 5){
			msg += "Zip codes must contain five numbers.";
			msg += "\n\n";
			if(focus == 0){
				focus= 5;
			}
			bol = false;			
		}
	}
	
	
	if (plus4U != ""){
		for(i=0; i < plus4U.length; i++){
			for (j=0; j<digits.length; j++){
				if(plus4U.charAt(i) == digits.charAt(j)){
					e++;		
				}// end if			
			} // end j loop
		}// end i for loop
		
		if (e != plus4U.length | plus4U.length != 4){
			msg += "Plus 4 zip codes must contain four numbers.";
			msg += "\n\n";
			if(focus == 0){
				focus = 6;
			}
			bol = false;			
		}		
	}
	
	
	if (emailU != ""){
		chkFirst = -1;
		twoAts = 1;
		for(i=0; i<emailU.length; i++){
			for(j=0; j<alphanum.length; j++){
				if(emailU.charAt(i) == alphanum.charAt(j)){
					f++;
				} // end if
				if(emailU.charAt(0) == alphanum.charAt(j)){
					chkFirst = 0;
				}// end if
			}// end j loop
			if(emailU.charAt(i) == "@" || emailU.charAt(i) == "."){
				f++;
			}
			if(emailU.charAt(i) == "@"){
				twoAts--;
			}
			if((emailU.indexOf("@")-emailU.indexOf("."))==1 |(emailU.indexOf(".")-emailU.indexOf("@"))==1){
				f = -1;
			}
			
		}// end i loop
		
		
		f = f + twoAts + chkFirst;
		
		
		if (f != emailU.length ){
			msg += "The new e-mail address you provided.";
			msg += "\n\n";
			if(focus == 0){
				focus = 7;
			}
			bol = false;			
		}			
	}
	
	if (areaCodeU != "" || nxxU != "" || SuffixU != ""){
		for(i=0; i < areaCodeU.length; i++){
			for (j=0; j<digits.length; j++){
				if(areaCodeU.charAt(i) == digits.charAt(j)){
					z++;		
				}// end if			
			} // end j loop
		}// end i for loop
		
		for(i=0; i < nxxU.length; i++){
			for (j=0; j<digits.length; j++){
				if(nxxU.charAt(i) == digits.charAt(j)){
					y++;		
				}// end if			
			} // end j loop
		}// end i for loop	
		
		
		for(i=0; i < SuffixU.length; i++){
			for (j=0; j<digits.length; j++){
				if(SuffixU.charAt(i) == digits.charAt(j)){
					x++;		
				}// end if			
			} // end j loop
		}// end i for loop			
		
		if (z != areaCodeU.length || areaCodeU.length != 3 || y != nxxU.length || nxxU.length != 3 || x != SuffixU.length || SuffixU.length != 4){
			msg += "Area code and seven digit phone number.";
			msg += "\n\n";
			if(focus == 0){
				focus = 8;
			}
			bol = false;			
		}
	}		
	
	switch (focus){
		case 1:
		form.hhid.focus();
		break;
		case 2:
		form.Name_OCI.focus();
		break;
		case 3:
		form.Address1_OCI.focus();
		break;
		case 4:
		form.ILCity_OCI.focus();
		break;			
		case 5:
		form.Zip_UCI.focus();
		break;
		case 6:
		form.Plus4_UCI.focus();
		break;
		case 7:
		form.email_UCI.focus();	
		break;	
		case 8:
		form.PhoneHNPA_UCI.focus();	
		break;
			
	}
	if(focus != 0){
		alert("Please correct the following:\n\n" + msg);
	} 

	return bol;
	
} // end valComplaint()

	
function trim(s) {
  while (s.substring(0,1) == ' ') {
    s = s.substring(1,s.length);
  }
  while (s.substring(s.length-1,s.length) == ' ') {
    s = s.substring(0,s.length-1);
  }
  return s;
}// end function

function rtnLinks(arrayName, arrayURL){
	var list = new String();
	var arrayMulti =  new Array(arrayName.length);

	// put them in alphabetical order
	arrayMulti = alphabetize(arrayName, arrayURL);

		for (i=0 ; i< arrayName.length ; i++){
				list += "<a href='http://www.citizensutilityboard.org/" + arrayMulti[i][1] + "' target='_blank' class='green'>";
				list += "<b>" + arrayMulti[i][0] + "</b></a><br>";
		}// end for loop
	
	return list;
}


function getNewspaperList(){
	var rtn = new String();
		rtn =	"<table align=right width=200 class=quote bgcolor=eeeeee>";
		rtn += 	"<tr><td class=qte><span class='foot'><b>For up to the minute coverage on the Citizens Utility Board, CUB oeedrs a <i>Latest News Feed</i> using RSS XML. <a href='http://www.citizensutilityboard.org/LatestNewsFeed.html' class=green title='Click here to learn how to use our RSS Latest News Feed'><b>How it works</b></a>.<br><br><a href='http://www.citizensutilityboard.org/LatestNewsFeed.html'><img src='http://www.citizensutilityboard.org/images/rssbutton.gif' border=0 align='middle' title='Click here to learn how to use our RSS Latest News Feed'></a>&nbsp;<a href='http://www.citizensutilityboard.org/http://us.rd.yahoo.com/my/atm/Citizens%20Utility%20Board/CUB%27s%20Latest%20News%20Feed/*http://add.my.yahoo.com/rss?url=http%3A//www.citizensutilityboard.org/latestnews.xml' target='_blank'><img src='http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif' width='91' height='17' border='0' align='middle' alt='Add to My Yahoo!'></a><br>Or visit the Web sites of publications that have written about CUB.</span></b><br><br>";
		rtn += rtnLinks(arNewspaper, arNewspaperLink)+ "<br>";
		rtn += "</td></tr></table>";
	return rtn;
}// end function

function alphabetize(array, arrayURL){
	var arNewA = array;	
	var arNewU = arrayURL;
	var arrayMulti = new Array();
	var strNewA = new String();
	var strNewB = new String();
	var strNewUA = new String();
	var strNewUB = new String();
	var strA = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz -&@.,:;!#$%^*()+=[]{}";
	for(i=0; i<arNewA.length; i++){
		for(j=0; j<arNewA.length; j++){
	
			for(x=0; x<arNewA.length; x++){
				if (strA.indexOf(arNewA[i].charAt(x)) > strA.indexOf(arNewA[j].charAt(x))){
					break;
				} else if (strA.indexOf(arNewA[i].charAt(x)) < strA.indexOf(arNewA[j].charAt(x))){
					strNewA = arNewA[i];
					strNewB = arNewA[j];
					arNewA[i] = strNewB;
					arNewA[j] = strNewA;
					
					strNewUA = arNewU[i];
					strNewUB = arNewU[j];
					arNewU[i] = strNewUB;
					arNewU[j] = strNewUA;					
					
					
					break;
				} // end if
			} // x loop
			
		} // end j loop
	} // end i loop
	
	// create multidimensional array
	
	for(i=0; i< arNewA.length ; i++){
		arrayMulti[i] = new Array(2);
				arrayMulti[i][0] = arNewA[i];
				arrayMulti[i][1] = arNewU[i];
	}// end for loop	
	
	return arrayMulti; 
}// end function


function getCUBVoice(issue){
	var pastissue = new String();
	pastissue += "<table class='inBody'>";
	pastissue += "  <tr>";
	pastissue += "	  <td class='inBodyHead'>2007</td>";	
	pastissue += "	  <td class='inBodyHead'>2006</td>";
	

	pastissue += "	  <td class='inBodyHead'></td>";
							
	pastissue += "  </tr>";
	pastissue += "  <tr>";
	pastissue += " 	  <td class='inBodySpacer' colspan='3'></td>";
	pastissue += "  </tr>";
	
	pastissue += "  <tr>";
	pastissue += "    <td class='inBodyRow'>";
	/*
	pastissue += "	    <a href='newsCUBVoice_04Winter.html' class='green'><b>Winter 2004</b></a><br>"			
	pastissue += "      <a href='newsCUBVoice_04Fall.html' class='green'><b>Fall 2004</b></a><br>";
	pastissue += "	    <a href='newsCUBVoice_04Summer.html' class='green'><b>Summer 2004</b></a><br>";
	*/
	pastissue += "	    <a href='pdfs/CUBVoice/07Spring.pdf' class='green'><b>Spring 2007</b></a><br>";
	
	pastissue += " 	  </td>";	
	
	pastissue += "	  <td class='inBodyRow'>";
								
	/*	*/				
	pastissue += "    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/06Winter.pdf' class='green'><b>Winter 2006</b></a><br>";						
	pastissue += "    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/06Fall.pdf' class='green'><b>Fall 2006</b></a><br>";
	pastissue += "    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/06Summer.pdf' class='green'><b>Summer 2006</b></a><br>"
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_06Spring.html' class='green'><b>Spring 2006</b></a><br>";				
	pastissue += "	  </td>";

	pastissue += "	  <td class='inBodyRow'>";
	/*
	pastissue += " 	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Winter.html' class='green'><b>Winter 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Fall.html' class='green'><b>Fall 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Summer.pdf' class='green' target='_blank'><b>Summer 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Spring.pdf' class='green' target='_blank'><b>Spring 2003</b></a><br>";
	*/
	pastissue += "	  </td>";
							
	pastissue += "  </tr>";	
	pastissue += "  <tr>";
	pastissue += "	  <td class='inBodyHead'>2005</td>";
	pastissue += "	  <td class='inBodyHead'>2004</td>";
	pastissue += "	  <td class='inBodyHead'>2003</td>";
							
	pastissue += "  </tr>";
	pastissue += "  <tr>";
	pastissue += " 	  <td class='inBodySpacer' colspan='3'></td>";
	pastissue += "  </tr>";
	pastissue += "  <tr>";
	pastissue += "	  <td class='inBodyRow'>";
								
							
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_05Winter.html' class='green'><b>Winter 2005</b></a><br>";						
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_05Fall.html' class='green'><b>Fall 2005</b></a><br>";
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_05Summer.html' class='green'><b>Summer 2005</b></a><br>";
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_05Spring.html' class='green'><b>Spring 2005</b></a><br>";
							
	pastissue += "	  </td>";
	pastissue += "    <td class='inBodyRow'>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Winter.html' class='green'><b>Winter 2004</b></a><br>"			
	pastissue += "      <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Fall.html' class='green'><b>Fall 2004</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Summer.html' class='green'><b>Summer 2004</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Spring.html' class='green'><b>Spring 2004</b></a><br>";
	pastissue += " 	  </td>";
	pastissue += "	  <td class='inBodyRow'>";
	pastissue += " 	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Winter.html' class='green'><b>Winter 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Fall.html' class='green'><b>Fall 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Summer.pdf' class='green' target='_blank'><b>Summer 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Spring.pdf' class='green' target='_blank'><b>Spring 2003</b></a><br>";
	pastissue += "	  </td>";
							
	pastissue += "  </tr>";
	pastissue += "  <tr>";
	pastissue += "	<td class='inBodyHead'>2002</td>";
	pastissue += "	<td class='inBodyHead'>2001</td>";
	pastissue += "	<td class='inBodyHead'>2000</td>";
							
	pastissue += "  </tr>";
	pastissue += "  <tr>";
	pastissue += "	  <td class='inBodySpacer' colspan='3'></td>";						
	pastissue += "  </tr>";
	pastissue += "  <tr>";
	pastissue += "	  <td class='inBodyRow'>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/02Winter.pdf' class='green' target='_blank'><b>Winter 2002</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/02Fall.pdf' class='green' target='_blank'><b>Fall 2002</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/02Summer.pdf' class='green' target='_blank'><b>Summer 2002</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/02Spring.pdf' class='green' target='_blank'><b>Spring 2002</b></a><br>";
	pastissue += "	  </td>";
	pastissue += "	  <td class='inBodyRow'>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/01Dec.pdf' class='green' target='_blank'><b>December 2001</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/01Jul.pdf' class='green' target='_blank'><b>July 2001</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/01Apr.pdf' class='green' target='_blank'><b>April 2001</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/01Feb.pdf' class='green' target='_blank'><b>February 2001</b></a><br>";
	pastissue += "	  </td>";
	pastissue += "	  <td class='inBodyRow'>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/00Nov.pdf' class='green' target='_blank'><b>November 2000</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/00Jul.pdf' class='green' target='_blank'><b>August 2000</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/00May.pdf' class='green' target='_blank'><b>May 2000</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/00Mar.pdf' class='green' target='_blank'><b>March 2000</b></a><br>";
	pastissue += "	  </td>";
							
	pastissue += "  </tr>";
	pastissue += "</table>";

	return pastissue;
}

function makeVis(layer){

	if(layer == "ags1"){
		document.all.ags7.style.visibility="hidden";
		document.all.ags6.style.visibility="hidden";
		document.all.ags5.style.visibility="hidden";
		document.all.ags4.style.visibility="hidden";
		document.all.ags3.style.visibility="hidden";
		document.all.ags2.style.visibility="hidden";
		document.all.ags1.style.visibility="visible";
		document.all.agsBar1.style.background="#ddddcc";		
	}
	
	if(layer == "ags2"){
		document.all.ags7.style.visibility="hidden";
		document.all.ags6.style.visibility="hidden";
		document.all.ags5.style.visibility="hidden";
		document.all.ags4.style.visibility="hidden";
		document.all.ags3.style.visibility="hidden";
		document.all.ags2.style.visibility="visible";
		document.all.ags1.style.visibility="hidden";
		document.all.agsBar2.style.background="#ddddcc";	
	}
	if(layer == "ags3"){
		document.all.ags7.style.visibility="hidden";
		document.all.ags6.style.visibility="hidden";
		document.all.ags5.style.visibility="hidden";
		document.all.ags4.style.visibility="hidden";
		document.all.ags3.style.visibility="visible";
		document.all.ags2.style.visibility="hidden";
		document.all.ags1.style.visibility="hidden";
		document.all.agsBar3.style.background="#ddddcc";
	}
	
	if(layer == "ags4"){
		document.all.ags7.style.visibility="hidden";
		document.all.ags6.style.visibility="hidden";
		document.all.ags5.style.visibility="hidden";
		document.all.ags4.style.visibility="visible";
		document.all.ags3.style.visibility="hidden";
		document.all.ags2.style.visibility="hidden";
		document.all.ags1.style.visibility="hidden";
		document.all.agsBar4.style.background="#ddddcc";	
	}
	if(layer == "ags5"){
		document.all.ags7.style.visibility="hidden";
		document.all.ags6.style.visibility="hidden";
		document.all.ags5.style.visibility="visible";
		document.all.ags4.style.visibility="hidden";
		document.all.ags3.style.visibility="hidden";
		document.all.ags2.style.visibility="hidden";
		document.all.ags1.style.visibility="hidden";
		document.all.agsBar5.style.background="#ddddcc";	
	}
	
	if(layer == "ags6"){
		document.all.ags7.style.visibility="hidden";
		document.all.ags6.style.visibility="visible";
		document.all.ags5.style.visibility="hidden";
		document.all.ags4.style.visibility="hidden";
		document.all.ags3.style.visibility="hidden";
		document.all.ags2.style.visibility="hidden";
		document.all.ags1.style.visibility="hidden";	
		document.all.agsBar6.style.background="#ddddcc";
	}
	
	if(layer == "ags7"){
		document.all.ags7.style.visibility="visible";
		document.all.ags6.style.visibility="hidden";
		document.all.ags5.style.visibility="hidden";
		document.all.ags4.style.visibility="hidden";
		document.all.ags3.style.visibility="hidden";
		document.all.ags2.style.visibility="hidden";
		document.all.ags1.style.visibility="hidden";
		document.all.agsBar7.style.background="#ddddcc";
	}
						

	if(layer == "mediaalert1"){
		document.all.mediaalert1.style.visibility="visible";
	}
	if(layer == "mediaalert2"){
		document.all.mediaalert2.style.visibility="visible";
	}
	if(layer == "tl1984"){
		document.all.tl1984.style.visibility="visible";
	}
	if(layer == "tl8496"){
		document.all.tl8496.style.visibility="visible";
	}
	if(layer == "tl1996"){
		document.all.tl1996.style.visibility="visible";
	}	
	if(layer == "tl1997"){
		document.all.tl1997.style.visibility="visible";
	}	
	if(layer == "tl1998"){
		document.all.tl1998.style.visibility="visible";
	}
	if(layer == "tl1999"){
		document.all.tl1999.style.visibility="visible";
	}	
	if(layer == "tl2000"){
		document.all.tl2000.style.visibility="visible";
	}
	if(layer == "tl2003"){
		document.all.tl2003.style.visibility="visible";
	}	
	if(layer == "tl2004"){
		document.all.tl2004.style.visibility="visible";
	}	
	if(layer == "tl2005"){
		document.all.tl2005.style.visibility="visible";
	}
	if(layer == "fall05"){
		document.all.fall05.style.visibility="visible";
		//document.all.spring05a.style.background="99CCFF";
		if(getBrowser()=="Netscape"){
			document.all.fall05a.style.border="groove 1px #006600";
		} else {
			document.all.fall05a.style.background="99CCFF";
		}
	}	

	if(layer == "spring06"){
		document.all.spring06.style.visibility="visible";
		//document.all.spring05a.style.background="99CCFF";
		if(getBrowser()=="Netscape"){
			document.all.spring06a.style.border="groove 1px #006600";
		} else {
			document.all.spring06a.style.background="99CCFF";
		}
	}
	
	if(layer == "winter05"){
		document.all.winter05.style.visibility="visible";
		//document.all.spring05a.style.background="99CCFF";
		if(getBrowser()=="Netscape"){
			document.all.winter05a.style.border="groove 1px #006600";
		} else {
			document.all.winter05a.style.background="99CCFF";
		}
	}	
	
	if(layer == "summer05"){
		document.all.summer05.style.visibility="visible";
		//document.all.spring05a.style.background="99CCFF";
		if(getBrowser()=="Netscape"){
			document.all.summer05a.style.border="groove 1px #006600";
		} else {
			document.all.summer05a.style.background="99CCFF";
		}
	}		
	if(layer == "spring05"){
		document.all.spring05.style.visibility="visible";
		//document.all.spring05a.style.background="99CCFF";
		if(getBrowser()=="Netscape"){
			document.all.spring05a.style.border="groove 1px #006600";
		} else {
			document.all.spring05a.style.background="99CCFF";
		}
	}
	if(layer == "winter04"){
		document.all.winter04.style.visibility="visible";
		//document.all.spring05a.style.background="99CCFF";
		if(getBrowser()=="Netscape"){
			document.all.winter04a.style.border="groove 1px #006600";
		} else {
			document.all.winter04a.style.background="99CCFF";
		}
	}
	if(layer == "fall04"){
		document.all.fall04.style.visibility="visible";
		//document.all.spring05a.style.background="99CCFF";
		if(getBrowser()=="Netscape"){
			document.all.fall04a.style.border="groove 1px #006600";
		} else {
			document.all.fall04a.style.background="99CCFF";
		}
		
	}
	
	if(layer == "summer04"){
		document.all.summer04.style.visibility="visible";
		
		if(getBrowser()=="Netscape"){
			document.all.summer04a.style.border="groove 1px #006600";
		} else {
			document.all.summer04a.style.background="99CCFF";
		}
		
	}	
	if(layer == "spring04"){
		document.all.spring04.style.visibility="visible";
		
		if(getBrowser()=="Netscape"){
			document.all.spring04a.style.border="groove 1px #006600";
		} else {
			document.all.spring04a.style.background="99CCFF";
		}
		
	}	
	if(layer == "winter03"){
		document.all.winter03.style.visibility="visible";
		
		if(getBrowser()=="Netscape"){
			document.all.winter03a.style.border="groove 1px #006600";
		} else {
			document.all.winter03a.style.background="99CCFF";
		}
		
	}	
	if(layer == "fall03"){
		document.all.fall03.style.visibility="visible";
		
		if(getBrowser()=="Netscape"){
			document.all.fall03a.style.border="groove 1px #006600";
		} else {
			document.all.fall03a.style.background="99CCFF";
		}
		
	}	
	if(layer == "services"){
		hideVis('boutCub');
		hideVis('cubCareer');
		hideVis('newsroom');
		document.all.services.style.visibility="visible";
	}
	
	if(layer == "newsroom"){
		hideVis('boutCub');
		hideVis('cubCareer');
		hideVis('services');
		document.all.newsroom.style.visibility="visible";
	}
	if(layer == "boutCub"){
		hideVis('newsroom');
		hideVis('cubCareer');
		hideVis('services');
		document.all.boutCub.style.visibility="visible";
	}	
	if(layer == "cubCareer"){
		hideVis('newsroom');
		hideVis('boutCub');
		hideVis('services');
		document.all.cubCareer.style.visibility="visible";
	}
	if(layer == "mrcStatement"){
		document.all.mrcStatement.style.visibility="visible";
	}		
	if(layer == "GasCompare1"){
		document.all.GasCompare1.style.visibility="visible";
	}	
	if(layer == "GasCompare2"){
		document.all.GasCompare2.style.visibility="visible";
	}				
		
}

function hideVis(layer){

	if(layer == "ags1"){
		document.all.ags1.style.visibility="hidden";
		document.all.agsBar1.style.background="#eeeedd";
		
	}
	if(layer == "ags2"){
		document.all.ags2.style.visibility="hidden";
		document.all.agsBar2.style.background="#eeeedd";
	}
	if(layer == "ags3"){
		document.all.ags3.style.visibility="hidden";
		document.all.agsBar3.style.background="#eeeedd";
	}
	if(layer == "ags4"){
		document.all.ags4.style.visibility="hidden";
		document.all.agsBar4.style.background="#eeeedd";
	}
	if(layer == "ags5"){
		document.all.ags5.style.visibility="hidden";
		document.all.agsBar5.style.background="#eeeedd";
	}
	if(layer == "ags6"){
		document.all.ags6.style.visibility="hidden";
		document.all.agsBar6.style.background="#eeeedd";
	}

	if(layer == "ags7"){
		document.all.ags7.style.visibility="hidden";
		document.all.agsBar7.style.background="#eeeedd";
	}					


	if(layer == "GasCompare1"){
		document.all.GasCompare1.style.visibility="hidden";
		makeVis("GasCompare2");
	}
	if(layer == "GasCompare2"){
		document.all.GasCompare2.style.visibility="hidden";
		makeVis("GasCompare1");
	}


	if(layer == "mediaalert1"){
		document.all.mediaalert1.style.visibility="hidden";
		makeVis("mediaalert2");
	}
	if(layer == "mediaalert2"){
		document.all.mediaalert2.style.visibility="hidden";
		makeVis("mediaalert1");
	}	
	if(layer == "tl1984"){
		document.all.tl1984.style.visibility="hidden";
	}
	if(layer == "tl8496"){
		document.all.tl8496.style.visibility="hidden";
	}
	if(layer == "tl1996"){
		document.all.tl1996.style.visibility="hidden";
	}
	if(layer == "tl1997"){
		document.all.tl1997.style.visibility="hidden";
	}
	if(layer == "tl1998"){
		document.all.tl1998.style.visibility="hidden";
	}
	if(layer == "tl1999"){
		document.all.tl1999.style.visibility="hidden";
	}
	if(layer == "tl2000"){
		document.all.tl2000.style.visibility="hidden";
	}
	if(layer == "tl2003"){
		document.all.tl2003.style.visibility="hidden";
	}
	if(layer == "tl2004"){
		document.all.tl2004.style.visibility="hidden";
	}
	if(layer == "tl2005"){
		document.all.tl2005.style.visibility="hidden";
	}
	if(layer == "fall05"){
		document.all.fall05.style.visibility="hidden";
		document.all.fall05a.style.background="EEEEEE";
		document.all.fall05a.style.border="groove 0px #FFFFFF";
	}
	if(layer == "spring06"){
		document.all.spring06.style.visibility="hidden";
		document.all.spring06a.style.background="EEEEEE";
		document.all.spring06a.style.border="groove 0px #FFFFFF";
	}		
	if(layer == "winter05"){
		document.all.winter05.style.visibility="hidden";
		document.all.winter05a.style.background="EEEEEE";
		document.all.winter05a.style.border="groove 0px #FFFFFF";
	}	
	if(layer == "summer05"){
		document.all.summer05.style.visibility="hidden";
		document.all.summer05a.style.background="EEEEEE";
		document.all.summer05a.style.border="groove 0px #FFFFFF";
	}		
	if(layer == "spring05"){
		document.all.spring05.style.visibility="hidden";
		document.all.spring05a.style.background="EEEEEE";
		document.all.spring05a.style.border="groove 0px #FFFFFF";
	}
	if(layer == "winter04"){
		document.all.winter04.style.visibility="hidden";
		document.all.winter04a.style.background="EEEEEE";
		document.all.winter04a.style.border="groove 0px #FFFFFF";
	}
	if(layer == "fall04"){
		document.all.fall04.style.visibility="hidden";
		document.all.fall04a.style.background="EEEEEE";
		document.all.fall04a.style.border="groove 0px #FFFFFF";
	}	
	if(layer == "summer04"){
		document.all.summer04.style.visibility="hidden";
		document.all.summer04a.style.background="EEEEEE";
		document.all.summer04a.style.border="groove 0px #FFFFFF";
	}	
	if(layer == "spring04"){
		document.all.spring04.style.visibility="hidden";
		document.all.spring04a.style.background="EEEEEE";
		document.all.spring04a.style.border="groove 0px #FFFFFF";
	}
	if(layer == "winter03"){
		document.all.winter03.style.visibility="hidden";
		document.all.winter03a.style.background="EEEEEE";
		document.all.winter03a.style.border="groove 0px #FFFFFF";
	}	
	if(layer == "fall03"){
		document.all.fall03.style.visibility="hidden";
		document.all.fall03a.style.background="EEEEEE";
		document.all.fall03a.style.border="groove 0px #FFFFFF";
	}
	if(layer == "services"){
		document.all.services.style.visibility="hidden";
	}		
	if(layer == "newsroom"){
		document.all.newsroom.style.visibility="hidden";
	}	
	if(layer == "boutCub"){
		document.all.boutCub.style.visibility="hidden";

	}		
	if(layer == "cubCareer"){
		document.all.cubCareer.style.visibility="hidden";
	}	
	if(layer == "mrcStatement"){
		document.all.mrcStatement.style.visibility="hidden";
	}	
}

function rtnCliffWorth(){
	var teaser = "<br><br>";
	// create the new html page before change urls in four places
	// change the activate/de-activate dates (active for 7 days)
	// change title message to reflect posting of new graphic
	teaser += "<a href=\"cartoonCW06Summer.html\" target='popUp' class='green' title='Click here to view all cartoons created by \nCliff Worth for CUB.' onClick='window.open(\"cartoonCW06Summer.html\", \"popUp\", \"width=360\", \"height=800\" , \"menubar=no\", \"status=no\", \"toolbar=no\", \"scrollbar=no\").focus()';>"; 
	teaser += "<span class=comic style=FONT-SIZE:1.9em>";
	teaser += "<img src=images/lawc_green.gif border=0><br>";			
	teaser += "</span></a><span class=foot>The CUB Voice features <a href=\"cartoonCW06Summer.html\"target='popUp' class='green' title='Click here to view all cartoons created by \nCliff Worth for CUB.' onClick='window.open(\"cartoonCW06Summer.html\", \"popUp\", \"width=360\", \"height=800\" , \"menubar=no\", \"status=no\", \"toolbar=no\", \"scrollbar=yes\").focus()';>"; 
	teaser += "<b>artwork</b></a> by Cliff Wirth, the former Chicago&nbsp;Sun-Times cartoonist whose work has appeared in newspapers, magazines, books, and on TV for more than 50&nbsp;years. Each edition includes a front-page cartoon by Wirth reflecting CUB’s opinion on issues important to Illinois utility consumers.<br><br></span>";
	return teaser;
}

function initialCaps(str){
	var rtnString = new String();
	for(i=0; i<str.length; i++){
	  if(i==0){
		rtnString += (""+str.charAt(0)).toUpperCase();
	  } else if(str.charAt(i-1) == (" ").charAt(0)){
	    rtnString += (""+str.charAt(i)).toUpperCase();
	  } else {
	    rtnString += (""+str.charAt(i)).toLowerCase(); 
	  }
	}
	
	return rtnString;
}

function membershipPage(pt, sec){

		var e = "";
		if(pt = "member"){
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/memberupdate.php' class='subBlue' title='\"Members can update or change their mailing information.\”'>Update Membership</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";
		}
		return e; 
}


function consumerRowNatGas(pt, sec){
		var e = "";
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/ciNaturalGas.html' class='subBlue' title='This guide is Illinois\' most comprehensive collection \nof tips to help frustrated consumers better understand their \ngas bills and avoid rip-offs.'>Home Heating Survival Guide</a><br>";
		e += "</TD>";
		e += "</TR>";	
				
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/GasMarketMonitor.php' class='subBlue' title='\"Will I save money by switching to an alternative gas supplier?\” Find out.'>Gas Market Monitor</a><br>";
		e += "</TD>";
		e += "</TR>";	
		
		
		if(sec == "ags"){

				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags38.php' class='subBlue' title='Cornbelt'>Cornbelt</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags40.php' class='subBlue' title='Direct Energy Services'>Direct Energy Services</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags35.php' class='subBlue' title='Dominion Retail'>Dominion Retail</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags37.php' class='subBlue' title='IGS Energy'>IGS Energy</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags39.php' class='subBlue' title='Illinois Natural Gas'>Illinois Natural Gas</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags36.php' class='subBlue' title='MX Energy'>MX Energy</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags44.php' class='subBlue' title='Nordic Energy Services'>Nordic Energy Services</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags32.php' class='subBlue' title='Peoples Energy Services'>Peoples Energy Services</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags33.php' class='subBlue' title='Santanna Energy Services'>Santanna Energy Services</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags34.php' class='subBlue' title='U.S. Energy'>U.S. Energy</a><br>";
				e += "</TD>";
				e += "</TR>";
				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/ags52.php' class='subBlue' title='WPS Energy'>WPS Energy</a><br>";
				e += "</TD>";
				e += "</TR>";
				
			}
								
				
												
		
		
		
			
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/pga.php' class='subBlue' title='Latest PGA charges for Illinois nine largest gas utilities.'>Natural Gas Price Checker</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		/*
		if (pt == "ciElectric" || pt == "ciRights"){
			e += ciElectricRow(pt);
		}
		*/
/*		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu one</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Another under one</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='ciNaturalGas.html' class='subBlue' title='Read a series of documents about natural gas rates and what you can do to lower your bills.'>Natural Gas</a><br>";
		e += "</TD>";
		e += "</TR>";
	
		if (pt == "ciGas" ){
			e += "<TR>";
			e += "<TD class='lbSubMenu2'>";
			e += "<a href='GasMarketMonitor.php' class='subBlue' title='\"Will I save money by switching to an alternative gas supplier?\” Find out.'>Gas Market Monitor</a><br>";
			e += "</TD>";
			e += "</TR>";			
			e += "<TR>";
			e += "<TD class='lbSubMenu2'>";
			e += "<a href='pga.php' class='subBlue' title='Latest PGA charges for Illinois nine largest gas utilities.'>Natural Gas Price Checker</a><br>";
			e += "</TD>";
			e += "</TR>";		
		}		
*/			
		
		if(sec == "pga"){

				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenCILCO.php' class='subBlue' title='Ameren CILCO'>Ameren CILCO</a><br>";
				e += "</TD>";
				e += "</TR>";
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenCIPS.php' class='subBlue' title='Ameren CIPS'>Ameren CIPS</a><br>";
				e += "</TD>";
				e += "</TR>";
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenIP.php' class='subBlue' title='Illinois Power'>Ameren IP</a><br>";
				e += "</TD>";
				e += "</TR>";	
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AmerenUE.php' class='subBlue' title='Ameren UE'>Ameren UE</a><br>";
				e += "</TD>";
				e += "</TR>";
				
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/AtmosEnergy.php' class='subBlue' title='Atmos Energy'>Atmos Energy</a><br>";
				e += "</TD>";
				e += "</TR>";	
		
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/MidAmericanEnergy.php' class='subBlue' title='MidAmerican Energy'>MidAmerican Energy</a><br>";
				e += "</TD>";
				e += "</TR>";	
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/Nicor.php' class='subBlue' title='NICOR'>NICOR</a><br>";
				e += "</TD>";
				e += "</TR>";
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/NorthShoreGas.php' class='subBlue' title='North Shore Gas'>North Shore Gas</a><br>";
				e += "</TD>";
				e += "</TR>";		
								e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/PeoplesGas.php' class='subBlue' title='Peoples Gas'>Peoples Gas</a><br>";
				e += "</TD>";
				e += "</TR>";																					
			
		}
/*		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu two</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='ciTelecomm.html' class='subBlue' title='Read a series of documents about local and long distance services, and how you can save money.'>Telecommunications</a><br>";
		e += "</TD>";
		e += "</TR>";
*/		
/*		
		e += "<TR>";
		e += "<TD class='lbSubMenu2'>";
		e += "<a href='test.html' class='subBlue' title='Explain submenu item in short detail.'>Under submenu two</a><br>";
		e += "</TD>";
		e += "</TR>";
		

		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='ciTips.html' class='subBlue' title='Read about some simple consumer tips that you can follow to save you money.'>Consumer tips</a><br>";
		e += "</TD>";
		e += "</TR>";		
*/		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/utilityprofiles.php' class='subBlue' title='CUB has compiled a list of utility companies\nproviding service in Illinois.'>Utility Profiles</a><br>";
		e += "</TD>";
		e += "</TR>";								
		
		// leave one row blank for spacing
		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";
		
		return e;
}// end consumerRowNatGas()

function consumerRowTelecom(pt, sec){
		var e = "";
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/ciTelecomm.html' class='subBlue' title='There are many ways to cut \nyour telephone costs, but you may \nnot be aware of them. \nRead about how to save.'>Phone Cost-Cutting Kit</a><br>";
		e += "</TD>";
		e += "</TR>";		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/ssl/CostCutter.php' class='subBlue' title='In five easy steps, use our calculator to see savings.'>Local Phone Cost-cutter</a><br>";
		e += "</TD>";
		e += "</TR>";
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/cubServices_pbclinics.html' class='subBlue' title='Read more about our successful phone-bill clinics.'>Phone Bill Clinics</a><br>";
		e += "</TD>";
		e += "</TR>";			
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/utilityprofiles.php' class='subBlue' title='CUB has compiled a list of utility companies\nproviding service in Illinois.'>Utility Profiles</a><br>";
		e += "</TD>";
		e += "</TR>";	

		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";

		return e;
}// end consumerRowTelecom()	


function getGreen(pt, sec){
		var e = "";
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/getgreenPledge.php' class='subBlue' title=''>Pledge</a><br>";
		e += "</TD>";
		e += "</TR>";	
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/getgreenTips.html' class='subBlue' title=''>Tips</a><br>";
		e += "</TD>";
		e += "</TR>";	
		/*
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='getgreenGlobalWarming.html' class='subBlue' title=''>Global Warming</a><br>";
		e += "</TD>";
		e += "</TR>";		
		*/
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/getgreenCarbonFootprint.html' class='subBlue' title=''>Carbon Footprint Calculator</a><br>";
		e += "</TD>";
		e += "</TR>";		
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/getgreenPublicTestimonials.html' class='subBlue' title=''>Testimonials</a><br>";
		e += "</TD>";
		e += "</TR>";		
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/getgreenEntertainmentCenter.html' class='subBlue' title=''>Entertainment Center</a><br>";
		e += "</TD>";
		e += "</TR>";	

		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/getgreenResources.html' class='subBlue' title=''>Green Resources</a><br>";
		e += "</TD>";
		e += "</TR>";
		
		e += "<TR>";
		e += "<TD class='lbSubMenu1'>";
		e += "<a href='http://www.citizensutilityboard.org/getgreenCFLs.html' class='subBlue' title=''>CFLs: The Facts</a><br>";
		e += "</TD>";
		e += "</TR>";			
		
								

			

		e += "<TR>";
		e += "<TD class='lbSubMenuSpace'>";
		e += "<br>";
		e += "</TD>";
		e += "</TR>";

		return e;
}// end consumerRowTelecom()
	

function rtnETP(){
	var f = "";
	f += "<form ID='frmETP' action='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/emailthispage.php' method='post' class=frmETP> ";
	f += "<input type='hidden' name='emailURL' value="+document.location+">";
	f += "<input type='hidden' name='emailTitle' value="+getTitle(document.title)+">";
	// e-mail this page
	f += "<input type='submit' name='sub' value='E-mail this page' ID='sub' class='ETP'>";
	f += "</form><br><br>";
	//f += "<a href=index.html class=green title='Click here to e-mail this page to a friend.'><b>E-mail this page<b></a>";
	return f;
}

function setC2(form){
    form.submit.style = "color:#cc6633";
}

function setC(form){
    form.submit.style = "color:#333366";
}

function getURL(d){
	return d.location
	}

function getTitle(d){
	var t = "";
	var test = " ";
	for(i=0 ; i < d.length ; i++){
		if(d.charAt(i) != test.charAt(0)){
			t += d.charAt(i);
		}else{
			t += "~%";
		}
	}
	return t;
	}
	
	
function compareAnnualAvg(a){
	var comp = "<br><br>";
	var time = new Date();
	var year = time.getFullYear();
	var arMA = new Array();
	arMA[0] = 250;
	arMA[1] = 250; 
	arMA[2] = 150; 
	arMA[3] = 100; 
	arMA[4] = 25; 
	arMA[5] = 25; 
	arMA[6] = 25; 
	arMA[7] = 25; 
	arMA[8] = 100; 
	arMA[9] = 150; 
	arMA[10] = 200; 
	arMA[11] = 200;
	var currentMonths = a[a.length-1].length;
	var arAnnualCostToDate = new Array();
	for(i=0; i<a.length; i++){
		arAnnualCostToDate[i] = 0;
	}
	for(i=0; i< a.length ; i++){
		b = a[i];
		for(j=0; j< currentMonths ; j++){
		  arAnnualCostToDate[i] += (arMA[j]*(b[j]))/100;
		}
	}
	//comp = "A = " + arAnnualCostToDate.length;
	comp += "<div class=subhead>Year to Month comparison</div>Based on the average therms consumed each month<br>consumers paid the following ";

	if(currentMonths==1){
	 comp += "in <b>January";
	}

	if(currentMonths==2){
	 comp += "between <b>January - February";
	}
	if(currentMonths==3){
	 comp += "between <b>January - March";
	}
	if(currentMonths==4){
	 comp += "between <b>January - April";
	}	
	if(currentMonths==5){
	 comp += "between <b>January - May";
	}
	if(currentMonths==6){
	 comp += "between <b>January - June";
	}
	if(currentMonths==7){
	 comp += "between <b>January - July";
	}
	if(currentMonths==8){
	 comp += "between <b>January - August";
	}	
	if(currentMonths==9){
	 comp += "between <b>January - September";
	}	
	if(currentMonths==10){
	 comp += "between <b>January - October";
	}	
	if(currentMonths==11){
	 comp += "between <b>January - November";
	}
	if(currentMonths==12){
	 comp += "between <b>January - December";
	}		

	comp += ".</b><br>";
	var difYear = 0;
	for(i=arAnnualCostToDate.length-1; i >= 0; i--){
	 comp += "<br>In " + year + ", the average cost <b>$" + Math.round(arAnnualCostToDate[i])+ ".00</b>";
	 difYear = Math.round(arAnnualCostToDate[i]);
	 if(i>0){
		xi = (difYear-Math.round(arAnnualCostToDate[i-1]));
		
		if(xi <= 0){
		  comp += " a decrease of <span class=red><b>$(" + xi + ".00)</b></span>";
		}else {
			comp += " an increase of <b>$" + xi + ".00</b>";
		}
	
	}
	 
	 year--;
	}
	return comp + "<br><br><span class=foot>See CUB's <a href=GasMarketMonitor.php class=green><b>Gas Market Monitor</b></a> for Average Monthly Therms.</span><br>";
	}
	
function showImage(img){
   var lngth = img.length; 
   var r = Math.round(Math.random()*(lngth-1));
   var x = img[r];
   return x ; 
}	


function fn1(elem) {
   elem.style.filter="blendTrans(duration=1)";
       elem.filters.blendTrans.Apply();
       elem.style.visibility="hidden";
       elem.filters.blendTrans.Play();
elem.filters.percent=30; 
}
function fn2(elem) {
    elem.style.filter="blendTrans(duration=1)";
       elem.filters.blendTrans.Apply();
       elem.style.visibility="visible";
       elem.filters.blendTrans.Play();
elem.filters.percent=70; 
} 

function fnPon(elem) {
	   
	   elem.style.filter="blendTrans(duration=1)";
       elem.filters.blendTrans.Apply();
       elem.style.visibility="visible";
       elem.filters.blendTrans.Play();
       elem.filters.percent=100;
       elem.src="images/pledgenow1.gif";   
}



function fnPoff(elem, imgname) {
	
	   elem.style.filter="blendTrans(duration=1)";
       elem.filters.blendTrans.Apply();
       elem.style.visibility="visible";
       elem.filters.blendTrans.Play();
       elem.filters.percent=100; 
       elem.src="images/pledgenow2.gif";
      
}

function fnBon(elem) {
	   
	   elem.style.filter="blendTrans(duration=2)";
       elem.filters.blendTrans.Apply();
       elem.style.visibility="visible";
       elem.filters.blendTrans.Play();
       elem.filters.percent=100;
       elem.src="images/becomeGreen2On.gif";   
}



function fnBoff(elem) {
	
	   elem.style.filter="blendTrans(duration=2)";
       elem.filters.blendTrans.Apply();
       elem.style.visibility="visible";
       elem.filters.blendTrans.Play();
       elem.filters.percent=100; 
       elem.src="images/becomeGreen2Off.gif";
      
}


function limitText(field, count, size){
	if(field.value.length > size){
		field.value = field.value.substring(0, size)
	} else {
		count.value = size - field.value.length;
	}
}





					
					

				
					

/************* get green ***/	

var cmbos= 2;
var tstBulbCnt = 0;
					
						
				function closeCar(){
				  document.getElementById("greenIL").style.visibility = "hidden";
				}
					
				function updateFootResults(t){
						   brwType = navigator.appName;
							if(brwType =="Netscape" ){
								// alert("Netscape in updateFootResults.");
								document.getElementById("cfrShow").style.left = 390;
								document.getElementById("cfrShow").style.top = 204;
							}
							//alert("updateFootResults() 1");
							var a = parseFloat(document.getElementById("numHH").value);
							//alert("updateFootResults() 1a = " +a );
							if(a <1){
							 a = 1;
							} else if(isNaN(a)){
							 a = 1;
							}
							
							var b = parseFloat(document.getElementById("weekMiles").value);
							var c = parseFloat(document.getElementById("mpg").value);
							var d = parseFloat(document.getElementById("flyMiles").value);
							var e = parseFloat(document.getElementById("mthElec").value);
							//var f = parseFloat(document.getElementById("pctClean").value);
							var g = parseFloat(document.getElementById("natGas").value);
							var h = parseFloat(document.getElementById("heatOil").value);
							var i = parseFloat(document.getElementById("proPane").value);
							var ngp = parseFloat(document.getElementById("ngPrice").value);
							var hop = parseFloat(document.getElementById("hoPrice").value); 
							var ppp = parseFloat(document.getElementById("ppPrice").value);
							
							// should we set milage higher
							if(c==0){c=1;};
							var auto = b/c;
							auto *= 19.4;
							auto *= 52;
							auto = auto.toFixed(0);
							
							var airlines = 20.88/43.13;
							//alert("airlines 20.88/43.13 = " + airlines);
							airlines = airlines*2.7;
							//alert("airlines*2.7 = " + airlines);
							airlines = airlines*d;
							//alert("airlines*d = " + airlines);
							
							var elec = (e/a)/0.09;
							//alert("+++++ here 1   elec = " + elec );
							elec *= 1.37;
							//alert("+++++ here 2   elec = " + elec );
							elec *= 12;
							//alert("+++++ here 3   elec = " + elec );
							//f *= 0.01;
							
							// elec *= (1-f)
							elec = elec.toFixed(0);
							//alert("+++++ here 4   elec = " + elec );
							
							
							if(ngp==0){
							 npg=1.19;
							}
							var natG = (g/a)/ngp;
							natG *= 120.61*12;
							natG = natG.toFixed(0);
							
							if(hop==0){
							 hop=1;
							}
							var ho = (h/a)/hop;
							ho *= 22.28*12;
							ho = ho.toFixed(0);
							
							if(ppp==0){
							 ppp=1;
							}
							var pp = (i/a)/ppp;
							pp *= 3.72*12;
							pp = pp.toFixed(0);
							
							airlines = airlines.toFixed(0);
							var uts = parseFloat(pp)+parseFloat(ho)+parseFloat(natG)+parseFloat(elec);
							
							var alines = Math.round(airlines);
							var total = parseFloat(uts)+parseFloat(auto)+alines; // you'll have to add airlines
							
							var rtnResults = "";
							
							rtnResults += "<div><span style='font-weight:bold;font-size:1.4em;'>Results </span><br><span style=\"font-weight:normal;font-size:1em;\">Your Annual Carbon Footprint</span></div><br><br><br>";
							
							rtnResults += "<div style=\"float:right;text-align:right;font-weight:bold;\">" + addCommas(""+ auto) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><b>Auto:</b> <br>";
							
							
							rtnResults += "<br><div style=\"float:right;text-align:right;font-weight:bold;\">" + addCommas(""+ airlines) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><b>Airline:</b> <br><br>";
							//airlines = 0; // need to remove after we get formula
							
							rtnResults += "<br><div style=\"float:right;text-align:right;font-size:.9em;\">" + addCommas(""+ elec) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><span style=\"font-size:.9em;\">Electricity: </span><br>";
							rtnResults += "<div style=\"float:right;text-align:right;font-size:.9em;\">" + addCommas(""+ natG) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><span style=\"font-size:.9em;\">Natural gas: </span><br>";
							rtnResults += "<div style=\"float:right;text-align:right;font-size:.9em;\">" + addCommas(""+ ho) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><span style=\"font-size:.9em;\">Heating oil: </span><br>";
							rtnResults += "<div style=\"float:right;text-align:right;font-size:.9em;\">" + addCommas(""+ pp) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><span style=\"font-size:.9em;\">Propane: </span><br>";
							rtnResults += "<div style=\"float:right;text-align:right;font-weight:bold;\">" + addCommas(""+ uts) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><b>Total utilities:</b> <br><br>";
							
							rtnResults += "<div style=\"float:right;text-align:right;font-weight:bold;\">" + addCommas(""+ total) + " lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span></div><span style=\"font-weight:bold;\">Total:</span> ";
							if(brwType =="Netscape" ){
							 rtnResults += "<div style=\"height:1px;clear:both;\">&#160;</div>";
							}	
						
							var elephants = total/9000;
							var elpht = "elephants";
							if(elephants<=1){
							 elpht = "elephant";
							}
							
							if(elephants>=1){
							 rtnResults += "<span style=\"font-size:.9em;\">Equivalent to the weight of " + addCommas(""+ elephants.toFixed(1)) + " " + elpht + ".</span><br>"; //http://www.citizensutilityboard.org/
							}
							if(brwType =="Netscape" ){
							 rtnResults += "<div id=\"mthcfc\" name=\"mthcfc\" style=\"margin-top:8px;z-index:600;font-size:.8em;\"><a href=\"pdfs/GetGreen/MethodologyCarbonCalculator.pdf\" class=\"green\" target=\"_blank\">methodology</a>&#160;&#160;</div>";
							} else {
							 rtnResults += "<div id=\"mthcfc\" name=\"mthcfc\" style=\"margin-top:8px;z-index:600;font-size:.8em;\"><a href=\"pdfs/GetGreen/MethodologyCarbonCalculator.pdf\" class=\"green\" target=\"_blank\" onmouseover=\"setDivToURL(\'mthg\', \'pdfs/GetGreen/MethodologyCarbonCalculator.pdf\', 240);\" onmouseout=\"hidePrvw(\'prvwURL\');stopPlay(\'prvwURL\');\" title=\"Hold mouse over spectacles to preview site or click to open.\">methodology<img src=\"http://www.citizensutilityboard.org/images/preview.gif\" border=\"0\" style=\"margin-left:8px;\"></a>&#160;&#160;</div>";
							}
							 
							rtnResults += "<form name='calcFoot' id='calcFoot' style=\"float:right;margin-top:14px;\">";
							rtnResults += "<input style='float:right;margin-left:104px;font-size:.8em;' type='button' onclick='hideFootResults();' value='Try again'/>";							
							rtnResults += "</form>";
							
							
							rtnResults += "<br></div>";
							
							/**/
							/*
							// document.write("<div id='footResults' name='footResults' >");
							
							document.write("");	
							document.write("");
							document.write("");
							document.write("");
							document.write("");
							document.write("");
							document.write("");
							document.write("");
							document.write("<br></div>");
							document.write("</div>");
							*/
							//document.getElementById("footResults").innerHTML = rtnResults;	
							document.getElementById("cfrShow").innerHTML = rtnResults;
							//alert("+++++ here 5" );
							
							document.getElementById("cfrShow").style.visibility = "visible";
							//alert("+++++ here 6" );			
				}// end function

				function increaseCombo(){
				  //alert("test increaseCombo b4 = " + cmbos);
				  cmbos++;
				  //alert("test increaseCombo after = " + cmbos);
				  if(cmbos>5){
				   cmbos=5;
				  }
				 updateCombos(cmbos);
				}
				
				function decreaseCombo(){
				  cmbos--;
				  if(cmbos<2){
				   cmbos=2;
				  }
				  updateCombos(cmbos);
				}	
				
				function updateCombos(a){
				  var newCombos = "";
				  var brwType = navigator.appName;
				  
				// fix fix
				newCombos += "<div style=float:right;width:220px;background-color:#eed;color:#060;padding:6px;margin-top:4px;margin-left:6px;margin-bottom:16px;border: #666 2px groove;><a href=javascript:increaseCombo(); border=0><img src=images/greenPlus.gif align=right alt='Add another combination of lightbulbs to be replaced.'></a><a href='javascript:decreaseCombo();' border=0 ><img src=images/greenMinus.gif align=right></a><b>CFL Calculator</b><br><br>";
				newCombos += "<span id='message3' name='message3' style=\"font-size:.9em;color:#000;\">See how energy-saving light bulbs, or CFLs, save money and the environment. Fill in the number and wattage of the traditional incandescent bulbs you’re replacing, as well as the kind of CFLs you’re replacing them with. Then estimate the average number of hours per day you will use the&#160;bulbs. </span>";
				newCombos += "<form name='calcCFL' id='calcCFL' style='margin-bottom:-2px;margin-top:-1px;'>";
				newCombos += "<div style=\"width:204px;margin-top:8px;margin-bottom:4px;padding-bottom:2px;font-size:.75em;\">";
				if(brwType == "Netscape"){
					newCombos += "<span style=\"width:56px;float:left;\"># of<br>Bulbs</span><span style=\"width:80px;float:left;\">Incandescent Wattage<br></span><span style=\"width:44px;float:left;\">CFL Wattage<br></span><br></div>";
				} else {
					newCombos += "<span style=\"width:56px;\"># of<br>Bulbs</span><span style=\"width:80px;\">Incandescent Wattage<br></span><span style=\"width:44px;\">CFL Wattage<br></span><br></div>";
				}				
				
											  
				
				  for(i=1; i< a; i++){
					newCombos +="<div style='align:base;  margin-top:-2px; margin-bottom:-2px;'>";
					newCombos +="<input type='text' value='0' name='num"+i+"' style='text-align:right; width:48px; height:18px; font-size:9px;'>&#160;&#160;";
					
		if(brwType == "Netscape"){
			newCombos +="<select id=name='incWatt"+i+"' name='incWatt"+i+"' style='width:56px;height:17px;margin-bottom:8px;'>&#160;&#160;";
		} else {
			newCombos +="<select id=name='incWatt"+i+"' name='incWatt"+i+"' style='width:56px;height:14px;margin-bottom:8px;'>&#160;&#160;";
		}					
					
					
					
					
					
					
					newCombos +="<option value='100'>100</option>";
					newCombos +="<option value='75'>75</option>";
					newCombos +="<option value='60'>60</option>";
					newCombos +="<option value='50'>50</option>";
					newCombos +="</select>&#160;&#160;";
					
		if(brwType == "Netscape"){
			newCombos +="<select id='cflWatt"+i+"' name='cflWatt"+i+"' style='width:56px;height:17px;margin-bottom:8px;'>";
		} else {
			newCombos +="<select id='cflWatt"+i+"' name='cflWatt"+i+"' style='width:56px;height:14px;margin-bottom:8px;'>";
		}					
					//newCombos +="<select name='cflWatt"+i+"' style='width:56px;height:14px;margin-bottom:8px;'>";



					newCombos +="<option value='28'>28</option>";
					newCombos +="<option value='22'>22</option>";
					newCombos +="<option value='18'>18</option>";
					newCombos +="<option value='13'>13</option>";
					newCombos +="</select></div>";
				 }
					newCombos +="<input  type='text' value='4' name='hours' style='text-align:right; width:48px; height:18px; font-size:9px;'>&#160;&#160;<span style=font-size:.8em;>hours per day</span>";
					newCombos +="<input style='float:right;margin-left:104px;font-size:.9em;' type='button' onclick='updateResults()' value='Calculate'/>";
					newCombos +="</form>";
							
					//newCombos +="<div style='font-size:.9em;'>";
					//newCombos +="<div name='anSav' id=\"anSav\">Annual Savings $0.00</div>";
					
					//newCombos +="<div name='anCli' id=\"anCli\">Climate 0.0 lbs of C0<span style=font-size:.8em;>2</span></div>";
					//newCombos +="<div name='miles' id=\"miles\">Car miles 0.0 </div>";
					//newCombos +="</div></div>";
					newCombos +="</div>";				 
				 
				  document.getElementById("combos").innerHTML = newCombos;
				  //updateResults();
				  //alert("test 2");
				}
				
				
				function getFraction(x, y){
					var strFrac = "";
					x *= 100;
					x = Math.round(x);
					if(x > 75){
					 strFrac = " and three quarter times ";
					} else if(x > 60 && x <= 75){
					 strFrac = " and two third times ";
					} else if(x > 50 && x <= 60){
					 strFrac = " and a half times ";
					} else if(x > 25 && x <= 50){
					 strFrac = " and a quarter times ";
					} else {
					 if(y>1){
					 strFrac = " times ";
					 } else {
					 strFrac = " time ";
					 }
					}
					return strFrac;
				}
				
				function getFraction2(x){
					
					var strFrac = "";
					
					x *= 100;
					x = Math.round(x);
					if(x > 75){
					 strFrac = " three quarters of the way ";
					} else if(x > 60 && x <= 75){
					 strFrac = " two thirds of the way ";
					} else if(x > 50 && x <= 60){
					 strFrac = " half way ";
					} 
					/**/
					return strFrac;
				}				
				
				function getCount(x){
					var strRtn = "" + addCommas("" + x);
					switch (x){
					 case 1:
					  strRtn = " one ";
					  break;
					 case 2:
					  strRtn = " two ";
					  break;
					 case 3:
					  strRtn = " three ";
					  break;
					 case 4:
					  strRtn = " four ";
					  break;
					 case 5:
					  strRtn = " five ";
					  break;
					 case 6:
					  strRtn = " six ";
					  break;
					 case 7:
					  strRtn = " seven ";
					  break;
					 case 8:
					  strRtn = " eight ";
					  break;
					 case 9:
					  strRtn = " nine ";
					  break;
					 case 10:
					  strRtn = " ten ";
					  break;
					}
					return strRtn;
				}
				
				function makeCFLVisible(){

				 document.getElementById("greenIL").style.visibility = "visible";
				 if(document.getElementById("cfrShow").style.visibility == "visible"){
				  document.getElementById("cfrShow").style.visibility = "hidden";
				 }				 
				}
						
				function updateResults(){
					var brwType = navigator.appName;
				    var as = 0.00;
				    var lbs = 0.000;
				    var mls = 0.0;
				    var a = 0;
				    var b = 0;
				    var c= 0;
				    var hrs = "hours";
				    //alert("Inside = updateResults() 0 = ");
				     var d = 0;
				   
				  // alert("Inside = updateResults() 1");
				   
				   if(brwType != "Netscape"){
				    d = parseFloat(document.getElementById(hrs).value);
				    } else {
				     d = parseFloat(document.calcCFL.hours.value);
				    }
				    
					//alert("here hre Inside = updateResults() 2 d=" + d);
				    
				    if(isNaN(d)){
				     d=4;
				    }
				    //d = Math.round(d);
				    if(d<1){
				    
				     if(brwType != "Netscape"){
				      document.getElementById("hours").value = "1";
				      d = 1;
				     } else {
				      document.calcCFL.hours.value = "1";
				      d = 1;
				     }
				     
				    } else if( d > 24) {
						if(brwType != "Netscape"){
							document.getElementById("hours").value = "24";
							d = 24;
						} else {
							document.calcCFL.hours.value = "24";
							d = 24;						
						}
				     
				    } else {
						if(brwType != "Netscape"){
							document.getElementById("hours").value = "" + d;
						}else{
							document.calcCFL.hours.value = "" +d ;
						}
				    }
				   //alert("cmbos = " + cmbos);
				   //alert("Inside = updateResults() 2");
				   //alert("Inside = updateResults() a1 = " +a);
				   
				   
				   for(i=1; i< cmbos; i++){
				   // alert("i = " + i);
				   // alert("Inside = updateResults() a2 = " +a);
				   var idx_n = "num"+i;
				   //if(brwType != "Netscape"){}
				  //  alert("Inside = updateResults() a3 1 = " + a + " | idx_n = "  + idx_n + " | i = "  + i);

				    if(brwType != "Netscape"){
						a = parseInt(document.getElementById(idx_n).value);
					} else {
						switch(i)
							{
							case 1:
								a = parseInt(document.calcCFL.num1.value);
								break;
							case 2:
								a = parseInt(document.calcCFL.num2.value);
								break;
							case 3:
								a = parseInt(document.calcCFL.num3.value);
								break;
							case 4:
								a = parseInt(document.calcCFL.num4.value);
								break;
							default:
								a = 0;
							}

					    
					}
				   
				   // alert("XXXX Inside = updateResults() a3 2 = " + a + " | idx_n = "  + idx_n + " | i = "  + i);

				    if(isNaN(a)){
				     //alert("a isNana");
				     a = 0;
				    } else if (a<0){
				     //alert("a is 0");
				     a = 0;
				    } else if (a>1000000){
				     a = 1000000;
				     //alert("a is 10000");
				    } else {
				     //alert("a worked");
				    }
				    
				    a = Math.round(a);
				    tstBulbCnt += a;
				   // alert("b = " + b);
				   if(brwType != "Netscape"){
				    document.getElementById("num"+i).value = ""+ a;
				    b = parseInt(document.getElementById("incWatt"+i).value);
				    c = parseInt(document.getElementById("cflWatt"+i).value);
				   } else {
						switch(i)
							{
							case 1:
								document.calcCFL.num1.value = ""+a;
								b = parseInt(document.calcCFL.incWatt1.value);
								c = parseInt(document.calcCFL.cflWatt1.value);								
								break;
							case 2:
								document.calcCFL.num2.value = ""+a;
								b = parseInt(document.calcCFL.incWatt2.value);
								c = parseInt(document.calcCFL.cflWatt2.value);								
								break;
							case 3:
								document.calcCFL.num3.value = ""+a;
								b = parseInt(document.calcCFL.incWatt3.value);
								c = parseInt(document.calcCFL.cflWatt3.value);								
								break;
							case 4:
								document.calcCFL.num4.value = ""+a;
								b = parseInt(document.calcCFL.incWatt4.value);
								c = parseInt(document.calcCFL.cflWatt4.value);								
								break;
							default:
								a = 0;
							}				    
				   }
				  //  alert("c "+c);
				    
				    var x = b-c;
				   // alert("x "+ x);
				    
				    as += ((((a*(x))*d)*365)/1000)*.09;
				    lbs += ((((a*(x))*d)*365)/1000)*1.341;
				    mls += ((((a*(x))*d)*365)/1000)*((1.341/19.4)*23.9);
			    
				    }// end loop
				    
				   //  alert("Inside = updateResults() 3");
				    
				     as = as.toFixed(2);
				     lbs = lbs.toFixed(0);
				     mls = mls.toFixed(0);	
				     mlsX = mls;			     
				     
				     if(isNaN(as)){
				    //  alert("as is Nan");
				      as = "0.00";
				      lbs = "0";
				      mls = "0";
				     } else {
				      as = addCommas("" + as);
				     }
				
				    lbs = addCommas("" + lbs);
				    mls = addCommas("" + mls);
				   //  alert("as = " + as);
				   //  alert("lbs = " + lbs);
				    // alert("mls = " + mls);
				    var c2r = 419;
				    //alert("1 c2r "+c2r);
				    var r = mlsX%c2r;
				    //alert("2 r = "+r);
				    var distX = mlsX-r;
				    // alert("3 distX = "+ distX);
				    var nXbtwn = distX / c2r;
				    //alert("4 nXbtwn = "+ nXbtwn);
				     var rPct = r/c2r;
				    // alert("rPct = " + rPct);
				    //alert("5 rPct = "+ rPct);
				    
				    var strDst = "";
				    if(nXbtwn > 0){
						rPct = getFraction(rPct, nXbtwn);
						nXbtwn = getCount(nXbtwn);
						strDst = "That is a drive lasting about " + nXbtwn + rPct + "between Rockford and Cairo, Illinois.</span><br><br><br><br>";
				    } else if ((rPct*100) > 50){
				       rPct = getFraction2(rPct);
				       //alert("rPct = " + rPct);
				       strDst = "That is about " + rPct + "between Rockford and Cairo.</span><br><br><br><br>";
				    }
				    
				    

					//document.getElementById("anSav").innerHTML = "Annual Savings $" + as;
					//document.getElementById("anCli").innerHTML = "Climate "+ lbs +" lbs of C0<span style=font-size:.8em;>2</span>";
					//document.getElementById("miles").innerHTML = "Car miles " + mls;	

					//document.getElementById("anSav2").innerHTML = "Annual Savings $" + as;
					//document.getElementById("anCli2").innerHTML = "Climate "+ lbs +" lbs of C0<span style=font-size:.8em;>2</span>";
					//document.getElementById("miles2").innerHTML = "Car miles " + mls + "<br><span style='font-size:.8em;line-height:.9em;'>carbon emissions<br><br>" + strDst;
					var isAre = "is";
					var blb = "bulb";
					var cblb = "a CFL (compact flourescent lightbulb)";
					
					
					if (tstBulbCnt>1){ 
					 isAre = "are";
					 blb = "bulbs";
					 cblb = "CFLs (compact flourescent lightbulbs)";
					}
					var bulbCnt = addCommas("" + tstBulbCnt);
					// By replacing (NUMBER) incandescent bulb(s) with a CFL used at least <<hours>> hour(s) a day, you will… // that " +isAre + " in use for
/*					
Reduce your annual energy costs by: 
$9.46

Reduce your annual CO2 pollution by: 
141 lbs—the pollution created 
by driving 174 miles
*/
					if(d==1){
					 hrs = "hour";
					}
					
					
					
					var m3 = "By replacing " + bulbCnt + " incandescent "+ blb +"  with " + cblb+ " used at least " +  d + " " +hrs+ " per day, you will... ";	
					
					m3 += "<br><br>Reduce your annual energy costs by: $" + as;
					m3 += "<br><br>Reduce your annual C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;font-weight:bold;'>2</span> pollution by: ";
					m3 += lbs + " lbs—the pollution created";
					m3 += " by driving " + mls + " miles";
					m3 += "<br><br>" + strDst;
					
					// here here here
					document.getElementById("message3").innerHTML = m3;
					
					if(tstBulbCnt>0){
					 document.getElementById("greenIL").style.visibility = "visible";
					 tstBulbCnt=0;
					}	
				//	alert("end");		
				}
				
				
				
				
				function addCommas(nStr)
				{
					nStr += '';
					x = nStr.split('.');
					x1 = x[0];
					x2 = x.length > 1 ? '.' + x[1] : '';
					var rgx = /(\d+)(\d{3})/;
					while (rgx.test(x1)) {
						x1 = x1.replace(rgx, '$1' + ',' + '$2');
					}
					return x1 + x2;
				}		
				

				function wrtCarbonFootPrint(){
				//alert("wrtCarbonFootPrint()");
				  var rtnCFP = "";
							//rtnCFP += "<div style='width:424px;'></div>";
							rtnCFP += "<div id='cfShell' name='cfShell'>";
							rtnCFP += "<form name='calcFoot' id='calcFoot' style='margin-bottom:-2px;margin-top:-1px;'>";
							rtnCFP += "<div id='carbonfoot' name='carbonfoot' style='float:right; padding: 4px; width:200; margin-top:6px; margin-bottom:6px; margin-left:6px; background-color:#eed; color:#060; background-image:url(images/BabyFoot2.png); background-repeat:no-repeat; border-bottom:groove 1px #060;height:316px;width:224px;'>";
							rtnCFP += "<span style='font-weight:bold;'>Carbon Footprint Calculator</span><br><br><span style='font-size:.8em;'>";
							
							rtnCFP += "<input type='range' max='25' min='1' value='1' id='numHH' name='numHH' onkeyup=\"limitMillion('numHH');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "How many people live in your&#160;household?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							rtnCFP += "<input type='text' value='0' id='weekMiles' name='weekMiles' onkeyup=\"limitMillion('weekMiles');limitZero('weekMiles');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "How many miles do you drive a car each&#160;week?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							rtnCFP += "<input type='text' value='0' id='mpg' name='mpg' onkeyup=\"limitMillion('mpg');limitZero('mpg');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "What is the average gas mileage for your&#160;car(s)?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							rtnCFP += "<input type='text' value='0' id='flyMiles' name='flyMiles' onkeyup=\"limitMillion('flyMiles');limitZero('flyMiles');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "Approximately how many miles do you fly per&#160;year?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							rtnCFP += "<input type='text' value='0' id='mthElec' name='mthElec' onkeyup=\"limitMillion('mthElec');limitZero('mthElec');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "What is your average monthly electric&#160;bill?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							//rtnCFP += "<input type='text' value='0' id='pctClean' name='pctClean' style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							//rtnCFP += "What percentage of you electricity comes from clean, renewable sources like solar or&#160;wind?<br><br>";
							
							rtnCFP += "<input type='text' value='0' id='natGas' name='natGas' onkeyup=\"limitMillion('natGas');limitZero('natGas');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "What is your average monthly natural gas&#160;bill?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							rtnCFP += "<input type='text' value='0' id='heatOil' name='heatOil' onkeyup=\"limitMillion('heatOil');limitZero('heatOil');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "What is your average monthly heating oil&#160;bill?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							rtnCFP += "<input type='text' value='0' id='proPane' name='proPane' onkeyup=\"limitMillion('proPane');limitZero('proPane');\" style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";
							rtnCFP += "What is your average monthly propane&#160;bill?<div style=\"font-size:.5em;height:8px;clear:both;\">&#160;</div>";
							
							//rtnCFP += "<hr><span style='color:#933;'>";
							rtnCFP += "<input type='hidden' value='8.11537' id='ngPrice' name='ngPrice' style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";							
							//rtnCFP += "Natural Gas:<br>Price Per 1000 ft.<span style='font-size:90%;vertical-align:top;'>3</span><br><br>";
							
							rtnCFP += "<input type='hidden' value='3.092' id='hoPrice' name='hoPrice' style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";							
							//rtnCFP += "Heating Oil:<br>Price Per Gallon<br><br>";
							
							rtnCFP += "<input type='hidden' value='2.243' id='ppPrice' name='ppPrice' style='float:right;width:48px;height:18px; font-size:9px;text-align:right;'>";							
							//rtnCFP += "Propane:<br>Price Per Therm<br><br>";	
							rtnCFP += "</span>";																				
							rtnCFP += "<div style=\"float:right;\">";				
							rtnCFP += "<input style='font-size:.9em;' type='reset'/>";																	
							rtnCFP += "<input style='font-size:.9em;' type='button' onclick='updateFootResults(this);' value='Calculate'/>";							
							rtnCFP += "</div>";						
							rtnCFP += "</span>";
							
							rtnCFP += "</form>";
							/*
							rtnCFP += "<div id='footResults' name='footResults' >";
							rtnCFP += "<div style='text-align:right;font-weight:bold;'>Annual<br>lbs of C0<span style='font-size:50%;margin-bottom:-4px;vertical-align:bottom;'>2</span></div><br>";
							rtnCFP += "<b>Auto:</b> 0 <br>";	
							rtnCFP += "<br><b>Airline:</b> 0 <br><br>";
							rtnCFP += "<br>Electricity: 0 ";
							rtnCFP += "<br>Natural gas: 0 ";
							rtnCFP += "<br>Heating oil: 0 ";
							rtnCFP += "<br>Propane: 0 <br>";
							rtnCFP += "<br><b>Total utilities:</b> 0 <br><br>";
							rtnCFP += "<br><b>Total:</b> 0 <br>";
							rtnCFP += "<br></div>";
							*/
							rtnCFP += "</div>";
							
		
							
							rtnCFP += "</div>"; // cfShell
							
							
							
							return rtnCFP;
							
				}	// end function		
						
							


function wrtCFLCalc(){
	//alert("Inside = wertCFLCalc()");
	 brwType = navigator.appName;
	var rtnCFLCalc = "";
	var cfltop = 162;
	var cflleft = 200;
	var gih = 380;
	if(brwType == "Netscape"){
	 cfltop = 168;
	 cflleft = 204;
	 gih = 420;
	}
	rtnCFLCalc += "<div id='greenIL' name='greenIL' style='width:424px;height:"+gih+"px;background-color:#EED;padding:4px;position:absolute;top:"+cfltop+";left:"+cflleft+";visibility:hidden;border-bottom:groove 1px #060;'>";
	rtnCFLCalc += "			<div id='car' name='car' style='float:left;'><br>";
	//rtnCFLCalc += "				<br>";
	//rtnCFLCalc += "				<br>";
	rtnCFLCalc += "				<!-- width 240 height 380 -->";
	rtnCFLCalc += "				<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='192' height='304' id='greenIllinois' VIEWASTEXT>";
	rtnCFLCalc += "					<param name='allowScriptAccess' value='sameDomain' />";
	rtnCFLCalc += "					<param name='movie' value='greenIllinois.swf' />";
	rtnCFLCalc += "					<param name='quality' value='high' />";
	rtnCFLCalc += "					<param name='bgcolor' value='#eeeeff' />";
	rtnCFLCalc += "					<embed src='greenIllinois.swf' quality='high' bgcolor='#eeeeff' width='192' height='304' name='greenIllinois' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	rtnCFLCalc += "				</object>";
	rtnCFLCalc += "				<!-- onclick='closeCar();' -->";
	rtnCFLCalc += "			</div>";
	rtnCFLCalc += "			<div style='float:right;'><a href='javascript:closeCar();' class='green'><b>close x</b></a></div>";
	rtnCFLCalc += "			<div style='float:right;width:220px;'>";
	rtnCFLCalc += "<div id='combos' name='combos' style='float:right;width:220;'>";
	rtnCFLCalc += "<div style=float:right;width:220px;background-color:#eed;color:#060;padding:6px;margin-top:4px;margin-left:6px;margin-bottom:4px;border: #666 2px groove;><a href=javascript:increaseCombo(); border=0><img src=images/greenPlus.gif align=right alt='Add another combination of lightbulbs to be replaced.'></a><a href='javascript:decreaseCombo();' border=0 ><img src=images/greenMinus.gif align=right></a><b>CFL Calculator</b><br><br>";
	rtnCFLCalc += "<span id='message3' name='message3' style=\"font-size:.9em;color:#000;\">See how energy-saving light bulbs, or CFLs, save money and the environment. Fill in the number and wattage of the traditional incandescent bulbs you’re replacing, as well as the kind of CFLs you’re replacing them with. Then estimate the average number of hours per day you will use the&#160;bulbs. </span>";
	rtnCFLCalc += "<form name='calcCFL' id='calcCFL' style='margin-bottom:-2px;margin-top:-1px;' onsubmit='updateResults();'>"; // onclick='updateResults()'
	
	if(brwType == "Netscape"){
		rtnCFLCalc += "<div style=\"width:204px;margin-top:8px;margin-bottom:4px;padding-bottom:2px;font-size:.75em;\"><span style=\"width:56px;float:left;\"># of<br>Bulbs</span><span style=\"width:80px;float:left;\">Incandescent Wattage<br></span><span style=\"width:44px;float:left;\">CFL Wattage<br></span><br></div>";
	} else {
		rtnCFLCalc += "<div style=\"width:204px;margin-top:8px;margin-bottom:4px;padding-bottom:2px;font-size:.75em;\"><span style=\"width:56px;\"># of<br>Bulbs</span><span style=\"width:80px;\">Incandescent Wattage<br></span><span style=\"width:44px;\">CFL Wattage<br></span><br></div>";
	}
	
	//rtnCFLCalc += "<br><span style='font-size:.8em;line-height:1.2em;'># Bulbs&#160;&#160;&#160;&#160;Incan. Watts&#160;&#160;CFL Watts</span>";
								
								
	for(i=1; i< cmbos; i++){
		rtnCFLCalc += "<div style='align:base;margin-top:-2px;margin-bottom:-2px;'>";
		rtnCFLCalc += "<input type=\"text\" value=\"0\" id=name=\"num"+i+"\" name=\"num"+i+"\" style=\"width:48px;text-align:right;height:18px;font-size:9px;\">&#160;&#160;";
		
		if(brwType == "Netscape"){
			rtnCFLCalc += "<select id=name='incWatt"+i+"' name='incWatt"+i+"' style='width:56px;height:17px;margin-bottom:8px;'>&#160;&#160;";
		} else {
			rtnCFLCalc += "<select id=name='incWatt"+i+"' name='incWatt"+i+"' style='width:56px;height:14px;margin-bottom:8px;'>&#160;&#160;";
		}
		
		rtnCFLCalc += "<option value='100'>100</option>";
		rtnCFLCalc += "<option value='75'>75</option>";
		rtnCFLCalc += "<option value='60'>60</option>";
			rtnCFLCalc += "<option value='50'>50</option>";
			rtnCFLCalc += "</select>&#160;&#160;";
		if(brwType == "Netscape"){
			rtnCFLCalc += "<select id='cflWatt"+i+"' name='cflWatt"+i+"' style='width:56px;height:17px;margin-bottom:8px;'>";
		} else {
			rtnCFLCalc += "<select id='cflWatt"+i+"' name='cflWatt"+i+"' style='width:56px;height:14px;margin-bottom:8px;'>";
		}
			rtnCFLCalc += "<option value='28'>28</option>";
			rtnCFLCalc += "<option value='22'>22</option>";
			rtnCFLCalc += "<option value='18'>18</option>";
			rtnCFLCalc += "<option value='13'>13</option>";
 			rtnCFLCalc += "</select></div>";
	}
								
								rtnCFLCalc +=  "<input type='text' value='4' name='hours' style='text-align:right; width:48px; height:18px; font-size:9px; float:left;'>&#160;&#160;<span style=font-size:.8em;>hours per day</span>";
								rtnCFLCalc += "<input style='float:right;margin-left:104px;font-size:.9em;' type='button' onclick='updateResults()' value='Calculate'/>";
								rtnCFLCalc += "</form>";
								
								
								rtnCFLCalc += "</div>";
								
								rtnCFLCalc += "</div>";
								if(brwType =="Netscape" ){
									rtnCFLCalc += "<div id=\"mthg\" name=\"mthg\" style=\"margin-left:8px;margin-top:2px;float:right;z-index:600;font-size:.8em;\"><a href=\"http://www.citizensutilityboard.org/pdfs/GetGreen/CFLCalculatorMethodology.pdf\" class=\"green\" target=\"_blank\">methodology</a>&#160;&#160;</div>";				
								} else {
									rtnCFLCalc += "<div id=\"mthg\" name=\"mthg\" style=\"margin-left:8px;margin-top:2px;float:right;z-index:600;font-size:.8em;\"><a href=\"http://www.citizensutilityboard.org/pdfs/GetGreen/CFLCalculatorMethodology.pdf\" class=\"green\" target=\"_blank\" onmouseover=\"setDivToURL(\'mthg\', \'http://www.citizensutilityboard.org/pdfs/GetGreen/CFLCalculatorMethodology.pdf\', 200);\" onmouseout=\"hidePrvw(\'prvwURL\');stopPlay(\'prvwURL\');\" title=\"Hold mouse over spectacles to preview site or click to open.\">methodology<img src=\"http://www.citizensutilityboard.org/images/preview.gif\" border=\"0\" style=\"margin-left:8px;\"></a>&#160;&#160;</div>";				
								}
								
								
	
	//rtnCFLCalc += "<br>";
	
	//rtnCFLCalc += "				<div name='message2' id='message2' style='float:left;font-size:.9em;'></div>";
	//rtnCFLCalc += "				<br>";
	//rtnCFLCalc += "				<br>";
	//rtnCFLCalc += "				<div style='color:#060;'>";
	//rtnCFLCalc += "					<div name='anSav2' id='anSav2'>";
	//rtnCFLCalc += "						Annual Savings<br>$0.00";
	//rtnCFLCalc += "					</div>";
	//rtnCFLCalc += "					<br>";
	//rtnCFLCalc += "					<br>";
	//rtnCFLCalc += "					<div name='anCli2' id='anCli2'>";
	//rtnCFLCalc += "					Climate 0.0 lbs of C0<span style='font-size:60%;margin-bottom:-4px;vertical-align:bottom;'>2</span><br>";
	//rtnCFLCalc += "					</div>";
	//rtnCFLCalc += "					<br>";
	//rtnCFLCalc += "					<br>";
	//rtnCFLCalc += "					<div name='miles2' id='miles2'>";
	//rtnCFLCalc += "						Car miles<br>";
	//rtnCFLCalc += "						0.0";
	//rtnCFLCalc += "					</div>";
	//rtnCFLCalc += "				</div>";
	
	
	rtnCFLCalc += "			</div>";
	/*
	<div id='motp' name='motp' class="greenSubTitle"><a href="http://wip.warnerbros.com/marchofthepenguins/" class="green" target="_blank"><b>
								The March of the Penguins</b></a><a href="http://wip.warnerbros.com/marchofthepenguins/" class="green" target="_blank" onmouseover="setDivToURL('motp', 'http://wip.warnerbros.com/marchofthepenguins/');" onmouseout="hidePrvw('prvwURL');stopPlay('prvwURL');"><img src="images/preview.gif" border="0" style="margin-left:8px;" title="Hold mouse over spectacles to preview site or click to open."></a>
	*/
	
	rtnCFLCalc += "		</div>";
	


	return rtnCFLCalc;
}							
						
							/* file.swf, div id, width, height, flash version, background color */
																		
				
				/************* get green ***/
					

var arTestMoPix = new Array();
var arTestMoComment = new Array();
var arTestMoName = new Array();
var arTestMoCity = new Array();
var arTestMoAdded = new Array();

var rndTest = 0;



// testimonial 1 
// add " " space after final character in comment
arTestMoPix[rndTest] = "dm08011.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I replaced every bulb in our house with CFLs. My wife thought I was nuts until she saw the savings. In less than a year, the added cost of the CFLs was covered and we're saving more than 25% every month. Now, she thinks it was her idea. ";
arTestMoName[rndTest] = "David M.";
arTestMoCity[rndTest] = "Rogers Park";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial 2 
// add " " space after final character in comment
arTestMoPix[rndTest] = "jimstest.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Using CFLs helps a family on a tight budget. But it's not just about my family. CFLs help reduce demand for electricity and that leads&#160;to lower prices for&#160;everyone. ";
arTestMoName[rndTest] = "J. Chilsen";
arTestMoCity[rndTest] = "Evanston";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial 3
arTestMoPix[rndTest] = "mbaich.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I’ve never really considered myself a \‘green\’ person, but I\’m determined to lower my electric consumption to withhold that additional money from&#160;ComEd. ";
arTestMoName[rndTest] = "Mark B.";
arTestMoCity[rndTest] = "Buffalo Grove";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial 4
arTestMoPix[rndTest] = "TedAndSally.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "The money that we save on the electric bill pays for a trip to our favorite restaurant. The only thing is the light's so good now we really have to dust&#160;better. ";
arTestMoName[rndTest] = "Ted and Sally";
arTestMoCity[rndTest] = "West Chicago";
arTestMoAdded[rndTest] = "grandparents of 10";
rndTest++;


// testimonial 5
arTestMoPix[rndTest] = "Moraima01.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "CFLs are good for the environment, and the cost savings make them an even better buy. Plus, the bright illumination doesn't hurt when it comes to putting on&#160;makeup. ";
arTestMoName[rndTest] = "M. Fuentes";
arTestMoCity[rndTest] = "Chicago";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial 6
arTestMoPix[rndTest] = "JeanneLakin.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I am vowing, bulb by bulb, to \"GO GREEN!\" with the use of compact fluorescent bulbs (CFL\'s) in every room of my home.  Please join me as we \'pull the plug\' on Ameren\'s relentless attempts to increase our electric bills!  It\'s crucial for every Illinoisan to BE INVOLVED!  Today\'s the Day!  One Bulb at a&#160;time!!!! ";
arTestMoName[rndTest] = "J. Lakin";
arTestMoCity[rndTest] = "Godfrey";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial #12
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "We want to save on energy for us and for future generations. ";
arTestMoName[rndTest] = "Sylvia B.";
arTestMoCity[rndTest] = "Quincy";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial 9
arTestMoPix[rndTest] = "AE_testimonial.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I started using CFL\’s exclusively in February of 2007, and in the next three months noticed around a $7&#160;per&#160;month reduction in my light bill. The best thing is that they last a lot longer than regular bulbs!  I have only had to replace one in my home since I started using them last year. ";
arTestMoName[rndTest] = "A. Evans";
arTestMoCity[rndTest] = "Chicago";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "It is everyone\'s obligation to do what she can to keep the planet green. After all, we are the ones who got it dirty. ";
arTestMoName[rndTest] = "Joyce B.";
arTestMoCity[rndTest] = "Champaign";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial 7
arTestMoPix[rndTest] = "shari05.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "When you\'ve got an electric company that\'s constantly trying to increase our bills, you do everything you can to save money. Buying CFLs is one way I fight the rate&#160;hikes. ";
arTestMoName[rndTest] = "S. Currie";
arTestMoCity[rndTest] = "Chicago";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Low initial bulb cost; 25 watt consumption for 100 watt output; 8500 hour estimated bulb life; lowered electric bill; reduced \"carbon footprint\" for my home; all are very good reasons to switch to as many CFL bulbs as possible, especially for fixtures such as outdoor walkway lighting and timer-operated lamps which operate many hours per year. ";
arTestMoName[rndTest] = "John J.";
arTestMoCity[rndTest] = "Burr Ridge";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial 8
arTestMoPix[rndTest] = "RPEllerbrake.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "This old house has more light bulbs than I can count. I\’ve replaced almost all of them with CFLs, and they work exceedingly well. By the time I\'ve half finished brushing my teeth in the morning, and my eyes begin to open, the light is brighter than when we used incandescents. And one thing I plan never to do again is climb up this ladder.  These CFLs have a longer lifespan, and I hope to be around for many years. ";
arTestMoName[rndTest] = "R. Ellebrake";
arTestMoCity[rndTest] = "Lebanon";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I replaced almost all of our light bulbs with CFLs. They are great.  You can practically forget what replacing a bulb is like because they last so long.  I also plan to replace all of the incandescent bulbs in fixtures with dimmers when the price comes down. ";
arTestMoName[rndTest] = "Robert O.";
arTestMoCity[rndTest] = "Wood Dale";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial # 10
arTestMoPix[rndTest] = "getGreen_ZionHillMissionary.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "A few months ago our congregation of Zion Hill Missionary Baptist Church near Centralia voted during a business meeting to \'go green.\'  One of the things we did was replace all of the bulbs in our church with CFL bulbs. The total was 54 bulbs! We occasionally find one we missed so there may be&#160;more! ";
arTestMoName[rndTest] = "Charlie and Candy T.";
arTestMoCity[rndTest] = "Centralia";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial #
arTestMoPix[rndTest] = "getGreen_JoeMoore.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Members of Alderman Joe Moore's 49th Ward Green Corps are taking the pledge. In addition to changing out the bulbs in our own homes, we are  delivering (and installing!) bulbs for low-income seniors.  We are working  with condominium associations to encourage them to change out their common area  bulbs.<br><br>We are spreading the word.  We want to win!  And we'll make sure our 10,000 bulbs get installed! ";
arTestMoName[rndTest] = "Barb S.";
arTestMoCity[rndTest] = "Chicago";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial # 11
arTestMoPix[rndTest] = "getGreen_MarianneMercer.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "When Ameren raised rates last Jan. our electric bill doubled, however, our income did not double. Realizing that we needed to lower our electric bill I put energy bulbs in all closet and hall lights, lamps and ceiling pot lights. I even put an energy bulb in my curio and china cabinets. The next month our electric bill decreased over $100. That works out to be quite a yearly savings. With such success lowering our bill I changed my neighbor's outside light bulbs with energy saving bulbs. She also saw a savings. Since then I have told neighbors and friends about the savings we have using energy bulbs and they have also switched to energy saving bulbs. <br><br>We then changed our gas logs to vent-less logs that burn 99.9% of the gas and allowing the damper to be closed keeping the heat inside. ";
arTestMoName[rndTest] = "Marianne Mercer";
arTestMoCity[rndTest] = "Godfrey";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial # 11
arTestMoPix[rndTest] = "getGreen_dylcia080220.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I would like to have the planet be in good shape and still be around for my grandchildren.  To date we have installed 22&#160;bulbs and eventually plan to completely switch all bulbs in our home.  Let's preserve our beautiful planet. ";
arTestMoName[rndTest] = "Dylcia C.";
arTestMoCity[rndTest] = "Crete";
arTestMoAdded[rndTest] = "";
rndTest++;



// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "My pledge to install compact fluorescents has to do with saving money. My electric bill is terribly high ($125.00 per month for a 3 bedroom frame home) and I\'m looking to cut that down. Of course, less electricity usage is good for all of us, and I\'m hoping to cut at least $10.00 a month off. My family loves to leave the lights on, so my hopes are high! ";
arTestMoName[rndTest] = "Gary S.";
arTestMoCity[rndTest] = "Chicago";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I am grateful for the savings and want to help our environment as much as I&#160;can. ";
arTestMoName[rndTest] = "Rose";
arTestMoCity[rndTest] = "Lansing";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I believe that when enough of us Get Green, it will encourage others to do the same, (not just) with the bulbs, but with every environmental bit we can do to make our lives and our planet better.  It is exciting to see this movement&#160;grow! ";
arTestMoName[rndTest] = "Sheila S.";
arTestMoCity[rndTest] = "Wheeling";
arTestMoAdded[rndTest] = "";
rndTest++;

// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "It doesn\'t take a rocket scientist or nuclear physicist to figure out that deciding to replace standard bulbs with CFLs is the smartest thing to do.  It saves money, it saves money, it saves money!!!<br><br>...Plus I gain the title of being a \"Green Hero.\"  Such a deal!! I would strongly encourage everyone to consider this extremely easy choice for both saving money and helping the energy situation, preserving our planet home for our kids and grandkids to enjoy for years to come.  It is easy. It saves money.  It saves time and hassle.  It makes sense&#160;(cents). ";
arTestMoName[rndTest] = "Michael B.";
arTestMoCity[rndTest] = "Rockford";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I use CFL bulbs all over my home. It’s a great \"two-fer\": saves me money on my utility bill and helps the environment.  I\’m gradually replacing all the bulbs in my house with CFL\’s. ";
arTestMoName[rndTest] = "Diana B.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "CUB has been a very positive influence in Illinois. I took the pledge for my own and my grandchildren\'s sake AND because I want to support CUB. Thanks for being a watchdog for Illinois citizens....Keep up the good work. ";
arTestMoName[rndTest] = "Jerry L.";
arTestMoCity[rndTest] = "Flossmoor";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I have two lamps that have CFLs installed. I haven\'t changed those bulbs in over seven years! ";
arTestMoName[rndTest] = "Bea F.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;


 
// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Picked up several of the discounted bulbs in the store (Big Lots) that CUB helped get to us.  In my apartment Incandescent is banished....Thanks for the help! ";
arTestMoName[rndTest] = "Anonymous";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;



// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge because I had replaced 99\% of my light bulbs with the CFL energy-saving bulbs which totals 37 in 2007. ";
arTestMoName[rndTest] = "Joseph G.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;



// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "CFL\'s save money and time. They cost less to operate, they last longer so there are fewer bulb changes and fewer trips to buy light bulbs. ";
arTestMoName[rndTest] = "Gerry K.";
arTestMoCity[rndTest] = "Northbrook ";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "We now have 6 CFL bulbs and we intend to replace all the bulbs to CFL. ";
arTestMoName[rndTest] = "Lorraine W.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;



 


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge because I believe it is important for all people to do their part in \"greening\" up the environment....I have also signed up my son for the pledge because I know he is as concerned about our environment as I am. ";
arTestMoName[rndTest] = "Joanne C.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;


 



// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge because my children always leave the lights on. The first place I will change the bulbs is in their rooms. Thanks for the head-up. ";
arTestMoName[rndTest] = "Anthony M.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;


 


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I have replaced 3 bulbs in my little home already and they are awesome. I am very very concerned about the environment and saving our planet.  In addition, I also need to save money...I love these new bulbs and it makes me feel good to make this change. Join me, won\'t you? ";
arTestMoName[rndTest] = "Elizabeth S. ";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;






// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I am very concerned with the environment and all the waste and pollution in the world and I plan to do my part to keep this planet beautiful and pollution free as much as I can for the good of all mankind and our future generations. ";
arTestMoName[rndTest] = "Virginia G.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;
  

 


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Actually taking the pledge was easy since I have already replaced all of the bulbs in our apartment with the CFL bulbs. Most of these lights were replaced 4 or more years ago. ";
arTestMoName[rndTest] = "Linda H. ";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;






// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "There is no question I want to save money, at the same time I want to \'Go Green\' as much as I can. There is so much waste....This Earth is going to run out of resources some day. Let\'s start now. A few light bulbs in the home is a good start. ";
arTestMoName[rndTest] = "Anonymous";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;






// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I personally have installed 22 CFL bulbs in our house and would like to get others to do the same.  As part of Holiday Hills Association, it would be a great thing to be able to pass out CFL\'s to all those who attend our homeowners meetings. ";
arTestMoName[rndTest] = "Tim C.";
arTestMoCity[rndTest] = "Danville";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge to save on energy. I heard that these bulbs do save a lot. ";
arTestMoName[rndTest] = "Bill K. ";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I installed 10 of those funny curly-looking bulbs in my home in the last few months, and I have to say, I\'m really saving money and energy.  BESIDES, they last FOREVER!   People would be dopey not to install these things - they never need to be replaced - I have on in my desk lamp that is guaranteed for FIVE years - can\'t beat that with a stick!  ";
arTestMoName[rndTest] = "Lynn U.";
arTestMoCity[rndTest] = "Bolingbrook";
arTestMoAdded[rndTest] = "";
rndTest++;


 


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the \"Get Green\" pledge because I am concerned about our environment.<br><br>We currently use CFL\'s in 90% of our light sockets and there appears to be a savings on our electric bill.  ";
arTestMoName[rndTest] = "Nancy W.";
arTestMoCity[rndTest] = "Wildwood";
arTestMoAdded[rndTest] = "";
rndTest++;



// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "We simply replaced all our incandescent bulbs with CFLs wherever possible.<br><br>In spite of increased energy costs, we have not seen the great increases others have reported.  While the CFLs would appear to be a small part of the energy picture, when you start adding up all of the 100 watt incandescent bulbs you replace, the numbers really add up. Then, if you practice energy conservation by turning off unnecessary lights the watts saved is remarkable! ";
arTestMoName[rndTest] = "Paul S. ";
arTestMoCity[rndTest] = "Norma";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I am already using CFL and LED bulbs in most fixtures in my house. I have been using them for a couple years. KWH daily use is 25.6, down from 39.8 last year and 50.1 from 2 years ago....Not bad for a big 100 year-old, 12-room, 2-story wood-frame house.  ";
arTestMoName[rndTest] = "Greg J.";
arTestMoCity[rndTest] = "Mattoon";
arTestMoAdded[rndTest] = "";
rndTest++;





// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge because my mom has started using those bulbs and she swears they make a big difference so I\'m willing to give them a try. Honestly my biggest reason to give them a try is to save money on my electric bill.  Secondly,...I\'m afraid of what the future will be if we don\'t start taking better care of our environment. ";
arTestMoName[rndTest] = "Wenona T.";
arTestMoCity[rndTest] = "Warrenville";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "This should be a no-brainer for everyone. To be able to help the environment AND save money is wonderful. What I don\'t understand is why the bulb aisle is STILL 90% traditional bulbs. WHY???? ";
arTestMoName[rndTest] = "Sandy S.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "We have been using the compact fluorescent light bulbs in our home for a few years now. We have built three Senior Assisted Living Complexes, so far, in the last three years and we use CFLs in all of them. That\'s about 1,000 bulbs!! How\'s that for believing in saving $$$ and the environment :) I\'d love to win more bulbs!! ";
arTestMoName[rndTest] = "Mary P.";
arTestMoCity[rndTest] = "Pinckneyville";
arTestMoAdded[rndTest] = "";
rndTest++;






// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Naturally, I want to save energy and money. ";
arTestMoName[rndTest] = "Gary K.";
arTestMoCity[rndTest] = "Long Grove";
arTestMoAdded[rndTest] = "";
rndTest++;



// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge because Ameren-CIPS is ripping me off....I know some like Representative John E. Bradley (D) 117th District are doing their best to fight this corrupt way of \"doing business\", but I\'m tired of seeing my friends and I in Southern Illinois go without while Ameren gets rich off our suffering! ";
arTestMoName[rndTest] = "James V.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;



 



// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I use CFL bulbs throughout my home and when my son put CFL bulbs on his Christmas list I bought 12 for their family. ";
arTestMoName[rndTest] = "Iris S.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;


 
 


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I have switched every bulb in my house over to them....My electric bill went down $20.00. I am very happy and have all of my family using them now. I am working on my friends. ";
arTestMoName[rndTest] = "Sandi E.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;






// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge of changing my existing incandescent light bulbs to the CFL bulbs so I may save on my electric bill that is high enough as it is. It will also help keep the room cooler in summer nights. You people are doing a great job of holding the cost down all the utilities. ";
arTestMoName[rndTest] = "Louis A.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;




// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I am a firm believer that we need to do everything we can to protect our environment!!! ";
arTestMoName[rndTest] = "Marlene G.";
arTestMoCity[rndTest] = "";
arTestMoAdded[rndTest] = "";
rndTest++;


// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "We now have 6 CFL bulbs and we intend to replace all the bulbs to CFL. ";
arTestMoName[rndTest] = "Lorraine W.";
arTestMoCity[rndTest] = "Schaumburg";
arTestMoAdded[rndTest] = "";
rndTest++;


arTestMoPix[rndTest] = "getGreen_WilliamS.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I already use at least six of these energy-efficient bulbs because I have noticed a difference in my electricity bill, I prefer the light they give off over the old bulbs and best of all, they last longer. ";
arTestMoName[rndTest] = "William S.";
arTestMoCity[rndTest] = "Alsip";
arTestMoAdded[rndTest] = "";
rndTest++;


arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I took the pledge because it saves money.  We bought a home in Minooka last June and the first thing I did was to begin replacing bulbs, ceiling fan lights and recessed lighting.  Next will the dining room lighting.  I find that occasionally some CFL bulbs are faulty and do not last the time they are supposed to.  But overall, I am conserving energy and lowering my electric bill.  ";
arTestMoName[rndTest] = "Tracy G.";
arTestMoCity[rndTest] = "Minooka";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I believe that each one of us needs to do our part and one by one, little by little, attempt to return our land and natural resouces back to the bounty and beauty God gave us.  Our thoughts should be for the future of our children and grandchildren. ";
arTestMoName[rndTest] = "Sandy L.";
arTestMoCity[rndTest] = "Carthage";
arTestMoAdded[rndTest] = "";
rndTest++;


arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I most heartily agree that CFLs are cheaper to use than incandescent bulbs. The light's better too!<br><br>Just with the 5 or 6 incandesants I've replaced with CFLs so far it's made a difference. I say \"Do it\" ! It'll make a big difference. ";
arTestMoName[rndTest] = "Steve C.";
arTestMoCity[rndTest] = "Carpentersville";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Well, I took the pledge more than a month ago. Since then, I have installed 9 CFLs in my house. The results were better than I thought! With no other measures taken, this month’s bill was $10 less than usual. February was a very cold month with the furnace fan and electric space heaters running more often. I'm amazed the bill was less than the previous month! ";
arTestMoName[rndTest] = "Gary S.";
arTestMoCity[rndTest] = "Chicago";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Over two years ago my husband replaced the regular bulbs in our garage coach lights with the CFL’s.  Prior to that he was replacing the regular bulbs every month. We have replaced the bulbs in the kitchen, family room, living room and one of the bedrooms with the CFL bulbs. They seem to last a lot longer. Very pleased with them and we will continue to replace the regular bulbs with them as they burn out. ";
arTestMoName[rndTest] = "MaryAnn T.";
arTestMoCity[rndTest] = "Homer Glen";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "We have been using energy efficient bulbs in our present home for two years.  We use them in every room.  Our current Ameren-Cilco bill has not been this low for many, many years. We are currently building a new home (downsizing) and will be totally off-grid.  We have already completed the garage and both inside and outside light bulbs are energy efficient. We will use them through out the entire house.  They are a great energy saving product. Thank you.";
arTestMoName[rndTest] = "Joyce W.";
arTestMoCity[rndTest] = "Farmington";
arTestMoAdded[rndTest] = "";
rndTest++;


arTestMoPix[rndTest] = "MeRedheadAgain.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "My name is Carolyn Marie Dimmick.  I just took the Get Green Pledge.  I have been recycling since my daughter came home from school in third grade with a project to build a recycle center for the back yard to hold paper, plastic, glass and aluminum.  We did, and I have been recycling since.  I do my best to take showers for 10 minutes or less, I use my dishwasher as a receptacle for holding my clean dishes, I don’t use it to actually wash them in order to save water.   I have CFLs in every outlet in my home.  I only run my heat in the winter long enough to get the chill out of the room and I just use blankets or extra clothing when I am cold and I keep the temperature just high enough for my dog, cat, bird and fish to be healthy and comfortable.  I seal all the windows in winter to conserve energy.  I try my hardest to do what I can to help conserve our natural resources.";
arTestMoName[rndTest] = "Carolyn Marie D.";
arTestMoCity[rndTest] = "Grays Pointe Condominiums, Grayslake";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "We have been using the new CFL bulbs for about a year and a half. Some time ago we were reading about them and felt we should do our part for the climate and the power usage that uses coal as a source. We have these bulbs both inside and outside our home and have encouraged other to use them for a number of reasons. Makes a lot of sense to use the BETTER forms of lighting for your home and the outside play areas.";
arTestMoName[rndTest] = "Dick and Carol";
arTestMoCity[rndTest] = "Downers Grove";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I live in a community of nearly 1000 lots with at least 750  homes. I have pledged to get at least 1 CFL to each home to be put in each yard light. All homes are required to have a yard light  and this is a great opportunity to help the environment and the community at the same time.  I am on the Environmental control Committee for our community of Lake Camelot. I have had CFL lamps in most of my light fixtures for quite some time.";
arTestMoName[rndTest] = "Jim K.";
arTestMoCity[rndTest] = "Lake Camelot";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I currently have installed and am using 17 CFL\'s….I phased in their use over a 6 month period and kept my thermostat down to 62 degrees this past winter and set it at 78 degrees during the summer. I reduced my monthly budget billing from $133 to $113 -- $20 a month. So what I\'ve saved has already paid for the CFL\'s. I force myself to stay home at least 4 days a week (I\'m retired) and have dropped my gasoline consumption to half!  This keeps me out of my stores ($$$) and allows me to catch up on reading, household chores (painting, windows, etc).  To avoid feeling isolated, I phone and e-mail.  On nice days, I walk to our library (3 blocks) or grocery store (4 blocks)....It\'s time to get serious and drastically change our life styles!! ";
arTestMoName[rndTest] = "Rita D.";
arTestMoCity[rndTest] = "St. Joseph";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I have used CFL bulbs in a few lamps and over 2 years I have had to replace only one bulb.  I\'m even getting used to looking at the curly shape of the bulbs.  My husband needs bright lights in order to see clearly--even during the day-- so I appreciate the cost cutting effect of these bulbs. ";
arTestMoName[rndTest] = "Dorothy A.";
arTestMoCity[rndTest] = "Jacksonville";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I am a 50-year-old single mother of a 17-year-old daughter who likes to leave the lights on in all the rooms.  I am living in a townhome in Bloomingdale. I had to quit my job to go back to school full-time to become a nurse at UIC College of Nursing, Chicago,  and I\'m living on school loans so money is very tight.  I\'ve already installed four CFLs and would like to install more, especially in my daughter\'s room.  I took the pledge. ";
arTestMoName[rndTest] = "Michelle L.";
arTestMoCity[rndTest] = "Bloomingdale";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "Thanks for your work to encourage energy efficiency.  I\'ve been using CFL\'s for years, and hope to increase awareness and use of CFL\'s and larger energy issues, especially how energy efficiency is the cheapest, easiest, and fastest way to save money and help the environment.  With rising energy prices and the resulting conversation and coverage, people are becoming more aware of the connections between energy, the environment, public health, the economy (keeping energy dollars in local communities), and national security, but more needs to be done to encourage individual consumers and our political leaders to make good decisions regarding energy production and use.<br><br>A simple example: our family has reduced our electricity bill down to $23 a month for our low, $60/month for a high when we\'re using our central air. We live in a single family home with one kid, and another one on the way.  The previous family (also one kid), used between $70 and $180/mo. on electric.<br><br>This shows that each person can make a real difference in saving energy (and helping his/her pocketbook at the same time).<br><br>We do simple things like use drapes to keep sun out during the day, then open windows at night (when it\'s not too hot and muggy...), use CFL\'s, diligently turn off anything that\'s not in use, put stereo\'s, TV\'s, and similar equipment on power strips (many use 15-30W even when turned off, 24-7, which really adds up), set our thermostat up in the summer and use a couple of well-placed fans, especially for sleeping, and set the thermostat down in the winter and dress warmly (within reason...). it\'s much easier to heat (or cool) the body than the whole house. we\'ve also bought some more efficient appliances and plan to get new windows, but much of our reduction has cost next to nothing and doesn\'t take a lot of time or energy.<br><br>Again, thanks for your work. ";
arTestMoName[rndTest] = "Mark R. and family";
arTestMoCity[rndTest] = "Chicago";
arTestMoAdded[rndTest] = "";
rndTest++;

arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "I have been using these CFL Bulbs since they first became available and plan to use them whenever I CAN! I took the Pledge, because I want to save MONEY & ENERGY! I also have been recycling. I think WE ALL NEED to THINK ABOUT WAYS to SAVE ENERGY & SAVE the EARTH!!!!!  ";
arTestMoName[rndTest] = "Diane W";
arTestMoCity[rndTest] = "Tinley Park";
arTestMoAdded[rndTest] = "";
rndTest++;


/*
// testimonial #
arTestMoPix[rndTest] = "test_generic.jpg"; // remember the image must be 216x120
arTestMoComment[rndTest] = "<<quote>> ";
arTestMoName[rndTest] = "<<name>>";
arTestMoCity[rndTest] = "<<city>>";
arTestMoAdded[rndTest] = "";
rndTest++;
"test_generic.jpg";

*/



 



function onloadGetGreen(){
  document.getElementById("tstmo").innerHTML = chngTestMo();
  setTimeout("onloadGetGreen()", 14000);// 
}




var rtest = 0;
var rFirst = 0;

function chngTestMo(){
var h = "";
// get random number of the number in arTestMoComment.length

var r = 0;

/*
r = Math.round(Math.random()*(rndTest-1));
else if (rtest >= 0){
 r = rtest--;
} else if (rtest<0){
 r=rndTest;
 rtest=rndTest;
 rtest--;
}
*/

if(r==0 && rtest==0 && rFirst==0){
 r=rndTest-1;
 rtest=rndTest-1;
 rFirst=1;
 
} else {
 r=rtest--;

}
if(r<0){
 r=rndTest-1;
 rtest=rndTest-1;
}

var ttl = "";
if(arTestMoPix[r] == "test_generic.jpg"){
 ttl = " title=\"Photo not available at this time.\" ";
}
h = "<img src=images/" + arTestMoPix[r] + " width=216 height=120" + ttl +"><br>";

var comment = arTestMoComment[r].substr(0, 194)
var trm = comment.lastIndexOf(" ");
comment = arTestMoComment[r].substr(0, trm);

for(j=0; j<20; j++){
	comment = comment.replace("<br>", " ");
}

var lng = arTestMoComment[r].length;
var elip = "";
if(lng>180){
 elip = "...";
}

var brs = 4 - Math.floor(lng/33);
//alert("brs = " + brs);

h += "<span style='font-size:.9em;'>\"" + comment + elip + "\"<br><br><div>";

h += "<div><a href=getgreenPublicTestimonials.html#testm"+r+" class=green><b>" + arTestMoName[r] + "</b></a>";
if(arTestMoCity[r].length >1){
h += ", " + arTestMoCity[r] ;
}
h += "<br>"
for(i=0; i<brs; i++){
 h += "<br>";
}

h += "<a href='getgreenPublicTestimonials.html' class='green'><b>More Testimonials</b></a></span></div></div>";
return h; 
}

function wrtTestMo(){ // height:240px;
   //alert(""+ arTestMoComment[0].length);
	var strHTML = "";
	strHTML += "<div id='tstmo' name='tstmo' style='border-bottom:2px #987654 groove; background-color:#eed; float:right; width: 224px; padding-top: 4px; padding-left: 4px; padding-bottom: 4px; padding-right: 4px; margin-left:6px; margin-top:0px; margin-bottom: 4px;'>";
	strHTML += chngTestMo();
	strHTML += "</div>";
	return strHTML;
}
// height:140;


function wrtTestFull(){
 var tf = "<br><br>";
 var limit = 500;

 //var clng = comment.length;
	for(i=(rndTest-1); i>=0; i--){
	if(browser=="Netscape"){
	    var hgt = 124;

	   
	    if(arTestMoComment[i].length>180){
			hgt += 36*((arTestMoComment[i].length-180)/120);
			hgt +=12;
		} 

		tf += "<div style='height:"+hgt+";border-bottom:2px #987654 groove;margin-top:4px; margin-bottom:-12px;background-color:#EED;padding:4px;'>";
	} else {
	    tf += "<div style='height:124;border-bottom:2px #987654 groove;margin-top:4px; margin-bottom:-12px;background-color:#EED;padding:4px;'>";
	}
	var ttl = "";
	if(arTestMoPix[i] == "test_generic.jpg"){
		ttl = " title=\"Photo not available at this time.\" ";
		
	} else {
		tf += "<div style='width:220px;float:right;margin-left:4px;'><a name=testm"+i+"><img src=images/"+ arTestMoPix[i] + ttl +" style='margin-right:0px;margin-left:4px; margin-right:4px; margin-top:2px; ' width=216 height=120></a></div>";
	}
	
 var re = /((\s*\S+)*)\s*/;
 var comment = arTestMoComment[i].replace(re, "$1");
	
	
	
	tf += "\""+ comment +"\"";
						
	tf += "<br><br>";
	tf += "<b>"+ arTestMoName[i]+"</b>";
	if(arTestMoAdded[i].length > 1){
	 tf += ", " + arTestMoAdded[i];
	}
	if(arTestMoCity[i].length > 1){
	tf += ", " + arTestMoCity[i]+"<br><br>	";
	}
	tf += "</div>";
	tf += "" +toTop();
	limit--;
	if(limit==0){
	 break;
	}
	}
return tf;
}


					function showPrvw(s){
					 document.getElementById(s).style.visibility = "visible";
					 
					}
					
					function hidePrvw(h){
					 document.getElementById(h).style.visibility = "hidden";
					 
					}
					


// ***

					function prvwURLDiv(){
					 var strDiv = "<div id='prvwURL' name='prvwURL' style='position:absolute;visibility:hidden;z-index:12;top:2900;left:200;padding:4px;background-color:#060;'><span style='color:#FFF;font-size:.8em;'>preview | click link to open</span><br><br><iframe id='prvwPage' name='prvwPage' style='width:780;height:420;' scrolling='no' FRAMEBORDER='0' src=''>&#160;</iframe></div>";	
					 return strDiv;			 
					}
										
					function setDivToURL(dvName1, URL, down, w, h){
					//alert(URL);
					
					 if(h>0){
					  document.getElementById('prvwURL').style.height = h;
					 }
					 if(w>0){
					  document.getElementById('prvwURL').style.width = w;
					 }						
					if(down>0){
					 y = down + document.getElementById(dvName1).offsetTop;
					} else {
					 y = 224 + document.getElementById(dvName1).offsetTop; // document.body.scroll
					}
					// alert("y = " + y);
					 y = y+'px';
					 //alert(y);
					 document.getElementById('prvwURL').style.top = y;
					 showPrvw('prvwURL');
					 document.getElementById('prvwPage').src  = URL;
				 
					}// end function
					
					function stopPlay(dvName){
					 document.getElementById('prvwPage').src = "http://www.citizensutilityboard.org/whiteblank.html";
					}
					
					
					/**********/
					// pledge page start
					/**********/
					function chngBGImg(elm, img){
					 document.getElementById(elm).style.backgroundImage = "url("+img+")";

					}
					
					function lmtBulb(t){
						var a = document.getElementById(t).value;
						if(a<0){
						 a=1;
						} else if (a>1000){
						 a=1000;
						}
						
						if(isNaN(a)){
						 a = 1;
						}
						if(a == null){
						 a = 1;
						}						
						
						a = Math.round(a);
						
						document.getElementById(t).value = a;
					}
					
					function showDiv(d){
					  document.getElementById(d).style.visibility = "visible";
					}
					function hideDiv(d){
					  resetFields();
					  document.getElementById(d).style.visibility = "hidden";
					  
					}	
					function resetFields(){
						document.getElementById("numCfls").value = 1;
						document.getElementById("pldgName").value = "";
						document.getElementById("pldgAddr1").value = "";
						document.getElementById("pldgAddr2").value = "";
						document.getElementById("pldgCity").value = "";
						document.getElementById("pldgZip").value = "";
						document.getElementById("pldgEmail").value = "";
						document.getElementById("pldgPhone").value = "";
						
					}

					/**********/
					// pledge page end
					/**********/					
					
					
					function wrtCFResultsDiv(){ // left:394
						var cfrRtn = "<div id=\"cfrShow\" name=\"cfrShow\" style=\"position:absolute; visibility:hidden; left:394; top:200; padding: 4px;  margin-top:6px; margin-bottom:6px; margin-left:6px; background-color:#eed; color:#060; background-image:url(images/BabyFoot2.png); background-repeat:no-repeat; border-bottom:groove 1px #060;height:316px;width:224px;z-index:2;\">"; //224
						cfrRtn += "results";
						cfrRtn += "</div>";
						return cfrRtn;
					}
					
					
					function hideFootResults(){
					 document.getElementById("cfrShow").style.visibility = "hidden";
					}
					
					
					function limitMillion(t){
					// alert("value = " + document.getElementById(t).value);
					 var x = parseFloat(document.getElementById(t).value);
					 if(x>1000000){
					  document.getElementById(t).value = 1000000;
					 }
					 
					}
					
					function limitZero(t){
					// alert("value = " + document.getElementById(t).value);
					 var x = parseFloat(document.getElementById(t).value);
					 if(x<0){
					  document.getElementById(t).value = 0;
					 } else if(isNaN(x)){
					  document.getElementById(t).value = 0;
					 } 
					}					