/*****************************************************************************
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 AvantGardeCE = { src: '/assets/sifr3/AvantGardeCE.swf' };
var AvantGardeLT = { src: '/assets/sifr3/AvantGardeLTMedium.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(AvantGardeCE);
sIFR.activate(AvantGardeLT);

// 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>.


//_____ NEW STYLES _____\\
//  Header 1 (18px orange)
sIFR.replace(AvantGardeCE, {
    selector: '.content h1, .pgf_content h1'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 18px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Header 2 (16px orange)
sIFR.replace(AvantGardeCE, {
    selector: '.content h2, .pgf_content h2'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 16px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Header 3 (14px orange)
sIFR.replace(AvantGardeCE, {
    selector: '.content h3, .pgf_content h3'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 14px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Header 4 (18px gray)
sIFR.replace(AvantGardeCE, {
    selector: '.content h4, .pgf_content h4'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 18px; color: #79797A; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #79797A; }',
    'a:hover { color: #79797A; }'
   ]
});
//	Header 5 (16px gray)
sIFR.replace(AvantGardeCE, {
    selector: '.content h5, .pgf_content h5'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 16px; color: #79797A; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #79797A; }',
    'a:hover { color: #79797A; }'
   ]
});
//	Header 6 (14px gray)
sIFR.replace(AvantGardeCE, {
    selector: '.content h6, .pgf_content h6'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 14px; color: #79797A; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #79797A; }',
    'a:hover { color: #79797A; }'
   ]
});
//	Default Header 1 (23px orange)
sIFR.replace(AvantGardeCE, {
    selector: 'h1.orange'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 23px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Default Header 2 (20px orange)
sIFR.replace(AvantGardeCE, {
    selector: 'h2.orange'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 20px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Default Header 3 (18px orange)
sIFR.replace(AvantGardeCE, {
    selector: 'h3.orange'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 18px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Default Header 4 (16px orange)
sIFR.replace(AvantGardeCE, {
    selector: 'h4.orange'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 16px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Default Header 5 (14px orange)
sIFR.replace(AvantGardeCE, {
    selector: 'h5.orange'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 14px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//	Default Header 6 (12px orange)
sIFR.replace(AvantGardeCE, {
    selector: 'h6.orange'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 12px; color: #FF6600; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #FF6600; }',
    'a:hover { color: #FF6600; }'
   ]
});
//  Link: Topmenu
/*
sIFR.replace(AvantGardeCE, {
    selector: '.box_topmenu span'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 10px; color: #E1E4E5; font-weight: bold; text-transform: uppercase; letter-spacing: 1; }',
    'a { text-decoration: none; }',
    'a:link { color: #E1E4E5; }',
    'a:hover { color: #FF9900; }'
   ]
});*/

//  Text/links: contact area
sIFR.replace(AvantGardeLT, {
    selector: '.box_contact span.header'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 12px; color: #FFFFFF; font-weight: bold; letter-spacing: 1; }',
    'a { text-decoration: none; }',
    'a:link { color: #FFFFFF; }',
    'a:hover { color: #FF6600; }'
   ]
});
sIFR.replace(AvantGardeCE, {
    selector: '.box_contact span.subheader'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 11px; color: #FFFFFF; font-weight: bold; letter-spacing: 1; }',
    'a { text-decoration: underline; }',
    'a:link { color: #FFFFFF; }',
    'a:hover { color: #FF6600; text-decoration: none; }'
   ]
});
sIFR.replace(AvantGardeCE, {
    selector: '.box_contact span.text'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 10px; color: #FFFFFF; font-weight: normal; letter-spacing: 1; }',
    'a { text-decoration: none; }',
    'a:link { color: #FFFFFF; }',
    'a:hover { color: #FF6600; }'
   ]
});
//  Links: breadcrumb
sIFR.replace(AvantGardeLT, {
    selector: 'div.crumb'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 14px; color: #79797A; font-weight: normal; letter-spacing: 1; }',
    'a { text-decoration: underline; }',
    'a:link { color: #79797A; }',
    'a:hover { color: #79797A; text-decoration: none; }'
   ]
});
//  Header Latest News Afdelingspage
sIFR.replace(AvantGardeCE, {
    selector: 'div.box_latestnews_afdeling h1'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 23px; color: #79797A; font-weight: bold;}',
    'a { text-decoration: none; }',
    'a:link { color: #79797A; }',
    'a:hover { color: #79797A; }'
   ]
});
//  Links: submenu active item 
/*
sIFR.replace(AvantGardeLT, {
    selector: '.box_submenu ul li.active'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 13px; color: #737A80; font-weight: bold; letter-spacing: 1; }',
    'a { text-decoration: none; font-weight: bold; }',
    'a:link { color: #737A80; font-weight: bold; }',
    'a:hover { color: #A0A5A9; text-decoration: underline; font-weight: bold; }'
   ]
});*/
//  Links: submenu
/*
sIFR.replace(AvantGardeLT, {
    selector: '.box_submenu ul li'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 13px; color: #A0A5A9; letter-spacing: 1; }',
    'a { text-decoration: none; }',
    'a:link { color: #A0A5A9; }',
    'a:hover { color: #A0A5A9; text-decoration: underline; }'
   ]
});*/
//  Links: latest news/vacancies
/*
sIFR.replace(AvantGardeLT, {
    selector: '.box_latest ul li span'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 13px; color: #FF6600; letter-spacing: 1; }',
    'a { text-decoration: none; }',
    'a:link { font-size: 13px; color: #FF6600; }',
    'a:hover { color: #FF6600; text-decoration: underline; }'
   ]
});*/
//  Links: orange footer
sIFR.replace(AvantGardeLT, {
    selector: 'td.center_bottom table td'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 13px; color: #FFFFFF; font-weight: bold; }',
    'a { text-decoration: none; text-align: center; }',
    'a:link { color: #FFFFFF; }',
    'a:hover { color: #FFFFFF; text-decoration: underline; }'
   ]
});

//_____ OLD STYLES _____\\
//  Link: Topmenu (old style)
/*
sIFR.replace(AvantGardeCE, {
    selector: 'div.corp_links span'
    , wmode: 'transparent'
    , selectable: false
    , css: [
    '.sIFR-root { font-size: 10px; color: #E1E4E5; font-weight: bold; text-transform: uppercase; letter-spacing: 1; }',
    'a { text-decoration: none; }',
    'a:link { color: #E1E4E5; }',
    'a:hover { color: #FF9900; }'
   ]
});*/