// You must load this file *after* loading `sifr.js`

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

var subpear 		= { src: '/sifr3-r436/flash/subpear.swf' 	};
var rockwell 		= { src: '/sifr3-r436/flash/rockwell.swf' 	};
var charlotte_sans 	= { src: '/sifr3-r436/flash/charlotte_sans.swf'	};
var myriadpro 		= { src: '/sifr3-r436/flash/myriadpro.swf' 	};
var myriadproblack 	= { src: '/sifr3-r436/flash/myriadproblack.swf' };
var verdana 		= { src: '/sifr3-r436/flash/verdana.swf' 	};
var cochin 		= { src: '/sifr3-r436/flash/cochin.swf' 	};
var trebuchet		= { src: '/sifr3-r436/flash/trebuchet.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(subpear, rockwell, charlotte_sans, myriadpro, myriadproblack, verdana, cochin, trebuchet );

// 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(subpear, {
  selector: 'h1'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ]
});

sIFR.replace(rockwell, {
  selector: 'h2'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ]
});

sIFR.replace(charlotte_sans, {
  selector: 'h3'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ]
});

sIFR.replace(myriadpro, {
  selector: 'h4'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ]
});

sIFR.replace(myriadproblack, {
  selector: 'h5'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ]
});

sIFR.replace(verdana, {
  selector: 'p'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #000066; text-decoration: none }'
    ]
});

sIFR.replace(cochin, {
  selector: '.testje'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ]
});

sIFR.replace(trebuchet, {
  selector: '.test'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ] 
});

sIFR.replace(trebuchet, {selectable: false, 
  selector: '.testshade'
  ,css: [
     '.sIFR-root { font-size: 30px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ]
    
   ,filters: {
        DropShadow: {
          knockout: true
          ,distance: 1
          ,color: '#330000'
          ,strength: 2
        }
      }    
});




sIFR.replace(trebuchet, {
  selector: '.db_r'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #CE0808; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #CE0808; }'
     ,'a:hover { color: #CE0808; text-decoration: none }'
    ] 
});

sIFR.replace(trebuchet, {selectable: false, selector: '.db_b'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #042F7E; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #042F7E; }'    
     ,'a:hover { color: #042F7E; text-decoration: none }'
    ] 
});

sIFR.replace(trebuchet, {
  selector: '.db_g'
  ,css: [
     '.sIFR-root { font-size: 15px; background-color: #FFFFFF; color: #666666; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #666666; }'
     ,'a:hover { color: #666666; text-decoration: none }'
    ] 
});





sIFR.replace(trebuchet, {
  selector: '.indexje'
  ,css: [
     '.sIFR-root { font-size: 12px; background-color: #FFFFFF; color: #444444; }'
     ,'a { text-decoration: none; }'
     ,'a:link { color: #000033; }'
     ,'a:hover { color: #330033; text-decoration: none }'
    ] 
});