/*****************************************************************************
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.
*****************************************************************************/

// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.
var franklin = { src: '/fileadmin/fivesteps/sifr/franklinNeu.swf' };

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(franklin);

sIFR.replace(franklin, {
    		selector: 'h1.orange',
    		css: { '.sIFR-root': { 'color': '#EA6618', 'font-size': '20px', 'z-index': '50', 'font-weight': 'bold'} },
			wmode: 'transparent',
			fitExactly: 'true'
  			});

sIFR.replace(franklin, {
    		selector: 'h1.abstand_oben_orange',
    		css:  { '.sIFR-root': { 'color': '#EA6618', 'font-size': '20px', 'z-index': '50', 'font-weight': 'bold'} },
			wmode: 'transparent',
			fitExactly: 'true'
  			});

sIFR.replace(franklin, {
    		selector: 'h1.abstand_unten_orange',
    		css: { '.sIFR-root': { 'color': '#EA6618', 'font-size': '20px', 'z-index': '50', 'font-weight': 'bold'} },
			wmode: 'transparent',
			fitExactly: 'true'
  			});
sIFR.replace(franklin, {
    		selector: 'h1.abstand_oben_unten_orange',
    		css: { '.sIFR-root': { 'color': '#EA6618', 'font-size': '20px', 'z-index': '50', 'font-weight': 'bold'} },
			wmode: 'transparent',
			fitExactly: 'true'
  			});

sIFR.replace(franklin, {
    		selector: 'h1',
    		css: { '.sIFR-root': { 'color': '#000', 'font-size': '20px', 'z-index': '50'} },
			wmode: 'transparent',
			fitExactly: 'true'
  			});

			
sIFR.replace(franklin, {
  selector: '#subsite h2'
  ,wmode: 'transparent'
	,fitExactly: 'true'
  ,css: [
    '.sIFR-root {color: #ffffff; font-size: 20px; z-index: 50; font-weight: bold }'
    ,'a { color: #ffffff; text-decoration: none; }'
    ,'a:link { color: #ffffff; text-decoration: none; }'
    ,'a:hover { color: #cccccc; text-decoration: none; }'
    ,'a:focus { color: #cccccc; text-decoration: none; }'    
  ]
});

sIFR.replace(franklin, {
  selector: 'h2'
  ,wmode: 'transparent'
	,fitExactly: 'true'
  ,css: [
    '.sIFR-root {color: #000000; font-size: 20px; z-index: 50 }'
    ,'a { color: #EA6618; text-decoration: none; }'
    ,'a:link { color: #EA6618; text-decoration: none; }'
    ,'a:hover { color: #999999; text-decoration: none; }'
    ,'a:focus { color: #999999; text-decoration: none; }'    
  ]
});
