// if(typeof sIFR == "function"){
// 	// This is the preferred "named argument" syntax
// 	sIFR.replaceElement(named({sSelector:"p.sifr", sFlashSrc:"/anderson/umh/wp-content/themes/umh/swf/regular.swf", sColor:"#84200C", sWmode:"transparent", sLinkColor:"#000000", sBgColor:"#FFFFFF", sHoverColor:"#CCCCCC", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left", css:[".sIFR-replaced strong { font-weight: bold; }"]}));
// 	sIFR.replaceElement(named({sSelector:".aboutbox h2", sFlashSrc:"/anderson/umh/wp-content/themes/umh/swf/trgothicbold.swf", sColor:"#84200C", sWmode:"transparent", sLinkColor:"#84200C", sBgColor:"#FFFFFF", sHoverColor:"#84200C", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left"}));
// 	sIFR.replaceElement(named({sSelector:"#sidebar h2", sFlashSrc:"/anderson/umh/wp-content/themes/umh/swf/trgothicbold.swf", sColor:"#eec800", sWmode:"transparent", sLinkColor:"#eec800", sBgColor:"#FFFFFF", sHoverColor:"#eec800", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left"}));
// 	sIFR.replaceElement(named({sSelector:"#widecolumn h2", sFlashSrc:"/anderson/umh/wp-content/themes/umh/swf/trgothicbold.swf", sColor:"#eec800", sWmode:"transparent", sLinkColor:"#eec800", sBgColor:"#FFFFFF", sHoverColor:"#eec800", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left"}));
// 	sIFR.replaceElement(named({sSelector:"#footer h2", sFlashSrc:"/anderson/umh/wp-content/themes/umh/swf/trgothicbold.swf", sColor:"#ebce7b", sWmode:"transparent", sLinkColor:"#ebce7b", sBgColor:"#FFFFFF", sHoverColor:"#ebce7b", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left"}));
// };

var trgothicbold = { src: '/wp-content/themes/umh/swf/tradegothic-bold.swf' };

// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(trgothicbold);

// If you want, you can use multiple movies, like so:
//
//    var futura = { src: '/path/to/futura.swf' };
//    var garamond = { src '/path/to/garamond.swf' };
//    var rockwell = { src: '/path/to/rockwell.swf' };
//    
//    sIFR.activate(futura, garamond, rockwell);
//
// Remember, there must be *only one* `sIFR.activate()`!

// Now we can do the replacements. You can do as many as you like, but just
// as an example, we'll replace all `<h1>` elements with the Futura movie.
// 
// The first argument to `sIFR.replace` is the `futura` object we created earlier.
// The second argument is another object, on which you can specify a number of
// parameters or "keyword arguemnts". For the full list, see "Keyword arguments"
// under `replace(kwargs, mergeKwargs)` at 
// <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// 
// The first argument you see here is `selector`, which is a normal CSS selector.
// That means you can also do things like '#content h1' or 'h1.title'.
//
// The second argument determines what the Flash text looks like. The main text
// is styled via the `.sIFR-root` class. Here we've specified `background-color`
// of the entire Flash movie to be a light grey, and the `color` of the text to
// be red. Read more about styling at <http://wiki.novemberborn.net/sifr3/Styling>.

sIFR.replace(trgothicbold, {
  	selector: '#sidebar h2',
	wmode: 'transparent',
	ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 29, 1.24, 30, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 89, 1.21, 90, 1.22, 94, 1.21, 95, 1.22, 1.21],
  	css: '.sIFR-root { background-color: #ffffff; color: #eec800; text-decoration:none; } a { color:#eec800; text-decoration:none; } a:hover { color:#eec800; }'
});

sIFR.replace(trgothicbold, {
  	selector: '#widecolumn h2',
	wmode: 'transparent',
	ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 29, 1.24, 30, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 89, 1.21, 90, 1.22, 94, 1.21, 95, 1.22, 1.21],
  	css: '.sIFR-root { background-color: #ffffff; color: #eec800; text-decoration:none; } a { color:#eec800; text-decoration:none; } a:hover { color:#eec800; }'
});

sIFR.replace(trgothicbold, {
  	selector: '#footer h2',
	wmode: 'transparent',
	ratios: [8, 1.41, 10, 1.33, 14, 1.31, 16, 1.26, 20, 1.27, 24, 1.26, 25, 1.24, 26, 1.25, 29, 1.24, 30, 1.25, 35, 1.24, 49, 1.23, 74, 1.22, 75, 1.21, 79, 1.22, 80, 1.21, 81, 1.22, 89, 1.21, 90, 1.22, 94, 1.21, 95, 1.22, 1.21],
  	css: '.sIFR-root { background-color: #ffffff; color: #ebce7b; text-decoration:none; } a { color:#ebce7b; text-decoration:none; } a:hover { color:#ebce7b; }'
});
