//------------------------------------------------------------------------------
// Writes out the top-level strip (red bit)
//------------------------------------------------------------------------------

//write out a useful alt attribute
var strAltText="";
var strWidth="2000";
if (is_ie5up) strWidth="1500";

if (strHeader=="welcomeToNationwide")
	{strAltText="Welcome to Nationwide";}
else
	{strAltText=strHeader;}

document.write('<div class="mainarea">');
document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write('<tr valign="middle">');
		document.write('<td nowrap>')
		document.write('<table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#000066">')
		document.write('<tr>')
		document.write('<td>')
		document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">')
		document.write('<tr>')
		document.write('<td class="mainhead" height="26">')
		
		document.write("<h1>" + strAltText.toUpperCase() + " : <span>" + subHeading.toUpperCase() + "</span></h1>");
		
		
		if (!is_ie4) document.write('<a href="#mainContent" class="skipNav" title="skip main navigation, go to main content">[skip main navigation]</a>');

		document.write('</td>')

		//document.write('</td>');
		//document.write('<td class="siteContents" width="' + strWidth + '">');
		
		document.write('<td align="right">')			
		document.write('<form action="http://www.nationwide.co.uk/search/start.aspx" method="get" name="_search">');
		document.write('<div class="hiddenLabel"><label for="p_search_text">Search facility for the Nationwide web site. Please enter your search phrase or question, then select the following submit button (Access key = q)</label></div>');
		document.write('<div class="topAreamiddle">');
		document.write('<strong>SEARCH:&nbsp;</strong>');
		document.write('<input type="text" size="19" name="searchterm" id="p_search_text" maxlength="255" value="" title="" accesskey="q" tabindex="2">');
		document.write('<input type="image" src="/_common_images/go-button-more-information.gif" alt="Submit" align="top" border="0" tabindex="3">');
		document.write('</div>');
		document.write('</form>');
		document.write('</td>')
		document.write('</tr>')
		document.write('</table>')
		document.write('</td>')
		document.write('</tr>')
		document.write('</table>')		
		document.write('</td>');
		document.write('<TD align="right" width="153" nowrap>');		
		//don't create a link back to homepage if you are already on it - Jakob will have you!
		if (!blnHomePage) document.write('    <a href="/default.htm" class="nbsLogoLink">');
		document.write('<img src="/_common_images/logo.gif" width="143" height="28" border="0" alt="Nationwide logo>');
		
		//and certainly don't suggest a link where there isn't one ...
		if (!blnHomePage) document.write(' - this links you back to the home page');
		document.write('">');
		if (!blnHomePage) document.write('</a>');
		document.write('</td>');
	document.write('</form><!-- for site contents, form opened in Javascript block outside of td to prevent spacing problems -->');
	document.write('</tr>');
document.write('</table>');
document.write('</div>');

//Marquee added for Fraudulent e-mail Security Alert.
//document.write('<div style="color: red; font-weight: bold; font-family: verdana; font-size: 12px; padding-bottom: 5px; margin-top: -10px; width:auto";>');
//document.write('<marquee><a href="/default.htm" style="text-decoration: none; color: red;">&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!&nbsp;&nbsp;Fraudulent e-mail Alert!</a></marquee>');
//document.write('</div>');
