/*=:project
    scalable Inman Flash Replacement (sIFR) version 3, beta 1

  =:file
    Copyright: 2006 Mark Wubben.
    Author: Mark Wubben, <http://novemberborn.net/>

  =:history
    * IFR: Shaun Inman
    * sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin
    * sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

  =:license
    This software is licensed and provided under the CC-GNU LGPL.
    See <http://creativecommons.org/licenses/LGPL/2.1/>    
*/

var rockwell = {
   src: '/themes/sidebarbrown/media/sifr-fonts/rockwell.swf'
 };

var rockwelllight = {
   src: '/themes/sidebarbrown/media/sifr-fonts/rockwell-light.swf'
 };

var rockwellbold = {
   src: '/themes/sidebarbrown/media/sifr-fonts/rockwell-bold.swf'
 };
  
  sIFR.prefetch(rockwell);
  sIFR.prefetch(rockwelllight);
  sIFR.prefetch(rockwellbold);

  sIFR.compatMode = true;
  sIFR.activate();

	sIFR.replace(rockwell, {
	selector: '#post-detail h1, #album h1, #contact legend, #friends h3, .post-entry h2, #favorites h3,body.home .category-topic strong, body.postsdetails .category-topic strong, body.postsdetails .tag-list strong, body.home .tag-list strong'
    ,css: [
	     '.sIFR-root {text-align: left; font-weight: normal; color:#44352B; }'
	     ,'a { text-decoration: none }'
	     ,'a:link { color: #44352B }'
	     ,'a:hover { color: #333333 }'
	   ]
    ,wmode: 'transparent'
    ,thickness: '-70'
    ,sharpness: '10'
	,offsetLeft: '0'
    });
    
	sIFR.replace(rockwellbold, {
	selector: '#subscribe legend, .articles.recent h3, #tagcloud h3, #mobilebadge h3, #contact h3'
    ,css: [
	     '.sIFR-root { color:#44352B; }'
	   ]
    ,wmode: 'transparent'
    ,thickness: '-70'
    ,sharpness: '10'
    });

	sIFR.replace(rockwellbold, {
	selector: '#logo strong, #text-thankyou, #text-error'
    ,css: [
	     '.sIFR-root { text-align: left; font-weight: normal; color:#7D0000; text-transform:uppercase}'
	     ,'a { text-decoration: none }'
	     ,'a:link { color: #7D0000 }'
	     ,'a:hover { color: #333333 }'
	   ]
    ,wmode: 'transparent'
    });

	sIFR.replace(rockwellbold, {
	selector: '.media-list'
    ,css: [
	     '.sIFR-root { text-align: left; font-weight: normal; color:#44352B; text-transform:uppercase}'
	     ,'a { text-decoration: underline }'
	     ,'a:link { color: #44352B }'
	     ,'a:hover { color: #333333 }'
	   ]
    ,wmode: 'transparent'
    ,thickness: '-70'
    ,sharpness: '10'
    });