
var $JB = jQuery.noConflict();
$JB(document).ready(function() {	

	$JB('#s').focus();
	$JB('#submitForm').click(function() {
	  $JB('#searchForm').submit();
	});
	
    // MENU-WRAPPER UL LI - HOVER
    $JB("#menuWrapper ul li").mouseover(function(){
    	if ( $JB(this).hasClass('current_page_item') || $JB(this).hasClass('current-page-ancestor') ) {
        } else {
        	$JB(this).stop().animate({marginTop:'10px'},{queue:false, duration:200, easing: 'jswing'})
        }
    });

    // MENU-WRAPPER UL LI - MOUSEOUT
    $JB("#menuWrapper ul li").mouseout(function(){
		if ( $(this).hasClass('current_page_item') || $JB(this).hasClass('current-page-ancestor') ) {
        } else {
        	$JB(this).stop().animate({marginTop:'0px'},{queue:false, duration:200, easing: 'jswing'})
        }
    });
	
});
