var scalabold = {
	src: webroot + 'swf/scalasans-capsbold.swf'
};
sIFR.activate(scalabold);
sIFR.replace(scalabold, {
	selector: '#aviation h2',
	css: '.sIFR-root {text-transform: lowercase; color: #758672;}',
	ratios: [20, 1.65]
});
sIFR.replace(scalabold, {
	selector: '#transit h2',
	css: '.sIFR-root {text-transform: lowercase; color: #95664a;}',
	ratios: [20, 1.65]
});
sIFR.replace(scalabold, {
	selector: '#highereducation h2',
	css: '.sIFR-root {text-transform: lowercase; color: #90a2a6;}',
	ratios: [20, 1.65]
});
sIFR.replace(scalabold, {
	selector: '#commercial-industrial h2',
	css: '.sIFR-root {text-transform: lowercase; color: #a74921;}',
	ratios: [20, 1.65]
});
sIFR.replace(scalabold, {
	selector: '#federal h2',
	css: '.sIFR-root {text-transform: lowercase; color: #a79064;}',
	ratios: [20, 1.65]
});
sIFR.replace(scalabold, {
	selector: 'h2',
	css: '.sIFR-root {text-transform: lowercase;}',
	ratios: [20, 1.65]
});
$(document).ready(function() {
	$('.readmore').click(function(){
		$(this).blur();
		if($(this).is('.readmoreclose'))
		{
			$(this).removeClass('readmoreclose');
		}
		else
		{
			$(this).addClass('readmoreclose');
		}
		$('.hide').slideToggle('slow');
		return false;
	})
	$('#searchq').one('focus',function(){
		$(this).val('');
	});
	// $('a').click(function(){ $(this).blur(); });
	
	$('#credit').css({
		opacity: "0.3"
	});

	$('#credit').hover(
		function()
		{
			$(this).animate({
				backgroundPosition: "0px 0px",
				width: "155px",
				opacity: "1"
			}, 300);
		},
		function()
		{
			$(this).animate({
				backgroundPosition: "-155px 0px",
				width: "11px",
				opacity: "0.4"
			}, 300);
		}
	);
	
});