﻿var futura = { src: '/fonts/FuturaStd-Book.swf' };
sIFR.activate(futura);

// 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(futura, {
  selector: 'h2.blue',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #6d6d6d; }'
        ,'a:hover { color: #009de8; }'
      ],
  wmode: 'opaque',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h2.orange',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #6d6d6d; }'
        ,'a:hover { color: #f4a131; }'
      ],
  wmode: 'opaque',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h2.special',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #009de8; }'
        ,'a:hover { color: #f4a131; }'
      ],
  wmode: 'opaque',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h1.sunshine',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase; color: #f4a131;}'
      ],
  wmode: 'opaque',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h1.page_heading_text',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 24px; text-transform: uppercase; color: #009de8; }'
      ],
  wmode: 'opaque',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h2.page_subtitle_text',
  css: [
        '.sIFR-root { letter-spacing: 2; font-size: 12px; text-transform: uppercase; color: #009de8; }'
      ],
  wmode: 'transparent',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h3.right_book_online',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #f4a131; background-color: transparent; }'
        ,'a:hover { color: #cccccc; background-color: transparent; }'
      ],
  wmode: 'transparent',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h3.right_check_availability',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #ffffff; background-color: transparent;}'
        ,'a:hover { color: #cccccc; background-color: transparent; }'
      ],
  wmode: 'transparent',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h3.middle_book_online',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #f4a131; background-color: transparent; }'
        ,'a:hover { color: #cccccc; background-color: transparent; }'
      ],
  wmode: 'transparent',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h3.middle_check_availability',
  css: [
        '.sIFR-root { letter-spacing: 3; font-size: 12px; text-transform: uppercase;}'
        ,'a { text-decoration: none; }'
        ,'a:link { color: #6d6d6d; background-color: white;}'
        ,'a:hover { color: #cccccc; background-color: white; }'
      ],
  wmode: 'transparent',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});
sIFR.replace(futura, {
  selector: 'h3.page_subsub_text',
  css: [
        '.sIFR-root { letter-spacing: 2; font-size: 10px; font-style: italic; text-transform: uppercase; color: #009de8; }'
      ],
  wmode: 'transparent',
  ratios: [9, 1.49, 10, 1.39, 13, 1.41, 16, 1.39, 19, 1.38, 20, 1.35, 23, 1.36, 29, 1.35, 30, 1.33, 39, 1.34, 40, 1.32, 44, 1.33, 46, 1.32, 47, 1.33, 71, 1.32, 73, 1.31, 74, 1.32, 76, 1.31, 77, 1.32, 1.31]
});

