var tradegothic = {
    src: '/SIFrv3/tradegothic.swf'
  };
 
sIFR.useStyleCheck = true;
sIFR.activate(tradegothic);

//un-comment this line to get SIFr ratios
//sIFR.debug.ratios({ src: 'SIFrv3/tradegothic.swf', selector: 'h1' });

// comment from here down to calculate SIFr ratios

//  sIFR.replace(helvetica, {
//    selector: 'h3',
//	css: [
//      '.sIFR-root { font-weight: bold;  }',
//	  'a { text-decoration: none; }',
//	  'a:link { color: #000000; }',
//	  'a:hover { color: #CCCCCC; }'
//    ]
//  });

sIFR.replace(tradegothic, {
    selector: '.wideColComponentBottom h1',
		transparent: true,
		ratios: [8,1.41,11,1.31,15,1.29,25,1.25,28,1.23,32,1.22,33,1.23,39,1.22,56,1.21,91,1.2,92,1.19,97,1.2,98,1.19,101,1.2,103,1.19,104,1.2,109,1.19,110,1.2,114,1.19,115,1.2,1.19]
    ,css: '.sIFR-root { color: #003e5a; font-size:26px; }'
  })

sIFR.replace(tradegothic, {
    selector: '.pagination h1, .lp1 h1',
		transparent: true,
		ratios: [8,1.41,11,1.31,15,1.29,25,1.25,28,1.23,32,1.22,33,1.23,39,1.22,56,1.21,91,1.2,92,1.19,97,1.2,98,1.19,101,1.2,103,1.19,104,1.2,109,1.19,110,1.2,114,1.19,115,1.2,1.19]
    ,css: '.sIFR-root { color: #003e5a; font-size:26px; }'
})

sIFR.replace(tradegothic, {
    selector: '#GFH1 h1, .GF-Find-A-Home-Copy h1',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
    , css: '.sIFR-root { color: #FFFFFF; font-size:18px; }'
})

sIFR.replace(tradegothic, {
    selector: '#sectionHomePageTextContainer h1, #sectionWideRightTextContainer h1',
		transparent: true,
		ratios: [8,1.41,11,1.31,15,1.29,25,1.25,28,1.23,32,1.22,33,1.23,39,1.22,56,1.21,91,1.2,92,1.19,97,1.2,98,1.19,101,1.2,103,1.19,104,1.2,109,1.19,110,1.2,114,1.19,115,1.2,1.19]
    ,css: '.sIFR-root { color: #FFFFFF; font-size:22px; }'
  })

sIFR.replace(tradegothic, {
    selector: '#wideMiddleLeft h1, #wideMiddleCentre h1, #thickRightCol h1, #wideMiddle h1, #wideRight630 h1',
		transparent: true,
		ratios: [8,1.41,11,1.31,15,1.29,25,1.25,28,1.23,32,1.22,33,1.23,39,1.22,56,1.21,91,1.2,92,1.19,97,1.2,98,1.19,101,1.2,103,1.19,104,1.2,109,1.19,110,1.2,114,1.19,115,1.2,1.19]
    ,css: '.sIFR-root { color: #003e5a; font-size:22px; }'
  })

sIFR.replace(tradegothic, {
    selector: '#newDesignContentContainer h1, #newDesignSingleColumnContainer h1',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
    , css: '.sIFR-root { color: #003e5a; font-size:22px; }'
})

sIFR.replace(tradegothic, {
    selector: '.developmentName , .developmentName2',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
    , css: '.sIFR-root { color: #ffffff; font-size:22px; }'
})

sIFR.replace(tradegothic, {
    selector: '.development_content h2, .development_content h1',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
    , css: '.sIFR-root { color: #003e5a; font-size:22px; }'
})

sIFR.replace(tradegothic, {
    selector: '.development_content h3',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
    , css: '.sIFR-root { color: #003e5a; font-size:18px; }'
})
sIFR.replace(tradegothic, {
    selector: '.developmentName , .developmentName2',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
, css: '.sIFR-root { color: #ffffff; font-size:22px; }'
});

sIFR.replace(tradegothic, {
    selector: '#newDesignContentContainer h1',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
, css: '.sIFR-root { color: #003e5a; font-size:22px; }'
});

sIFR.replace(tradegothic, {
    selector: '#error_page h1',
    transparent: true,
    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
, css: '.sIFR-root { color: #003e5a; font-size:22px; }'
});

//sIFR.replace(tradegothic, {
//    selector: '#newDesignContentContainer h2',
//    transparent: true,
//    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
//, css: '.sIFR-root { color: #003e5a; font-size:22px; }'
//})



//sIFR.replace(tradegothic, {
//    selector: '#newDesignContentContainer h1',
//    transparent: true,
//    ratios: [8, 1.41, 11, 1.31, 15, 1.29, 25, 1.25, 28, 1.23, 32, 1.22, 33, 1.23, 39, 1.22, 56, 1.21, 91, 1.2, 92, 1.19, 97, 1.2, 98, 1.19, 101, 1.2, 103, 1.19, 104, 1.2, 109, 1.19, 110, 1.2, 114, 1.19, 115, 1.2, 1.19]
//, css: '.sIFR-root { color: #003e5a; font-size:22px; }'
//})
