// JavaScript Document

  //<[CDATA[

  var din = {
    src: '/files/system/patrade/js/sfirHeader/din2.swf'
    ,ratios: [8, 1.41, 11, 1.31, 15, 1.29, 16, 1.28, 24, 1.26, 27, 1.24, 33, 1.23, 44, 1.22, 47, 1.21, 48, 1.22, 73, 1.21, 74, 1.2, 75, 1.21, 76, 1.2, 78, 1.21, 79, 1.2, 80, 1.21, 84, 1.2, 85, 1.21, 1.2]
  };


  // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
  sIFR.useStyleCheck = true;
  sIFR.debugMode = false;
  sIFR.delayCSS  = true;
  
  sIFR.activate(din);

  sIFR.replace(din, {
    selector: '#TopMenu .TopMenuItemsContainerOn'
	,wmode: 'transparent'
	,tuneWidth: '+10'
    ,css: [
      '.sIFR-root { color: #ebebeb; text-transform: uppercase; font-size: 13px; line-height: 13px; }'
      ,'a { color: #7e0046; text-decoration: none; curser: pointer; }'
      ,'a:link { color: #7e0046; }'
      ,'a:hover { color: #7e0046; }'
    ]
    ,filters: {
      DropShadow: {
        knockout: false
        ,distance: 1
        ,color: '#FFFFFF'
        ,strength: 0.4
      }
    }
  }); 

  sIFR.replace(din, {
    selector: '#TopMenu li'
	,wmode: 'transparent'
	,tuneWidth: '+10'
    ,css: [
      '.sIFR-root { color: #ebebeb; text-transform: uppercase; font-size: 13px; line-height: 13px; }'
      ,'a { color: #FFFFFF; text-decoration: none; curser: pointer; }'
      ,'a:link { color: #FFFFFF; }'
      ,'a:hover { color: #b5e0e8; }'
    ]
    ,filters: {
      DropShadow: {
        knockout: false
        ,distance: 2
        ,color: '#000000'
        ,strength: 0.4
      }
    }
  }); 





  sIFR.replace(din, {
    selector: '#SetupFrontpageCenterTop h1'
	,wmode: 'transparent'
    ,css: {
      '.sIFR-root': { 'color': '#2d2e2e' }
    }
  });
  
  sIFR.replace(din, {
    selector: '#BoxBlaaHeader h4, .StorBoxHeader h4'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #c1e5eb; text-transform: uppercase; }'
    ]
    ,filters: {
      DropShadow: {
        knockout: false
        ,distance: 1
        ,color: '#000000'
        ,strength: 0.4
      }
    }
  });

  sIFR.replace(din, {
    selector: '#BoxRodHeader h4'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #ffc9e8; text-transform: uppercase; }'
    ]
    ,filters: {
      DropShadow: {
        knockout: false
        ,distance: 1
        ,color: '#000000'
        ,strength: 0.4
      }
    }
  });
  
  sIFR.replace(din, {
    selector: '#BoxBlaaHeader h3, #BoxRodHeader h3, .StorBoxHeader h3'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #FFFFFF; text-transform: uppercase; }'
    ]
    ,filters: {
      DropShadow: {
        knockout: false
        ,distance: 2
        ,color: '#000000'
        ,strength: 0.4
      }
    }
  }); 
  
  
  sIFR.replace(din, {
    selector: '#LeftMenuContainerHeader'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #005b6b; text-transform: uppercase; }'
    ]
  });

  sIFR.replace(din, {
    selector: '#TopContentHeader'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #7e0046; text-transform: uppercase; }'
    ]
  });
  
  sIFR.replace(din, {
    selector: '#ContainerDwContentTopHeader h1'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #7e0046; text-transform: uppercase; }'
    ]
  });

  sIFR.replace(din, {
    selector: '#ContainerDwContentTopHeader h2'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #6e6e6e; text-transform: uppercase; }'
    ]
  });
  
  sIFR.replace(din, {
    selector: '#ContainerDwContentText h1'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #2d2e2e; }'
    ]
  });

  sIFR.replace(din, {
    selector: '.CaseBoxHeader h4, .ImageBoxHeader h4'
	,wmode: 'transparent'
    ,css: [
      '.sIFR-root { color: #ffffff; text-transform: uppercase; }'
    ]
    ,filters: {
      DropShadow: {
        knockout: false
        ,distance: 1
        ,color: '#000000'
        ,strength: 0.4
      }
    }
  });
  
  //]]>
