/*****************************************************************************
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.
*****************************************************************************/

var helvetica = { src: 'flash/helvetica.swf' };
var helvetica_thin = { src: 'flash/helvetica_thin.swf' };

// Next, activate sIFR:
sIFR.activate(helvetica, helvetica_thin);

// 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()`!

//MAIN NAV ITEMS
sIFR.replace(helvetica, {
  selector: '#Sidebar ul li p',
  css: ['.sIFR-root { background-color:transparent; font-size:14px; }',
	'.selected { text-decoration:underline; color:#000000; }',
	'a { text-decoration:none; color:#505050; }',
	'a:hover { color:#303030; }'
  ],
  wmode: 'transparent'
});

//SUB PAGE NAV ITEMS
sIFR.replace(helvetica, {
  selector: '#Sidebar ul li ul li',
  css: ['.sIFR-root { background-color:transparent; font-size:11px; color:#505050; }',
  	'.selected { text-decoration:underline; color:#000000; }',
	'a { text-decoration:none; color:#505050; }',
	'a:hover { color:#303030; }'
  ],
  wmode: 'transparent'
});

//PAGE TITLE TEXT
sIFR.replace(helvetica, {
  selector: '#Content h2',
  css: ['.sIFR-root { background-color:transparent; font-size:36px; text-align:right; }',
  	'.home { font-size:26px; color:#235fd9; }',
  	'.about { color:#779558; }',
  	'.people { color:#cc5a5a; }',
  	'.services { color:#cac12b; }',
  	'.contact { color:#779558; }',
  ],
  wmode: 'transparent'
});

//PAGE QUOTE TEXT
sIFR.replace(helvetica, {
  selector: '#Content h3',
  css: ['.sIFR-root { background-color:transparent; font-size:16px; text-align:right; }',
  	'.home { font-size:12px; color:#235fd9; }',
  	'.about { color:#779558; }',
  	'.people { color:#cc5a5a; }',
  	'.services { color:#cac12b; }',
  	'.contact { color:#779558; }',
  ],
  wmode: 'transparent'
});

//FOOTER SLOGAN TEXT
sIFR.replace(helvetica_thin, {
  selector: '#Footer h3',
  css: ['.sIFR-root { background-color:transparent; font-size:24px; font-weight:normal; font-style:italic; text-align:right; color:#ffffff; }',
  	'.quote { font-size:30px; font-weight:bold; }',
  ],
  wmode: 'transparent'
});