var optisport = {
  src: '/optisport.swf'
};

// sIFR.domains = ['konabrewingco.com'] // Disable when working locally
sIFR.activate(optisport);

//sIFR.debug.ratios({ src: '/optisport.swf', selector: 'h4' });

sIFR.replace(optisport, {
  selector: 'h1'
	,ratios: [10, 1.6, 17, 1.53, 23, 1.48, 31, 1.46, 41, 1.45, 65, 1.44, 69, 1.43, 71, 1.44, 119, 1.43, 120, 1.42, 1.43]
  ,css: {
    '.sIFR-root': { 'background-color': '#F5F2D3', 'color': '#F47A20' }
  }
	,wmode: 'transparent'
	,offsetTop: 3
	,tuneHeight: -1
  ,filters: {
    DropShadow: {
      knockout: false
      ,distance: 0
      ,color: '#FFFFFF'
      ,strength: 7
    }
  }
});


sIFR.replace(optisport, {
  selector: 'h2'
	,ratios: [10, 1.6, 17, 1.53, 23, 1.48, 31, 1.46, 41, 1.45, 65, 1.44, 69, 1.43, 71, 1.44, 119, 1.43, 120, 1.42, 1.43]
  ,css: {
    '.sIFR-root': { 'background-color': '#F5F2D3', 'color': '#663606', 'leading': -14 }
  }
	,wmode: 'transparent'
	,offsetTop: 3
	,tuneHeight: -1
  ,filters: {
    DropShadow: {
      knockout: false
      ,distance: 0
      ,color: '#FFFFFF'
      ,strength: 7
    }
  }
});


sIFR.replace(optisport, {
  selector: 'h3'
	,ratios: [10, 1.6, 17, 1.53, 23, 1.48, 31, 1.46, 41, 1.45, 65, 1.44, 69, 1.43, 71, 1.44, 119, 1.43, 120, 1.42, 1.43]
  ,css: {
    '.sIFR-root': { 'background-color': '#F5F2D3', 'color': '#663606', 'leading': -8, 'font-weight': 'bold', 'text-align': 'center' } 
  }
	,wmode: 'transparent'
	//,tuneHeight: -5
  ,filters: {
    DropShadow: {
      knockout: false
      ,distance: 0
      ,color: '#FFFFFF'
      ,strength: 7
    }
  }
});


sIFR.replace(optisport, {
  selector: 'h4'
	,ratios: [10, 1.6, 17, 1.53, 23, 1.48, 31, 1.46, 41, 1.45, 65, 1.44, 69, 1.43, 71, 1.44, 119, 1.43, 120, 1.42, 1.43]
  ,css: {
    '.sIFR-root': { 'background-color': '#F5F2D3', 'color': '#663606', 'leading': -7, 'font-weight': 'bold' } 
  }
	,wmode: 'transparent'
	,offsetLeft: 4  //offsetLeft was added because the decender of letters like 'p' were getting cut off at the left of the flash block
	,tuneHeight: -6
});


sIFR.replace(optisport, {
  selector: 'h5'
	,ratios: [10, 1.6, 17, 1.53, 23, 1.48, 31, 1.46, 41, 1.45, 65, 1.44, 69, 1.43, 71, 1.44, 119, 1.43, 120, 1.42, 1.43]
  ,css: {
    '.sIFR-root': { 'background-color': '#F5F2D3', 'color': '#F47A20', 'leading': -10, 'font-weight': 'bold' } 
  }
	,wmode: 'transparent'
	,offsetLeft: 3  //offsetLeft was added because the decender of letters like 'p' were getting cut off at the left of the flash block
	,tuneHeight: -6
});


sIFR.replace(optisport, {
  selector: 'h6'
	,ratios: [10, 1.6, 17, 1.53, 23, 1.48, 31, 1.46, 41, 1.45, 65, 1.44, 69, 1.43, 71, 1.44, 119, 1.43, 120, 1.42, 1.43]
  ,css: {
    '.sIFR-root': { 'background-color': '#F5F2D3', 'color': '#5da42e', 'leading': -10, 'font-weight': 'bold' } 
  }
	,wmode: 'transparent'
	,offsetLeft: 3  //offsetLeft was added because the decender of letters like 'p' were getting cut off at the left of the flash block
	,tuneHeight: -6
});

