$(document).ready(function(){
						   
Cufon.replace('.homeTitle h2', { fontFamily: 'NeoTech' });
Cufon.replace('.footer-box h3', { fontFamily: 'NeoTech' });
Cufon.replace('h1.mainTitle', { fontFamily: 'NeoTech' });
Cufon.replace('ul.tabs', { fontFamily: 'NeoTech' });
Cufon.replace('#menu-sidebar h2', { fontFamily: 'NeoTech' });

Cufon.replace('#menu-sidebar h2 a', {
	color: '#00488b',
	hover: {
		color: '#789452'
	}
});

$('#about-more').hide();
$('a#about-show').click(function() {
$('#about-more').show(200);
$('#about-keep-reading').hide();
return false;
});

$('a#about-hide').click(function() {
$('#about-more').hide();
$('#about-keep-reading').show();
return false;
});

$('#services-more').hide();
$('a#services-show').click(function() {
$('#services-more').show(200);
$('#services-keep-reading').hide();
return false;
});

$('a#services-hide').click(function() {
$('#services-more').hide();
$('#services-keep-reading').show();
return false;
});
  
$('#tabs div').hide();
$('#tabs div:first').show();
$('#tabs ul li:first').addClass('active');
$('#tabs ul li a').click(function(){ 
$('#tabs ul li').removeClass('active');
$(this).parent().addClass('active'); 
var currentTab = $(this).attr('href'); 
$('#tabs > div').hide();
$(currentTab).show();
return false;
});

//Default Action
	$(".tab_content").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content
	
	//On Click Event
	$("ul.tabs li").click(function() {
		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(75); //Fade in the active content
		return false;
	});

  

$('img.rollover').hover(function() {
$(this).attr('src', $(this).attr('src').replace( /-orig/i, '-hover' ));
}, function() {
$(this).attr('src', $(this).attr('src').replace( /-hover/i, '-orig' ));
});

});
