  
  var FRUTIGER = {
    src: 'FRUTIGER.swf'
  };
  
  // sIFR.domains = ['novemberborn.net'] // Don't check for domains in this demo
  sIFR.repaintOnResize = false;
  sIFR.useStyleCheck = true;
  //sIFR.preserveSingleWhitespace = true;
  sIFR.activate(FRUTIGER);
 

 function class_exists(nameOfClass) {
    var els = document.getElementsByTagName('div');
    var i = els.length; 
    //alert(i)
    
    while( i-- )
    {
        //alert("'" + els[i].className + "'" + " " + "'" + nameOfClass + "'")
        if(els[i].className == nameOfClass)
            return true
    }
    return false;
 }
 
function load_fonts() {


    if(class_exists('bigTitle')) {
        sIFR.replace(FRUTIGER, {
            selector: '.bigTitle'
            ,wmode: 'transparent'
            ,css: [
                '.sIFR-root { color:#2F6497; font-size: 28px; letter-spacing:-0.00; font-weight: normal; text-align:left;}',
                'a {color: #2F6497; text-decoration: none;}',
                'a:hover {color: #2F6497;text-decoration: none;}'
            ]
            ,tuneHeight: -4
        });
    }
    if(class_exists('solutionTitle')) {
        sIFR.replace(FRUTIGER, {
            selector: '.solutionTitle'
            ,wmode: 'transparent'
            ,css: {
              '.sIFR-root': { 'color': '#2F6497', 'letter-spacing': 0, 'text-align': 'left', 'text-transform': 'none', 'font-size': '28px', 'font-weight': 'normal' }
            }
            ,tuneHeight: 10
        });
    }    
    if(class_exists('solutionsTopMenu_title')) {
        sIFR.replace(FRUTIGER, {
            selector: '.solutionsTopMenu_title'
            ,wmode: 'transparent'
            ,css: {
              '.sIFR-root': { 'color': '#FFFFFF', 'letter-spacing': 0, 'text-align': 'left', 'text-transform': 'none', 'font-size': '28px', 'font-weight': 'normal' }
            }
            ,tuneHeight: 0
        });
    }    
    if(class_exists('tagLine_top')) {
        sIFR.replace(FRUTIGER, {
            selector: '.tagLine_top'
            ,wmode: 'transparent'
            ,css: {
              '.sIFR-root': { 'color': '#FFFFFF', 'letter-spacing': 0, 'text-align': 'left', 'text-transform': 'none', 'font-size': '20px', 'font-weight': 'bold' }
            }
            ,tuneHeight: -5
        });
    }    
    if(class_exists('tagLine_bottom')) {
        sIFR.replace(FRUTIGER, {
            selector: '.tagLine_bottom'
            ,wmode: 'transparent'
            ,css: {
              '.sIFR-root': { 'color': '#A6BCCD', 'letter-spacing': 0, 'text-align': 'left', 'text-transform': 'none', 'font-size': '20px', 'font-weight': 'bold' }
            }
            ,tuneHeight: -3
        });
    }    
    if(class_exists('pressTitle')) {
        sIFR.replace(FRUTIGER, {
            selector: '.pressTitle'
            ,wmode: 'transparent'
            ,css: {
              '.sIFR-root': { 'color': '#2F6497', 'letter-spacing': 0, 'text-align': 'left', 'text-transform': 'none', 'font-size': '25px', 'font-weight': 'normal' }
            }
            ,tuneHeight: 0
        });
    }    

    if(class_exists('smallTitle')) {
        sIFR.replace(FRUTIGER, {
            selector: '.smallTitle'
            ,wmode: 'transparent'
            ,css: [
                '.sIFR-root { color:#000000; font-size: 16px; letter-spacing:-0.00; font-weight: normal; text-align:left;}',
                'a {color: #000000; text-decoration: none;}',
                'a:hover {color: #000000;text-decoration: none;}'
            ]            
        });
    }   
    
    if(class_exists('faqTitle')) {
        sIFR.replace(FRUTIGER, {
            selector: '.faqTitle'
            ,wmode: 'transparent'
            ,css: {
              '.sIFR-root': { 'color': '#2F6497', 'letter-spacing': 0, 'text-align': 'left', 'text-transform': 'none', 'font-size': '16px', 'font-weight': 'normal' }
            }

        });
    }       
    
     
}
