

var config = [
                ['Insurance','mortgage.swf',20,'<H2>Make sure you choose the right insurance policy for YOU!</h2><p>Choosing the right insurance policy for you may seem like a bit of a minefield. Download our guide on insurance terminology to help you ask the right question and get the best insurance policy for you and your family</p'],
                ['Retirement','will.swf',21,'<h2>Worried about your retirement plans?</h2><p>Our FREE factsheet is produced by purely independent financial advisors. Download now and make sure you are ready for your retirement</p>'],
                ['Business','business.swf',22,'<H2>Running your Own Business?</h2> <p>Get our free guide to protecting your business today Did you know that your insurance can cover a lot more than just public and employee liability</p>'],
                ['Mortgages','insurance.swf',23,'<h2>With so many mortgages in the market how do you know which one is right for you?</h2><p>Download our top tips on selecting the right mortgage</p>'],
                ['Wills','ifsbanner3.swf',24,'<H2>Find out how easy it can be to make your will</H2><p>Download our FREE guide on making your will</p>'],
                ['Home','insurance.swf',23, '<h2>Beat the Credit Crunch!</h2><p>Get the latest and best financial advice straight to your inbox</p>'],
                ['Investment','ifsbanner3.swf',25, '<h2>Investing your money wisely during the Credit Crunch</h2><p>Sign up for our guide on where the safest places to put your hard earned savings are</p>']];
                
var useFlash = 'mortgage.swf';

function GetPageData()
{
    
    var pageData;
	    for(i=0;i<config.length;i++){
	        if(config[i][0] == document.body.className){
	            pageData = config[i];}}

    
    return pageData;
}

function GetFlashBanner()
{
    var pageData;
    var found = 0;


    for(i=0;i<config.length;i++){
        if(config[i][0] == document.body.className)
        {
            pageData = config[i];
            found = 1;
        }
    }

    if(found == 0 )
    {
        return useFlash;
    }
    else
    {
        return pageData[1];
    }
    
}