/*****************************************************************************
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 diamanteLight 	= { src: '/website/sIFR/demo/diamalig.swf' };
var diamanteMedium	= { src: '/website/sIFR/demo/diamamed.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(diamanteLight,diamanteMedium);

// 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(diamanteLight, {
  selector: '.menu-item',
  wmode: 'transparent',
  css: [
		'.sIFR-root { color: #969696; letter-spacing: 1.10; text-decoration:none; leading: 12.53; letter-spacing: 1.10;}',
		'a { text-decoration:none; display: inline;}',
        'a:link { color: #969696;  display: inline;}',
        'a:hover { color: #00ffff;  display: inline;}'
	]
});

sIFR.replace(diamanteLight, {
  selector: '.menu-item-selected',
  wmode: 'transparent',
  css: [
		'.sIFR-root { color: #00ffff; letter-spacing: 1.10; }',
		'a { text-decoration:none;  display: inline;}',
        'a:link { color: #00ffff;  display: inline;}',
        'a:hover { color: #00ffff;  display: inline;}'
  ]
});

sIFR.replace(diamanteLight, {
  selector: '.footer-menu',
  wmode: 'transparent',
  css: [
		'.sIFR-root { color: #969696; letter-spacing: 1.10; }',
		'a { text-decoration:none; }',
        'a:link { color: #969696; }',
        'a:hover { color: #00ffff; }'
  ]
});

sIFR.replace(diamanteLight, {
  selector: '.footer-menu-active',
  wmode: 'transparent',
  css: [
		'.sIFR-root { color: #00ffff; letter-spacing: 1.10; }',
		'a { text-decoration:none; }',
        'a:link { color: #00ffff; }',
        'a:hover { color: #00ffff; }'
  ]
});

sIFR.replace(diamanteLight, {
  selector: '.location-head',
  wmode: 'transparent',
  css: '.sIFR-root2 { color:#00000; padding-top:4; letter-spacing: 1.10;}'
});

sIFR.replace(diamanteLight, {
  selector: '.location-path',
  wmode: 'transparent',
  css: '.sIFR-root { color:#9e9e9e; padding-top:4; letter-spacing: 1.10; }'
});

sIFR.replace(diamanteLight, {
  selector: '.location-address',
  wmode: 'transparent',
  css: '.sIFR-root { color:#9e9e9e; padding-top:4; letter-spacing: 1.10; }'
});

sIFR.replace(diamanteLight, {
  selector: '.toolbox-head',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#a0e6da; letter-spacing: 1.10;}',
		'a { color: #a0e6da; text-decoration:none; }',
        'a:link { color: #a0e6da; }',
        'a:hover { color: #00ffff; }'  ]
});

sIFR.replace(diamanteLight, {
  selector: '.toolbox-menu-active',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#00ffff; letter-spacing: 1.10;}',
		'a { color: #00ffff; text-decoration:none; }',
        'a:link { color: #00ffff; }',
        'a:hover { color: #a0e6da; }'  ]
});

sIFR.replace(diamanteLight, {
  selector: '.toolbox-menu',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#a0e6da; letter-spacing: 1.10;}',
		'a { color: #a0e6da; text-decoration:none; }',
        'a:link { color: #a0e6da; }',
        'a:hover { color: #00ffff; }' ]
});

sIFR.replace(diamanteLight, {
  selector: '.block-head',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#a0e6da; letter-spacing: 1.10;}' ]
});


sIFR.replace(diamanteLight, {
  selector: '.box-calendar-head',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#808080; letter-spacing: 1.10;}' ]
});

sIFR.replace(diamanteMedium, {
  selector: '.box-calendar-head-month',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#00ffff; letter-spacing: 1.10;}' ]
});

sIFR.replace(diamanteMedium, {
  selector: '.block-label',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#4d4d4d; letter-spacing: 1.10; text-align: right; }' ,
		'a { color: #4d4d4d; text-decoration:none; }',
        'a:link { color: #4d4d4d; }',
        'a:hover { color: #a0e6da; }' 
	]
});

sIFR.replace(diamanteMedium, {
  selector: '.block-label-center',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#4d4d4d; letter-spacing: 1.10; text-align: center; }' ,
		'a { color: #4d4d4d; text-decoration:none; }',
        'a:link { color: #4d4d4d; }',
        'a:hover { color: #a0e6da; }' 
	]
});

sIFR.replace(diamanteMedium, {
  selector: '.block-page-active',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#a0e6da; letter-spacing: 1.50; }' ,
		'a { color: #a0e6da; text-decoration:none; }',
        'a:link { color: #a0e6da; }',
        'a:hover { color: #00ffff; }' 
	]
});

sIFR.replace(diamanteMedium, {
  selector: '.block-page',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#434343; letter-spacing: 1.50; }' ,
		'a { color: #434343; text-decoration:none; }',
        'a:link { color: #434343; }',
        'a:hover { color: #00ffff; }' 
	]
});

sIFR.replace(diamanteLight, {
  selector: '.box-head',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#ffffff; letter-spacing: 1.10;}',
		'a { color: #a0e6da; text-decoration:none; }',
        'a:link { color: #a0e6da; }',
        'a:hover { color: #00ffff; }'  ]
});


sIFR.replace(diamanteMedium, {
  selector: '.block-head-big',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#9e9e9e; letter-spacing: 1.10;}' ,
		'a { color: #9e9e9e; text-decoration:none; }',
        'a:link { color: #9e9e9e; }',
        'a:hover { color: #00ffff; }' 
	]
});

sIFR.replace(diamanteMedium, {
  selector:  '.block-head-big-right',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#a0e6da; letter-spacing: 1.10; display:inline; white-space: nowrap;padding-right: 4px;}' ,
		'a { color: #a0e6da; text-decoration:none; white-space: nowrap;}',
        'a:link { color: #a0e6da; white-space: nowrap;}',
        'a:hover { color: #00ffff; white-space: nowrap;}' 
	]
});

sIFR.replace(diamanteMedium, {
  selector:  '.block-head-big-right2',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#333333; letter-spacing: 1.10; text-align: left;display:inline; white-space: nowrap;padding-right: 4px;}' ,
		'a { color: #333333; text-decoration:none; white-space: nowrap;}',
        'a:link { color: #333333; white-space: nowrap;}',
        'a:hover { color: #00ffff; white-space: nowrap;}' 
	]
});

sIFR.replace(diamanteMedium, {
  selector:  '.block-tab',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#4d4d4d; letter-spacing: 1.10;}' ,
		'a { color: #4d4d4d; text-decoration:none; }',
        'a:link { color: #4d4d4d; }',
        'a:hover { color: #00ffff; }' 
	]
});

sIFR.replace(diamanteMedium, {
  selector:  '.block-tab-active',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#00ffff; letter-spacing: 1.10;}' ,
		'a { color: #00ffff; text-decoration:none; }',
        'a:link { color: #00ffff; }',
        'a:hover { color: #00ffff; }' 
	]
});

sIFR.replace(diamanteMedium, {
  selector:  '.toolbox-content-big',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#00ffff; letter-spacing: 1.10;}' ,
		'a { color: #00ffff; text-decoration:none; }',
        'a:link { color: #00ffff; }',
        'a:hover { color: #a0e6da; }' 
	]
});


sIFR.replace(diamanteLight, {
  selector: '.block-next-text',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#a0e6da; letter-spacing: 1.10; padding-left: 6px;}',
		'a { color: #a0e6da; text-decoration:none; }',
        'a:link { color: #a0e6da; }',
        'a:hover { color: #00ffff; }' 
    ]
});

sIFR.replace(diamanteLight, {
  selector: '.dl',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#a0e6da; letter-spacing: 1.10; text-align: right;}',
		'a { color: #a0e6da; text-decoration:none; }',
        'a:link { color: #a0e6da; }',
        'a:hover { color: #00ffff; }'
  ]
});

sIFR.replace(diamanteLight, {
  selector: '.block-end',
  wmode: 'transparent',
  css: [ '.sIFR-root { color:#9e9e9e; letter-spacing: 1.10; text-align: right;}',
		'a { color: #9e9e9e; text-decoration:none; }',
        'a:link { color: #9e9e9e; text-decoration:none;}',
        'a:hover { color: #00ffff; text-decoration:none;}'  
	]
});