//Set all the sIFR parameters in this file for colours, line heights and font spacing.



  //these ratios weren't set for the particular font used but the fonts work fine across different line heights and widths
  // Ratio explanation here http://wiki.novemberborn.net/sifr3/Ratio+Calculation

   var lanenarrow = {
    src: '/swf/lane-narrow.swf'
    ,ratios: [6,1.41,9,1.35,15,1.29,21,1.25,22,1.22,27,1.24,29,1.21,34,1.22,41,1.21,45,1.2,46,1.21,59,1.2,68,1.19,69,1.2,96,1.19,97,1.18,102,1.19,103,1.18,107,1.19,108,1.18,112,1.19,114,1.18,116,1.19,120,1.18,121,1.19,1.18]
  };


  sIFR.useStyleCheck = true;
  sIFR.activate(lanenarrow);

 sIFR.replace(lanenarrow, {
  	selector: '.culture h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#C12601' }
   }
  });

 sIFR.replace(lanenarrow, {
  	selector: '.nightlife h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#F6851F' }
   }
  });

sIFR.replace(lanenarrow, {
  	selector: '.shopping h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#D71F85' }
   }
  });

 sIFR.replace(lanenarrow, {
  	selector: '.foodndrink h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#00B2A9' }
   }
  });

 sIFR.replace(lanenarrow, {
  	selector: '.blackburnmarket h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#83AB28' }
   }
  });

 sIFR.replace(lanenarrow, {
  	selector: '.sport h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#00285F' }
   }
  });

sIFR.replace(lanenarrow, {
  	selector: '.whatson h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#9C5FB5' }
   }
  });

// leave the default one right at the end otherwise it'll be replaced first

sIFR.replace(lanenarrow, {
  	selector: 'h1'
	,offsetTop: '-4'
	,tuneHeight: '-6'
	,wmode: 'transparent'
	,css: {
     '.sIFR-root': { 'leading': -5, 'color': '#00A9E0' }
   }
  });

// All the h2

  sIFR.replace(lanenarrow, {
  	selector: '.culture h2.ir, .culture div.node h2, .culture .ctl_Content h2'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#C12601' },'a': { 'color': '#C12601','text-decoration': 'none' },'a:hover': { 'color': '#C12601','text-decoration': 'none' },'a:link': { 'color': '#C12601','text-decoration': 'none' },'a:visited': { 'color': '#C12601','text-decoration': 'none' }
    	}
	});

  sIFR.replace(lanenarrow, {
  	selector: '.nightlife h2.ir, .nightlife div.node h2, .nightlife .ctl_Content h2'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#F6851F' },'a': { 'color': '#F6851F','text-decoration': 'none' },'a:hover': { 'color': '#F6851F','text-decoration': 'none' },'a:link': { 'color': '#F6851F','text-decoration': 'none' },'a:visited': { 'color': '#F6851F','text-decoration': 'none' }
    	}
	});

  sIFR.replace(lanenarrow, {
  	selector: '.shopping h2.ir, .shopping div.node h2, .shopping .ctl_Content h2, h2.shopping'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#D71F85' },'a': { 'color': '#D71F85','text-decoration': 'none' },'a:hover': { 'color': '#D71F85','text-decoration': 'none' },'a:link': { 'color': '#D71F85','text-decoration': 'none' },'a:visited': { 'color': '#D71F85','text-decoration': 'none' }
    	}
	});

  sIFR.replace(lanenarrow, {
  	selector: '.foodndrink h2.ir, .foodndrink div.node h2, .foodndrink .ctl_Content h2, h2.foodanddrink'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#00B2A9' },'a': { 'color': '#00B2A9','text-decoration': 'none' },'a:hover': { 'color': '#00B2A9','text-decoration': 'none' },'a:link': { 'color': '#00B2A9','text-decoration': 'none' },'a:visited': { 'color': '#00B2A9','text-decoration': 'none' }
    	}
	});

  sIFR.replace(lanenarrow, {
  	selector: '.blackburnmarket h2.ir, .blackburnmarket div.node h2, .blackburnmarket .ctl_Content h2'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#83AB28' },'a': { 'color': '#83AB28','text-decoration': 'none' },'a:hover': { 'color': '#83AB28','text-decoration': 'none' },'a:link': { 'color': '#83AB28','text-decoration': 'none' },'a:visited': { 'color': '#83AB28','text-decoration': 'none' }
    	}
	});

  sIFR.replace(lanenarrow, {
  	selector: '.sport h2.ir, .sport div.node h2, .sport .ctl_Content h2'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#00285F' },'a': { 'color': '#00285F','text-decoration': 'none' },'a:hover': { 'color': '#00285F','text-decoration': 'none' },'a:link': { 'color': '#00285F','text-decoration': 'none' },'a:visited': { 'color': '#00285F','text-decoration': 'none' }
    	}
	});

  sIFR.replace(lanenarrow, {
  	selector: '.whatson h2.ir, .whatson div.node h2, .whatson .ctl_Content h2, h2.whatson'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#9C5FB5' },'a': { 'color': '#9C5FB5','text-decoration': 'none' },'a:hover': { 'color': '#9C5FB5','text-decoration': 'none' },'a:link': { 'color': '#9C5FB5','text-decoration': 'none' },'a:visited': { 'color': '#9C5FB5','text-decoration': 'none' }
    	}
	});

// default one

  sIFR.replace(lanenarrow, {
  	selector: 'h2.ir, div.node h2, .ctl_Content h2, .ctl_Forms h2'
	,offsetTop: '-4'
	,tuneHeight: '-8'
	,wmode: 'transparent'
	,css: {
      '.sIFR-root': { 'leading': -10, 'color': '#00A9E0' },'a': { 'color': '#00A9E0','text-decoration': 'none' },'a:hover': { 'color': '#00A9E0','text-decoration': 'none' },'a:link': { 'color': '#00A9E0','text-decoration': 'none' },'a:visited': { 'color': '#00A9E0','text-decoration': 'none' }
		}
	      });
