//var inai = { src: '/ryan/swf/InaiMathi.swf' };
var inai = { src: '/templates/swf/InaiMathi.swf' };
var arial = { src: '/templates/swf/Arial.swf' };

sIFR.prefetch(inai);
sIFR.activate(inai);

function doSIFR() {
	sIFR.replace(inai, {
		//selector: '.module .inai-mathi',
		selector: '.module h4',
		ratios: [8,1.43,11,1.38,16,1.33,23,1.32,24,1.29,28,1.3,36,1.29,45,1.28,73,1.27,76,1.26,77,1.27,1.26],
		css: [ '.sIFR-root { color:#5C5C51; font-weight: bold; letter-spacing: 0.5; }' ],
		tuneHeight: '-7',
		offsetTop: '-2',
		wmode: 'transparent'
	});
	
	sIFR.replace(inai, {
		selector: '.box .inai-mathi, .sidebar .inai-mathi, #feature .inai-mathi',
		ratios: [8,1.43,11,1.38,16,1.33,23,1.32,24,1.29,28,1.3,36,1.29,45,1.28,73,1.27,76,1.26,77,1.27,1.26],
		css: [ '.sIFR-root { color:#379225; font-weight: bold; letter-spacing: 0.5; }' ],
		tuneHeight: '-7',
		offsetTop: '-2',
		wmode: 'transparent'
	});
}

// function doSIFR() {
// 	sIFR.replace(inai, {
// 		selector: '.module .inai-mathi',
// 		css: [ '.sIFR-root { color:#5C5C51; font-weight: bold; letter-spacing: 0.5; }' ],
// 		tuneHeight: '-7',
// 		offsetTop: '-2',
// 		wmode: 'transparent'
// 	});
// 
// 	sIFR.replace(inai, {
// 		selector: '.box .inai-mathi, .sidebar .inai-mathi',
// 		css: [ '.sIFR-root { color:#379225; font-weight: bold; letter-spacing: 0.5; }' ],
// 		tuneHeight: '-7',
// 		wmode: 'transparent'
// 	});
// }
Event.observe(window, 'load', doSIFR);