var fireOn = window.ie ? 'load' : 'domready';

window.addEvent(fireOn, function(){

	/* FLIR*/
	$$('div.message h2').addClass('noFlir');
	FLIR.init( { path: '/design/js/facelift-1.2/' , classnameIgnore: 'noFlir'} );
	FLIR.replace( 'h1' ,  new FLIRStyle({ cFont:'lane',   mode: 'wrap' }) );
	FLIR.replace( 'h2' ,  new FLIRStyle({ cFont:'lane',   mode: 'wrap' }) );
	FLIR.replace( 'legend' ,  new FLIRStyle({ cFont:'lane',   mode: 'wrap' }) );
	
	if($('flash')){
				
		/*fx = new Fx.Style($('flash'), 'opacity', {
			duration: 500,
			transition: Fx.Transitions.quartInOut
		});
		var fx = new Fx.Slide($('flash'), {
			duration: 2000,
			transition: Fx.Transitions.Pow.easeOut
		});

		fx.start(0,1);*/
new Fx.Style($('flash'), 'opacity', {
'duration' : 1000
}).start(0,1);
}
});

