/*****************************************************************************
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 eras = { src: 'eras.swf' };
var erasDemi = { src: 'erasDemi.swf' };
var erasSide = { src: 'erasSide.swf' };
var erasSideEng = { src: 'erasSideEng.swf' };
var erasZ = { src: 'erasZ.swf' };

// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(eras);
sIFR.activate(erasDemi);
sIFR.activate(erasSide);
sIFR.activate(erasZ);

// If you want, you can use multiple movies, like so:
//
//    var futura = { src: '/path/to/futura.swf' };
//    var garamond = { src '/path/to/garamond.swf' };
//    var rockwell = { src: '/path/to/rockwell.swf' };
//    
//    sIFR.activate(futura, garamond, rockwell);
//
// Remember, there must be *only one* `sIFR.activate()`!

// Now we can do the replacements. You can do as many as you like, but just
// as an example, we'll replace all `<h1>` elements with the Futura movie.
// 
// The first argument to `sIFR.replace` is the `futura` object we created earlier.
// The second argument is another object, on which you can specify a number of
// parameters or "keyword arguemnts". For the full list, see "Keyword arguments"
// under `replace(kwargs, mergeKwargs)` at 
// <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// 
// The first argument you see here is `selector`, which is a normal CSS selector.
// That means you can also do things like '#content h1' or 'h1.title'.
//
// The second argument determines what the Flash text looks like. The main text
// is styled via the `.sIFR-root` class. Here we've specified `background-color`
// of the entire Flash movie to be a light grey, and the `color` of the text to
// be red. Read more about styling at <http://wiki.novemberborn.net/sifr3/Styling>.
sIFR.replace(eras, {
  selector: '#pioniere h1',
  wmode:'transparent',
  css: '.sIFR-root {color: #626464;}'
});

sIFR.replace(erasDemi,{
selector:'#koordinaten #container #navBg .navHolderUns h1, #publikationen #container #navBg .navHolderUns h1, #jobs #container #navBg .navHolderUns h1, #partner #container #navBg .navHolderUns h1, #newsletter #container #navBg .navHolderUns h1',
wmode:'transparent',
css:['.sIFR-root { color: #000000; }',
'.sIFR-root a { color: #000000; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a:hover { color: #579B89; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a .uns { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});

sIFR.replace(erasDemi,{
selector:'#definition #container #navBg .navHolder h1, #ablauf #container #navBg .navHolder h1, #ziel #container #navBg .navHolder h1, #erfolgsquote #container #navBg .navHolder h1',
wmode:'transparent',
css:['.sIFR-root { color: #000000; }',
'.sIFR-root a { color: #000000; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a:hover { color: #579B89; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a .cm { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});

sIFR.replace(erasDemi,{
selector:'#betrCM #container #navBg .navHolderDienstleistung h1, #versCM #container #navBg .navHolderDienstleistung h1, #vorsorgeCM #container #navBg .navHolderDienstleistung h1, #selbstCM #container #navBg .navHolderDienstleistung h1, #teilbereiche #container #navBg .navHolderDienstleistung h1, #anmeldung #container #navBg .navHolderDienstleistung h1, #interkulturell #container #navBg .navHolderDienstleistung h1',
wmode:'transparent',
css:['.sIFR-root { color: #000000; }',
'.sIFR-root a { color: #000000; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a:hover { color: #579B89; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a .dienst { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});

sIFR.replace(erasDemi,{
selector:'#download #container #navBg .navHolderDownload h1',
wmode:'transparent',
css:['.sIFR-root { color: #000000; }',
'.sIFR-root a { color: #000000; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a:hover { color: #579B89; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a .download { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});


sIFR.replace(erasDemi,{
selector:'.navHolder h1, .navHolderUns h1, .navHolderErfolg h1, .navHolderDienstleistung h1, .navHolderDownload h1',
wmode:'transparent',
css:['.sIFR-root { color: #000000; }',
'.sIFR-root a { color: #000000; text-decoration: none; background-color: #BEC1C0;}',
'.sIFR-root a:hover { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});



sIFR.replace(erasDemi,{
selector:'.navHolder h2, .navHolderUns h2, .navHolderErfolg h2, .navHolderDienstleistung h2, .navHolderDienstleistung h2, .navHolderDownload h2',
wmode:'transparent',
css:['.sIFR-root { color: #626464; background-color: #BEC1C0; }']
});

sIFR.replace(eras,{
selector:'#text h1',
wmode:'transparent',
css:['.sIFR-root { color: #006344;}',
'.sIFR-root a { color: #000000; text-decoration: none; letter-spacing: 0.5;}',
'.sIFR-root a:hover { color: #006344; text-decoration: none; letter-spacing: 0.5;}']
});

sIFR.replace(eras,{
selector:'#text h2',
wmode:'transparent',
css:['.sIFR-root { color: #006344; font-size: 14px; margin-bottom: -3px;}']
});

sIFR.replace(erasDemi,{
selector:'#anmeldung #footer #buttomNav li',
wmode:'transparent',
css:['.sIFR-root {display: block; letter-spacing: 0.5; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a { color: #000000; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a .anmeldung { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});

sIFR.replace(erasDemi,{
selector:'#footerL li',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 12px; color: #006344;}',
	 '.sIFR-root a { color: #000000; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 12px;}']
});

sIFR.replace(erasDemi,{
selector:'#home #footer #buttomNav li',
wmode:'transparent',
css:['.sIFR-root {display: block; letter-spacing: 0.5; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a { color: #000000; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a .home { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});




sIFR.replace(erasDemi,{
selector:'#links #footer #buttomNav li',
wmode:'transparent',
css:['.sIFR-root {display: block; letter-spacing: 0.5; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a { color: #000000; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a .links { color: #579B89; text-decoration: none; background-color: #BEC1C0;}']
});

sIFR.replace(erasDemi,{
selector:'#buttomNav li',
wmode:'transparent',
css:['.sIFR-root {display: block; letter-spacing: 0.5; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a { color: #000000; text-decoration: none; font-size: 12px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 12px;}']
});



sIFR.replace(erasSide, {
selector: '#casemanagement #container #angebotNav ul li',
wmode: 'transparent',
css: [ '.sIFR-root a { color: #626464; text-decoration: none; padding-left: 0; list-style-type: none; display: block; text-decoration: none;} a:hover { color: #3A836D; padding-left: 0; list-style-type: none;} a .ziel { color: #3A836D; padding-left: 0; list-style-type: none;  text-decoration: none;}']
}); 

sIFR.replace(erasSideEng,{
selector:'#koordinaten #scrollable #container #side #uns .koordinaten',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasZ,{
selector:'#koordinaten #scrollable #container #side #uns .teamUsterF',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #626464; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#teamUster #scrollable #container #side #uns .teamUster',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasZ,{
selector:'#teamUster #scrollable #container #side #uns .teamUsterF',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#teamOlten #scrollable #container #side #uns .teamOlten',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#teamCrissier #scrollable #container #side #uns .teamCrissier',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#teamLugano #scrollable #container #side #uns .teamLugano',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#publikationen #scrollable #container #side #uns .publikationen',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#jobs #scrollable #container #side #uns .jobs',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#newsletter #scrollable #container #side #uns .newsletter',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#partner #scrollable #container #side #uns .partner',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});


sIFR.replace(erasSideEng,{
selector:'#definition #scrollable #container #side #cm .definition',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#ablauf #scrollable #container #side #cm .ablauf',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#ziel #scrollable #container #side #cm .ziel',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#erfolgsquote #scrollable #container #side #cm .erfolgsquote',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#betrCM #scrollable #container #side #dienste .betrCM',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#versCM #scrollable #container #side #dienste .versCM',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#vorsorgeCM #scrollable #container #side #dienste .vorsorgeCM',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#selbstCM #scrollable #container #side #dienste .selbstCM',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#teilbereiche #scrollable #container #side #dienste .teilbereiche',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#interkulturell #scrollable #container #side #dienste .interkulturell',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #006344; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px;}']
});

sIFR.replace(erasSideEng,{
selector:'#side li',
wmode:'transparent',
css:['.sIFR-root {display: inline; letter-spacing: 0.5; text-decoration: none; font-size: 13px; color: #626464;}',
	 '.sIFR-root a { color: #626464; text-decoration: none; font-size: 13px;}',
	 '.sIFR-root a:hover { color: #006344; text-decoration: none; font-size: 13px}']
});


