var helvetica = {
  src: '/themes/site_themes/codestone/fonts/helvetica.swf'
};

var vagrounded = {
  src: '/themes/site_themes/codestone/fonts/vagrounded.swf'
};

sIFR.replace(vagrounded, {
  selector: '#intro h1, #introduction h1',
  css: '.sIFR-root { background-color: #F9F9F9; color: #ffffff; }',
  wmode: 'transparent',
  filters: {
  DropShadow: {
    knockout: false
    ,distance: 1
    ,color: '#000000'
    ,strength: 1
    ,blurY: 10
	,blurX: 10
	,alpha: 0.30
  }
}
});

sIFR.replace(vagrounded, {
  selector: '#iam #introduction small',
  css: '.sIFR-root { background-color: #F9F9F9; color: #ffffff; leading: 800; opacity: 70; }',
  wmode: 'transparent',
  filters: {
  DropShadow: {
    knockout: false
    ,distance: 1
    ,color: '#000000'
    ,strength: 1
    ,blurY: 10
	,blurX: 10
	,alpha: 0.30
  }
}
});

sIFR.replace(vagrounded, {
  selector: '#intro p',
  css: '.sIFR-root { background-color: #F9F9F9; color: #ffffff; line-height: 1em; leading: 2; }',
  wmode: 'transparent'
});

sIFR.replace(vagrounded, {
  selector: '#int p',
  css: '.sIFR-root { background-color: #F9F9F9; color: #969aab; line-height: 1em; leading: 2; }',
  wmode: 'transparent'
});

sIFR.replace(vagrounded, {
  selector: '#about #box h3',
  css: '.sIFR-root { background-color: #F9F9F9; color: #ffffff; line-height: 1em; }',
  wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '#products #box h3, #solutions #box h3, #statement h2',
  fixFocus: true,
  css: [
  	'.sIFR-root { background-color: #F9F9F9; color: #ffffff; line-height: 1em; }',
  	'a { text-decoration: none; color: #ffffff; font-size: 20px; }',
  	'a:hover { text-decoration: underline; font-size: 20px; color: #ffffff; }'
  ],
  wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '.grid h3, #products .grid strong, #solutions .grid strong',
  fixFocus: true,
  css: [
  	'.sIFR-root { background-color: #F9F9F9; color: #7fa5cb; line-height: 1em; }',
  	'a { text-decoration: none; color: #7fa5cb; }',
  	'a:hover { text-decoration: underline; color: #7fa5cb; }'
  ],
  wmode: 'transparent'
});

sIFR.replace(vagrounded, {
  selector: 'blockquote p',
  css: '.sIFR-root { background-color: #F9F9F9; color: #656976; font-style: italic; line-height: 1em; leading: 2; }',
  wmode: 'transparent'
});

sIFR.replace(vagrounded, {
  selector: '#int h1',
  fixFocus: true,
  wmode: 'transparent',
  css: [
  	'.sIFR-root { background-color: #FFFFFF; color: #7fa5cb; }',
  	'a { text-decoration: none; color: #7fa5cb; }',
  	'a:hover { text-decoration: underline; color: #7fa5cb; }'
  ]
  });

sIFR.replace(vagrounded, {
  selector: '#introduction p, #intro span, .product-intro p, .solution-intro p',
  css: '.sIFR-root { background-color: #F9F9F9; color: #ffffff; line-height: 1em; leading: 2; }',
  wmode: 'transparent',
  filters: {
  DropShadow: {
    knockout: false
    ,distance: 1
    ,color: '#000000'
    ,strength: 1
    ,blurY: 10
	,blurX: 10
	,alpha: 0.50
  }
}
});

sIFR.replace(vagrounded, {
  selector: '.logged-in h3, #connect-intro h1',
  wmode: 'transparent',
  forceWidth: true,
  fitExactly: true,
  fixFocus: true,
  css: [
  	'.sIFR-root { background-color: #F9F9F9; color: #7fa5cb; }',
  	'a { text-decoration: none; color: #7fa5cb; }',
  	'a:hover { text-decoration: underline; color: #7fa5cb; }'
  ]
});

sIFR.replace(helvetica, {
  selector: '/*.spotlight h2/*',
  fixFocus: true,
  css: [
  	'.sIFR-root { background-color: #F9F9F9; color: #ffffff; }',
  	'a { color: #ffffff; text-decoration: none; }',
  	'a:hover { text-decoration: underline; color: #ffffff; }'
  ],
  wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '#content h2, .industry h2, #right h1, .login h3, .register h3, #connect-content .left h3, .side h2, .side2 h2, .enquire h2, #news.archive #left h2, .blog #left h2, .locations h2, .jobs h2, #iam .i-am-copy h3, .full-width h2',
  css: '.sIFR-root { background-color: #F9F9F9; color: #73757e; }',
  wmode: 'transparent',
  forceWidth: true,
  fitExactly: true
});

sIFR.replace(helvetica, {
  selector: '.connect h2',
  css: '.sIFR-root { background-color: #F9F9F9; color: #636363; }',
  wmode: 'transparent',
  forceWidth: true,
  fitExactly: true
});

sIFR.replace(vagrounded, {
  selector: '#sidebar h3, .industry .related h3',
  wmode: 'transparent',
  forceWidth: true,
  fitExactly: true,
  fixFocus: true,
  css: [
  	'.sIFR-root { background-color: #F9F9F9; color: #73757e; }',
  	'a { color: #73757e; text-decoration: none; font-size: 16px; }',
  	'a:hover { text-decoration: underline; font-size: 16px; color: #73757e; }'
  ]
});

sIFR.replace(helvetica, {
  selector: '.menu h3, .snippet h3, #news-section h3, #blog-section h3, #connections h3, .message h3, .login h3, #connected h4, #ad h4',
  wmode: 'transparent',
  fixFocus: true,
  css: [
  	'.sIFR-root { background-color: #F9F9F9; color: #73757e; }',
  	'a { text-decoration: none; color: #73757e; }',
  	'a:hover { text-decoration: underline; color: #73757e; }'
  ]
});

sIFR.activate(helvetica,vagrounded);
