<!--
  if(window.attachEvent)
    window.attachEvent("onload",setListeners);

  function setListeners(){
    inputList = document.getElementsByTagName("INPUT");
    for(i=0;i<inputList.length;i++){
      inputList[i].attachEvent("onpropertychange",restoreStyles);
      inputList[i].style.backgroundColor = "";
    }
    selectList = document.getElementsByTagName("SELECT");
    for(i=0;i<selectList.length;i++){
      selectList[i].attachEvent("onpropertychange",restoreStyles);
      selectList[i].style.backgroundColor = "";
    }
  }

  function restoreStyles(){
    if(event.srcElement.style.backgroundColor != "")
      event.srcElement.style.backgroundColor = "";
  }
  //-->

<!--

// IE 6 + Firefox compliant

function parentControl(symbol) {
  if (window.opener && !window.opener.closed) {
    window.opener.document.location.href = symbol;
    }
    else if (!window.opener || window.opener.closed) {
    	document.getElementById('mainContent').style.display = "none";
    	document.getElementById('closeIt').style.display = "block";
    	countClose();
    }
}

function countClose() {
	timerCount = timerCount-1;
	if (timerCount==-1) {
  	nowClose();
  } else {
  	window.setTimeout('pause()',1000);
  }
}

function pause() {
	document.getElementById('timerDown').innerHTML=timerCount + " seconds.";
  	countClose();
}

function nowClose() {
  	window.close();
}

//-->

function NewWindowPositioned(url)
{
	NewWin = window.open(url,'Bpay','height=450,width=570,toolbar=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no');
	NewWin.moveTo(10,10); 
}
//Open new window width size and other options passed.
function openWin(url, inW, inH, inS){
	if(inW == "") inW = 600; //default width of the window
	if(inH == "") inH = 400; //default height of the window
	if(inS == "") inS = 0; //default scrollbars 0 = no scrollbar; 1 = yes
	
	geneva = window.open(url,"poppup","menubar=no,resizable=yes,Width=" + inW + ",Height=" + inH + ",titlebar=no,alwaysRaised=yes,status=yes,resizable=no,scrollbars=" + inS + "");
}

function goPage()
{
  pageNo = document.pager.goWhere.selectedIndex
  if (pageNo == 0 || pageNo == 5 || pageNo == 6) {
    top.location.href = document.pager.goWhere.options[pageNo].value } else {
    parent.location.href = document.pager.goWhere.options[pageNo].value
  }
}


function CalculatorWindow(filename)
{
  window.open(filename,'Calculators','menubar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=700,height=600');
}
function NewWindow(filename)
{
window.open(filename,'New','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=640,height=560');
}
function IBWindow(filename)
{
  window.open(filename,'IBank','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=800,height=600');
}

function ESWindow(filename)
{
  window.open(filename,'esw','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=900,height=700');
}
function FeaturesWindow(filename)
{
  window.open(filename,'features','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=no,status=yes,top=5,width=900,height=700');
}
function selectorWindow(filename)
{
window.open(filename,'selector','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=790,height=610');
}


 
function BBOWindow(filename) {
 
// defaults
winWidth = 800; 
winheight = 600;
 
// some old browsers don't support screen
if (screen){ 
   winWidth = screen.width;    // maximise width
   winHeight = screen.height; // maximise height
   winWidth=winWidth-10;
   winHeight=winHeight-50;
}
 
 window.open(filename,'bbonline', 'menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,width='+winWidth+',height='+winHeight+',status=yes,top=0,left=0');
}
 
function controlWindow(filename, swidth, sheight) {
 
// defaults
winWidth = swidth; 
winHeight = sheight;
 
 window.open(filename,'window', 'menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,width='+winWidth+',height='+winHeight+',status=yes,top=0,left=0');
}



//function BBOWindow(filename)
// {
// window.open(filename,'bbonline', 'fullscreen=yes,menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5');
// }
function promoWindow(filename)
{
  window.open(filename,'promo','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=800,height=650');
}

function csWindow(filename)
{
  window.open(filename,'csw','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=800,height=600');
}
function privacy(filename)
{
  window.open(filename,'priv','menubar=no,location=no,menus=no,resizable=1,status=yes,top=5,width=400,height=400');
}
function fsra(filename)
{
  window.open(filename,'fsra','menubar=no,location=no,menus=no,scrollbars,resizable=1,status=yes,top=5,width=500,height=450');
}
function securitisation(filename)
{
  window.open(filename,'sec','menubar=no,location=no,menus=no,scrollbars=yes,resizable=1,status=yes,top=5,width=500,height=450');
}
function DemoWindow(filename)
{
  window.open(filename,'demo','menubar=no,toolbar=no,location=no,menus=no,scrollbars=no,resizable=no,status=yes,top=5,width=790,height=500');
}
function MLWindow(filename)
{
  window.open(filename,'MLWindow','menubar=no,location=no,menus=yes,scrollbars=yes,resizable=1,status=yes,width=770,height=480');
}
function MOMWindow(filename)
{
  window.open(filename,'MOM','menubar=no,toolbar=no,location=no,menus=no,scrollbars=no,resizable=0,status=yes,width=780,height=500');
}

function StandardWindow(filename)
{
  window.open(filename,'StandardWindow','menubar=no,location=no,menus=no,scrollbars=yes,resizable=1,status=yes,width=796,height=480');
}
/*There is already a NewWindow above and it it resizeable as it should be*/
//function NewWindow(filename)
//{       window.open(filename,'Plain','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=0,status=yes,top=5,width=540,height=580');
//}

function HLWindow(filename)
{       window.open(filename,'Plain','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=0,status=yes,top=5,width=540,height=580');
}
function AGMWindow(filename)
{
  window.open(filename,'Plain','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=0,status=yes,top=5,width=773,height=449');
}
function acrhiveWebcastWindow(filename)
{
  window.open(filename,'Plain','menubar=no,toolbar=no,location=no,menus=no,scrollbars,resizable=0,status=yes,top=5,width=773,height=449');
}
function feedback(filename)
{
  window.open(filename,'Plain','menubar=no,location=no,menus=no,scrollbars=yes,resizable=1,status=yes,top=5,width=650,height=600');
}
function closeMe()
{
	window.close();
}

function Login(s) {
	for (var i = 0; i < document.login_form.selectlog.length; i++) {
		if (document.login_form.selectlog[i].checked) {
			var str = document.login_form.selectlog[i].value;
			break;
		}
	}
	var arrayOfURL = str.split(",");
	var URL1 = arrayOfURL[0];
	var URL2 = arrayOfURL[1];
	if (s == 1)
	{
		if (URL1 != "") window.location.href = URL1;
	}
  else
	{
		if (URL2 != "") window.location.href = URL2;
	}
}

//This script will fix the print screen problem on IE 4

var da = (document.all) ? 1 : 0;
var pr = (window.print) ? 1 : 0;
var mac = (navigator.userAgent.indexOf("Mac") != -1);

function printPage() {
  if (pr) // NS4, IE5
    window.print()
  else if (da && !mac) // IE4 (Windows)
    vbPrintPage()
  else // other browsers
    alert("Sorry, your browser doesn't support this feature.");
  return false;
}

if (da && !pr && !mac) with (document) {
  writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');
  writeln('<' + 'SCRIPT LANGUAGE="VBScript">');
  writeln('Sub window_onunload');
  writeln('  On Error Resume Next');
  writeln('  Set WB = nothing');
  writeln('End Sub');
  writeln('Sub vbPrintPage');
  writeln('  OLECMDID_PRINT = 6');
  writeln('  OLECMDEXECOPT_DONTPROMPTUSER = 2');
  writeln('  OLECMDEXECOPT_PROMPTUSER = 1');
  writeln('  On Error Resume Next');
  writeln('  WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER');
  writeln('End Sub');
  writeln('<' + '/SCRIPT>');
}

//pops up the pdf for economic commentary etc.
function formHandler(form)
{
  var URL = document.form.site.options[document.form.site.selectedIndex].value;
  window.open(URL);
}


<!-- begin
//Popup function for the onload browser detection script
function popup(Site)
{
window.open(Site,'PopupName','toolbar=no,statusbar=no,location=no,scrollbars=yes,resizable=yes,width=435,height=450')
}

// end -->
/* 
** This function updates the parent window, and closes the child
** window.
*/
function updateParentWindow(aLoc) {
  top.opener.parent.document.location.href = aLoc;
  window.close();
}

/*
This function is for World Awaits Tip
*/
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

<!--//font-changer
var tags = new Array('td','tr','p','b','strong','em','a','h1','h2','h3','ul','ol','li');
var pixelArray =  new Array('8','9','10','11','12','16');
var emArray =  new Array('0.7','0.9','1.0','1.5','2.0','2.5','3');
var initSize = 2;

function fontSizer(inc,unit) {
	if (!document.getElementById) 
		return;
	var size = initSize;
		size += inc;
	if (size < 0 ) {
		size = 0;
}
	if (size > 5 ) {
		size = 5;
}
		initSize = size;
		getBody = document.getElementsByTagName('body')[0];
	for (i = 0 ; i < tags.length ; i++ ) {
		getallTags = getBody.getElementsByTagName(tags[i]);
	for (k = 0 ; k < getallTags.length ; k++) 
		getallTags[k].style.fontSize = (unit=='px') ? pixelArray[size]+unit: emArray[size]+unit;
	}
}

function cFont(toValue){
	var fVal="11px";
	if (toValue=="medium") fVal="12px";
	if (toValue=="large") fVal="14px";
    var textchange=document.getElementsByTagName("p");
    for (i=0;i<textchange.length;i++){
        textchange[i].style.fontSize=fVal;
    }

}

function clickclear(thisfield, defaulttext) {
if (thisfield.value == defaulttext) {
thisfield.value = "";
}
}

function clickrecall(thisfield, defaulttext) {
if (thisfield.value == "") {
thisfield.value = defaulttext;
}
}
  

// Div controls


function show_it(active){
	document.getElementById(active).style.display = "block";
}

function hide_it(active){
  	document.getElementById(active).style.display = "none";
}

var llun = null;


// This function will open a div and close all other open divs

function divCall(activeDiv) {
	var docLoc = document.getElementById(activeDiv);

	if (docLoc) {
		if ((docLoc.style.display == "none" || docLoc.style.display == "")) {
			docLoc.style.display = "block";
		} else {
			if (docLoc.style.display = "block") { docLoc.style.display = "none"; }
		}
		if (llun && docLoc != llun) { llun.style.display = "none"; }
		llun = docLoc;
	} else { llun = null; }
}


// This function will leave open the current div if clicked again

function divCall2(activeDiv) {
	var docLoc = document.getElementById(activeDiv);

	if (docLoc) {
		if ((docLoc.style.display == "none" || docLoc.style.display == "")) {
			docLoc.style.display = "block";
		} else {
			if (docLoc.style.display = "block") { docLoc.style.display = "block"; }
		}
		if (llun && docLoc != llun) { llun.style.display = "none"; }
		llun = docLoc;
	} else { llun = null; }
}

// New and improved: Will open/close divs, but you need to specify behaviour of the same div clicked twice ie.. close="none" or open="block"

var divObj = new Object();
divObj.prev = null;

function divCall3(activeDiv, action) {
	var docLoc = document.getElementById(activeDiv);
	var divAction="none";
	if (action=="open") {divAction="block"}
	
	if (docLoc) {
		if ((docLoc.style.display == "none" || docLoc.style.display == "")) {
			docLoc.style.display = "block";
		} else {
			if (docLoc.style.display = "block") { docLoc.style.display = divAction; }
		}
		if (divObj.prev && docLoc != divObj.prev) { divObj.prev.style.display = "none"; }
		divObj.prev = docLoc;
	} else { divObj.prev = null; }
}


/*font change mark 2 */

defaultSize = 11;
max = 16;
min = 10;
fontControl = "";

function up(id) {
	var pDiv = document.getElementById(id);
	fontControl = "up";
	fontRecursive(pDiv);
}

function down(id) {
	var pDiv = document.getElementById(id);
	fontControl = "down";
	fontRecursive(pDiv);
}


function fontRecursive(pDiv) {
	var obj = pDiv.childNodes; 
	
	for (var i=0; i < obj.length; i++) { 
		if (obj[i].nodeType == 1) {
			
			var element = obj[i].style;
			if (element.fontSize == "") element.fontSize = defaultSize+"px";
			currentSize = parseInt(element.fontSize);
//alert(obj[i].nodeName + " : " + currentSize);
			if (fontControl=="up"){
					if (currentSize <= max)
					element.fontSize = (currentSize+2)+"px";
			}
			else { 
					if (currentSize >= min)
					element.fontSize = (currentSize-2)+"px";
			}

			if(obj[i].childNodes.length > 0){
       			fontRecursive(obj[i]);
         	}
		}
	}
}




/* Do Not put function below this */
-->