function showValue(){
var search=document.getElementById('searchText');
if (search.value=='') search.value='\u041f\u0440\u0435\u0442\u0440\u0430\u0433\u0430';
return ;
}
function hideValue(){
var search=document.getElementById('searchText');
if (search.value=='\u041f\u0440\u0435\u0442\u0440\u0430\u0433\u0430') search.value='';
return ;
}

function focusInput(selector) {
    $(selector).each(function(){
        var domObj = $(this)[0];
        var defaultValue = domObj.value;

        console.log(domObj);

        $(this).focus(function () {
            if (this.value==defaultValue) this.value='';
            console.log("focus: "+this.value);
            return ;
        });

        $(this).blur(function() {
            if (this.value=='') this.value=defaultValue;
            console.log("blur: "+this.value);
            return ;
        });
    });
}