/*****************************************************************************
 
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 mercury = { src: '/wp-content/themes/techniks/flash/mercurytextg1.swf' };
var helveticaneue = { src: '/wp-content/themes/techniks/flash/helveticaneue45light.swf' };

sIFR.activate(mercury, helveticaneue);

/* News and Press, Right Column, H2 Header */
sIFR.replace(mercury, {
  selector: 'h2.nap-s-header',
  css: [
      '.sIFR-root { font-size: 26px; font-weight:normal; color:#303236; cursor: pointer; }'
	  , 'a { text-decoration: none; }'
	  , 'a:link { color:#303236; }'
	  , 'a:hover { color: #ff3600; text-decoration: underline; }'
      ],
  wmode: 'transparent'
});

/* News and Press, Right Column, Gray Header Description Text */
sIFR.replace(mercury, {
  selector: 'div#m-c-r-description-left p',
  css: [
      '.sIFR-root { font-size: 16px; font-weight: normal; color: #6a6a6a; }'
      ],
  wmode: 'transparent'
});

/* News and Press, Right Column, Date */
sIFR.replace(helveticaneue, {
  selector: 'p.date',
  css: [
      '.sIFR-root { font-size: 11px; font-weight: normal; color: #222222; letter-spacing: 0.75; }'
      ],
  wmode: 'transparent'
});

/* News and Press, Right Column, Archive */
sIFR.replace(mercury, {
  selector: 'div#nap-archive p',
  css: [
      '.sIFR-root { font-size: 14px; font-weight: normal; color: #ff3600; }'
      ],
  wmode: 'transparent'
});

/* Corporate Profile - Corporate Profile, Banner Paragraph */
sIFR.replace(mercury, {
  selector: 'h2#banner-cp-cp',
  css: [
      '.sIFR-root { font-size: 34px; font-weight: normal; color: #303236; }',
	  'em { font-weight: normal; color: #ff3600; font-style: normal; }'
      ],
  wmode: 'transparent'
});

/* Corporate Profile - Company History, Letter E */
sIFR.replace(mercury, {
  selector: 'span#chistory-p-01-firstletter',
  css: [
      '.sIFR-root { font-size: 150px; font-weight: normal; color: #ff3600; }'
      ],
  wmode: 'transparent'
});

/* Corporate Profile - Company History, Letter Caps */
sIFR.replace(mercury, {
  selector: 'span#chistory-p-01-lettercaps',
  css: [
      '.sIFR-root { font-size: 38px; font-weight: normal; color: #303236; }'
      ],
  wmode: 'transparent'
});

/* Corporate Profile - Fields of Activity, Banner Paragraph */
sIFR.replace(mercury, {
  selector: 'p#banner-foa',
  css: [
      '.sIFR-root { font-size: 34px; font-weight: normal; color: #303236; }',
	  'em { font-weight: normal; color: #ff3600; font-style: normal; }'
      ],
  wmode: 'transparent'
});

/* Corporate Profile - Scope of Services, Banner Paragraph */
sIFR.replace(mercury, {
  selector: 'h2#banner-sos',
  css: [
      '.sIFR-root { font-size: 36px; font-weight: normal; color: #303236; }',
	  'em { font-weight: normal; color: #ff3600; font-style: normal; }'
      ],
  wmode: 'transparent'
});

/* Contact Us - Form Intro */
sIFR.replace(mercury, {
  selector: 'h2#contactus-form-intro',
  css: [
      '.sIFR-root { font-size: 22px; font-weight: normal; color: #2b2b2b; }'
      ],
  wmode: 'transparent'
});

/* Contact Us - Sent */
sIFR.replace(mercury, {
  selector: 'p#mcc-thankyou-message',
  css: [
      '.sIFR-root { font-size: 34px; font-weight: normal; color: #303236; }',
	  'em { font-weight: normal; color: #ff3600; font-style: normal; }'
      ],
  wmode: 'transparent'
});

/* Error 404 - Header H2 */
sIFR.replace(mercury, {
  selector: 'h2#mcre404-h2',
  css: [
      '.sIFR-root { font-size: 80px; font-weight: normal; color: #ff3600; text-align: right; }'
      ],
  wmode: 'transparent'
});

/* Error 404 - Main Paragraph */
sIFR.replace(mercury, {
  selector: 'p.mcre404-p',
  css: [
      '.sIFR-root { font-size: 38px; font-weight: normal; color: #303236; text-align: right; }',
	  'em { font-weight: normal; color: #ff3600; font-style: normal; }'
      ],
  wmode: 'transparent'
});

/* Error 404 - Main Paragraph, Bold */
sIFR.replace(mercury, {
  selector: 'h2#mcre404-h2',
  css: [
      '.sIFR-root { font-size: 38px; font-weight: bold; color: #303236; text-align: right; }'
      ],
  wmode: 'transparent'
});