
var clicked = 0;
var url = window.location.href;
if ( url.match(/\?s=[^\&]+/) ) {
	var clicked2 = 1;
} else {
	var clicked2 = 0;
}

function ClearSearch(it){
	if (clicked2 == 0) {
		it.value = '';
		clicked2 = 1;
	}
	return true;
}


//ВСПЛЫВАЮЩИЕ БЛОКИ С ХА-КАМИ
$(document).ready(function(){

	$(".aim").hover(function() {
		$(this).next(".short-param-block").fadeIn("slow");
	}, function() {
		$(this).next(".short-param-block").fadeOut("fast");
	});


});

