// Call to Action menu bar expander
// Requires JQuery
/*
$('#cta-button').click(function() {
	if($('#cta-widget').is(":hidden")) {							
		$('#cta-widget').slideDown('slow');
	} else {
		$('#cta-widget').slideUp('slow');
	}
});
*/
/***************************/
//@Author: Adrian "yEnS" Mato Gondelle & Ivan Guardado Castro
//@website: www.yensdesign.com
//@email: yensamg@gmail.com
//@license: Feel free to use it, but keep this credits please!					
/***************************/

$(document).ready(function(){
	//global vars
	var searchBoxes = $(".text");
	var searchBox1 = $("#search-input");
	
	//Effects for both searchbox
	searchBoxes.focus(function(e){
		$(this).addClass("active");
	});
	searchBoxes.blur(function(e){
		$(this).removeClass("active");
	});
	//Searchbox1, set focus when document is ready
	searchBox1.focus();
});


