<!--
var DefaultText
var SoleTraderText
var ParttnershipText
var LtdCompanyText
var ClubsText
var CharityText

DefaultText="<strong>Explanation Window:</strong><br />Move your mouse over the '<strong>? - explain</strong>' icons next to the appropriate selection to view an explanation in this window."
SoleTraderText="<strong>Sole Traders:</strong><br />An individual running their own business"
ParttnershipText="<strong>Partnership:</strong><br />Two or more people in a joint enterprise who agree to share the profits or losses of a business"
LtdCompanyText="<strong>Limited Companies:</strong><br />A trading organisation where the liability of the owners is limited to their investment in that organisation."
ClubsText="<strong>Clubs &amp; Societies</strong><br />Groups of people of like mind joined together in a common aim."
CharityText="<strong>Charities:</strong><br />Organisations set-up to raise money to benefit their cause."

var SearchFormsText
var BranchText
var ChequeText
var DebitText
var OverdraftText
var InterestText

SearchFormsText="<strong>Explanation Window:</strong><br />Select the filters you want to apply to your comparison. The <strong>'? - explain'</strong> icons provide an explanation for each of the filters in this window."
BranchText="<strong>Branch Based Accounts:</strong><br />Accounts operated via bank branches which can have facilities not available when an account is operated by post and/or telephone."
ChequeText="<strong>Cheque Card:</strong><br />A card which guarantees the payment of a cheque and which supports a cheque for obtaining cash, both up to a stated maximum."
DebitText="<strong>Debit Card:</strong><br />A card which enables purchases and cash withdrawals to be made by funds being automatically debited from a connected account."
OverdraftText="<strong>Overdraft Facilties:</strong><br />An arrangement whereby a customer's account may go into debit to a pre-agreed limit."
InterestText="<strong>Interest if in Credit:</strong><br />Interest is only paid when the account is in credit."

function ChangeExplainText(TextID){
    
    switch(TextID){
    //Comparative Tables
        case 1 : {ExplainText=DefaultText; break}
        case 2 : {ExplainText=SoleTraderText; break}
        case 3 : {ExplainText=ParttnershipText; break}
        case 4 : {ExplainText=LtdCompanyText; break}
        case 5 : {ExplainText=ClubsText; break}
        case 6 : {ExplainText=CharityText; break}
    //Filters
        case 10 : {ExplainText=SearchFormsText; break}
        case 11 : {ExplainText=BranchText; break}
        case 12 : {ExplainText=ChequeText; break}
        case 13 : {ExplainText=DebitText; break}
        case 14 : {ExplainText=OverdraftText; break}
        case 15 : {ExplainText=InterestText; break}
        }
        document.getElementById("explanation-window").innerHTML=ExplainText;
}
// -->

<!--
function OpenWindow(sURL, iWidth, iHeight, sToolbar, sLocation, sMenubar, sResize, sTop, sLeft, sStatus, sScrollbars)
{
	var newWindow = null;

	newWindow = window.open(sURL,'newWindow','width='+iWidth+',height='+iHeight+',scrollbars='+sScrollbars+',toolbar='+sToolbar+',location='+sLocation+',directories=no,status='+sStatus+',menubar='+sMenubar+',titlebar=yes,fullscreen=no,resizable=yes,top='+sTop+',left='+sLeft);
}
// -->

<!--
function OpenExternalURL(strURL)
// Function to open an external URL specified by strURL
{	
	alert('You are about to be redirected to an external website.\n\nThe British Bankers\' Association is not responsible for the content of external websites.');
	OpenWindow(strURL, '800', '500', 'yes', 'yes', 'yes', 'yes', '50', '50', 'yes','yes');
}
// -->

