jQuery(document).ready( function() {
	
	jQuery("#twitter").getTwitter({
		userName: "onlinefire",
		numTweets: 3,
		loaderText: "Loading tweets...",
		slideIn: true,
		slideDuration: 750,
		showHeading: false,
		showProfileLink: false,
		showTimestamp: true
	});
	
	jQuery('#nav li a').css('opacity', '0.7');
	jQuery('#nav li a').mouseover(function() { jQuery(this).css('opacity', '1'); }).mouseout(function() { jQuery(this).css('opacity', '0.7'); });
	
	jQuery('#menu-global-navigation li a').css('opacity', '0.7');
	jQuery('#menu-global-navigation li a').mouseover(function() { jQuery(this).css('opacity', '1'); }).mouseout(function() { jQuery(this).css('opacity', '0.7'); });
	
	jQuery('#breadcrumbs, #footer h2, .sidebar h2').wrapInner('<span>');
	jQuery('#breadcrumbs span, #footer h2 span, #footer li p, .sidebar h2 span').css('opacity', '0.7');
	
	jQuery('#main p:not(#main p img)').wrapInner('<span>');
	jQuery('#main p:not(p:has(img)), #main ul, #main ol').css('opacity', '0.7');
	
	jQuery('#content h3').css('opacity', '0.7');
	jQuery('#content h4').css('opacity', '0.7');
	
	jQuery('#tools a span').css('opacity', '0');
	
	jQuery('#tools a').hover( function() { 
		jQuery('span', this).css({ 'width' : '100px', 'text-indent' : '0px', 'padding' : '10px'}).fadeTo(200, 0.5); 
	}, 
	function() { 
		jQuery('span', this).fadeTo(200, 0).css({ 'width' : '0px', 'text-indent' : '-9999px', 'padding' : '0px'});
	});
	
});
