function OpenDynamicContent(link)
{
	document.getElementById('close').style.display = 'block';
	var div = document.getElementById('dynamic_content');
	div.style.display = 'block';
	var content_div = document.getElementById('content_layer');
	content_div.style.display = 'block';

	var html_content = "";

	if(link == 'EHL')
	{
		html_content = "<h2>EQUAL HOUSING LENDER</h2><span class=\"spacer\">&nbsp;</span>";
		html_content += "<h3>We Do Business in Accordance With the Federal Fair Housing Law</h3>";
		html_content += "<p>It is illegal to Discriminate Against Any Person Because of Race, Color, Religion, Sex, Handicap, Familiar Status, or National Origin</p>";
		html_content += "<p>"
			+ "In the sale or rental of housing or residential lots<br />"
			+ "In advertising the sale or rental of housing<br />"
			+ "In the financing fo housing<br/>"
			+ "In the provision of real estate brokerage services<br />"
			+ "In the appraisal of housing<br />"
			+ "Blockbusting is also illegal<br/>"
			+ "Anyone who feels he or she has been discriminated agains may file a complaint of housing discrimination with:"
			+ "</p>"
			+ "<p><b>U.S.Department of Housing and Urban Development<br/>Assistant Secretary for Fair Housing and Equal Opportunity"
			+ "<br/>Washington, D.C. 20410</b>"
			+ "</p><span class=\"spacer\">&nbsp;</span>";
	}
	else  if (link == 'ACUOW')
	{
		html_content = "<h2>ABOUT CUOW</h2><span class=\"spacer\">";
		html_content += "<h3>Credit unions are not only member-owned cooperatives, they're cooperative with each other.</h3><span>";
		html_content += "<p>Hence in 2003, many of our state's credit unions, large and small, came together and formed, "
			+ "the credit unions of Washington. Their mission is to help inspire people to consider taking advantage of "
			+ "the many benefits provided by credit unions in their everyday banking and financial life. <b>If you represent "
			+ "a credit union who would like to partner with the Credit Unions of Washington, simply "
			+ "<a href=\"mailto:info@discovercreditunions.com\">email us</a> and a representative will be in touch.</b></p>";
		html_content += "<span class=\"spacer\">&nbsp;</span>";
		/*html_content += "<center><img src=\"/images/content/CUOW_logos.jpg\" width=\"530\" height=\"136\" border=\"0\" usemap=\"#logos\" />";
		html_content += "<map name=\"logos\" id=\"logos\">"
			+ "<area shape=\"rect\" coords=\"18,7,76,64\" href=\"https://www.becu.org/\" alt=\"bscu\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"107,7,175,65\" href=\"http://www.wsecu.org/\" alt=\"wsecu\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"183,9,276,34\" href=\"http://www.qualstarcu.com/\" alt=\"qualstar\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"187,46,277,72\" href=\"http://www.veritycu.com/verity.cfm?tn=welcome&CFID=192232&CFTOKEN=1399DA71-153E-64D7-D6DB121E1DE4845C\" alt=\"verity\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"283,8,365,37\" href=\"https://www.smcu.com/\" alt=\"seattle met\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"287,49,343,71\" href=\"http://www.fscc.com/\" alt=\"fscc\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"457,7,515,55\" href=\"http://www.soundcu.com/home/\" alt=\"sound\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"434,58,461,91\" href=\"https://www.yourcreditunion.org/index.php\" alt=\"americas\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"461,96,517,132\" href=\"https://www.secuwa.org/home/home?\" alt=\"school emp\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"392,96,455,122\" href=\"https://www.twinstarcu.com/\" alt=\"twin star\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"280,84,381,107\" href=\"https://www.ghcu.org/\" alt=\"group health\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"240,114,338,129\" href=\"https://www.evergreendirect.org/index.php\" alt=\"evergreen\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"184,83,235,108\" href=\"http://www.industrialcu.org/\" alt=\"icu\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"102,80,181,131\" href=\"http://www.woodstonecu.org/\" alt=\"woodstone\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"15,69,94,91\" href=\"https://www.tapcocu.org/\" alt=\"tapco\" target=\"_blank\" />"
			+ "<area shape=\"rect\" coords=\"12,99,94,131\" href=\"http://www.simpsoncreditunion.com/\" alt=\"our community\" target=\"_blank\" />"
 			+ "<area shape=\"poly\" coords=\"379,18,379,42,360,44,364,59,428,61,436,53,439,44,422,33,425,13\" href=\"http://www.watermarkcu.org/\" alt=\"watermark\" target=\"_blank\" /></map></center>";*/
		html_content += "<center><div id=\"partners_links\"><table width=\"auto\" cellpadding=\"2\" cellspacing=\"2\">";
		html_content += "<tr><td width=\"33%\" align=\"left\" valign=\"top\">";
		html_content += 
			  "<a href=\"http://www.americanlake.org\" target=\"blank\">American Lake CU</a><br/>"
			+ "<a href=\"http://www.yourcreditunion.org\" target=\"blank\">America's Credit Union, A FCU</a><br/>"
			+ "<a href=\"http://www.becu.org\" target=\"blank\">BECU</a><br/>"
			+ "<a href=\"http://www.calcoefcu.com\" target=\"blank\">CALCOE FCU</a><br/>"
			+ "<a href=\"http://www.catholiccu.org\" target=\"blank\">Catholic CU</a><br/>"
			+ "<a href=\"http://www.cheneyfcu.com\" target=\"_blank\">Cheney FCU</a><br/>"
			+ "<a href=\"http://www.comm1stcu.org\" target=\"_blank\">Community 1st CU</a><br/>"
			+ "<a href=\"http://www.ccreditunion.com\" target=\"_blank\">Community CU</a><br/>"
			+ "<a href=\"http://www.commhealthcu.org\" target=\"_blank\">Community Healthcare FCU</a><br/>"
			+ "<a href=\"http://\www.darigoldfcu.com\" target=\"_blank\">Darigold FCU</a><br/>"
			+ "<a href=\"http://www.evergreendirect.org\" target=\"_blank\">EvergreenDIRECT CU</a><br/>"
			+ "<a href=\"http://www.gapaccfcu.org\" target=\"_blank\">GaPac Community FCU</a><br/>"
			+ "<a href=\"http://www.generationscreditunion.com\" target=\"_blank\">Generations CU</a><br/>"
			+ "<a href=\"http://www.globalcu.org\" target=\"_blank\">Global CU</a><br/>"
			+ "<a href=\"http://www.ghcu.org\" target=\"_blank\">Group Health CU</a><br/>"
			+ "<a href=\"http://www.harborstone.com/home\" target=\"_blank\">Harborstone CU</a><br/>"
			+ "<a href=\"http://www.hzcu.org\" target=\"_blank\">Horizon CU</a><br/>";
		html_content += "</td><td width=\"33%\" align=\"left\" valign=\"top\">";	
		html_content +=
			  "<a href=\"http://www.longshorefcu.com\" target=\"_blank\">Longshore FCU</a><br/>"
			+ "<a href=\"http://www.mapacific.com\" target=\"_blank\">Member Access Pacific</a><br/>"
			+ "<a href=\"http://www.milepostcu.com\" target=\"_blank\">MilePostCU (Formerly BN West)</a><br/>"
			+ "<a href=\"http://www.milltowncu.org\" target=\"_blank\">Mill Town CU</a><br/>"
			+ "<a href=\"http://www.newrizonsfcu.com\" target=\"_blank\">Newrizons FCU</a><br/>"
			+ "<a href=\"http://www.nwpluscu.com\" target=\"_blank\">NorthWest Plus CU</a><br/>"
			+ "<a href=\"http://www.numericacu.com\" target=\"_blank\">Numerica CU</a><br/>"
			+ "<a href=\"http://www.obee.com\" target=\"_blank\">O Bee CU</a><br/>"
			+ "<a href=\"http://www.olycu.org\" target=\"_blank\">Olympia CU</a><br/>"
			+ "<a href=\"http://www.ourcu.com\" target=\"_blank\">Our Community FCU</a><br/>"
			+ "<a href=\"http://www.pcfcu.org\" target=\"_blank\">Peninsula Community FCU</a><br/>"
			+ "<a href=\"http://www.prevailcu.com\" target=\"_blank\">Prevail CU</a><br/>"
			+ "<a href=\"http://www.progressionscu.org\" target=\"_blank\">Progressions CU</a><br/>"
			+ "<a href=\"http://www.qualstarcu.com\" target=\"_blank\">Qualstar CU</a><br/>"
			+ "<a href=\"http://www.secuwa.org\" target=\"_blank\">School Emp. CU Of Wash.</a><br/>"
			+ "<a href=\"http://www.smcu.com\" target=\"_blank\">Seattle Metropolitan CU</a><br/>"
			+ "<a href=\"http://www.soundcu.com\" target=\"_blank\">Sound CU</a><br/>";
		html_content += "</td><td width=\"33%\" align=\"left\" valign=\"top\">";
		html_content += 
			  "<a href=\"http://www.spokanefederal.com\" target=\"_blank\">Spokane FCU</a><br/>"
			+ "<a href=\"http://www.firecu.net\" target=\"_blank\">Spokane Firefighters' CU</a><br/>"
			+ "<a href=\"http://www.smfcu.org\" target=\"_blank\">Spokane Media FCU</a><br/>"
			+ "<a href=\"http://www.stcu.org\" target=\"_blank\">Spokane Teachers CU</a><br/>"
			+ "<a href=\"http://www.tapcocu.org\" target=\"_blank\">TAPCO CU</a><br/>"
			+ "<a href=\"http://www.theunioncreditunion.com\" target=\"_blank\">The Union CU</a><br/>"
			+  "<a href=\"http://www.twinstarcu.com\" target=\"_blank\">TwinStar CU</a><br/>"
			+ "<a href=\"http://www.uhscu.org\" target=\"_blank\">United Health Services CU</a><br/>"
			+ "<a href=\"http://www.veritycu.com\" target=\"_blank\">Verity CU</a><br/>"
			+ "<a href=\"http://www.wsecu.org\" target=\"_blank\">Washington State Emp. CU</a><br/>"
			+ "<a href=\"http://www.watermarkcu.org\" target=\"_blank\">Watermark CU</a><br/>"
			+ "<a href=\"http://www.loggers.com/cu/index.htm\" target=\"_blank\">WCLA CU</a><br/>"
			+ "<a href=\"http://www.whatcomecu.org\" target=\"_blank\">Whatcom Educational CU</a><br/>"
			+ "<a href=\"http://www.woodstonecu.org\" target=\"_blank\">Woodstone CU</a><br/>"
			+ "<a href=\"http://www.yvcu.org\" target=\"_blank\">Yakima Valley CU</a><br/>";
		html_content += "</td></tr>";		
		html_content += "</table></div></center><br/><span class=\"spacer\">&nbsp;</span>";
	}
	else if (link == "participate")
	{
		html_content = "<h2>HOW TO PARTICIPATE</h2><span class=\"spacer\">";
		html_content += "<table width=\"100%\" cellpadding=\"2\" cellspacing=\"2\"><tr><td valign=\"top\" style=\"padding-top: 15px;\">"
			+ "<div id=\"campaign_button\"><a href=\"/docs/participate/campaign.pdf\" target=\"_blank\">"
			+ "<img src=\"/images/content/campaign_off.jpg\" title=\"CUOW Campaign 2008 launch\" alt=\"CUOW Campaign 2008 launch\" "
			+ "onmouseover=\"javascript:this.src='/images/content/campaign_on.jpg';\" "
			+ "onmouseout=\"javascript:this.src='/images/content/campaign_off.jpg';\" border=\"none\" /></a>"
			+ "</div>"
			+ "<div id=\"campaign_text\" style=\"padding-left: 15px; padding-right: 15px;\"><p align=\"left\">"
			+ "Provides summary of the eight week campaign completed and launched May-July this year including the exposure and activity generated. "
			+ "If you'd like to also view the first tv spot of the campaign (\"intersection\"), "
			+ "<a href=\"/index.php?sent=WTC\" target=\"_blank\">please click here.</a>"
			+ "</p></div>"
			+ "</td><td width=\"180\" align=\"center\" style=\"padding-top: 15px;\"><a href=\"/index.php?sent=WTC\" target=\"_blank\">"
			+ "<img src=\"/images/content/tv_spot.jpg\" alt=\"Change is Calling\" title=\"Change is Calling\" border=\"none\" /></a></td>"
			+ "</tr></table>";
		html_content += "<span class=\"spacer\">";
		html_content += "<table width=\"100%\" cellpadding=\"2\" cellspacing=\"2\"><tr><td valign=\"top\" style=\"padding-top: 15px;\">"
			+ "<div id=\"participate_button\"><a href=\"/docs/participate/participate.pdf\" target=\"_blank\">"
			+ "<img src=\"/images/content/participate_off.jpg\" title=\"CUOW Campaign: How to Participate\" alt=\"CUOW Campaign: How to Participate\" "
			+ "onmouseover=\"javascript:this.src='/images/content/participate_on.jpg';\" "
			+ "onmouseout=\"javascript:this.src='/images/content/participate_off.jpg';\" border=\"none\" /></a>"
			+ "</div>"
			+ "<div id=\"participate_text\" style=\"padding-left: 15px; padding-right: 15px;\"><p align=\"left\">"
			+ "Provides you with description of the primary CUOW member benefits, how it works, current membership list, and steps to initiate "
			+ "your credit unions participation."
			+ "</p></div>"
			+ "</td><td width=\"120\" align=\"center\" style=\"padding-top: 15px;\">&nbsp;</td></tr></table>";
		html_content += "<span class=\"spacer\">";
	}
	else if (link == "SB")
	{
		html_content = "<h2>SHARED BRANCHING</h2><span class=\"spacer\">&nbsp;<span>";
		html_content += "<h3>FOR ADDED CONVENIENCE LOCALLY, NATIONALLY & INTERNATIONALLY</h3>";
		html_content += "<p>Your credit union has joined together with other credit unions, "
			+ "internationally, in a cooperative effort to bring you a new choice in financial "
			+ "convenience: \"The CU Service Centers&reg; Network.\" You can now perform many of your "
			+ "financial transactions and obtain services at branch locations of other credit "
			+ "unions belonging to the network.</p>";
		html_content += "<p>By using the CU Service Centers&reg; Network, your membership and "
			+ "accounts remain at your own credit union, but you can access your accounts and "
			+ "conduct business with your credit union through any of the convenient CU Service "
			+ "Centers&reg; locations. In this way, through a network of participating credit "
			+ "unions, access to your accounts and credit union services is made easier.</p>";
		html_content += "<h3>Locations</h3>";
		html_content += "<p>There are CU Service Centers&reg; located worldwide. For a complete "
			+ "listing of locations and hours of operation, ask your credit union for a CU Service "
			+ "Centers&reg; Location Guide, or call toll free 888-CU SWIRL (287-9475).</p>";
		html_content += "<p>You can also view a list of participating CU Service Centers&reg "
			+ "locations online at <a href=\"http://www.cuswirl.com\" target=\"_blank\">www.cuswirl.com</a></p>";
		html_content += "<span class=\"spacer\">&nbsp;</span>";
	}
	else if (link == "STORIES" || link == "stories_success")
	{
		html_content = "<center><span class=\"heading\">INCREDIBLE STORIES FROM CREDIT UNION MEMBERS</center></span>"
			+ "<span class=\"spacer_stories\">&nbsp;<span><div id=\"stories_display\">"
			+ document.getElementById('stories_list').innerHTML
			+ "</div><div id=\"stories_form\">"
			+ "<form id=\"stories\" name=\"stories\" action=\"php/actions/stories_action.php\" method=\"post\" enctype=\"multipart/form-data\">"
			+ "<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">"
			+ "<tr><td colspan=\"2\"><span class=\"heading\">Have your story featured</span></td>"
			+ "<tr><td style=\"width: 50%;\"><input type=\"text\" id=\"fullname\" name=\"fullname\" class=\"input_text_stories\" "
			+ "value=\"Your Name\" onclick=\"javascript: highlight('fullname');\" /></td><td rowspan=\"2\"><textarea id=\"story\" name=\"story\" class=\"input_text_area_stories\" "
			+ "maxlength=\"600\" onclick=\"javascript: highlight('story');\">"
			+ "Share Your Story (600 characters max)</textarea></td></tr>"
			+ "</tr>"
			+ "<tr><td><input type=\"text\" id=\"email\" name=\"email\" class=\"input_text_stories\" value=\"Your E-Mail\" onclick=\"javascript: highlight('email');\" /></td></tr>"
			+ "<tr><td><input type=\"text\" id=\"membersince\" name=\"membersince\" class=\"input_text\" maxlength=\"19\"  value=\"Member Since (YYYY)\" onclick=\"javascript: highlight('membersince');\" />"
			+ "<img src=\"/images/nav/upload_picture.gif\" class=\"upload_picture\" "
			+ "alt=\"Upload a Picture\" title=\"Upload a Picture\" onclick=\"javascript:OpenUploadPicture();\" />"
			+ "</td>"
			+ "<td colspan=\"2\" style=\"text-align: right; \">"
			+ "<img src=\"/images/nav/save_button.gif\" onclick=\"javascript: document.stories.submit(); \""
			+ " alt=\"Submit Credit Union Story\" title=\"Submit Credit Union Story\" class=\"btn_save\" />"
			+ "</td></tr></table><div id=\"upload_layer\"></div></form>"
			+ "<span class=\"spacer_stories\" >&nbsp;<span>"
			+ "</div>";
	}
	else if(link == "contact_success")
	{
		html_content = "<h2>Contact Us</h2><span class=\"spacer\">&nbsp;<span>";
		html_content += "<h3>Your email has beens sent successfully. <br/> Thank you for contacting us.</h3>";
	}
	else if (link == "contact_failed")
	{
		html_content = "<h2>Contact Us<span class=\"spacer\">&nbsp;<span></h2>";
		html_content += "<h3>Your email has NOT beens sent successfully. <br/> Please try again. Thank you for your patience.</h3>";
	}
	else if (link == "WTC")
	{
		html_content = "<h2>Watch the Commercial</h2><span class=\"spacer_video\">&nbsp;<span>"
			+ document.getElementById('video_flash').innerHTML
			+ "<br/><center>"
			+ "<a href=\"mailto:?subject=Sharing the Know&body=You gotta check out this web site and the tv commercials at discovercreditunions.com\"><h3>SHARE THE KNOW</h3></a></center>"
			+ "<span class=\"spacer_video\">&nbsp;<span>";
	}

	content_div.innerHTML = html_content;
	document.getElementById('body').style.display = 'block';
}

function OpenUploadPicture()
{
	var div = document.getElementById('upload_layer');
	div.style.display = 'block';
	div.innerHTML = "<table width=\"auto\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">"
		+ "<tr><td colspan=\"3\" style=\"height: 5px;\">&nbsp;</td></tr>"
		+ "<tr><td style=\"width: 5px;\">&nbsp;</td>"
		+ "<td><table width=\"auto\" cellpadding=\"2\" cellspacing=\"2\">"
		+ "<tr><td style=\"width: 95%;\"><span class=\"heading\">Submit your own picture</span></td>"
		+ "<td style=\"vertical-align: top; text-align: right;\"><span id=\"close_x\" "
		+ "onclick=\"javascript:CloseUploadPicture();\">&nbsp;X&nbsp;</span></td></tr>"
		+ "<tr><td colspan=\"2\">It can be a picture of yourself, your child, your pet or even your"
		+ " favorite flower. Square /images will work the best. </td></tr>"
		+ "<tr><td colspan=\"2\"><input id=\"uploadfile\" name=\"uploadfile\" type=\"file\" class=\"input_text_upload\" />"
		+ "<img src=\"/images/nav/save_button.gif\" onclick=\"javascript: CloseUploadPicture();;\""
		+ " alt=\"Save Photo\" title=\"Save Photo\" class=\"btn_upload\" />"
		+ "</td></tr><tr><td colspan=\"2\">Or choose from a photo bellow. Click on the photo that you would like to use.</td></tr>"
		+ "<tr><td colspan=\"2\" align=\"center\">"
		+ "<img src=\"/images/testimonials/noimage.gif\" width=\"65px\" height=\"65px\" border=\"0\" onclick=\"javascript:SetDefaultPicture('noimage.gif');\" />&nbsp;"
		+ "<img src=\"/images/testimonials/car.jpg\" width=\"65px\" height=\"65px\" border=\"0\" onclick=\"javascript:SetDefaultPicture('car.jpg');\" />&nbsp;"
		+ "<img src=\"/images/testimonials/dog.jpg\" width=\"65px\" height=\"65px\" border=\"0\" onclick=\"javascript:SetDefaultPicture('dog.jpg');\" />&nbsp;"
		+ "<img src=\"/images/testimonials/flower.jpg\" width=\"65px\" height=\"65px\" border=\"0\" onclick=\"javascript:SetDefaultPicture('flower.jpg');\" />"
		+ "<input type=\"hidden\" id=\"hidupload\" name=\"hidupload\" />"
		+ "</td></tr>"
		+ "</table></td>"
		+ "<td style=\"width: 5px;\">&nbsp;</td></tr>"
		+ "<tr><td colspan=\"3\" style=\"height: 5px;\">&nbsp;</td></tr></table>";

	document.getElementById('hidupload').value = "";
}

function SetDefaultPicture(imgName)
{
	document.getElementById('hidupload').value = imgName;
	document.getElementById('upload_layer').style.display = 'none';
}

function CloseUploadPicture()
{
	document.getElementById('upload_layer').style.display = 'none';
}

function changeDynamicContent(link)
{
	document.getElementById('close').style.display = 'block';
	var div = document.getElementById('dynamic_content');
	div.style.display = 'block';
	var content_div = document.getElementById('content_layer');
	content_div.style.display = 'block';

	var html_content = "";
	
	if(link == 'benefits0')
	{
		/*html_content = "<div><b>HOW CREDIT UNIONS WORK (Vs. BANKS)</b>"
		+ "<p>Credit Unions provide all the key products and services that banks do but differ in philosophy and how they're structured. "
		+ "The moment you open an account, you're elevated to member status because your deposit is considered your "
		+ "share of ownership in the credit union. We exist solely to meet our members' financial needs and growth, not "
		+ "to make a large profit off of them. In fact, after expenses are paid and reserves are set aside, we return "
		+ "\"profits\" to members in the form of higher quality, lower cost products and service, and better returns. "
		+ "Conversely, traditional banks exist to generate earning above what they need for their stockholders at the "
		+ "expense of customers; your banking experience suffers.</p></div>";*/
		
		/*html_content = "<div><b>Simpler & Faster</b>"
		+ "<p>Credit Unions subscribe to the KISS principle. Keep it simple and smart. The goal of making your banking and "
		+ "personal finances easier is an obsession. Loan applications are simplified, you're saved from using deposit slips, "
		+ "and you'll get better account assistance purely because they know your name. We can't stop the clock, but we'll try to get you "
		+ "back some well-earned time. </p></div>";*/
	}
	else if(link == 'benefits1')
	{
		html_content = "<div><b>Shared Branching Network </b>"
		+ "<p>Locally and internationally, many different Credit Unions have joined together in a cooperative effort to bring you greater financial convenience. You can now perform many of your financial transactions and obtain services at branch locations of your Home credit union at other Credit Unions belonging to the network. <a href=\"/index.php?sent=SB\">Click here</a> for more detail. When you join, ask your personal finance representative for branches within the network.</p></div>";
	}
	else if(link == 'benefits9')
	{
		html_content = "<div><b>On-Line Banking</b>"
		+ "<p>With all the cooperative locations and online access, your money is always close at hand. Most Credit Unions offer easy, secure, and private on-line banking services and it just takes a few minutes to sign up after you become a member. Access your account whenever and wherever you like. You'll be able to track account activity, transfer money, pay bills, reorder checks and more. Ask your local credit union to help you get set up.</p></div>";
	}
	else if(link == 'benefits8')
	{
		html_content = "<div><b>The Extra Mile</b>"
		+ "<p>Credit Unions outrank banks in customer satisfaction by a long shot. Whatever it takes to make your banking experience run smoothly, your loan terms fit your life, and getting your problems fixed fast, Credit Unions will do. We're flexible because our members deserve individual attention. Their stories are incredible and incredibly common. Read more in <a href=\"/index.php?sent=STORIES\">Member Stories</a>. Our member's satisfaction is the reason for our smile. </p></div>";						
	}
	else if(link == 'benefits7')
	{				
		html_content = "<div><b>No \"Garbage\" Fees</b>"
		+ "<p>Nothing vexes a normally happy individual like mysterious service and finance charges. Credit Unions won't ding "
		+ "you hard for everyday banking activities like visiting your favorite teller. If something looks peculiar, "
		+ "credit unions will solve the mystery and save you the dough. Again, unlike banks, we don't have to send extra "
		+ "profits to outside shareholders.</p></div>";
	}
	else if(link == 'benefits3')
	{
		html_content = "<div><b>Financial Advice</b>"
		+ "<p>Everybody has financial dreams. It's why financial advice is part of the credit union service philosophy. When you "
		+ "sign on with a credit union, our personal finance representatives will ask where you would love to be. We'll be "
		+ "proactive. If you have too much money in checking, we'll recommend a high yield CD. If you want to learn about "
		+ "balancing your checkbook, we'll show you how and give you the pencil. It's all about helping your wealth get to "
		+ "the place you want it to be. </p></div>";		
	}
	else if(link == 'benefits5')
	{
		html_content = "<div><b>Lower Loan Rates</b>"
		+ "<p>Nobody likes high interest rates. We keep them lower on average than the big banks, making us a big hit with "
		+ "our members. See today's rates at any of the credit union web sites in your search on our home page. You can also "
		+ "<a href=\"http://banking.about.com/gi/dynamic/offsite.htm?zi=1/XJ/Ya&sdn=banking&cdn=money&tm=10&f=20&tt=14&bt=1&bts=0&zu=http://www.creditunion.coop/ratedex.php\""
		+ " target=\"_blank\">click here</a> to compare credit union rates with traditional banks nationally. You'll be hard "
		+ "pressed to find better rates.</p></div>";
	}
	else if(link == 'benefits6')
	{
		html_content = "<div><b>Higher Savings Rates</b>"
		+ "<p>Savings always has a nice ring to it. With higher savings rates on average, credit union members get to enjoy a "
		+ "ring that's worth more too.  See today's rates at any of the credit union web sites in your search on our "
		+ "<a href=\"/\">home page</a>.</p></div>";
	}
	else if(link == 'benefits2')
	{
		html_content = "<div><b>Surcharge Free ATMs</b>"
		+ "<p>Beyond each Credit Union's network, the industry's growing Shared Branching and surcharge free ATM network gives members access to their money statewide and internationally. You don't have to click your heels three times. Your money is home safe.</p></div>";
		
	}
	else if(link == 'benefits4')
	{
		html_content = "<div><b>Simpler & Faster</b>"
		+ "<p>Simpler banking means faster banking. Credit Unions keep it simple and smart. Making your banking and personal finances easier is an obsession. Loan applications are simplified, you're saved from using deposit slips, and account assistance is better because we take the time to learn your name. We can't stop the clock, but we'll try to get you back some well-earned time. </p></div>";
		
	}

	/*if(link != "benefits0")
	{
		html_content += "<div style='text-align: right; width: auto; font-size: 9px; font-weight: bold;"
			+ " padding-top: 20px; padding-right: 20px;'><a href='javascript: resetFlash();'>BACK TO: SIMPLER & FASTER</a></div>";
	}*/

	content_div.innerHTML = html_content;
}

function CloseDynamicContent()
{
	document.getElementById('content_layer').style.display = 'none';
	document.getElementById('dynamic_content').style.display = 'none';
	document.getElementById('close').style.display = 'none';
	document.getElementById('flash_bg_video').innerHTML = '';
	
	var so = new SWFObject("/media/swf/commercial.swf", "background", "512", "288", "9", "#ffffff");//init object
	so.addParam("wmode", "transparent");
	so.write("flash_bg_video");//pass id of div to over right	
	
}
function openBenefitsContent()
{
	document.getElementById('content_layer').style.display = 'block';
	document.getElementById('dynamic_content').style.display = 'block';
}

function Rollover(imgName, imgSrc)
{
	document.getElementById(imgName).src = imgSrc;
}

function Popup(search)
{
	window.open('http://www.findacu.net/map.php?range=10&address='+search);
}

function validateContact()
{
	var first_name = document.getElementById('firstname').value;
	var last_name = document.getElementById('lastname').value;
	var e_mail = document.getElementById('email').value;
	var email_message = document.getElementById('msg').value;

	var error_message = "";
	if(first_name.length == 0)
	{
		error_message += "First Name is required. ";
	}
	if(last_name.length == 0)
	{
		error_message += "Last Name is required. ";
	}
	if(e_mail.length == 0)
	{
		error_message += "Email is required. ";
	}
	if(email_message.length == 0)
	{
		error_message += "Message is required. ";
	}

	if(error_message.length > 0)
	{
		alert(error_message);
		return false;
	}
	else
	{
		return true;
	}
}

function highlight(id)
{
	document.getElementById(id).select();
}
function imposeMaxLength(Object, MaxLen)
{
  return (Object.value.length <= MaxLen);
}