function toggle_search() {
	$("#search_menu").css("display", "block");

	if($("#search_menu").hasClass("is-active")) {
		$("#search_menu").removeClass("slideInDown");
		$("#search_menu").addClass("animated");
		$("#search_menu").addClass("slideOutUp");
		$("#search_menu").removeClass("is-active");
	}else {
		$("#search_menu").removeClass("slideOutUp");
		$("#search_menu").addClass("animated");
		$("#search_menu").addClass("slideInDown");
		$("#search_menu").addClass("is-active");
	}
}
/*
* This function is for mobile only. It toggles whether the search is visible or not.
*/
This function is for mobile only. It toggles whether the search is visible or not.
This function is for mobile only . It toggles whether the search is visible or not .
function toggle_search() {
	$("#search_menu").css("display", "block");
	if($("#search_menu").hasClass("is-active")) {
		$("#search_menu").removeClass("slideInDown");
		$("#search_menu").addClass("animated");
		$("#search_menu").addClass("slideOutUp");
		$("#search_menu").removeClass("is-active");
	}else {
		$("#search_menu").removeClass("slideOutUp");
		$("#search_menu").addClass("animated");
		$("#search_menu").addClass("slideInDown");
		$("#search_menu").addClass("is-active");
	}
}
function toggle_search ( ) { $ ( "#search_menu" ) . css ( "display" , "block" ) ; if ( $ ( "#search_menu" ) . hasClass ( "is-active" ) ) { $ ( "#search_menu" ) . removeClass ( "slideInDown" ) ; $ ( "#search_menu" ) . addClass ( "animated" ) ; $ ( "#search_menu" ) . addClass ( "slideOutUp" ) ; $ ( "#search_menu" ) . removeClass ( "is-active" ) ; } else { $ ( "#search_menu" ) . removeClass ( "slideOutUp" ) ; $ ( "#search_menu" ) . addClass ( "animated" ) ; $ ( "#search_menu" ) . addClass ( "slideInDown" ) ; $ ( "#search_menu" ) . addClass ( "is-active" ) ; } }
This function is for mobile only.
This function is for mobile only .