/*== Define the SWF locations ==*/
var MetaPlusNormal_Roman = {
	src: '/flash/MetaPlusNormal-Roman.swf'
};
var pp_handwriting = {
	src: '/flash/pp_handwriting.swf'
};
var bleeding_cowboys = {
	src: '/flash/bleeding_cowboys.swf'
};
var unibody_smallcaps = {
	src: '/flash/unibody_smallcaps.swf'
};
/*== ==*/

/*== Replace characters manually ==*/
var ligature_it = function(str) {
	
    return str;
}
/*== ==*/

/*== Activate the SWF's width sIFR ==*/
sIFR.activate(MetaPlusNormal_Roman);
sIFR.activate(pp_handwriting);
sIFR.activate(bleeding_cowboys);
sIFR.activate(unibody_smallcaps);
/*== ==*/

/*== Global definitions for the elements replaced ==*/

/*= Text (Selectable text SWF's) =*/
sIFR.replace(MetaPlusNormal_Roman, {
	selector: 'h2',
	modifyContentString: ligature_it,
	wmode: 'transparent',
	css: [
		,'.sIFR-root { color: #9d0c0c; font-size: 16px; font-weight: bold;}'
		,'a { color: #9d0c0c; text-decoration: none; cursor:hand;}'
		,'a:visited { color: #9d0c0c; text-decoration: none; }'
		,'a:hover { color: #555555; text-decoration: none; }'
	]
});
sIFR.replace(pp_handwriting, {
	selector: 'h4',
	modifyContentString: ligature_it,
	wmode: 'transparent',
	css: [
		,'.sIFR-root { color: #000000; font-size: 16px;}'
		,'a { color: #000000; text-decoration: none; }'
		,'a:visited { color: #000000; text-decoration: none; }'
		,'a:hover { color: #9d0c0c; text-decoration: none; }'
	]
});
sIFR.replace(bleeding_cowboys, {
	selector: 'h1',
	modifyContentString: ligature_it,
	wmode: 'transparent',
	css: [
		,'.sIFR-root { color: #9d0c0c;font-size: 26px;}'
		,'a { color: #9d0c0c; text-decoration: none; }'
		,'a:visited { color: #9d0c0c; text-decoration: none; }'
		,'a:hover { color: #ffffff; text-decoration: none; }'
	]
});

sIFR.replace(unibody_smallcaps, {
	selector: 'h5',
	modifyContentString: ligature_it,
	wmode: 'transparent',
	css: [
		,'.sIFR-root { color: #555555; font-size: 8px; text-align: left; width: 900px;margin-left: 50px;}'
		,'a { color: #555555; text-decoration: none; }'
		,'a:visited { color: #555555; text-decoration: none; }'
		,'a:hover { color: #9d0c0c; text-decoration: none; }'
	]
});

/*= Link (Button like SWF's) =*/
sIFR.replace(unibody_smallcaps, {
	selector: 'h5',
	modifyContentString: ligature_it,
	wmode: 'transparent',
	ratios: [8,1.41,9,1.33,10,1.35,15,1.31,19,1.28,20,1.27,26,1.26,29,1.24,30,1.25,35,1.24,39,1.23,40,1.24,51,1.23,54,1.22,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
	css: [
		,'.sIFR-root { color: #555555; font-size: 8px; text-align: left;}'
		,'a { color: #555555; text-decoration: none; }'
		,'a:visited { color: #555555; text-decoration: none; }'
		,'a:hover { color: #9d0c0c; text-decoration: none; }'
	]
});
/*= Link (Button like SWF's) =*/
sIFR.replace(MetaPlusNormal_Roman, {
	selector: 'h2',
	modifyContentString: ligature_it,
	wmode: 'transparent',
	ratios: [8,1.41,9,1.33,10,1.35,15,1.31,19,1.28,20,1.27,26,1.26,29,1.24,30,1.25,35,1.24,39,1.23,40,1.24,51,1.23,54,1.22,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
	css: [
		,'.sIFR-root { color: #9d0c0c; font-size: 16px; font-weight: bold;}'
		,'a { color: #555555; text-decoration: none; cursor: hand; }'
		,'a:visited { color: #555555; text-decoration: none; }'
		,'a:hover { color: #555555; text-decoration: none; }'
	]
});
/*== ==*/

