function setTitle() {
	var TDelements = document.getElementsByTagName("td");
	for (j=0; j<TDelements.length; j++) {
		var theTD = TDelements.item(j);
		if (theTD.className == "pageTitle") {
			/*if(cssurl == "style/ChaseSeg-PCS.css") {
				document.title += "Private Client Services - " + theTD.innerHTML;
				return;
			}
			else {
				if(theTD.className == "pageTitle") {*/
					document.title += "Chase Online - " + theTD.innerText;
			/*		return;
				}
			}*/
		}
	}
}

function demoGlobalNav()
{
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidth" summary="global navigation"><tr>');
	document.write('<td id="segMLT-BA-BP"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: alert(\'This information is available on the live site\');" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a></td>');
	document.write('<td id="segCOSB"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: alert(\'This information is available on the live site\');" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a></td>');
	document.write('<td id="segCardCNS-CSMR"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: void(0);" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a></td>');
	document.write('<td id="segPLT"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: void(0);" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a></td>');
	document.write('<td id="segPCS"><img src="images/jpmorgan.gif" width="138" height="27" alt="J P Morgan logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: void(0);" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a></td>');
	document.write('<td class="globalNav"><p><span id="segMLT-BA-BP"><a href="http://www.chase.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks" Title="Go to Chase.com">Chase.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_consumer.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/policy/policy2\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:alert(\'You are viewing our demo.\\nLog Off is not available in the demo.\');" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true"><img src="images/logoff.gif" width="60" height="17" alt="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	document.write('<span id="segCOSB"><a href="http://www.chase.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Chase.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_consumer.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/policy/policy2\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:alert(\'You are viewing our demo.\\nLog Off is not available in the demo.\');" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true"><img src="images/logoff.gif" width="60" height="17" alt="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	document.write('<span id="segCardCNS-CSMR"><a href="Javascript:;" onBlur="window.status=\'\';return true" title="Go to Chase.com" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Chase.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="Javascript:;" title="Go to Contact Us,opening in a new window" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="Javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" title="Go to Privacy Policy,opening in a new window" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true"><img src="images/logoff.gif" width="60" height="17" alt="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	document.write('<span id="segPCS"><a href="http://www.jpmorgan.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">JPMorgan.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_PCS.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.jpmorgan.com/cm/cs?pagename=Chase/Href&urlname=jpmorgan/privacy\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:alert(\'You are viewing our demo.\\nLog Off is not available in the demo.\');" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true"><img src="images/logoff.gif" width="60" height="17" alt="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	document.write('<span id="segPLT"><a href="http://www.chase.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Chase.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_PLTtop.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/policy/policy2\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:alert(\'You are viewing our demo.\\nLog Off is not available in the demo.\');" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true"><img src="images/logoff.gif" width="60" height="17" alt="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span></p></td>');
	document.write('</tr></table>');	
}
function demoGlobalNavIndex()
{
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidth" summary="global navigation"><tr>');
	document.write('<td id="segMLT-BA-BP"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: alert(\'This information is available on the live site\');" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="segCOSB"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: alert(\'This information is available on the live site\');" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="segCMS-CMSBiz"><img src="images/logo_cms_DEMO.gif" width="276" height="27" alt="CardMember Services logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: alert(\'This information is available on the live site\');" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="segCardCNS-CSMR"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: void(0);" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="segPLT"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: void(0);" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="segPCS"><img src="images/jpmorgan.gif" width="138" height="27" alt="J P Morgan logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript: void(0);" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td class="globalNav"><p><span id="segMLT-BA-BP"><a href="http://www.chase.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Chase.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_consumer.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/policy/policy2\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;</span>');
	document.write('<span id="segCOSB"><a href="http://www.chase.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Chase.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_consumer.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/policy/policy2\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;</span>');
	document.write('<span id="segCMS-CMSBiz"><a href="Javascript:alertmsg();" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Cardmemberservices.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_cms_consumer.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="Javascript:alertmsg();" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">3Privacy Policy</a>&nbsp;&nbsp;</span>');
	document.write('<span id="segCardCNS-CSMR">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>');
	document.write('<span id="segPCS"><a href="http://www.jpmorgan.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">JPMorgan.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_PCS.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.jpmorgan.com/pages/jpmorgan/privateclient/privacypolicy\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;</span>');
	document.write('<span id="segPLT"><a href="http://www.chase.com" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Chase.com</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: PopupHC(\'CU_PhoneListing_PLTtop.html\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript: globalLinkPopup(\'http:/\/www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/policy/policy2\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Policy</a>&nbsp;&nbsp;</span></p></td>');
	document.write('</tr></table>');	
}
function demoSegTableIndex()
{
	
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header">');
	document.write('<tr><td width="10">&nbsp;</td><td width="40%" style="background-image : url(images/spacer.gif); width : 350px; height : 25px;" class="headerBar"><strong></strong></td>');
	document.write('<td width="46%" align="center" class="headerBar" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong>Chase Online<sup>sm</sup> for Small Business Demo</strong></span></td>');
	document.write('<td width="20%" align="center" class="headerBar" id="segCOSBno"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong></strong></span></td>');
	
	document.write('<td width="30%" class="headerBar">');
	//TodayDate();
	document.write('</td><td width="10">&nbsp;</td></tr></table>');
}

function demoTabNav(tab)
{
	if (tab == "CC")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOff"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOn"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "IN")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOff"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div class="tabInvestingOn"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></td>');
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOff"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "MA")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOn"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOff"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "PT")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript: ;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "PS")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr>');
		document.write('<td id="myAccountsTab"><div class="tabAccountsOff"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td>');
		document.write('<td id="PaymentsTab"><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<td id="ProductsTab"><div class="tabProductsOn"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td>');
		document.write('<td id="CustomerCenterTab"><div class="tabCustomerCenterOff"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></tr></table>');
	}
}

function demoTabNav_new1(tab)
{
	if (tab == "CC")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOff"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOn"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "IN")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOff"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div class="tabInvestingOn"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></td>');
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOff"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "MA")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOn"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOff"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "PT")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr valign="bottom">');
		document.write('<span id="myAccountsTab"><td><div class="tabAccountsOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td></span>');
		document.write('<span id="PaymentsTab"><td><div id="segBusMLT"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOn"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td></span>');
		document.write('<td id="InvestingTab"><div id=""><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		
		
		document.write('<span id="ProductsTab"><td><div class="tabProductsOff"><a href="javascript: ;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td></span>');
		document.write('<span id="CustomerCenterTab"><td><div class="tabCustomerCenterOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></span></tr></table>');
	}
	
	if (tab == "PS")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" summary="primary navigation"><tr>');
		document.write('<td id="myAccountsTab"><div class="tabAccountsOff"><a href="AccountsOverview.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'My Accounts\';return true" onFocus="window.status=\'My Accounts\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="My Accounts" width="117" height="28" border="0"></a></div></td>');
		document.write('<td id="PaymentsTab"><div id="segBusMLT"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOff"><a href="Payments_Transfers-at.html" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="javascript:;" onFocus="window.status=\'Payments and Transfers\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Payments and Transfers\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" width="175" height="28" alt="Payments and Transfers" border="0"></a></div></div></td>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="javascript:;" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Investing\';return true" onFocus="window.status=\'Investing\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<td id="ProductsTab"><div class="tabProductsOn"><a href="javascript:;" onFocus="window.status=\'Products &amp; Services\';return true" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Products &amp; Services\';return true" onMouseOut="window.status=\'\';return true"><img src="images/spacer.gif" alt="Products &amp; Services" width="164" height="28" border="0"></a></div></td>');
		document.write('<td id="CustomerCenterTab"><div class="tabCustomerCenterOff"><a href="CustomerService.html" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'Customer Center\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'Customer Center\';return true"><img src="images/spacer.gif" alt="Customer Center" width="149" height="28" border="0"></a></div></td></tr></table>');
	}
}

function demoSegTable()
{
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header"><tr>');
	document.write('<td width="10">&nbsp;</td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" class="headerBar" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong>Chase Online<sup>sm</sup> for Small Business Demo</strong></span></td>');
	document.write('<td width="46%" align="center" class="headerBar" id="segCOSBno"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong></strong></span></td>');
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td width="10">&nbsp;</td></tr></table>');
}

var winArray = new Array();
function bolPopupURLClose(aURL){
winArray[winArray.length] = window.open(aURL,"bol","directories=0,height=480,width=578,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=yes");
var agt=navigator.userAgent.toLowerCase(); 
}
function bolCloseChildren()
{
	for(i=0;i<winArray.length;i++)
	{
		// check if window wasn't already closed 
		if (winArray[i] && !winArray[i].closed) 
		{	
		  winArray[i].close();
		}		
	}
	winArray.length = 0;
}

function bolInfoIconPopup(aURL)
{
	if (!newWindow || newWindow.closed)
	{
		var newWindow = winArray[winArray.length] = window.open(aURL,"bol","scrollbars=yes,screenX=25,screenY=25,left=25,top=25,directories=0,height=300,width=500,location=no,menubar=no,resizable=yes,status=no,toolbar=no");
		var agt=navigator.userAgent.toLowerCase();
		newWindow.focus();
	}
	else if (newWindow.focus)
	{
		newWindow.focus();
	}
}

function bolInfoIconClose(){
	for(i=0;i<winArray.length;i++)
	{
		  winArray[i].close();
	}
	winArray.length = 0;
}

function openClose(valuePassed) {
	closeAll();
	getItem = "linkBox" + valuePassed + "closed";
	if(document.getElementById)
	{
		thisName = document.getElementById(getItem).style;
		thisName.display = "none";
		thisName.visibility = "hidden";
		getItem = "linkBox" + valuePassed + "open";
		thisName = document.getElementById(getItem).style;
		thisName.display = "block";
		thisName.visibility = "visible";
	}
}

function closeAllVar (num) {
for (x=1; x<num; x++)
	{
		if(document.getElementById)
		{
		getItem = "linkBox" + x + "closed";
		thisName = document.getElementById(getItem).style;
		thisName.display = "block";
		thisName.visibility = "visible";
		getItem = "linkBox" + x + "open";
		thisName = document.getElementById(getItem).style;
		thisName.display = "none";
		thisName.visibility = "hidden";
		
		}
	}
}

function openClose2(valuePassed) {
	closeAll4();
	getItem = "linkBox" + valuePassed + "closed";
	if(document.getElementById)
	{
		thisName = document.getElementById(getItem).style;
		thisName.display = "none";
		thisName.visibility = "hidden";
		getItem = "linkBox" + valuePassed + "open";
		thisName = document.getElementById(getItem).style;
		thisName.display = "block";
		thisName.visibility = "visible";
	}
}

function closeAll () {
for (x=1; x<2; x++)
	{
		if(document.getElementById)
		{
		getItem = "linkBox" + x + "closed";
		thisName = document.getElementById(getItem).style;
		thisName.display = "block";
		thisName.visibility = "visible";
		getItem = "linkBox" + x + "open";
		thisName = document.getElementById(getItem).style;
		thisName.display = "none";
		thisName.visibility = "hidden";
		
		}
	}
}

function closeAll4 () {
for (x=1; x<4; x++)
	{
		if(document.getElementById)
		{
		getItem = "linkBox" + x + "closed";
		thisName = document.getElementById(getItem).style;
		thisName.display = "block";
		thisName.visibility = "visible";
		getItem = "linkBox" + x + "open";
		thisName = document.getElementById(getItem).style;
		thisName.display = "none";
		thisName.visibility = "hidden";
		
		}
	}
}

function PopupHC(aURL)
{
	var newWin=window.open(aURL,"bol","directories=0,height=400,width=578,screenX=25,screenY=25,left=25,top=25,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no");
	var agt=navigator.userAgent.toLowerCase(); 
	if(!(agt.indexOf("msie")!=-1 && (parseInt(agt.substr(agt.indexOf("msie")+5,1))==4))){
	newWin.focus();
	}
}

function ImportDialogBoxOpen(boxVal)
{
	browser = (((navigator.appName == "Microsoft Internet Explorer") && 
	(parseInt(navigator.appVersion) >= 4 )))
	if (browser)
	{
		document.all[boxVal].style.visibility='visible';
	}
	if(document.getElementById)
	{
	document.getElementById(boxVal).style.visibility="visible";
	}
	else
	{
	document.boxVal.visibility="show";
	}
}

function ImportDialogBoxClose(boxVal)
{
	browser = (((navigator.appName == "Microsoft Internet Explorer") && 
	(parseInt(navigator.appVersion) >= 4 )))
	if (browser)
	{
		document.all[boxVal].style.visibility='hidden';
	}
	if(document.getElementById)
	{
	document.getElementById(boxVal).style.visibility="hidden";
	}
	else
	{
		document.boxVal.visibility="hide";
	}
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

isValid = true;
var isNN = (navigator.appName.indexOf("Netscape")!=-1);
if(isNN)
  document.captureEvents(Event.KEYPRESS);
function bolAutoTab(input,len, e){
  var keyCode = (isNN)?e.which:e.keyCode; 
  var filter = (isNN)?[0,8,9]:[0,8,9,16,17,18,37,38,39,40,46];
  if(input.value.length >= len && !containsElement(filter,keyCode)){
    input.value = input.value.slice(0,len);
    input.form[(getIndex(input)+1)%input.form.length].focus();
    input.form[(getIndex(input)+1)%input.form.length].select();
  }
  function containsElement(arr, ele){
    var found = false, index = 0;
    while(!found && index < arr.length)
      if(arr[index]==ele)
        found = true;
      else
        index++;
    return found;
  }
  function getIndex(input){
    var index = -1, i = 0, found = false;
    while (i < input.form.length && index==-1)
      if (input.form[i] == input)index = i;
      else i++;
    return index;
  }
  return true;
}

function gotoURL(Obj)
{
	var urlLink=Obj.options[Obj.selectedIndex].value;
	if(!(urlLink==''))
	{
		eval("top.location='"+Obj.options[Obj.selectedIndex].value+"'");
	}
	else
	{
	}
}

function printWin(page)
{
	var pwin = window.open(page, 'Print','directories=0,height=480,width=710,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=yes');
}

function globalLinkPopup(aURL){
var newWin = winArray[winArray.length] = window.open(aURL,"bol","scrollbars=yes,screenX=25,screenY=25,left=25,top=25,directories=0,height=525,width=775,location=no,menubar=no,resizable=yes,status=no,toolbar=no");
var agt=navigator.userAgent.toLowerCase(); 
newWin.focus();
}

function bolPopupURL(aURL){
var newWin=window.open(aURL,"bol","directories=0,height=480,width=578,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=yes");
var agt=navigator.userAgent.toLowerCase(); 
if(!(agt.indexOf("msie")!=-1 && (parseInt(agt.substr(agt.indexOf("msie")+5,1))==4))){
newWin.focus();
}
}

function selList(item)
{
	eval("top.location='"+item.options[item.selectedIndex].value+"'");
}

function windowopen(url,width,height)
{ 
	aWin = window.open(url,'popup_window','width=' + width + ',height=' + height + ',left=080,top=080,location=no,resizable=no,menubar=no,status=no,toolbar=no,scrollbars=no,fullscreen=no'); 
	aWin.focus();
}

window.onload = setTitle;

