(function() {
var f = document.getElementById('searchbox_spell');
if (f && f.q) {
var q = f.q;
var b = function() {
if (q.value == '') {
q.style.background = '#fff url(http://qi.phys.msu.ru/img/google_custom_search_watermark.gif) left center no-repeat';
}
};
var f = function() {
q.style.background = '#fff';
};
q.onfocus = f;
q.onblur = b;
if (!/[&?]q=[^&]/.test(location.search)) {
b();
}
}
})();

