function fireEvent(element,event){
if (document.createEventObject){
// dispatch for IE
var evt = document.createEventObject();
return element.fireEvent('on'+event,evt) 
} else { // dispatch for firefox + others var evt = document.createEvent("HTMLEvents");
evt.initEvent(event, true, true ); // event type,bubbling,cancelable return !element.dispatchEvent(evt);
}
}
/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var headline = { src: '/site-resources/flash/sifr/headline.swf' };
var headlineNoShadow = { src: '/site-resources/flash/sifr/headline-noshadow.swf' };

sIFR.activate(headline, headlineNoShadow);

sIFR.replace(headline, {
  selector: '.quote-heading h2',
  css: '.sIFR-root { color: #ffffff; font-size:33px; text-align:center; width:288px; letter-spacing:-1; font-style:italic; } .sIFR-root strong { color: #ffcc00; }',
  wmode: 'transparent'
});

sIFR.replace(headlineNoShadow, {
  selector: '.feature-icons h3',
  css: '.sIFR-root { color: #000000; font-size:26px; text-align:center; width:288px; letter-spacing:-1; font-style:italic; } .sIFR-root strong { color: #cc0000; }',
  wmode: 'transparent'
});

sIFR.replace(headlineNoShadow, {
  selector: '#icon-tyres a',
  css: '.sIFR-root { color: #ffffff; font-size:18px; text-align:right; width:114px; letter-spacing:-1; font-style:italic; } }',
  wmode: 'transparent',
  onRelease: function(fi){
    //fireEvent(fi.getAncestor(),'click');
	fi.getAncestor().click();
  }
});

sIFR.replace(headlineNoShadow, {
  selector: '#icon-exhausts a, #icon-batteries a',
  css: '.sIFR-root { color: #ffffff; font-size:18px; text-align:left; width:114px; letter-spacing:-1; font-style:italic; } }',
  wmode: 'transparent',
  onRelease: function(fi){
    //fireEvent(fi.getAncestor(),'click');
	fi.getAncestor().click();
  }
});

sIFR.replace(headlineNoShadow, {
  selector: '#icon-alignment a',
  css: '.sIFR-root { color: #ffffff; font-size:16px; text-align:right; width:114px; letter-spacing:-1; font-style:italic; } }',
  wmode: 'transparent',
  onRelease: function(fi){
    //fireEvent(fi.getAncestor(),'click');
	fi.getAncestor().click();
  }
});

sIFR.replace(headline, {
  selector: '#footer-links h4',
  css: '.sIFR-root { color: #ffffff; font-size:24px; text-align:center; width:950px; letter-spacing:-1; font-style:italic;  } .sIFR-root strong { color: #cc0000; }',
  wmode: 'transparent'
});
/*
sIFR.replace(headlineNoShadow, {
  selector: '#icon-mot a, #icon-moto a, #icon-brakes a, #icon-alloys a, #icon-shocks a, #icon-mobile a, #icon-aircon a',
  css: '.sIFR-root { color: #ffffff; font-size:16px; text-align:left; width:145px; letter-spacing:-1; font-style:italic; } }',
  wmode: 'transparent',
  onRelease: function(fi){
    //fireEvent(fi.getAncestor(),'click');
	fi.getAncestor().click();
  }
});

sIFR.replace(headlineNoShadow, {
  selector: '#icon-bsr a',
  css: '.sIFR-root { color: #ffffff; font-size:14px; text-align:left; width:145px; letter-spacing:-1; font-style:italic; } }',
  wmode: 'transparent',
  onRelease: function(fi){
    //fireEvent(fi.getAncestor(),'click');
	fi.getAncestor().click();
  }
});

sIFR.replace(headlineNoShadow, {
  selector: '#icon-shocks .static, #icon-aircon .static',
  css: '.sIFR-root { color: #ffffff; font-size:16px; text-align:left; width:145px; letter-spacing:-1; font-style:italic; } }',
  wmode: 'transparent'
});

sIFR.replace(headlineNoShadow, {
  selector: '#icon-bsr .static',
  css: '.sIFR-root { color: #ffffff; font-size:14px; text-align:left; width:145px; letter-spacing:-1; font-style:italic; } }',
  wmode: 'transparent'
});
*/
sIFR.replace(headline, {
  selector: '.quote-heading h1',
  css: '.sIFR-root { color: #ffffff; font-size:24px; text-align:center; width:160px; letter-spacing:-1; font-style:italic; } .sIFR-root strong { color: #ffcc00; }',
  wmode: 'transparent'
});