/* Tulane Admission Effects by White Whale Web Services */
/* Requires sIFR */
//document.write('<style type="text/css">#content h2,#content h3{visibility:hidden;}</style>');

var tg = {
	src: '/scripts/sifr/tradegothic_light.swf',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	wmode:'transparent'
};

var tgb = {
	src: '/scripts/sifr/tradegothic_boldcondensed.swf',
	ratios:[9, 1.16, 16, 1.09, 24, 1.06, 37, 1.04, 74, 1.02, 1.01],
	wmode:'transparent'
};

//sIFR.useStyleCheck = true;
//sIFR.activate(tg,tgb);

/* Note that sIFR should be listed here from most-selective to least-selective CSS selector */
/* Homepage */
//sIFR.replace(tgb, { selector: '.homepage #content h2',css: ['.sIFR-root { color:#005522; background-color:#ffffff; text-transform:uppercase; }'],tuneHeight:'-12'});
//sIFR.replace(tg, { selector: '.homepage #portals h3', css: ['.sIFR-root { color:#005522; background-color:#e6fcbe; text-transform:uppercase; }'],tuneHeight:'-10'});

/* Sidebars (general) */
//sIFR.replace(tg, { selector: '#sidebar h3', css: ['.sIFR-root { color:#ffffff; background-color:#006634; text-transform:uppercase; }'],tuneHeight:'-6'});

/* Subpages (per-section) */
var sections = { 
	applyingtotulane:'#bb3344',
	seeforyourself:'#dd8822',
	allabouttulane:'#0077bb',
	gettoknowus:'#66aa22',
	quickresources:'#9955bb'
};
for(var i in sections) {
//	sIFR.replace(tgb, { selector: '.'+i+' #content h2', css: ['.sIFR-root { color:'+sections[i]+'; background-color:#ffffff; text-transform:uppercase;} a { color:'+sections[i]+'; text-decoration:none; } a:hover { color:#222222; }'],tuneHeight:'-15'});
//	sIFR.replace(tg, { selector: '.'+i+' #content h3', css: ['.sIFR-root { color:'+sections[i]+'; background-color:#ffffff; text-transform:uppercase; }'],tuneHeight:'-10'});	
}

/* Virtual Tour */
//sIFR.replace(tgb, { selector: '.tour #content h3',css: ['.sIFR-root { color:#000000; background-color:#ffffff; text-transform:uppercase; }'],tuneHeight:'-10'});

/* Defaults */
//sIFR.replace(tgb, { selector: '#content h2', css: ['.sIFR-root { color:#005522; background-color:#ffffff; text-transform:uppercase;} a { color:#005522; text-decoration:none; } a:hover { color:#222222; }'],tuneHeight:'-15'});
//sIFR.replace(tg, { selector: '#content h3', css: ['.sIFR-root { color:#005522; background-color:#ffffff; text-transform:uppercase; }'],tuneHeight:'-10'});	

