jQuery('#mobilemenu').html('
\n\n\n\n \n
\n\n \n
\n');
var searchMobileShown = false;
jQuery('#formMobileSearchButton').submit(function(){
traiteChangementDePageKajax('/search.php?q=' + encodeURIComponent(jQuery('#mobileSearch').val()).replace(/\%20/, '+'));
jQuery('#mobileSearch').blur();
return false;
});
function searchMobileClic(noAutoSearch)
{
if (searchMobileShown)
{
if (jQuery('#mobileSearch').val().length)
{
if (!noAutoSearch)
traiteChangementDePageKajax('/search.php?q=' + encodeURIComponent(jQuery('#mobileSearch').val()).replace(/\%20/, '+'));
}
else
{
searchMobileHide();
}
return;
}
jQuery('.showOnSearchMobile').css('opacity', 0).show();
jQuery('#mobileSearch').click().focus();
jQuery('.hideOnSearchMobile').fadeOut(300);
setTimeout(function(){
jQuery('.showOnSearchMobile').animate({opacity: 1}, 'fast');
}, 300);
searchMobileShown = true;
}
function searchMobileHide()
{
jQuery('#mobileSearch').blur();
jQuery('.showOnSearchMobile').fadeOut(300);
setTimeout(function(){
jQuery('.hideOnSearchMobile').fadeIn('fast');
}, 300);
searchMobileShown = false;
}
if (typeof qForMobileSearchValue != 'undefined')
{
jQuery('#mobileSearch').val(qForMobileSearchValue);
searchMobileClic();
}
jQuery(document.body).prepend('');