var whitneyMedium = {
	src:'/media/sifr3/whitney-medium.swf'
};

var whitneySemiBold = {
	src:'/media/sifr3/whitney-semibold.swf'
};

var whitneyLight = {
	src:'/media/sifr3/whitney-light.swf'
};

var nilland = {
    src: 'http://www.optimizaresite.ro/test/nilland.swf'
    ,ratios: [10, 1.32, 16, 1.27, 17, 1.23, 18, 1.25, 23, 1.23, 24, 1.21, 25, 1.22, 29, 1.21, 31, 1.22, 35, 1.2, 36, 1.21, 48, 1.2, 72, 1.19, 77, 1.18, 78, 1.19, 1.18]
  };


sIFR.repaintOnResize = true;


sIFR.activate(whitneyMedium, whitneySemiBold, whitneyLight);
//sIFR.debug.ratios({ whitneyMedium, selector: 'h1.sub_head' });
//Home Page

sIFR.replace(whitneyMedium, {
    selector: 'h1.home_title_anunobstructed'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: font-weight:normal; 77px; color: #284b57; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h2.home_title_inarapidly'
		,wmode: 'transparent'
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 22px; color: #284b57; }'
    ]
});

//Sub Pages

sIFR.replace(whitneyLight, {
    selector: 'h1.sub_head'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 48px; letter-spacing: -1.5; color: #284b57; }'
    ]
		,transparent: true
});


  /*sIFR.replace(nilland, {
    selector: 'h1.sub_head-test'
    ,css: [
      '.sIFR-root { color: #444444; font-weight: normal; font-size: 30px; letter-spacing: 0.7; }'
	  ,'em { font-style: normal; color: #30bdd9; }'
	  ,'strong { font-size: 50px; font-style: normal; color: #CBDB44; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #D930A0; }'
      ,'a:hover { color: #D930A0; }'
    ]
	,transparent: true
  });*/


sIFR.replace(whitneyMedium, {
    selector: 'h2.sub_subhead'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 20px; color: #284b57; width: 20px; }'
    ]
		,transparent: true
});

function sifrFix() {
	sIFR.replace(whitneyMedium, {
    selector: 'h2.sub_subhead'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 20px; color: #284b57; width: 20px; }'
    ]
		,transparent: true
	});
}

sIFR.replace(whitneySemiBold, {
    selector: 'th.list_head'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 12px; letter-spacing: .9; color: #B39402; }'
			,'a { color: #B39402; text-decoration: none; }'
      ,'a:link { color: #B39402; }'
      ,'a:hover { color: #B39402; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h3.sub_callout_head_cu'
		,wmode: 'transparent'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 16px; color: #869A53; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h3.sub_callout_head_fa'
		,wmode: 'transparent'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 16px; color: #B39402; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h3.sub_callout_head_td'
		,wmode: 'transparent'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 16px; color: #B39402; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h3.sub_callout_head_wwa'
		,wmode: 'transparent'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 16px; color: #8AB5C3; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h3.sub_callout_head_to'
		,wmode: 'transparent'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 16px; color: #FCBA1B; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h3.legal_block_head'
		,wmode: 'transparent'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 14px; color: #284b57; }'
    ]
});

sIFR.replace(whitneySemiBold, {
    selector: 'h3.sub_callout_head_learn'
		,wmode: 'transparent'
		,kerning: true
		,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 20, 1.22, 26, 1.21, 27, 1.2, 35, 1.19, 39, 1.18, 40, 1.19, 54, 1.18, 83, 1.17, 85, 1.16, 88, 1.17, 92, 1.16, 93, 1.17, 1.16]
    ,css: [
      '.sIFR-root { font-size: 16px; color: #284b57; }'
    ]
});




