/*****************************************************************************
 The sIFR configuration should typically go in `sifr-config.js`, but in order to
 keep the config file clean, and to give a quick overview, it's done here instead.
 *****************************************************************************/
var frankfurterstd = {
    src: '/resources/scripts/fonts/frankfurterstd.swf'
};

var font = { src: '/resources/scripts/fonts/Frank.swf' };


// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(font);
sIFR.activate(frankfurterstd);
sIFR.replace(frankfurterstd, {
    selector: 'h1.frank',
	wmode: 'transparent',
    css: ['.sIFR-root { color: #064287; font-size: 28px; }']
});
sIFR.replace(frankfurterstd, {
	selector: 'h2.frank,p#rate',
	wmode: 'transparent',
	css: ['.sIFR-root { color: #73215F; font-size: 15px; }']
});
sIFR.replace(frankfurterstd, {
    selector: '#comments h3.frank',
	wmode: 'transparent',
    css: ['.sIFR-root { color: #ffda00; font-size: 25px; }']
});
sIFR.replace(frankfurterstd, {
    selector: '#others h3.frank',
	wmode: 'transparent',
    css: ['.sIFR-root { color: #fbb600; font-size: 15px;text-align: center; line-height:-1em; }']
});
sIFR.replace(frankfurterstd, {
    selector: 'h3.frank',
	wmode: 'transparent',
    css: ['.sIFR-root { color: #ffffff; font-size: 15px; text-align: center;}']
});

/* 2010 additions */

sIFR.replace(font, {
  selector: '.place',
  css: '.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center }'
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#f15922'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.prize-sum',
  css: '.sIFR-root { color: #ffdb06; text-transform:uppercase; text-align:center }'
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#f15922'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '#comments h3, #timelineDates li span',
  css: '.sIFR-root { color: #ffdb06; text-transform:uppercase; text-align:left }'
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#f15922'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-apply span, .btn-continue span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.holder label.sifr, p.heading, .missions span, .status span, .points span',
  css: '.sIFR-root { color: #ffffff; text-transform:uppercase; }'
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#f15922'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-save span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#e42005'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-next span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
 ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-finish span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-submit-video .next',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-submit-video .submit-video',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-save-video span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-preview span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#ee7507'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-edit span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#ee7507'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.edit-buttons .btn-edit.incomplete span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.user-info .label span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#f15922'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-bookmark span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#e42005'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-mission span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-redeem span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#e42005'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.mission-details .heading .text1',
  css: '.sIFR-root { color: #ed1c78; text-transform:uppercase; }'
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#ffffff'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.mission-details .heading .text2',
  css: '.sIFR-root { color: #f15922; text-transform:uppercase; }'
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#ffffff'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.mission-details .heading .text3',
  css: '.sIFR-root { color: #f15922; text-transform:uppercase; }'
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#ffffff'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.btn-post span',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; text-align:center; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#dd0f35'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});
sIFR.replace(font, {
  selector: '.accordion_headings span, .header_highlight span, #contestantName span.name',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#f38120'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
	 ,flashvars: {
		showHover: true 
	 }
});
sIFR.replace(font, {
  selector: '#techTips h2',
  css: [
  	'.sIFR-root { color: #ffffff; text-transform:uppercase; }',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#f15922'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
	 ,flashvars: {
		showHover: true 
	 }
});
sIFR.replace(font, {
  selector: 'h1, .browse h2.top10',
  css: [
  '.sIFR-root { color: #f15922; text-transform:uppercase;}',
	'a {color: #ffffff; text-decoration: none;}',
	'a:hover {color: #ffffff; text-decoration: none;}'
	]
  ,filters: {
        DropShadow: {
           distance: 0
          ,color: '#fff'
          ,strength: 8
          ,alpha: .9
        }
      }
   ,wmode: 'transparent'
});


sIFR.replace(frankfurterstd, {
    selector: '#content.top3 ul#contestants li h3 a, h3.others',
	wmode: 'transparent',
    css: ['.sIFR-root { color: #f1398d; font-size: 20px; text-align:center; }']
    ,filters: {
    DropShadow: {
       distance: 0
      ,color: '#fff'
      ,strength: 8
      ,alpha: .9
    }
  }
,wmode: 'transparent'
});

