	//=============================================================================
	// Обработчики событий jQuery
	//
	jQuery.noConflict();
	//=============================================================================
	// Легаси-код:
	//

	/*jQuery(document).ready(function(){
		jQuery('#tabs').tabSlide({
			btNext:'a.next',
			btPrev:'a.prev',
			tabsNews:'ul.tabset a',
			holderList: 'div.tab-holder',
			scrollElParent: 'ul',
			scrollEl: 'li',
			autoSlide: false,
			otherLinks:'a.tab',
			animateContentHeight:true
		});

		jQuery("#showcities").click(function () {
		if (jQuery("#showcities").attr("class")!='all_link_off')
		{
			jQuery("#subcities").css("display",'block');

			jQuery("#showcities").removeClass('all_link');
			jQuery("#showcities").addClass('all_link_off');

			height=jQuery("#tabs").outerHeight(true)+50;
			jQuery(".tab-holder").css('height', height) ;
		}
		else
		{
			jQuery("#subcities").css("display",'none');

			jQuery("#showcities").removeClass('all_link_off');
			jQuery("#showcities").addClass('all_link');

			height=jQuery("#tabs").outerHeight(true)-120;
			jQuery(".tab-holder").css('height', height) ;
		}
		return false;
	});

	jQuery(function() {
		jQuery("#datepicker_beg").datepicker({
			firstDay: 2
		});
		jQuery("#datepicker_end").datepicker({
			firstDay: 2
		});
	});

	});

function UnSelected(id)
{
	sel=document.getElementById(id);
	for(var i = 0; i<sel.length; i++){
		sel.elements[i].checked = false;
	}
	return false;
}

function Selected(id)
{
	sel=document.getElementById(id); // == jQuery("#"+id) ???
	for(var i = 0; i<sel.length; i++){
		sel.elements[i].checked = true;
	}
	return false;
}

function s_sbm(id, beg)
{
	sel=document.getElementById(id);
	if (beg != "no")
	{
		sel.style.background="background-image: url('images/send_sbm_on.png') no-repeat";
	}
	else
	{
		sel.style.background="background-image: url('images/send_sbm.png') no-repeat";
	}
}*/
