/*
* script.js
* code by gersonthiago.com
*/

(function($){

	var mainController = {

		header: {
			buttonsHover: $('a.bt'),
			job: $('article.job')
		},
		
		init: function(){
			
			/* buttons header */
			mainController.header.buttonsHover.each(function(){
				var html = $(this).html();
				$(this).html('<strong>'+html+'</strong><span>'+html+'</span>');
			});
			mainController.header.buttonsHover.hover(function(){
				$(this).children('strong').animate({opacity:0.1},100);
				$(this).children('span').fadeIn(300);
			}, function(){
				$(this).children('strong').animate({opacity:1},300);
				$(this).children('span').fadeOut(100);
			});
			
			
		}
		
		
	} // mainController
	
	
	$(document).ready(function(){
		
		mainController.init(); // initialize
		
	});
	
	
})(jQuery);
