// 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 offer “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 offer 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='blue' target='_blank'>www.anywho.com</a><br><a href='http://www.zip2.com'  target='_blank' class='blue'>www.zip2.com</a><br><a href='http://www.infousa.com' class='blue' target='_blank'>www.infousa.com</a><br><a href='http://www.bigbook.com' class='blue' target='_blank'>www.bigbook.com</a><br><a href='http://www.people.yahoo.com' class='blue' target='_blank'>www.people.yahoo.com</a><br><a href='http://www.worldpages.com' class='blue' 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 offers.";

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='blue' 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='blue'><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='blue'><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=blue><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='blue'><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 offer 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='blue' target='_blank'><b>www.anywho.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.bigbook.com' class='blue' target='_blank'><b>www.bigbook.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.people.yahoo.com' class='blue' target='_blank'><b>www.people.yahoo.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.worldpages.com' class='blue' target='_blank'><b>www.worldpages.com</b></a><br>";
arTipsBody[tip] += "<a href='http://www.corp.att.com/directory' class='blue' 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 offers 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='blue'><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 offer, 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 offers a \“budget\” plan. With one exception, this program costs nothing extra for gas customers.<span style='color:#933;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 difference 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:#933;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='blue' target='_blank'><b>Electric</b></a> and <a href='http://www.citizensutilityboard.org/ciNaturalGas.html' class='blue' 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, offers 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 offers 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='blue' target='_blank'><b>Electric</b></a> and <a href='http://www.citizensutilityboard.org/ciNaturalGas.html' class='blue' 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 effect 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=blue><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=blue 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=blue><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=blue><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=blue><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 effect 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 effect 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 affect 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='http://www.citizensutilityboard.org/cubstyleNetscape.css' rel='stylesheet'>";
	} else {
		style = "<link href='http://www.citizensutilityboard.org/cubstyle.css' rel='stylesheet'>";
	}
	return style;
}// setStyleSheet()	

function setStyleSheetEnergy(){
	var style;
	if (getBrowser() == "Netscape"){
		style = "<link href='cubstyleNetscape.css' rel='stylesheet'>";
	} else {
		style = "<link href='cubstyle_energy.css' rel='stylesheet'>";
	}
	return style;
}// setStyleSheet()	

function setStyleSheetVal(){
	var style;
	if (getBrowser() == "Netscape"){
		style = "<link href='http://www.citizensutilityboard.org/cubstyleNetscape.css' rel='stylesheet'>";
	} else {
		style = "<link href='http://www.citizensutilityboard.org/cubstyle_val.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='blue'><b>Home</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/niep_aboutNEIP.html' class='blue'><b>About Us</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/niep_aboutEnergyEfficiency.html' class='blue'><b>Energy Efficiency</b></a> | ";
	head +=	"<a href='https://p2.secure.hostingprod.com/@www.citizensutilityboard.org/ssl/lightbulb.php' class='blue'><b>Take Action</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/niep_links.html' class='blue'><b>Links</b></a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/http://www.citizensutilityboard.org' class='blue' target='_blank'><b>Citizens Utility Board</b></a> | ";
	head +=	"<a href='http://www.ci.chi.il.us' class='blue' target='_blank'><b>City of Chicago</b></a> | ";
	head +=	"<a href='http://www.statesattorney.org/' class='blue' 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='blue' title='Consumer Rights Counselor&#8212;Bilingual (Spanish)\nPosted: October 20, 2004.'>Career opportunities</a>";	
	// head +=	"  | <a href='sendmeemail.html' class='blue' 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>";
	if(a != "pioneer"){
	head +=	"<TD class='gutter8'></td><TD class='gutter24'></TD>";
	} else {
	head +=	"<TD sytle=\"width:8px;backgound-color:#FFF\"></td><TD sytle=\"width:24px;backgound-color:#FFF\"></TD>";
	}
	head +=	"</TR>";
	
	head +=	"<TR><TD class='gutter8'></TD>";
	head +=	"<TD height='104' width='104'>"; // images/
	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
	if(a != "pioneer"){
	head +=	"<td width='8'></td>";
	head +=	"<TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	} else {
	head +=	"<td width='8'></td>";
	head +=	"<TD sytle=\"width:8px;backgound-color:#FFF\"></td><TD sytle=\"width:24px;backgound-color:#FFF\"></TD>";
	head +=	"</TR>";
	}
	
	if(a != "pioneer" ){
	head +=	"<TR>";
	head +=	"<TD colspan='5' class='vspacer8'>";
	head +=	"</TD><TD class='gutter8'></td><TD class='gutter24'></TD>";
	head +=	"</TR>";
	} else {
		head +=	"<TR>";
	head +=	"<TD colspan='5' class='vspacer8'>";
	head +=	"</TD><TD sytle=\"width:8px;backgound-color:#FFF\"></td><TD sytle=\"width:24px;backgound-color:#FFF\"></TD>";
	head +=	"</TR>";
	}
	
	if(a != "12SS"){
	head +=	"<TR>";
	head +=	"<TD width='8'></TD>";
	head +=	"<TD colspan='4' class='lightgrey'>";
	
	head +=	"<a href='http://www.citizensutilityboard.org/index.html' class='blue' title='Return to CUB home page.'>Home</a> | ";
	head +=	"<a href='http://www.citizensutilityboard.org/mission.html' class='blue' onmouseover=makeVis('boutCub'); hideVis('newsroom');>About</a> | ";
	head += "<a href='http://cerf.convio.net/donate' target='_blank' class='blue'>Join</a> | "
	//head +=	"<a href='http://cerf.convio.net/donate' class='blue' 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='blue'>Careers</a> | "; // onmouseover=makeVis('cubCareer'); hideVis('cubCareer');

if(activateDate(01, 01, 2009) && !activateDate(01, 01, 2010)){
	head +=	"<a href='http://www.citizensutilityboard.org/newsReleases2009.html' class='blue' onmouseover=makeVis('newsroom'); hideVis('boutCub');>News Room</a>";
	}
if(activateDate(01, 01, 2008) && !activateDate(01, 01, 2009)){
	head +=	"<a href='http://www.citizensutilityboard.org/newsReleases2008.html' class='blue' 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='blue' title='Read about some of CUB&#39;s accomplishments.'>Accomplishments</a>";
	// head +=	" | <a href='ciTips.html' class='blue' title='Read some tips for consumers.'>Tips</a>";	
	head +=	" | <a href='http://www.citizensutilityboard.org/cubServices.html' class='blue' onmouseover=makeVis('services'); hideVis('services'); >Services</a>";	
	head +=	" | <a href='http://www.citizensutilityboard.org/CUBfaq.html' class='blue' title='Get your frequently asked questions about CUB and utilities answered.'>Question/Complaints</a>"
	//head +=	" | <a href='https://p2.secure.hostingprod.com/@www.citizensutilityboard.org/ssl/complaint.php' class='blue' title='Resolve issues you are having with your utility bills.'>Complaints</a>"
	//head +=	" | <a href='https://p2.secure.hostingprod.com/@www.citizensutilityboard.org/ssl/cu.php' class='blue' title='Have your questions answered.'>Contact</a>";	
	// head +=	" | <a href='http://www.citizensutilityboard.org/blog' class='blue' target='_blank' title='Let your voice be heard.'><b>Blog</b></a>";
	// head +=	" | <a href='energysavings.html' class='blue' title='Learn about energy saving tips from the Northern Illinois Energy Project.'>NIEP</a>";
	
	head +=	" | <a href='http://www.citizensutilityboard.org/news20090121_25th.html' class='blue'><b>CUB’s 25th Anniversary</b></a>";
	head +=	" | <a href='javascript:print()' class='blue'><b>Print page</b></a>";
						
	
	// head +=	rtnETP();	
	
//	head +=	" | <a href='"+dotSlash+"cel20map.html'  class='blue' title='Celebrate 20 years of CUB.'>20th Anniversary</a>";	
//	head +=	" | <a href='"+dotSlash+"cub_results.html'  class='blue' 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='blue' title='Consumer Rights Counselor&#8212;Bilingual (Spanish)\nPosted: October 20, 2004.'>Career opportunities</a>";	
	// head +=	"  | <a href='sendmeemail.html' class='blue' title='I would like to be updated by email when utility issues arise.'>Send Me Email Updates</a> ";	
	
	
	head +=	"</TD>";
	if(a != "pioneer"){	
	head += "<TD class='gutter8'></td><TD class='gutter24'></TD>";
	} else {
	head += "<TD sytle=\"width:8px;backgound-color:#FFF\"></td><TD sytle=\"width:24px;backgound-color:#FFF\"></TD>";
	}
	head +=	"</TR>";
	}// || a != "12SS"
	head +=	"<TR>";
	head +=	"<TD width='8'></TD>";
	head +=	"<TD colspan='4' class='vspacer8'>";
	if(a!="pioneer"){
		head +=	"</TD><TD class='gutter8'></td><TD class='gutter24'></TD>";
	} else {
		head +=	"</TD><TD style=\"width:8px;backgound-color:#FFF\"></td><TD style=\"width:24px;backgound-color:#FFF\"></TD>";
	}
	
	head +=	"</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:151;width:144;height:64;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	} else {
		head += "<div id='newsroom' onmouseover=makeVis('newsroom'); onmouseout=hideVis('newsroom'); style='position:absolute;z-index:600;left:142;top:149;width:144;height:56;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	}
		
	head += "<div class=locNavPopBox>";
	// head += "<a href=http://www.citizensutilityboard.org/newsReleases20060424_MediaAdvisory.html class=blue 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/newsReleases2009.html class=blue >News releases</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/newsCITN.php class=blue>CUB in the News</a><br>";
	
	head += "<a href=http://www.citizensutilityboard.org/newsCUBVoice.html class=blue><i>The CUB Voice</i></a><br>";
	head += "<a href=http://www.citizensutilityboard.org/dkColumns.html class=blue 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/consumerCorner_NorthsideRetiree.html class=blue title='True stories of consumers overcoming obstacles \ncreated by utilities.'>Consumer Corner</a><br>";	
	head += "<a href='http://www.citizensutilityboard.org/consumernews.html' class=blue>Consumer News</a><br>";	
	head += "<a href='http://www.citizensutilityboard.org/cubtv.html' class=blue>CUB TV</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:151;width:164;height:112;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	} else{
		head += "<div id='boutCub' onmouseover=makeVis('boutCub') onmouseout=hideVis('boutCub'); style='position:absolute;z-index:600;left:60;top:149;width:164;height:112;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	}
	head += "<div class=locNavPopBox>";
	head += "<a href=http://www.citizensutilityboard.org/mission.html class=blue>Mission</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/pdfs/CUB_ACT.pdf class=blue target='blank'>CUB Act</a><br>";	
	head += "<a href=http://www.citizensutilityboard.org/funding.html class=blue>Funding</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/accompfull.html class=blue>Accomplishments</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/abtStaff.html class=blue>Staff</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/abtBoard.html class=blue>Board of Directors</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/abtCareer.html class=blue>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:151;width:208;height:24;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	} else{
		head += "<div id='cubCareer' onmouseover=makeVis('cubCareer') onmouseout=hideVis('cubCareer'); style='position:absolute;z-index:600;left:188;top:149;width:208;height:24;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	}
		head += "<div class=locNavPopBox>";
	//head += "<a href=abtCareer.html#crc class=blue>Consumer Rights Counselor</a><br>";
	//head += "<a href=abtCareer.html#crcb class=blue>Consumer Rights Counselor<br>Bilingual&nbsp;(Spanish)</a><br>";
	//head += "<a href=abtCareer.html#para class=blue>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:151;width:240;height:96;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	} else{
		head += "<div id='services' onmouseover=makeVis('services') onmouseout=hideVis('services'); style='position:absolute;z-index:600;left:224;top:149;width:240;height:68;visibility:hidden;background-color:#eeeeee;border:groove 1px #FF6633;'>";	
	}
	head += "<div class=locNavPopBox>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices.html class=blue>Overview</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_questions.html class=blue>Answers and help</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_pubs.html class=blue>Free money-saving publications</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_events.html class=blue>Need a speaker?</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_pbclinics.html class=blue>Phone-bill clinics</a><br>";
	head += "<a href=http://www.citizensutilityboard.org/cubServices_eventcalendar.html class=blue>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>";
	if(a!="pioneer"){
		ft += "<TD class='gutter8'></td><td class='gutter24'><br></td></tr>";
	} else {
		ft += "<TD style=\"width:8px;background-color:#FFF;\"></td><td style=\"width:24px;background-color:#FFF;\"><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='blue' 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='blue'>Contact CUB</a> // | <a href='"+dotSlash+"sitemap.html' class='blue' 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='blue' 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 60606<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='blue'>Contact CUB</a> // | <a href='"+dotSlash+"sitemap.html' class='blue' title='Complete listing of the main pages on the CUB website.'> Site Map</a> |
	}
	ft += "";
	ft += "</td>";
	if(a!="pioneer"){
		ft += "<TD class='gutter8'></td><td class='gutter24'><br></td></tr>";
	} else {
		ft += "<TD style=\"width:8px;background-color:#FFF;\"></td><td style=\"width:24px;background-color:#FFF;\"><br></td></tr>";
	}	
	ft += "</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='http://www.citizensutilityboard.org/images/becomeOff.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>";
				if(pagetype == "cubphonesaver"){
					r += "</tr>";
					r += "<tr>";// costcutterad.gif height=80 http://www.citizensutilityboard.org/
					r += "<td width=136  valign='top'>";
					//r += "<a href='http://www.citizensutilityboard.org/tempdown.html' class=bluebold><img src=http://www.citizensutilityboard.org/images/rcphone2.jpg border='0'></a><br><br>";
					r += "<a href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/CostCutter.php' class=blue><img src=http://www.citizensutilityboard.org/images/rcphone2.jpg border='0'></a><br><br>";
					r += "</td>";
					r += "</tr>";					
				} else {
					r += "</tr>";
					r += "<tr>";// costcutterad.gif height=80 http://www.citizensutilityboard.org/
					r += "<td width=136  valign='top'>";
					r += "<a href='http://www.citizensutilityboard.org/cubphonesaver_1.html' class=blue><img src=http://www.citizensutilityboard.org/images/rcphone1.jpg border='0'></a><br><br>";
					r += "</td>";
					r += "</tr>";	
				}
				r += "<tr>";
				r += "<td width=136 height=8 valign='top'>";
			
				r += "</td>";
				
				r += "</tr>";
				
			}
			
			if(pagetype != "cps"){
							r += "<tr>";
							r += "<td width=136  valign='top'>";
							r += "<a href='http://www.citizensutilityboard.org/cellphonesaver.html' class=blue><img src=http://www.citizensutilityboard.org/images/cpsad1.jpg border='0' title='The CUB Cellphone Saver checks your wireless bill to make sure you are not paying for unnecessary services and alerts you to cheaper plans among the nations top five carriers.'></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='993333'></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=blue>" + showImage(img) + "</a>";
				r += "</td>";
				r += "</tr>";			
			}
			*/
			

			
			if(pagetype != "pioneer"){

				r += "<tr>";
				r += "<td width=136 height=137 valign='top''>";
				r += "<b><a href='http://www.citizensutilityboard.org/ciTelecommPioneerCredit.html' class=blue ><img src='http://www.citizensutilityboard.org/images/pioneer20credit1.jpg' border=0></a></span><br><br>";
				r += "</td>";
				r += "</tr>";
				r += "<tr>";
				r += "<td width=136 height=2 valign='top'>";
			
				r += "</td>";
				
				r += "</tr>";							
			}			
			
					
			if(pagetype != "gmm"){

				r += "<tr>";
				r += "<td width=136 height=80 valign='top''>";
				r += "<b><a href='http://www.citizensutilityboard.org/GasMarketMonitor.php' class=blue title='Will I save money by switching to\nan alternative gas supplier?\nClick here to find out.\n'><img src='http://www.citizensutilityboard.org/images/gasmarketmonitorad.jpg' 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=blue 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=blue 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=blue 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='FFEEDD' ><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='blue'><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=blue title='Read all "+(arTipsTitle.length) +" consumer tips.'><img src='http://www.citizensutilityboard.org/images/ConsumerTips.gif' border=0 width=132 height=20></a></span>";
			r += "<br><b><a href='http://www.citizensutilityboard.org/ciTips.html#" + (tip + 1) +"' class=blue 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=blue 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=blue target='_blank'><img src='images/dncall.gif' border=0></a><br>";
			r += "<a href='pdfs/ConsumerInfo/20040120_FTCsNoCallList.pdf' class=blue 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=blue border=0><img src='http://www.citizensutilityboard.org/images/NIEP_cubad.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='blue'>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='Blue'>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='Blue'>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'  target='_blank' 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'  target='_blank'  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'  target='_blank' 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'  target='_blank' 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='"+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'>";
			locnav +=  "<a href='http://www.cubenergysaver.com' class='white' target='_blank'><b>CUB Energy Saver</b></a> ";
			locnav += "</TD>";
			locnav += "</TR>";	

			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.citizensutilityboard.org/espanol.html'  target='_blank' class='white' title='Read publications translated into Spanish.'>Ahorre dinero e inf&#243;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'  target='_blank' 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='http://www.citizensutilityboard.org/energysavings.html' class='white'  target='_blank' title='Contact your legislator.' target='_blank'>N I E P</a>";
			locnav += "</TD>";
			locnav += "</TR>";				
				
			/*	
			locnav += "<TR>";
			locnav += "<TD class='darkblue'><a href='http://www.elections.state.il.us/DistrictLocator/SelectSearchType.aspx?NavLink=1' class='white' title='Contact your legislator.' target='_blank'>Contact Legislators</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) && section != "cps"){
				    
					 locnav += onThisPage(section);
					
				}
				
					
				//locnav += "<br><div class='news'><span class='foot'><b>For up to the minute coverage on the Citizens Utility Board, CUB offers a <i>Latest News Feed</i> using RSS&nbsp;XML. <a href='http://www.citizensutilityboard.org/LatestNewsFeed.html'  target='_blank'  class=red title='Click here to learn how to use our 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 Latest News Feed.'></a>&nbsp;<a href='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><br></span></div>";				
				//locnav += "<br>";
				//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='blue'><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='blue'><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='Blue' title='Read a brief description of what CUB does.'></a><a href='mission.html' class='Blue' title='&quot;To ensure effective 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='Blue' 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='Blue' 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='Blue' 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='Blue' 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='Blue'>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='Blue' 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='Blue' 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='Blue' 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='blue'>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='blue'><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=blue 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=blue 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=blue><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=bluearw>"+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=bluearw>"+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='blue' 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=blue 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='Blue' 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='Blue'>By utility</a><br>";		
		for ( i = y ; i > 2000 ; i--) {
		nri += "<a href=http://www.citizensutilityboard.org/newsCITN" + i + ".html' class='Blue'>" + 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='Blue'>Current edition</a><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCUBVoice.html#previous' class='Blue'>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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'><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='blue'><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='blue'><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='blue'><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='blue'><b>Searching For Intelligent Life </b></a><br><br>";								
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_06.html' class='blue'><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='blue'><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='blue'><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='blue'><b>This Is One Freeze Farmers Want</b></a><br><br>";
								
cv += "<a href='http://www.citizensutilityboard.org/newsCV06Spring_10.html' class='blue'><b>Must-See Enron Film Another Argument<br>Against Rate Hikes</b></a><br>Review: Enron Documentary Offers 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='blue'><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='blue'><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='blue'><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='blue'><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='blue'><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='blue'><b>CUB Makes A Difference...<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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>$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='blue'> 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='blue'>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='blue'> Round 3! SBC has new phone deregulation plan</a>";
		cv += "<br><br>";	



		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FormerRockfordMayorNamedNewICCChairman.html' class='blue'>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='blue'> 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='blue'> Claims and Analysis</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FactvsFiction.html#breaking' class='blue'> Breaking news: Rate-hike plans revealed</a>";
		cv += "<br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_FactvsFiction.html#roundup ' class='blue'> Rate-hike Roundup</a>";
		cv += "<br><br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_HistoricallyBadAgain.html' class='blue'> 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='blue'> Just how bad is bad?</a>";
		cv += "<br><br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_TipsOnAvoidingNaturalGasNightmares.html ' class='blue'> Tips on avoiding a few natural gas nightmares </a>";
		cv += "<br><br>";


		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_PopQuiz.html ' class='blue'>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='blue'>The answers to CUB’s gas-bill pop quiz</a>";
		cv += "<br><br>";


		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_TreeHuggers.html' class='blue'>It’s not just for ‘tree-huggers’</a>";
		cv += "<br><br>";

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_WaterTorture.html' class='blue'>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='blue'>CUB Bitz</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#Schadenfreude' class='blue'>Schadenfreude...</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#seem' class='blue'>Seems like old times…</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#owe' class='blue'>I owe what?…</a>";
		cv += "<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#cost' class='blue'>Cost-cutting?...</a>";
		cv += "<br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_CUBBitz.html#numbers' class='blue'>By the numbers</a>";
		cv += "<br><br>";							

		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Winter_ConsumerCorner.html' class='blue'>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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>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='blue'>ComEd, other utilities block Cohen from ICC</a>";
		cv += "<br><br>";			
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_HeatingPricesSlam.html' class='blue'>Heating prices slam Illinois consumers</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBCallsForCrisisPlan.html' class='blue'>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='blue'>Coalition sounds rate-hike alarm</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBFightsRateHikePlanAtFederalLevel.html' class='blue'>CUB fights rate-hike plan at federal level</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_UtilitiesHaveEyesOnLittleKnownPart280.html' class='blue'>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='blue'>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='blue'>Gas supplier reneges ‘fixed’ rate</a>";
		cv += "<br><br>";				
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_NicorRateHikeSlashed.html' class='blue'>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='blue'>Like gas—propane, heating oil costs high</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_LetCUBPutYourPhoneBillOnADiet.html' class='blue'>HOT TIPS: CUB Puts Phone Bills On Diet</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBBitz.html' class='blue'>CUB Bitz</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_ConsumerCorner.html' class='blue'>Consumer Corner<br>Fast utility service? Oh, pole-leeeeze!</a>";
		cv += "<br><br>";	
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Fall_CUBWantsYou.html' class='blue'>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='blue'>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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>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='blue'>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='blue'>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='blue'>I don’t remember a call to Diego Garcia!</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBsAnnualICC.html' class='blue'>CUB’s Annual ICC Report</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBfloodedwithcalls.html' class='blue'>CUB flooded with calls over gas offer<br>";
		cv += "State AG sues Illinois Natural Gas</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBtargetsNicorrepairplan.html' class='blue'>CUB targets Nicor repair plan in class-action lawsuit</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_AmessagefromCUBSboard.html' class='blue'>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='blue'>CUBbitz</a>";

		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_Fromthefrontlines.html' class='blue'>From the Front Lines</a>";

		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_Napervilleretireewins.html' class='blue'>Naperville retiree wins CUB Crossword Challenge</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Summer_CUBmakes.html' class='blue'>CUB makes a difference...<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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>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='blue'>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='blue'>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='blue'>Pitfalls galore in prepaid cell&nbsp;plans</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_CUBOpposing.html' class='blue'>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='blue'>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='blue'>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='blue'>Why you should support good telephone&nbsp;regulation</a>";
		cv += "<br><br>								";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_MergerMania.html' class='blue'>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='blue'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_GoodNews.html' class='blue'>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='blue'>CUB’s Crossword&nbsp;Challenge</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV05Spring_CUBmakes.html' class='blue'>CUB makes a&nbsp;difference...<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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>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='blue'>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='blue'>We've got&nbsp;mail</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_MeetCUBSConsumer.html' class='blue'>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='blue'>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='blue'>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='blue'>Two reasons to read your bills&nbsp;carefully</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_CUBbitz.html' class='blue'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Winter_FromTheFrontLines.html' class='blue'>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='blue'>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='blue'>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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
		cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>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='blue'>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='blue'>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='blue'>We've got mail</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_SBCRateHike.html' class='blue'>SBC gets rate hike—now&nbsp;what?</a>";
		cv += "<br><br>";
				
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_VoIP.html' class='blue'>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='blue'>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='blue'>Rules to live by in the natural gas&nbsp;market</a><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_GasPay.html' class='blue'>So what do you pay for natural gas?</a><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_DoubleTrouble.html' class='blue'>Don't get fooled by the 'Fixed Bill' plan</a>";
		cv += "<br><br>";
		
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_PeoplesEnergy.html' class='blue'>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='blue'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "Sprinting ahead...<br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV0409_ProtectionPlans.html' class='blue'>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='blue'>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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>Scandals put heat on gas utilities </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_NicorFacesCUB.html' class='blue'>Nicor faces CUB, SEC, and federal grand jury </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_PeoplesStonewalls.html' class='blue'>Peoples stonewalls, CUB gets help in probe </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_CUBFindsDevil.html' class='blue'>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='blue'>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='blue'>We’ve got mail</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_LegislativeRoundup.html' class='blue'>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='blue'>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='blue'>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='blue'>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='blue'>CUBbitz</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_FromTheFrontLines.html' class='blue'>From the Front Lines </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_ThreeSeatsOpenOnCUBBoard.html' class='blue'>Three seats open on CUB Board</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV0406_CapacityCrowdPacks20thBirthday.html' class='blue'>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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>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='blue'>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='blue'>We’ve got mail</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_AmerenOffersToBuyIP.html' class='blue'>Ameren offers 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='blue'>";
		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='blue'>Nicor gets ";
		cv += "bad headlines—again </a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_CUBitz.html' class='blue'>CUBbitz</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_FromTheFrontLines.html' class='blue'>From the Front Lines</a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_SBCAnnouncesRateIncreases.html' class='blue'>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='blue'>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='blue'>CUB Action Network needs you<br></a>";
		cv += "<br><br>";
		cv += "<a href='http://www.citizensutilityboard.org/newsCV04Spring_ConsumerCorner.html' class='blue'>CUB Makes a Difference...<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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>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='blue'>CUB: Nicor ";
			cv += "customers due $143 million </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_FromTheDeskOf.html' class='blue'>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='blue'>We’ve got mail</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBActionNetwork.html' class='blue'>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='blue'>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='blue'>Natural gas prices drop! (but not really)</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBCanHelpYouLearnObscureLanguage.html' class='blue'>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='blue'>CUB ";
			cv += "	targets misleading natural gas plans<br>";
			cv += "Confusing, tricky offers common among suppliers</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_TheFixedRateThatNeverWas.html' class='blue'>The fixed rate that never was<br>";
			cv += "CUB files complaint against Peoples Energy Services offer</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_CUBCanHelpYouLearnObscureLanguage.html' class='blue'>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='blue'>CUBbitz</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_WhaLongDistancePlanIsRightForYou.html' class='blue'>What long-distance plan is right for you?<br>CUB has tips to help decipher SBC’s, other long-distance offers</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_MeetTheCUBStaff.html' class='blue'>Meet the CUB Staff </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_FightTheGoodFightOnCUBsBoard.html' class='blue'>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='blue'>CUB makes a ";
			cv += "difference...<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='Blue'>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 #993333;'>";
		} 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 #993333;'>";
		}
		
			cv += "<div class=locNavPopBox><span style='color:#993333;'><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='blue'>Peoples Energy owes customers $110 million</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ILPrepares.html' class='blue'>Illinois prepares for costly winter—again </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_NicorSays.html' class='blue'>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='blue'>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='blue'>We’ve got mail </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_SmartEnergy.html' class='blue'>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='blue'>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='blue'>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='blue'>Consumer Warning</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ConserveAtHome.html' class='blue'>How to conserve energy at ";
			cv += "home</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_SBCStopped.html' class='blue'>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='blue'>CUBbitz</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_FromFrontLines.html' class='blue'>From the Front Lines</a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_NiceWork.html' class='blue'>Nice Work, If You Can Get It </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_MeetCUBBoard_JDombrowski.html' class='blue'>Meet the CUB Board </a>";
			cv += "<br><br>";
			cv += "<a href='http://www.citizensutilityboard.org/newsCV03Fall_ConsumerCorner.html' class='blue'>CUB makes a difference...<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='blue'><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=blue><b>Caller grateful $3,365 ‘nightmare’ over</b></a><br>";
		};		
		if (s != "CCAugust20070816"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_CondoRescue.html' class=blue><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=blue><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=blue><b>Quite A Week!</b></a><br>";
		};
		
		if (s != "CCMay060524"){
			rtn += "<a href='http://www.citizensutilityboard.org/consumerCorner_NoTeeth.html' class=blue><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=blue><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=blue><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=blue><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=blue><b>Fast utility service? Oh, pole-leeeeze!</b></a><br>";
		};		
		
		if (s != "05August"){
			rtn += "<a href=news20050811_ConsumerCorner.html class=blue><b>'Fixed Bill' Doesn't Fit The Bill For&nbsp;Consumer</b></a><br>";
		};		
		
		if (s != "05April"){
			rtn += "<a href=news20050418_ConsumerCorner.html class=blue><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=blue><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=blue><b>Telephone companies push consumer too far</b></a><br>";
		};	
			
		if (s != "03Winter"){
			rtn += "<a href='http://www.citizensutilityboard.org/newsCV03Winter_ConsumerCorner.html' class=blue><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=blue><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='blue' 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='blue' 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='blue' 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='blue'>";
				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 offers a <i>Latest News Feed</i> using RSS XML. <a href='http://www.citizensutilityboard.org/LatestNewsFeed.html' class=blue 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='pdfs/CUBVoice/07_08Winter.pdf' target='_blank' class='blue'><b>Winter 2007</b></a><br>"	
			
	pastissue += "      <a href='pdfs/CUBVoice/07Fall.pdf' target='_blank' class='blue'><b>Fall 2007</b></a><br>";
	pastissue += "	    <a href='pdfs/CUBVoice/07Summer.pdf' target='_blank' class='blue'><b>Summer 2007</b></a><br>"
	pastissue += "	    <a href='pdfs/CUBVoice/07Spring.pdf' target='_blank' class='blue'><b>Spring 2007</b></a><br>";
	
	pastissue += " 	  </td>";	
	
	pastissue += "	  <td class='inBodyRow'>";
								
	/*	*/				
	pastissue += "    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/06Winter.pdf' target='_blank' class='blue'><b>Winter 2006</b></a><br>";						
	pastissue += "    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/06Fall.pdf' target='_blank' class='blue'><b>Fall 2006</b></a><br>";
	pastissue += "    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/06Summer.pdf' target='_blank' class='blue'><b>Summer 2006</b></a><br>"
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_06Spring.html' target='_blank' class='blue'><b>Spring 2006</b></a><br>";				
	pastissue += "	  </td>";

	pastissue += "	  <td class='inBodyRow'>";
	/*
	pastissue += " 	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Winter.html' class='blue'><b>Winter 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Fall.html' class='blue'><b>Fall 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Summer.pdf' class='blue' target='_blank'><b>Summer 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Spring.pdf' class='blue' 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='blue'><b>Winter 2005</b></a><br>";						
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_05Fall.html' class='blue'><b>Fall 2005</b></a><br>";
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_05Summer.html' class='blue'><b>Summer 2005</b></a><br>";
	pastissue += "    <a href='http://www.citizensutilityboard.org/newsCUBVoice_05Spring.html' class='blue'><b>Spring 2005</b></a><br>";
							
	pastissue += "	  </td>";
	pastissue += "    <td class='inBodyRow'>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Winter.html' class='blue'><b>Winter 2004</b></a><br>"			
	pastissue += "      <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Fall.html' class='blue'><b>Fall 2004</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Summer.html' class='blue'><b>Summer 2004</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_04Spring.html' class='blue'><b>Spring 2004</b></a><br>";
	pastissue += " 	  </td>";
	pastissue += "	  <td class='inBodyRow'>";
	pastissue += " 	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Winter.html' class='blue'><b>Winter 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/newsCUBVoice_03Fall.html' class='blue'><b>Fall 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Summer.pdf' class='blue' target='_blank'><b>Summer 2003</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/03Spring.pdf' class='blue' 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='blue' target='_blank'><b>Winter 2002</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/02Fall.pdf' class='blue' target='_blank'><b>Fall 2002</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/02Summer.pdf' class='blue' target='_blank'><b>Summer 2002</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/02Spring.pdf' class='blue' 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='blue' target='_blank'><b>December 2001</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/01Jul.pdf' class='blue' target='_blank'><b>July 2001</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/01Apr.pdf' class='blue' target='_blank'><b>April 2001</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/01Feb.pdf' class='blue' 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='blue' target='_blank'><b>November 2000</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/00Jul.pdf' class='blue' target='_blank'><b>August 2000</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/00May.pdf' class='blue' target='_blank'><b>May 2000</b></a><br>";
	pastissue += "	    <a href='http://www.citizensutilityboard.org/pdfs/CUBVoice/00Mar.pdf' class='blue' 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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 #993333";
		} 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='_blank' class='blue' 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=http://www.citizensutilityboard.org/images/lawc.gif border=0><br>";			
	teaser += "</span></a><span class=foot>The CUB Voice features <a href=\"cartoonCW06Summer.html\" target='_blank'  class='blue' 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' "; 
		if(sec == "cps"){
		 e += "target='_blank' ";
		}
		e += "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'";
		if( sec == "cps" ){
		 e += "target='_blank' ";
		}
		e += "  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/cellphonesaver.html' class='subBlue'  ";
		if( sec == "cps"){
		 e += "target='_blank' ";
		}
		e += "title='Save on your Cellphone bill.'>Cellphone saver</a><br>";
		e += "</TD>";
		e += "</TR>";
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://cerf.convio.net/donate' class='subBlue' target='_blank' title='You decide. Donate to keep the CUB Cellphone saver free. While the service is free, it does cost. '>Help us help you save</a><br>";
				e += "</TD>";
				e += "</TR>";	
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='http://www.citizensutilityboard.org/cellphonesaver_faq.html' class='subBlue' ";
				if(sec=="cps"){
				 e += "target='_blank' ";
				}
				e += "title='Answers to common questions. '>Frequently Asked Questions</a><br>";
				e += "</TD>";
				e += "</TR>";				
				
				e += "<TR>";
				e += "<TD class='lbSubMenu2'>";
				e += "&nbsp;&nbsp;<a href='https://p2.secure.hostingprod.com/@citizensutilityboard.org/ssl/cellphonesaver_comments.php' ";
				if(sec=="cps"){
				 e += "target='_blank' ";
				}				
				e += "class='subBlue'  title='Let us know your compliments and complaints. '>Comments</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' target='_blank' 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 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=blue 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=blue><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 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="http://www.citizensutilityboard.org/images/becomeOn.gif";   
}



function fnBoff(elem, imgname) {
	
	   elem.style.filter="blendTrans(duration=2)";
       elem.filters.blendTrans.Apply();
       elem.style.visibility="visible";
       elem.filters.blendTrans.Play();
       elem.filters.percent=100; 
       elem.src="http://www.citizensutilityboard.org/images/becomeOff.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;
	}
}

function wrtLPBCCiFrame(){
	
	var strIF = "<div id='rlpbcc' name='rlpbcc' style='clear:both;float:right;margin-top:6px;margin-left:4px;margin-bottom;4px;padding:4px;'>";
	strIF +="<iframe id='resLPBCC' name='resLPBCC' style='height:75px;width:272;' scrolling='no' FRAMEBORDER='0' src='http://www.citizensutilityboard.org/results_zzaj.php'>&#160;</iframe>";
	strIF +="</div>";
	return strIF;
}

function rewrtLPBCCiFrame(){
	document.getElementById("rlpbcc").innerHTML = "<iframe id='resLPBCC' name='resLPBCC' style='height:75px;width:272;' scrolling='no' FRAMEBORDER='0' src='http://www.citizensutilityboard.org/results_zzaj.php'>&#160;</iframe>";
	setTimeout("rewrtLPBCCiFrame()", 60000)
}
/*
function onloadGetGreen(){
  document.getElementById("tstmo").innerHTML = chngTestMo();
  setTimeout("onloadGetGreen()", 14000);// 
}
*/


function rtnCellPhoneRight(){
	var cpr = "";
	//cpr += "<img src=http://www.citizensutilityboard.org/images/costcutterad.gif border='0' title='Five easy steps might save you hundreds of dollars a year.'><br><br>";
	return cpr ;
}


// message start

				var t = -800;
				
				function moveToCenter(){					
					t++;
					if(t < 1){}
					if(t==0){
					bol=1;
					}
					
					if(bol==0){
					document.getElementById("movemess").style.top = t ;
					//document.getElementById("movemess").filters.alpha.opacity= op;
					document.getElementById("movemess").style.zIndex = 1 ;
					setTimeout("moveToCenter()", 1);
					} 
				}
					
					

					var showWait = 1;
					var tp = -2200; 
					
					function hideDiv(){
					  // document.getElementById("movemess").style.visibility = "hidden" ;
					  if(tp > -2000){
						document.getElementById("movemess").style.top = tp;
						setTimeout("hideDiv()", 1);
						tp -= 32;
						cr= 1;
					  } else {
					    showWait = 180000;
					  }
					  
					}
					
					var incRease = 36;
					function showDiv(){
					  // document.getElementById("movemess").style.visibility = "hidden" ;
					  
					  if(tp > 0){ tp = 0;}
					  if(tp < 1){
					    
						document.getElementById("movemess").style.top = tp;
						// document.getElementById("movemess").style.backgroundImage = 'url(images/starflakes1.png)';
						setTimeout("showDiv()", showWait);
						showWait = 1;
						incRease--;
						if(incRease < 4){
						 incRease = 4;
						}
						tp += incRease;
					  } else {
					    clearTimeout(timerID);

			
					  }
					}					
					
					
					//background-image:url(http://www.citizensutilityboard.org/images/graylogos.gif); background-repeat: repeat; height:160;
					function hjSite(){
					var hj = "";
					// background-image:url(http://www.citizensutilityboard.org/images/dropover1.png); background-repeat: no-repeat; height:2000; background-color:#EEE; http://www.citizensutilityboard.org/
					 if(activateDate(01, 01, 2007)){
						hj += "<div id='movemess' style='position:absolute;  background-color: transparent; z-index: 190; width:110%; top:"+ tp + "; border:0; padding:0;'><div style='width:196;'>"; // http://www.citizensutilityboard.org/
						
						hj += "<div id='movemess1' style='position:absolute;left:780;width:260;background-image:url(http://www.citizensutilityboard.org/images/huhysave1.jpg); background-repeat: repeat; height:160; float:right;height:602;top:0;border-left:#eee 2px ridge; border-right:#eee 2px ridge;border-bottom:#ddd 2px ridge; '>";// 
						
						var nOrie = 120;
						if(getBrowser() == "Netscape"){
						 nOrie += 16;
						}
						if(getBrowser() == "Opera"){
						 nOrie += 14;
						}						
						
						hj += "<div style='position:relative;margin-top:146px;width:100%;'><a href='#' onMouseUp='hideDiv();return true;' class='blue'><img id='boxImg' src='http://www.citizensutilityboard.org/images/xBoxgray.gif' border='0' style='margin-top:1px;cursor:hand;float:right;margin-right:36px;'title='close'></a></div>";
						hj += "<div id='movemess2' style='position:static;background-color:transparent; repeat;z-index:400; padding-top:"+ nOrie +"px;padding-left:50px;padding-right:36px;padding-bottom:4px;height:178;'>";
						hj += "<br><a href='#' onMouseUp='hideDiv();return true;' class='blue'>";
						hj += "</a>";
						// <div style='clear:top;height:12px;'></div><br><br> <div style='float:right;'></div>
						hj += "<span style='color:#677;'>The Cellphone Saver is free, but it costs CUB money to offer it. <a href=\"http://cerf.convio.net/donate\" class=\"blue\" target=\"_blank\"><b>Your&#160;contribution</b></a> helps CUB&#160;keep this and other money-saving services absolutely&#160;free.</span>";
						
						hj += "</div></div>";
						
						return hj;
					 }// end if
					
					}
					//rtnCursor();
// message start	




