
function changeBookmarks(topic)//topic -- то на что меняется значение. resume or vacancy
{

	document.getElementById('search-marks').setAttribute('class', 'search-marks-'+topic);
	document.getElementById('search-marks').className = 'search-marks-'+topic;
	document.getElementById('searchWhat').setAttribute('value', topic);
	document.getElementById('extendSearch').setAttribute('href', topic+'/search/');
}