/*****************************************************************************
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 futura = { src: '/path/to/futura.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(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>.

var myriad  = { src: '.myriadpro.swf' };
var harabara  = { src: 'harabara.swf' };
var foot  = { src: 'myriadpro.swf' };
var head = { src: 'myriad-web.swf' };
var banner = { src: 'myriad-web.swf' };
var banner2 = { src: 'myriad-web.swf' };
var banner3 = { src: 'myriad-web.swf' };
var banner4 = { src: 'myriad-web.swf' };
var banner5 = { src: 'myriadpro.swf' };
var banner6 = { src: 'myriadpro.swf' };
var testimonial = { src: 'segoe.swf' };
var breadcrumbs = { src: 'myriad-web.swf' };
// var rightside = { src: 'vectroid.swf' };


sIFR.delayCSS  = true;
sIFR.activate(myriad , harabara, breadcrumbs, head, banner, banner2, banner3, banner4, banner5, banner6, testimonial);

sIFR.replace(harabara, {
selector: 'h5#special'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:18px; font-weight:normal; padding-top: 1px; text-align: left; color: #CFD1D3; leading: 2; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #da4c1a; }'
  ,'a:hover { color: #da4c1a; }'
  ,'strong {color: #CFD1D3; font-bold: normal; }'
]
});

sIFR.replace(harabara, {
selector: 'h5#specialx'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 6
    ,blurY: 6
    ,color: '#000000'
    ,strength: .55
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:38px; font-weight:normal; padding-left: 135px; text-align: left; color: #6293c7; leading: -8; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #6293c7; }'
  ,'a:hover { color: #6293c7; }'
  ,'strong {color: #dfe3e9; font-bold: normal; padding-left: 135px; }'
]
});

sIFR.replace(myriad, {
selector: 'h4#right'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:22px; font-weight:normal; padding-top: 55px; text-align: left; color: #99CCFF; leading: 5; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #da4c1a; }'
  ,'a:hover { color: #da4c1a; }'
  ,'strong {color: #99CCFF; font-bold: normal; }'
]
});

sIFR.replace(myriad, {
selector: 'h4#left'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:22px; font-weight:normal; padding-top: 55px; text-align: left; color: #99CCFF; leading: 5; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #da4c1a; }'
  ,'a:hover { color: #da4c1a; }'
  ,'strong {color: #99CCFF; font-bold: normal; }'
]
});


sIFR.replace(harabara, {
selector: '#banner'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:40px; font-weight:normal; padding-top: 85px; text-align: left; color: #0099CC; leading: 5; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #ffffff; }'
  ,'a:hover { color: #0099CC; }'
  ,'strong {color: #0099CC; font-bold: normal; }'
]
});

sIFR.replace(banner2, {
selector: '#banner2'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:30px; font-weight:normal; padding-top: 55px; text-align: left; color: #0099CC; leading: 2; margin-left:1px; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #0099CC; }'
  ,'a:hover { color: #0099CC; }'
  ,'strong {color: #0099CC; font-bold: normal; }'
]
});

sIFR.replace(banner3, {
selector: '#banner3'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:20px; font-weight:normal; padding-top: 55px; text-align: left; color: #0099CC; leading: 5; margin-left:40px; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #0099CC; }'
  ,'a:hover { color: #0099CC; }'
  ,'strong {color: #0099CC; font-bold: normal; }'
]
});
sIFR.replace(banner4, {
selector: '#banner4'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:20px; font-weight:normal; padding-top: 5px; text-align: left; color: #0099CC; leading: -2; margin-left:60px; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #0099CC; }'
  ,'a:hover { color: #0099CC; }'
  ,'strong {color: #0099CC; font-bold: normal; }'
]
});
sIFR.replace(harabara, {
selector: '#banner5'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:45px; font-weight:normal; padding-top: 5px; text-align: left; color: #0099CC; leading: .5; margin-left:10px;}'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #0099CC; }'
  ,'a:hover { color: #0099CC; }'
  ,'strong {color: #0099CC; font-bold: normal; }'
]
});

 sIFR.replace(banner6, {
selector: '#banner6'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:20px; font-weight:normal; padding-top: 55px; text-align: left; color: #0099CC; leading: 5;}'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #0099CC; }'
  ,'a:hover { color: #0099CC; }'
  ,'strong {color: #0099CC; font-bold: normal; }'
]
});

sIFR.replace(testimonial, {
selector: '#testimonial'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:14px; font-weight:normal; padding-top: 25px; text-align: left; color: #0099CC; leading: 1; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #0099CC; }'
  ,'a:hover { color: #0099CC; }'
  ,'strong {color: #0099CC; font-bold: normal; }'
]
});


sIFR.replace(harabara, {
  selector: '#breadcrumbs',

css: [ '.sIFR-root {font-size:18px; font-weight:normal ; color:#74878e; padding-top: 10px; }',
'em {font-style:italic; }',
'strong {font-weight:bold; color:#74878e; }',
'#breadcrumbs a {font-weight:bold; color:#74878e; border-bottom: none}',
'#breadcrumbs a:hover {font-weight:bold; color: #99CCFF; border-bottom: none}',
'{leading: -2;}'
],

wmode:'transparent'
});

sIFR.replace(head, {
selector: '#head'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:18px font-weight:normal; padding-top: 55px; text-align: left; color: #99CCFF; leading: 5; }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #99CCFF; }'
  ,'a:hover { color: #99CCFF; }'
  ,'strong {color: #99CCFF; font-bold: normal; }'
]
});
sIFR.replace(foot, {
selector: '#foot'
,wmode: 'transparent'
,filters: {
  DropShadow: {
    knockout: false
    ,distance: 3
    ,blurX: 3
    ,blurY: 3
    ,color: '#000000'
    ,strength: .25
    ,angle: 90
  }
}
,css: [
  '.sIFR-root { font-size:12px; font-weight:normal; padding-top: 55px; text-align: center; color: #74A9BE; leading: 5;  }'
  ,'a { text-decoration: none; }'
  ,'a:link { color: #74A9BE; }'
  ,'a:hover { color: #74A9BE; }'
  ,'strong {color: #74A9BE; font-bold: normal; }'
]
});