/*var dinMitteldinMedium = {
  src: url_address + 'sifr/fonts/din-mittel.swf'
  ,ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 31, 1.27, 44, 1.26, 45, 1.24, 50, 1.25, 58, 1.24, 59, 1.25, 79, 1.24, 81, 1.23, 85, 1.24, 86, 1.23, 87, 1.24, 90, 1.23, 91, 1.24, 1.23]
};*/

var dinMedium = {
  src: url_address + 'sifr/fonts/din-medium.swf'
};

/*var dinBold = {
  src: url_address + 'sifr/fonts/din-bold.swf'
};*/

sIFR.activate(dinMedium/*,dinBold*/); // From revision 209 and onwards

//sIFR.debug.ratios({ src: url_address + 'sifr/fonts/din-medium.swf', selector: 'div.homeContent h1' });



sIFR.replace(dinMedium, {
	selector: '#strapnav #strapline span#t1'
	,wmode: 'transparent'
	,forceSingleLine: true
	,css:{
      '.sIFR-root': { 'color': '#000000', 'font-size': '22px' , 'letter-spacing': -0.25, 'leading': 0 }
    }
    ,offsetLeft: 0
	,tuneHeight: -9 
	,tuneWidth: 0
	,offsetTop: -5
});

sIFR.replace(dinMedium, {
	selector: '#strapnav #strapline span#t2'
	,wmode: 'transparent'
	,forceSingleLine: true
	,css:{
      '.sIFR-root': { 'color': '#000000', 'font-size': '12px' , 'letter-spacing': -0.25, 'leading': 0 }
    }
    ,offsetLeft: 0
	//,tuneHeight: -9 
	,tuneWidth: 0
	,offsetTop: -3
});

sIFR.replace(dinMedium, {
	selector: '#homeHeadline h1'
	,wmode: 'transparent'
	,fitExactly: true
	,css:  [
      '.sIFR-root {color: #333333;, font-size: 32px;, leading: -2;, letter-spacing: -0.25; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #0063be; }'
      ,'a:hover { color: #3195f1; }'
    ]
    ,offsetLeft: 0
	,tuneHeight: -10 
	,tuneWidth: 0
	,offsetTop: -7
});

sIFR.replace(dinMedium, {
	selector: 'h1.pageTitle'
	,wmode: 'transparent'
	,fitExactly: true
	,css:{
      '.sIFR-root': { 'color': '#0065bf', 'font-size': '40px' , 'letter-spacing': -0.25, 'leading': -2 }
    }
    ,offsetLeft: 0
	,tuneHeight: -10 
	,tuneWidth: 0
	,offsetTop: -7
});

sIFR.replace(dinMedium, {
	selector: '#newsTitle h1'
	,wmode: 'transparent'
	,fitExactly: true
	,css:{
      '.sIFR-root': { 'color': '#ffffff', 'font-size': '40px' , 'letter-spacing': -0.25, 'leading': -2 }
    }
    ,offsetLeft: 0
	,tuneHeight: -10 
	,tuneWidth: 0
	,offsetTop: -7
});

sIFR.replace(dinMedium, {
	selector: '.contactDetails span.tel'
	,wmode: 'transparent'
	,forceSingleLine: true
	,css:{
      '.sIFR-root': { 'color': '#0065bf', 'font-size': '22px' , 'letter-spacing': -0.25, 'leading': -2 }
    }
    ,offsetLeft: 0
	,tuneHeight: -13 
	,tuneWidth: 0
	,offsetTop: -5
});

sIFR.replace(dinMedium, {
	selector: 'h2.secTitle, .secTitle'
	,wmode: 'transparent'
	//,forceSingleLine: true
	,css:  [
      '.sIFR-root {color: #0065bf;, font-size: 24px;, leading: -2;, letter-spacing: -0.25; }'
      ,'a { text-decoration: none; }'
      ,'a:link { color: #0063be; }'
      ,'a:hover { color: #3195f1; }'
    ]
	/*,css:{
      '.sIFR-root': { 'color': '#0065bf', 'font-size': '24px' , 'letter-spacing': -0.25, 'leading': -2 }
    }*/
    ,offsetLeft: 0
	,tuneHeight: -7 
	,tuneWidth: 0
	,offsetTop: -7
});

sIFR.replace(dinMedium, {
	selector: '#servicesContent h3, #pageProjectsTitle, #blogAuthor h3, #commentsPanel h3, #commentFormPanel h3, h3.subscribe, #publicationsForm h3, .navTitle, .panelHeading, .formHeading'
	,wmode: 'transparent'
	,forceSingleLine: true
	,css:{
      '.sIFR-root': { 'color': '#0065bf', 'font-size': '20px' , 'letter-spacing': -0.25, 'leading': -2 }
    }
    ,offsetLeft: 0
	,tuneHeight: -8 
	,tuneWidth: 0
	,offsetTop: -5
});

sIFR.replace(dinMedium, {
	selector: '.blogSubPanel h3'
	,wmode: 'transparent'
	,forceSingleLine: true
	,css:{
      '.sIFR-root': { 'color': '#dd3777', 'font-size': '18px' , 'letter-spacing': -0.25, 'leading': -2 }
    }
    ,offsetLeft: 0
	,tuneHeight: -8 
	,tuneWidth: 0
	,offsetTop: -5
});

sIFR.replace(dinMedium, {
	selector: '#subscribeForm div.boxheading'
	,wmode: 'transparent'
	,forceSingleLine: true
	,css:{
      '.sIFR-root': { 'color': '#ffffff', 'font-size': '18px' , 'letter-spacing': -0.25, 'leading': -2 }
    }
    ,offsetLeft: 0
	,tuneHeight: -8 
	,tuneWidth: 0
	,offsetTop: -5
});