/**
*
* @author Ivaylo Ivanov <ivaylo.ivanov@dkd.de>
*
*/


var main = {
init_sIFR: function() {
			  sIFR.domains = ['*'];
			  sIFR.compatMode = true;
			  sIFR.useStyleCheck = true;
			  sIFR.activate();

			  sIFR.replace(this.Cocon, {
			    selector: 'h1.homepage',
				css: [
				  '.sIFR-root { text-align: left; font-size: 19px; font-weight: bold; color: #1B4C80; }'
				],
				wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: 'h2.homepage',
					css: [
					  '.sIFR-root { text-align: left; font-size: 19px; font-weight: bold; color: #3C81A4; }'
					],
					wmode: 'transparent'
			  });


			  sIFR.replace(this.Cocon, {
				    selector: 'h1',
					css: [
					  '.sIFR-root { text-align: left; font-size: 29px; font-weight: bold; color: #1B4C80; }'
					],
					wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: '.yellow_banner h1',
					css: [
					  '.sIFR-root { font-size: 19px; font-weight: bold; color: #1B4C80; }'
					],
					wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: '.yellow_banner h2',
					css: [
					  '.sIFR-root { font-size: 19px; font-weight: bold; color: #1B4C80; }'
					],
					wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: '.yellow_banner h3',
					css: [
					  '.sIFR-root { font-size: 19px; font-weight: bold; color: #1B4C80; }'
					],
					wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: '.yellow_banner h4',
					css: [
					  '.sIFR-root { font-size: 19px; font-weight: bold; color: #1B4C80; }'
					],
					wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: '.yellow_banner_body h5',
					css: [
					  '.sIFR-root { font-size: 19px; font-weight: bold; color: #1B4C80; }'
					],
					wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: '.banner h3',
					css: [
					  '.sIFR-root { text-align: left; font-size: 18px; font-weight: bold; color: #1B4C80;}'
					],
					wmode: 'transparent'
			  });

			  sIFR.replace(this.Cocon, {
				    selector: '.amenu_title',
					css: [
					  '.sIFR-root { text-align: right; font-size: 18px; font-weight: bold; color: #1B4C80;}'
					],
					wmode: 'transparent'
			  });

			},
			Cocon: {
					src: "/fileadmin/template/klimaschutz/js/sifr/font/sifr-cocon-regular.swf",
				    ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
			}
};

$(document).ready(function(){
	main.init_sIFR();
});


