/*
This fixes bugs specific to certan browsers.
Do NOT amend this page unless you are absolutely
certain of its effects, and certainly not without
testing in all the browsers/platforms you
can lay your hands on!
[Ian Lloyd, Electronic Channels x655260]
*/

//------------------------------------------------

document.write("<style><!--");

/* ========= N O T   N A V   4 ! =============*/
/* Put all the things that break
horribly in Netscape 4 in here! */
if (!is_nav4)	{
	document.write('DIV.legalText {font-size:xx-small;}');
	document.write('.internetBankButtons	{padding:5px;}');
	document.write('DIV.mainContent	{margin-left:0px;padding-right:20px;}');
	document.write("DIV.legalText	{width:100%;}");
	document.write('.menu {text-indent : 5px;}');
	document.write(".servicearrowMargin	{margin-right:8px;}");
	document.write(".arrowMargin	{margin-bottom:5px;margin-right:2px;}");
	document.write(".horizontalLink {border:1px #ADC3DE solid;padding:6px;}");
	document.write(".mortgageguidesubitem {font-size:95%;font-weight:normal;text-decoration:none;text-indent:7px;}");
	document.write(".mortgageguidesubitemactive {font-size:70%;font-weight:bold;color:#818181;text-decoration:none;text-indent:7px;}");

}

if (!is_opera5 && !is_opera6)	{
	document.write('body	{margin-left: 5px;margin-right: 5px;}');
}

document.write("//--></style>");

//---------------------------------

// Product home page images
//if (1==1)	{
if ((is_ie5up)||(is_opera5)||(is_opera6))	{
	/* Product-specific page backgrounds, like the woman carrying shopping bag image
	These are positioned absolutely, underneath other content. Tricky to get working on all browsers,
	hence this css file is only loaded for certain browsers */
		document.write('<link rel="stylesheet" type="text/css" href="/_stylesheets/homepageDecoratives.css">');
}

//---------------------------------

//load up the print-only stylesheet for browsers that we KNOW support it
var blnPrintCSScompliant;
blnPrintCSScompliant = false;
if ((is_nav6up)||(is_ie4up)|(is_opera5up)) 	{
	if (!((is_mac)&&(is_ie4)))	{
		//mac ie4 applies printed style attributes on screen. Oops. Best switch that off then.
		blnPrintCSScompliant = true;
	}
}
if (blnPrintCSScompliant)	{
	document.write('<link rel="stylesheet" type="text/css" href="/_stylesheets/print.css" media="print">');
}
