 var url =  window.location.href

		if (url.indexOf ("legal") != -1){
			// where are in the legal subfolder
			 var daxbold = {
			 	src: '../flash/daxbold.swf'
			};
		}else{
			 var daxbold = {
      			 src: 'flash/daxbold.swf'      		 };
			
		}


    var impact = {
      	src: 'flash/impact.swf',
		ratios: [8, 1.42, 9, 1.33, 12, 1.35, 21, 1.3, 31, 1.27, 44, 1.26, 45, 1.24, 53, 1.25, 58, 1.24, 59, 1.25, 87, 1.24, 90, 1.23, 91, 1.24, 94, 1.23, 95, 1.24, 103, 1.23, 104, 1.24, 1.23]

       };

	var daxmedium = {
		src: 'flash/dax-medium.swf'
	};

    sIFR.activate(daxmedium, daxbold, impact);

    sIFR.replace(daxbold, {
      selector: '#content h1'
		,wmode:'transparent'
      ,css: [
        '.sIFR-root { color: #de3d0b; letter-spacing: -0.9; font-size: 22px; }'
      ]
    });

  sIFR.replace(daxbold, {
      selector: '#content h5'
		,wmode:'transparent'
      ,css: [
        '.sIFR-root { color: #343026; letter-spacing: -0.9; font-size: 16px; }'
      ]
    });



sIFR.replace(daxbold, {
      selector: '#content h2'
		,ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 33, 1.14, 36, 1.13, 48, 1.12, 54, 1.11, 56, 1.12, 81, 1.11, 82, 1.1, 83, 1.11, 87, 1.1, 90, 1.11, 92, 1.1, 93, 1.11, 98, 1.1, 99, 1.11, 1.1]
		,wmode:'transparent'
		,fitExactly: true 
		,tuneWidth :"5"
     	,css: [
        '.sIFR-root { color: #343026; letter-spacing: -0.9; font-size: 18px; }'
      ]
    });

sIFR.replace(daxbold, {
      selector: '.calculator'
		,wmode:'transparent'
		,fitExactly: true 
		,tuneWidth :"5"
     	,css: [
        '.sIFR-root { color: #343026; letter-spacing: -0.9; font-size: 12px; }'
      ]
    });

sIFR.replace(daxbold, {
      selector: '.calculatortitle'
		//,ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 33, 1.14, 36, 1.13, 48, 1.12, 54, 1.11, 56, 1.12, 81, 1.11, 82, 1.1, 83, 1.11, 87, 1.1, 90, 1.11, 92, 1.1, 93, 1.11, 98, 1.1, 99, 1.11, 1.1]
		,wmode:'transparent'
		,fitExactly: true 
		,tuneWidth :"5"
     	,css: [
        '.sIFR-root { color: #de3d0b; letter-spacing: -0.9; font-size: 26px; }'
      ]
    });

  sIFR.replace(daxbold, {
      selector: '#shortcuts li.specialoffer h4'
		,wmode:'transparent'
     	,css: [
        '.sIFR-root { color: #de3d0b; letter-spacing: -0.9; font-size: 16px;  }'
		 ,'a { color: #de3d0b; text-decoration: none; }'
         ,'a:link { color: #de3d0b; text-decoration: none; }'
         ,'a:hover { color: #de3d0b; text-decoration: underline; }'
		]

    });
sIFR.replace(impact, {
      selector: '#puzzle h4'
		,wmode:'transparent'
		,fitExactly: true 
		,tuneWidth :"3"
     	,css: [
        '.sIFR-root { color: #343026; font-size: 16px;  }'
		 ,'a { color: #343026; text-decoration: none; }'
         ,'a:link { color: #343026; text-decoration: none; }'
         ,'a:hover { color: #116066; text-decoration: underline; }'
		]

    });

    sIFR.replace(daxbold, {
      selector: '#shortcuts li h4'
		,wmode:'transparent'
     	,css: [
        '.sIFR-root { color: #343026; letter-spacing: -0.9; font-size: 16px;  }'
		 ,'a { color: #343026; text-decoration: none; }'
         ,'a:link { color: #343026; text-decoration: none; }'
         ,'a:hover { color: #116066; text-decoration: underline; }'
		]

    });


//sIFR.debug.ratios({ src: 'flash/impact.swf', selector: '#puzzle h4' });

