var helvetica = {
  src: '/swf/helvetica_neue_ext.swf',
  ratios: [8,1.41,10,1.33,11,1.31,15,1.29,19,1.28,26,1.25,35,1.24,42,1.23,45,1.22,46,1.23,67,1.22,70,1.21,72,1.22,75,1.21,76,1.22,80,1.21,81,1.22,1.21]
};

sIFR.prefetch(helvetica);
sIFR.activate();

// NOTE: uncomment this line and then reload page to get the ratios for foundry - the ones above are INCORRECT
//sIFR.debug.ratios({ src:  '/swf/helvetica_neue_ext.swf', selector: 'h1'});

// begin global replacement
// styling guide: http://wiki.novemberborn.net/sifr3/Styling

sIFR.replace(helvetica, {
  selector: '#proj_img_overlay h1, #home_img_overlay h1, #title_bar h1',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-weight: bold; color: #ffffff; font-size: 19px; }'
    ],
	wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: 'p.home_sub, p.proj_sub',
  css: [
      '.sIFR-root { leading: -5; kerning: true; color: #ffffff; font-size: 12px;}'
    ],
	wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '.titles h2',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-weight: bold; color: #005791; font-size: 14px;}'
    ],
	wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '#main_col_02 .movie .moviehead h3',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-size: 13px; font-weight: bold;}'
    ],
	wmode: 'transparent'
});


sIFR.replace(helvetica, {
  selector: 'ul#services_list li h3',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-size: 12px;}'
    ],
	wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '#sub_right_title .inner p, #home_img_link .inner p',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-size: 11px; font-weight: bold; color: #ffffff;}',
	  '.sIFR-root a { color: #ffffff; text-decoration: none; }',
	  '.sIFR-root a:hover { color: #ffffff; text-decoration: none; }'
    ],
	wmode: 'transparent'
});


sIFR.replace(helvetica, {
  selector: 'p.phone',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-size: 15px; font-weight: bold; color: #000000; text-align: right;}'
    ],
	wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: 'h3',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-size: 13px; font-weight: bold; color: #000000;}',
	  '.sIFR-root a { color: #0099FF; text-decoration: none; }',
	  '.sIFR-root a:hover { color: #0099FF; text-decoration: none; }'
    ],
	wmode: 'transparent'
});

sIFR.replace(helvetica, {
  selector: '#proj_menu h2',
  css: [
      '.sIFR-root { leading: -5; kerning: true; font-size: 16px; font-weight: bold; color: #ffffff;}'
    ],
	wmode: 'transparent'
});
