var helvneue45 = { src: 'http://www.ford.com/swf/swf-helvneue45.swf' } sIFR.activate(helvneue45); var helvRatios = [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 50, 1.2, 51, 1.21, 69, 1.2, 73, 1.19, 74, 1.2, 78, 1.19, 79, 1.2, 1.19]; function doReplace (selector, color) { sIFR.replace(helvneue45, { selector: selector, wmode: 'transparent', ratios: helvRatios, css: [ '.sIFR-root { color: '+color+'; }', '.sifr .subScript { display: inline; font-size: 70%; }', '.sifr .subtitle { font-size: 86%; }' ] }); } doReplace('.home h1.sifr','#003366'); doReplace('.overview h1.sifr','#0099CC'); doReplace('.operations h1.sifr','#005A91'); doReplace('.material h1.sifr','#81B463'); doReplace('.governance h1.sifr','#AC3B3D'); doReplace('.economy h1.sifr','#A28FAD'); doReplace('.environment h1.sifr','#C18466'); doReplace('.society h1.sifr','#7CAAAC'); doReplace('.generic h1.sifr','#003366'); doReplace('h1.sifr','#003366');