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") {
				if(document.all){	
				document.title = "Private Wealth Management - " + theTD.innerText;
				return;
				}
				else{
				document.title = "Private Wealth Management - " + theTD.textContent;
				return;	
				}
			}
			else if (cssurl == "style/ChaseSeg-CMS.css")
			{
				if(document.all){
				document.title = "Cardmember Services - " + theTD.innerText;
				return;
				}
				else{
				document.title = "Cardmember Services - " + theTD.textContent;
				return;
				}
			}
			else if (cssurl == "style/ChaseSeg-CMSBiz.css")
			{
					if(document.all){
					document.title = "Cardmember Services - " + theTD.innerText;
					return;
					}
					else
					{
					document.title = "Cardmember Services - " + theTD.textContent;
					return;
					}
			}
			else {
				if(theTD.className == "pageTitle") {
						if(document.all){
						document.title = "Chase Online - " + theTD.innerText;
						return;
						}
						else{
						document.title = "Chase Online - " + theTD.textContent;
						return;
						}
				}
			}
		}
	}
}

function demoGlobalNav_pop()
{
	document.write('<table cellspacing="0" cellpadding="0" border="0" width="90%" summary="global navigation"><tr>');
	document.write('<td align="left"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" title="Chase logo" border="0" vspace="17" hspace="17"></td>');
	document.write('<td class="globalnav"><p><span id="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>');
	document.write('</p></td>');
	document.write('</tr></table>');	
}

function demoSegTable_pop()
{
	document.write('<table width="701px" cellspacing="0" cellpadding="0" border="0" class="headerBarNewpop" summary="section header"><tr height="25">');
	document.write('<td width="10">&nbsp;</td><td width="24%" class="">&nbsp;</td><td width="46%" align="center"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"/></td><td width="30%" class="headerBar" align="right" >'); TodayDate();
	document.write('</td><td ><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');	
	//document.getElementById('tdate').innerHTML=a;
	
	}
	
	
	
/* Start: Function to Check the URL name and to set the Page Banner Title according to it - 21 Oct 2011*/
var demoTopBannerTitle = "";
var segName = "";

function setTopBannerTitle()
{
		var segName = GetCEDEVCookie2('ChaseDemo');	

		if(segName == 'setSegCMS' || segName == 'setSegCMSBiz')
		
		{
			demoTopBannerTitle = "CardMember Services Test Drives";
			
		}
		
		else if(segName == 'setSegPCS')
		{
			demoTopBannerTitle = "J.P.Morgan Test Drives";
		}
		
		
		else if(segName == 'setSegJPMS')
		{
			demoTopBannerTitle = "J.P.Morgan Securities Test Drives";
		}
		
		
		else
		{
			demoTopBannerTitle = "Chase Online<sup>SM</sup> Test Drives";
		}

	
}
/* End: Function to Check the URL name and to set the Page Banner title according to it - 21 Oct 2011*/	
	
	
	
function demoGlobalNav()
{
	setTopBannerTitle();//function called to get the propper title name.
	var segName = GetCEDEVCookie2('ChaseDemo');	
	if((segName != 'setSegECS') && (segName != 'setSegECSNew') && (segName != 'setSegEBus') && (segName != 'setSegEBusNew'))
	{
		document.write('<div class="demo-top-banner"><div class="demo-top-banner-container"><div class="title titletxt">' + demoTopBannerTitle + '</div><div class="titletxt segmentdata"><span id="segCOSB">Chase Online<sup>SM</sup> for Business</span><span id="SegBusMLT">Chase Commercial Online<sup>SM</sup></span><span id="SegCardBA">Banker\'\s Demo</span><span id="SegCardBP">Business Credit Cards</span><span id="SegCardCNS">Personal Credit Cards</span><span id="SegCSMR">Consumer Multiple Products</span><span id="SegPCS">Private Wealth Management</span><span id="SegPLT">Premier Platinum</span><span id="SegCMS">Personal Credit Cards</span><span id="SegCMSBiz">Business Credit Cards</span><span id="SegJPMS">JP Morgan Securities</span></div></div></div>');
	}
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidthNew fntverdana" summary="global navigation"><tr>');
	document.write('<td id="segMLT-BA-BP"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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.gif" width="138" height="27" alt="CardMember Services logo" title="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 " title=" 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" title=" 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" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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="29" alt="J P Morgan logo" title="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 " title=" 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" title=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	
	//code for the new seg enrollment starts here	
	document.write('<td id="setSegECS"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" title="Chase logo" border="0" vspace="17" hspace="17"><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" title=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="setSegECSNew"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" title="Chase logo" border="0" vspace="17" hspace="17"><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" title=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="setSegEBus"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" title="Chase logo" border="0" vspace="17" hspace="17"><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" title=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="setSegEBusNew"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" title="Chase logo" border="0" vspace="17" hspace="17"><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" Skip to main content " width="1" height="1" border="0"></a><a href="javascript:alertmsg();" class="global-nav"><img src="images/spacer.gif" alt=" Accessibility Information" title=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	//code for the new seg enrollment ends here	
	
	document.write('<td id="segJPMS"><img src="images/jpms_JPMSecurities.gif" width="130" height="42" alt="J.P.Morgan Securities" title="J.P.Morgan Securities" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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="segBusMLT"><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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	
	document.write('<td class="globalNav"><p><span id="segCardBP"><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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	
	document.write('<td class="globalNav"><p><span id="segCardBA"><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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></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:globalLinkPopup(\'http:/\/www.cardmemberservices.com/ccp/index.jsp?pg_name=ccpmapp/cms/shared/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	
	
	document.write('<span id="segCardCNS-CSMR"><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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="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:alert(\'You are viewing our demo.\\nThis link is not active in the demo.\');" 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/privacy\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	
	//code for the new seg enrollment starts here	
	document.write('<span id="setSegECS"><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">Chase.com</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">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">Privacy Notice</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" class="globalNavLinks">En Espaņol</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="enrollment/logoff.html" 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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	
	document.write('<span id="setSegECSNew"><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">Chase.com</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">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">Privacy Notice</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" class="globalNavLinks">En Espaņol</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="enrollment/logoff.html" 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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	
	document.write('<span id="setSegEBus"><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">Chase.com</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">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">Privacy Notice</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" class="globalNavLinks">En Espaņol</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="enrollment/logoff.html" 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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	
	document.write('<span id="setSegEBusNew"><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">Chase.com</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">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">Privacy Notice</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" class="globalNavLinks">En Espaņol</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="enrollment/logoff.html" 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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	//code for the new seg enrollment ends here	
	
	document.write('<span id="segJPMS"><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">JPMorganSecurities.com</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">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">Privacy Notice</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"><img src="images/logoff.gif" width="60" height="17" alt="Log Off" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span></p></td>');
	document.write('</tr></table>');	
}
	
	

function demoGlobalNav_old()
{
	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" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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" title="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 " title=" 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" title=" 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" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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="29" alt="J P Morgan logo" title="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 " title=" 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" title=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td>');
	document.write('<td id="segJPMS"><img src="images/jpms_JPMSecurities.gif" width="130" height="42" alt="J.P.Morgan Securities" title="J.P.Morgan Securities" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" 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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></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:globalLinkPopup(\'http:/\/www.cardmemberservices.com/ccp/index.jsp?pg_name=ccpmapp/cms/shared/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	document.write('<span id="segCardCNS-CSMR"><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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="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/pages/privacy\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="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:alert(\'You are viewing our demo.\\nThis link is not active in the demo.\');" 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/privacy\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="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/index.jsp?pg_name=ccpmapp/privacy_security/protection/page/privacy-notice\')" onBlur="window.status=\'\';return true" onMouseOver="window.status=\'\';return true" onFocus="window.status=\'\';return true" onMouseOut="window.status=\'\';return true" class="globalNavLinks">Privacy Notice</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" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span>');
	document.write('<span id="segJPMS"><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">JPMorganSecurities.com</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">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">Privacy Notice</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"><img src="images/logoff.gif" width="60" height="17" alt="Log Off" title="Log Off" border="0" align="absmiddle" style="margin-right:13px;"></a></span></p></td>');
	document.write('</tr></table>');	
}




function demoTabNav(tab)
{
	/*New styles for Nav starts here*/	
	var segValue = GetCEDEVCookie2('ChaseDemo');	
	var malink,ptlink,invlink,pslink,cclink;
	var instab=false;
	var flagplt =  false;
	
	switch (segValue)
	{
		case "setSegCOSB" : 
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers-at.html";
							invlink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=true;
							break;
		case "setSegBusMLT" :
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers-at.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=false;
							break;
		case "setSegCardBA" :
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=true;
							break;
		case "setSegCardBP" :
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers-cp.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=false;
							break;
		case "setSegCardCNS" :
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers-cp.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=false;
							break;
		case "setSegCSMR" : 
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=false;
							break;
		case "setSegPCS" : 
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=true;
							break;
		case "setSegPLT" : 
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=true;
							flagplt = true;
							break;
		case "setSegCMS" : 
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers-cp.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=false;
							break;		  
		case "setSegCMSBiz" :
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers-cp.html";
							invlink="Investing.html";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=false;
							break;
		case "setSegJPMS" : 
							malink="AccountsOverview.html";
							ptlink="javascript:alertmsg();";
							invlink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							pslink="products_services.html";
							cclink="CustomerService.html";
							instab=true;
							break;
		//code for the new seg enrollment starts here					
		case "setSegECS" : 
							malink="AccountsOverview.html";
							ptlink="javascript:alertmsg();";
							invlink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="javascript:alertmsg();";
							instab=false;
							break;
		case "setSegECSNew" : 
							malink="AccountsOverview.html";
							ptlink="javascript:alertmsg();";
							invlink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="javascript:alertmsg();";
							instab=false;
							break;
		case "setSegEBus" : 
							malink="AccountsOverview.html";
							ptlink="javascript:alertmsg();";
							invlink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="javascript:alertmsg();";
							instab=false;
							break;
		case "setSegEBusNew" : 
							malink="AccountsOverview.html";
							ptlink="javascript:alertmsg();";
							invlink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="javascript:alertmsg();";
							instab=false;
							break;
		//code for the new seg enrollment ends here	
							
		default : 			
							malink="AccountsOverview.html";
							ptlink="Payments_Transfers.html";
							invlink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							pslink="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\')";
							cclink="CustomerService.html";
							instab=false;
							flagplt =  false;
							break;
	}
	
	
	
			if (tab == "MA")
			{
					
					document.write('<table cellspacing="0" cellpadding="0" border="0"  summary="primary navigation" id="chaseui-navigation" class="fullWidthNew">');
					document.write('<tr valign="bottom"><td>');
					document.write('<div id="chaseui-primary-navigation">');
					if(flagplt)
					{
						document.write('<a href="'+malink+'"><div class="chaseui-primary-navigation-item-selected-ma"></div></a>');
					}
					else
					{
						document.write('<div class="chaseui-primary-navigation-item-selected"><div class="chaseui-title"><a href="'+malink+'">My Accounts</a></div></div>');
					}
					
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+ptlink+'">Payments &amp; Transfers</a></div></div>');
					if(instab)
					{
						document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+invlink+'">Investing</a></div></div>');
					}
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+pslink+'">Products &amp; Services</a></div></div>');
					document.write('<div class="chaseui-primary-navigation-item-last"> <div class="chaseui-title"><a href="'+cclink+'">Customer Center</a></div></div>');
					document.write('</div>');
					document.write('</td></tr>');
					document.write('</table>');		
			}
			
			else if (tab == "PT")
			{
					document.write('<table cellspacing="0" cellpadding="0" border="0"  summary="primary navigation" id="chaseui-navigation" class="fullWidthNew" >');
					document.write('<tr valign="bottom"><td>');
					document.write('<div id="chaseui-primary-navigation">');
					document.write('<div class="chaseui-primary-navigation-item-offset"><div class="chaseui-title"><a href="'+malink+'">My Accounts</a></div></div>');
					if(flagplt)
					{
						document.write('<a href="'+ptlink+'"><div class="chaseui-primary-navigation-item-selected-pt"></div></a>');
					}
					else
					{
						document.write('<div class="chaseui-primary-navigation-item-selected"><div class="chaseui-title"><a href="'+ptlink+'">Payments &amp; Transfers</a></div></div>');
					}
					if(instab)
					{
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+invlink+'">Investing</a></div></div>');
					}
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+pslink+'">Products &amp; Services</a></div></div>');
					document.write('<div class="chaseui-primary-navigation-item-last"> <div class="chaseui-title"><a href="'+cclink+'">Customer Center</a></div></div>');
					document.write('</div>');
					document.write('</td></tr>');
					document.write('</table>');		
			}
			else if (tab == "IN")
			{
					document.write('<table cellspacing="0" cellpadding="0" border="0"  summary="primary navigation" id="chaseui-navigation" class="fullWidthNew" >');
					document.write('<tr valign="bottom"><td>');
					document.write('<div id="chaseui-primary-navigation">');
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+malink+'">My Accounts</a></div></div>');
					document.write('<div class="chaseui-primary-navigation-item-offset"><div class="chaseui-title"><a href="'+ptlink+'">Payments &amp; Transfers</a></div></div>');
					if(instab)
					{
						if(flagplt)
						{
							document.write('<a href="'+invlink+'"><div class="chaseui-primary-navigation-item-selected-inv"></div></a>');
						}
						else
						{
							document.write('<div class="chaseui-primary-navigation-item-selected"><div class="chaseui-title"><a href="'+invlink+'">Investing</a></div></div>');
						}
						
					
					}
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+pslink+'">Products &amp; Services</a></div></div>');
					document.write('<div class="chaseui-primary-navigation-item-last"> <div class="chaseui-title"><a href="'+cclink+'">Customer Center</a></div></div>');
					document.write('</div>');
					document.write('</td></tr>');
					document.write('</table>');		
			}
			else if (tab == "PS")
			{
					document.write('<table cellspacing="0" cellpadding="0" border="0"  summary="primary navigation" id="chaseui-navigation" class="fullWidthNew" >');
					document.write('<tr valign="bottom"><td>');
					document.write('<div id="chaseui-primary-navigation">');
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+malink+'">My Accounts</a></div></div>');
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+ptlink+'">Payments &amp; Transfers</a></div></div>');
					if(instab)
					{
					document.write('<div class="chaseui-primary-navigation-item-offset"><div class="chaseui-title"><a href="'+invlink+'">Investing</a></div></div>');
					}
					document.write('<div class="chaseui-primary-navigation-item-selected"><div class="chaseui-title"><a href="'+pslink+'">Products &amp; Services</a></div></div>');
					document.write('<div class="chaseui-primary-navigation-item-last"> <div class="chaseui-title"><a href="'+cclink+'">Customer Center</a></div></div>');
					document.write('</div>');
					document.write('</td></tr>');
					document.write('</table>');		
			}
			else if (tab == "CC")
			{
					document.write('<table cellspacing="0" cellpadding="0" border="0"  summary="primary navigation" id="chaseui-navigation" class="fullWidthNew" >');
					document.write('<tr valign="bottom"><td>');
					document.write('<div id="chaseui-primary-navigation">');
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+malink+'">My Accounts</a></div></div>');
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+ptlink+'">Payments &amp; Transfers</a></div></div>');
					if(instab)
					{
					document.write('<div class="chaseui-primary-navigation-item"><div class="chaseui-title"><a href="'+invlink+'">Investing</a></div></div>');
					}
					document.write('<div class="chaseui-primary-navigation-item-offset"><div class="chaseui-title"><a href="'+pslink+'">Products &amp; Services</a></div></div>');
					if(flagplt)
					{
						document.write('<a href="'+cclink+'"><div class="chaseui-primary-navigation-item-selected-cc"></div></a>');
					}
					else
					{
						document.write('<div class="chaseui-primary-navigation-item-selected"> <div class="chaseui-title"><a href="'+cclink+'">Customer Center</a></div></div>');
					}
					document.write('</div>');
					document.write('</td></tr>');
					document.write('</table>');		
			}
	
	
	/*New styles for Nav ends here*/	
	
	return;
	
	
}







function demoTabNav_old(tab)
{
	if (tab == "CC")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" align="center" summary="primary navigation"><tr valign="bottom">');
		document.write('<td><span 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="Go to My Accounts" title="Go to My Accounts" width="117" height="28" border="0"></a></div></span></td>');
		document.write('<td><span 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="Go to Payments and Transfers" title="Go to 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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBA"><div class="tabPaymentsOff"><a href="Payments_Transfers.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabPaymentsOff"><a href="javascript:alertmsg();" 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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCMS-CMSBiz"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="Payments_Transfers.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div></span></td>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBA"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabInvestingOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<td><span id="ProductsTab"><div id="segJPMSno"><div class="tabProductsOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Products &amp; Services" title="Go to Products &amp; Services" width="164" height="28" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabProductsOff"><a href="products_services.html" 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="Go to Products &amp; Services" title="Go to Products &amp; Services" width="164" height="28" border="0"></a></div></div></span></td>');
		document.write('<td><span id="CustomerCenterTab"><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 selected" title="Customer Center selected" width="149" height="28" border="0"></a></div></span></td></tr></table>');
	}
	
	if (tab == "IN")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" align="center" summary="primary navigation"><tr valign="bottom">');
		document.write('<td><span 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="Go to My Accounts" title="Go to My Accounts" width="117" height="28" border="0"></a></div></span></td>');
		document.write('<td><span 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="Go to Payments and Transfers" title="Go to 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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="Payments_Transfers.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div></td></span>');	
		document.write('<td><span id="PaymentsTab"><div id="segCardBA"><div class="tabPaymentsOff"><a href="Payments_Transfers.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<td id="InvestingTab"><div class="tabInvestingOn"><a href="Investing.html" 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 selected" title="Investing selected" width="99" height="28" border="0"></a></div></td>');
		document.write('<td><span id="ProductsTab"><div class="tabProductsOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Products &amp; Services" title="Go to Products &amp; Services" width="164" height="28" border="0"></a></div></span></td>');
		document.write('<td><span 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="Go to Customer Center" title="Go to Customer Center" width="149" height="28" border="0"></a></div></span></td></tr></table>');
	}
	
	if (tab == "MA")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" align="center"  summary="primary navigation"><tr valign="bottom">');
		document.write('<td><span id="myAccountsTab"><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 selected" title="My Accounts selected" width="117" height="28" border="0"></a></div></span></td>');
		document.write('<td><span 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="Go to Payments and Transfers" title="Go to 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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBA"><div class="tabPaymentsOff"><a href="Payments_Transfers.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCMS-CMSBiz"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabPaymentsOff"><a href="javascript:alertmsg();" 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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="Payments_Transfers.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div></span></td>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBA"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabInvestingOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<td><span id="ProductsTab"><div id="segJPMSno"><div class="tabProductsOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Products &amp; Services" title="Go to Products &amp; Services" width="164" height="28" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabProductsOff"><a href="products_services.html" 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="Go to Products &amp; Services" title="Go to Products &amp; Services" width="164" height="28" border="0"></a></div></div></span></td>');
		document.write('<td><span 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="Go to Customer Center" title="Go to Customer Center" width="149" height="28" border="0"></a></div></span></td></tr></table>');
	}
	
	if (tab == "PT")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" align="center" summary="primary navigation"><tr valign="bottom">');
		document.write('<td><span 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="Go to My Accounts" title="Go to My Accounts" width="117" height="28" border="0"></a></div></span></td>');
		document.write('<td><span id="PaymentsTab"><div id="segBusMLT"><div class="tabPaymentsOn"><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 selected" title="Payments and Transfers selected" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabPaymentsOn"><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 selected" title="Payments and Transfers selected" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOn"><a href="Payments_Transfers-cp.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 selected" title="Payments and Transfers selected" border="0"></a></div></div>');
		document.write('<div id="segCardBA"><div class="tabPaymentsOn"><a href="Payments_Transfers.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 selected" title="Payments and Transfers selected" border="0"></a></div></div>');
		document.write('<div id="segCMS-CMSBiz"><div class="tabPaymentsOn"><a href="Payments_Transfers-cp.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 selected" title="Payments and Transfers selected" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOn"><a href="Payments_Transfers-cp.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 selected" title="Payments and Transfers selected" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOn"><a href="Payments_Transfers.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 selected" title="Payments and Transfers selected" border="0"></a></div></div></span></td>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBA"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<td><span id="ProductsTab"><div class="tabProductsOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Products &amp; Services" title="Go to Products &amp; Services" width="164" height="28" border="0"></a></div></span></td>');
		document.write('<td><span 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="Go to Customer Center" title="Go to Customer Center" width="149" height="28" border="0"></a></div></span></td></tr></table>');
	}
	
	if (tab == "PS")
	{
		document.write('<table cellspacing="0" cellpadding="0" border="0" align="center"  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="Go to My Accounts" title="Go to 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="Go to Payments and Transfers" title="Go to 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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabPaymentsOff"><a href="Payments_Transfers-cp.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabPaymentsOff"><a href="javascript:alertmsg();" 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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabPaymentsOff"><a href="Payments_Transfers.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="Go to Payments and Transfers" title="Go to Payments and Transfers" border="0"></a></div></div></td>');
		document.write('<td id="InvestingTab"><div id="segBusMLT"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCOSB"><div class="tabInvestingOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardBP"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segJPMS"><div class="tabInvestingOff"><a href="javascript: alert(\'You are viewing our demo.\\nThis section is not available in the demo.\');" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCardCNS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div>');
		document.write('<div id="segCSMR-PLT-PCS"><div class="tabInvestingOff"><a href="Investing.html" 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="Go to Investing" title="Go to Investing" width="99" height="28" border="0"></a></div></div></td>');
		document.write('<td id="ProductsTab"><div class="tabProductsOn"><a href="products_services.html" 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 selected" title="Products &amp; Services selected" 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="Go to Customer Center" title="Go to Customer Center" width="149" height="28" border="0"></a></div></td></tr></table>');
	}
}

function demoSegTableOLD()
{
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="headerBarBack" summary="section header"><tr class="headerBar">');
	document.write('<td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" 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" id="segPCS"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong>DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segMLT-BA-BP"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardCNS-CSMR"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCMS-CMSBiz"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong>Cardmemberservices.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segPLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="30%">');
	TodayDate();
	document.write('</td></tr></table>');
}





function demoSegTable()
{
	document.write('<div class="headernew2" id="segBusMLT-COSB"><div class="fr tpad2 tmgr5nve"><span class=headerbartext id="segCOSB">CHASE ONLINE<sup class="fnt7px">SM</sup> </span><span class="headerbartext" id="segBusMLT">CHASE COMMERCIAL ONLINE<sup class="fnt7px">SM</sup></span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="segCardBP"><div class="fr tmgr3nve"><span class=headerbartext>CHASE ONLINE<sup class="fnt7px">SM</sup></span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="segCardCNS-CSMR"><div class="fr tpad2 tmgr5nve"><span class=headerbartext>CHASE ONLINE<sup class="fnt7px">SM</sup></span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="segPCS"><div class="fr tmgr3nve"><span class=headerbartext></span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="segPLT"><div class="fr tmgr3nve"><span class=headerbartext>CHASE ONLINE<sup class="fnt7px">SM</sup></span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="segJPMS"><div class="fr tpad2"><span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="segCMS-CMSBiz"><div class="fr tmgr3nve"><span class=headerbartext>CARDMEMBER SERVICES</span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="segCardBA"><div class="fr tmgr3nve"><span class=headerbartext>CHASE ONLINE<sup class="fnt7px">SM</sup></span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="setSegECS-ECSNew"><div class="fr tmgr3nve"><span class=headerbartext>CHASE ONLINE<sup class="fnt7px">SM</sup></span>&nbsp;&nbsp;<span class="headerbardatenew2"><strong><script>TodayDatenew();</script></span></div></div><div class="headernew2" id="setSegEBus-EBusNew"><div class="fr tmgr3nve"><span class=headerbartext>CHASE ONLINE<sup class="fnt7px">SM</sup></span>&nbsp;&nbsp;<span class="headerbardatenew2"><script>TodayDatenew();</script></span></div></div>')
}







function demoSegTable_old()
{
	//segBusMLT-COSB
	document.write('<div><table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header" id="segBusMLT-COSB" align="center"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Online<sup>sm</sup> for Business Demo</strong></span></td>');
	document.write('<td width="46%" align="center" id="segBusMLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Commercial Online<sup>SM</sup> DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBA"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBP"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardCNS-CSMR"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCMS-CMSBiz"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Cardmemberservices.com DEMO</strong></span></td>');	
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');
	//CardBP
	document.write('<div><table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header" id="segCardBP" align="center"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Online<sup>sm</sup> for Business Demo</strong></span></td>');
	document.write('<td width="46%" align="center" id="segBusMLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Commercial Online<sup>SM</sup> DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBA"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBP"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardCNS-CSMR"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCMS-CMSBiz"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Cardmemberservices.com DEMO</strong></span></td>');	
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');
	//segCardCNS
	document.write('<div><table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header" id="segCardCNS" align="center"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Online<sup>sm</sup> for Business Demo</strong></span></td>');
	document.write('<td width="46%" align="center" id="segBusMLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Commercial Online<sup>SM</sup> DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBA"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBP"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardCNS-CSMR"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCMS-CMSBiz"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Cardmemberservices.com DEMO</strong></span></td>');	
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');
	//segCSMR
	document.write('<div><table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header" id="segCSMR" align="center"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Online<sup>sm</sup> for Business Demo</strong></span></td>');
	document.write('<td width="46%" align="center" id="segBusMLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Commercial Online<sup>SM</sup> DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBA"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBP"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardCNS-CSMR"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCMS-CMSBiz"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Cardmemberservices.com DEMO</strong></span></td>');	
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');
	//segCMS-CMSBiz
	document.write('<div><table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header" id="segCMS-CMSBiz" align="center"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Online<sup>sm</sup> for Business Demo</strong></span></td>');
	document.write('<td width="46%" align="center" id="segBusMLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Commercial Online<sup>SM</sup> DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBA"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBP"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardCNS-CSMR"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCMS-CMSBiz"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Cardmemberservices.com DEMO</strong></span></td>');	
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');
	//segCardBA
	document.write('<div><table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNew" summary="section header" id="segCardBA" align="center"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segCOSB"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Online<sup>sm</sup> for Business Demo</strong></span></td>');
	document.write('<td width="46%" align="center" id="segBusMLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase Commercial Online<sup>SM</sup> DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBA"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardBP"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCardCNS-CSMR"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="46%" align="center" id="segCMS-CMSBiz"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Cardmemberservices.com DEMO</strong></span></td>');	
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');
	//segJPMS
	document.write('<div><table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNewJPMS" summary="section header" id="segJPMS" align="center"><tr>');
	document.write('<td width="10" height="25">&nbsp;</td><td width="24%" class="" height="25">&nbsp;</td><td width="46%" align="center" height="25"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"/></td><td width="30%" class="headerbar" height="25" align="right">');TodayDate();
	document.write('</td><td width="10" height="25">&nbsp;</td></tr></table>');	
	//PLT Segment
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNewPLT" summary="section header" id="segPLT"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segPLT"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>Chase.com DEMO</strong></span></td>');
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table>');
	//PCS Segment
	document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidth headerBarNewPCS" summary="section header" id="segPCS"><tr>');
	document.write('<td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td><td width="24%" class="segImage">&nbsp;</td>');
	document.write('<td width="46%" align="center" id="segPCS"><img src="images/spacer.gif" alt="" width="24" height="1" border="0"><span id="demoTag" class="headerBar"><strong>DEMO</strong></span></td>');
	document.write('<td width="30%" class="headerBar">');
	TodayDate();
	document.write('</td><td><img src="images/spacer.gif" alt="" width="10" height="1" border="0" /></td></tr></table></div>');
}
function demoFooterLinks()
{
	//footer links for segCOSB
document.write('<span id="segCOSB"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');

//footer links for  : segBusMLT 

document.write('<span id="segBusMLT"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');

//footer links for : segCardBP
document.write('<span id="segCardBP"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');

//footer links for : segCardCNS
document.write('<span id="segCardCNS"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');

//footer links for : segCSMR
document.write('<span id="segCSMR"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');

//footer links for segPCS
document.write('<span id="segPCS"><a href=\"javascript: alert(\'You are viewing our demo.\\nThis link is not available in the demo.\');\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThis link is not available in the demo.\');\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');

//footer links for segPLT
document.write('<span id="segPLT"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');


//footer links for segCMS
document.write('<span id="segCMS"><a href=\"javascript: alertmsg();\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | ');
document.write('<a href=\"javascript:alertmsg();\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | ');
document.write('<a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link 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\">Legal Agreements and Disclosures</a></span>');

//footer links for segCMSBiz
document.write('<span id="segCMSBiz"><a href=\"javascript: alertmsg();\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | ');
document.write('<a href=\"javascript:alertmsg();\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | ');
document.write('<a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link 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\">Legal Agreements and Disclosures</a></span>');

//footer links for : segCardBA
document.write('<span id="segCardBA"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | ');
document.write('<a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | ');
document.write('<a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a></span>');

//footer links for : segJPMS
document.write('<span id="segJPMS"><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onfocus=\"window.status=\'\';return true\" onblur=\"window.status=\'\';return true\" onmouseover=\"window.status=\'\';return true\" onmouseout=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onfocus=\"window.status=\'\';return true\" onblur=\"window.status=\'\';return true\" onmouseover=\"window.status=\'\';return true\" onmouseout=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures </a></span>');

// code for enrollment segment begins here


document.write('<span id="setSegECS-ECSNew"><a href=\"javascript:alertmsg();\" title=\"Opening in a new browser window\" onfocus=\"window.status=\'\';return true\" onblur=\"window.status=\'\';return true\" onmouseover=\"window.status=\'\';return true\" onmouseout=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript:alertmsg();\" title=\"Opening a new browser window\" onfocus=\"window.status=\'\';return true\" onblur=\"window.status=\'\';return true\" onmouseover=\"window.status=\'\';return true\" onmouseout=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript:alertmsg();\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures </a></span>');


document.write('<span id="setSegEBus-EBusNew"><a href=\"javascript:alertmsg();\" title=\"Opening in a new browser window\" onfocus=\"window.status=\'\';return true\" onblur=\"window.status=\'\';return true\" onmouseover=\"window.status=\'\';return true\" onmouseout=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript:alertmsg();\" title=\"Opening a new browser window\" onfocus=\"window.status=\'\';return true\" onblur=\"window.status=\'\';return true\" onmouseover=\"window.status=\'\';return true\" onmouseout=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript:alertmsg();\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures </a></span>');




// code for enrollemnt segment ends here


}
// This function is used for 4 footer links(Licensing & Disclosures)
function demoFooterLinks4LicensDisc()
{
	//footer links for segCOSB
document.write('<span><a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/privacysecurity/enforcement\')\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: globalLinkPopup(\'http://www.chase.com/cm/cs?pagename=Chase/Href&urlname=chase/cc/terms\')\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alert(\'You are viewing our demo.\\nThe Legal Agreements and Disclosures link is not available in the demo.\\nPlease log in to your account at www.chase.com to access Legal Agreements and Disclosures.\');\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a> | <a href=\"MortLicensingDisclosures.html" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Licensing &amp; Disclosures</a></span>');
}

//this function prints the copyrights for demo pages
function demoCopyright()
{
//segments all 	
document.write('<span id="segCMS-CMSBizno">&copy; <script language="JavaScript" type="text/javascript">demoWriteYear()</script> JPMorgan Chase &amp; Co.</span>');		
//segments CMS and CMSbiz
document.write('<span id="segCMS-CMSBiz">&copy; <script language="JavaScript" type="text/javascript">demoWriteYear()</script> FIRST USA.</span>');		
}
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 openCloseTwo(valuePassed) {
	closeAll2();
	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 closeAll2 () {
for (x=1; x<3; 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();
}
function windowopenscroll(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=yes,fullscreen=no'); 
	aWin.focus();
}

window.onload = setTitle;

function alertmsg()
{
	alert('You are viewing our demo.\nThis link is not active in the demo.');
}

function demoalert()
{
	alert('You are viewing our demo.\nThis link is not active in the demo.');
}

function demoGlobalNavPopup()
{
document.write('<table cellspacing="0" cellpadding="0" border="0" class="fullWidth" summary="global navigation"><tr>');
	document.write('<td width="87%"><img src="images/chaseNew.gif" width="138" height="27" alt="Chase logo" title="Chase logo" border="0" vspace="17" hspace="17"><a href="#skip" class="global-nav"><img src="images/spacer.gif" alt=" Skip to main content " title=" 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" title=" Accessibility Information" width="1" height="1" border="0"></a><span style="color:#ffffff;font-size:10px"></span></td><td class="bodytextSm"><a href="javascript:window.close()">Close Window</a></td></tr></table>');
}
function smcopen(url)
{
var aWin,width,height;
width=800;
height=600;
aWin = window.open(url,'popup_window','width=' + width + ',height=' + height + ',left=080,top=080,location=no,resizable=yes,menubar=no,status=no,toolbar=no,scrollbars=yes,fullscreen=no'); 
aWin.focus();
}

//This function is for 3 links with demo alert message.
function demoFooterLinksDefault()
{
document.write('<a href=\"javascript: alertmsg();\" title=\"Opening in a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Security</a> | <a href=\"javascript: alertmsg();\" title=\"Opening a new browser window\" onFocus=\"window.status=\'\';return true\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Terms of Use</a> | <a href=\"javascript: alertmsg();\"  title=\"Opening a new browser window\" onBlur=\"window.status=\'\';return true\" onMouseOver=\"window.status=\'\';return true\" onFocus=\"window.status=\'\';return true\" onMouseOut=\"window.status=\'\';return true\">Legal Agreements and Disclosures</a>');
}

//function to indentify the visitor's  computer OS
function CheckVisitorsOS(win_cont_id, mac_cont_id){
// This script sets OSName variable as follows:
// "Windows"    for all versions of Windows
// "MacOS"      for all versions of Macintosh OS
// "Linux"      for all versions of Linux
// "UNIX"       for all other UNIX flavors 
// "Unknown OS" indicates failure to detect the OS

var OSName="Unknown OS";
if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";

if(OSName=="Windows") document.getElementById(win_cont_id).style.display="";
if(OSName=="MacOS") document.getElementById(mac_cont_id).style.display="";

//if unknown OS set to the Windows as default.
if(OSName=="Unknown OS") document.getElementById(win_cont_id).style.display="";

}






