function mlang(lg){
   	var _ajax = new ajax.ContentLoader('ajax.php?lang='+lg,
	   	function(){
	   		location.reload();
	    });
}

/*
$(function() {
	$("#nav-one").lavaLamp({
    	fx: "backout", 
        speed: 700
	});
});
    
$(document).ready(function(){
	$("#nav-one li").hover(
		function(){ $("ul", this).fadeIn("fast"); }, 
		function() { } 
	);
	if (document.all) {
		$("#nav-one li").hoverClass ("sfHover");
	}
});
	
$.fn.hoverClass = function(c) {
	return this.each(function(){
		$(this).hover( 
			function() { $(this).addClass(c);  },
			function() { $(this).removeClass(c); }
		);
	});
};	
	*/	
function ffind(){
	document.getElementById('ffi').submit()
}
function cont_send(){
	document.getElementById('theForm').submit()
}
var cc= new Array();
function cl(id,name){
	if(!cc[id]){
		document.getElementById(name).value='';
		cc[id]=1;
	}
}
function shide(id){
	if($('#div-'+id).css("display")=='block') $('#div-'+id).css("position","relative");
	$('#div-'+id).slideToggle("slow",function(){
		if($(this).css("display")=='block')	$('#div-'+id).css("position","static");
		else $('#div-'+id).css("position","relative");
	});
}
$(document).ready(function() {
	$("#showMoreInfo").click(function(){
		$("#moreInfo").slideToggle(800,function(){
			$("#bi_dm").toggle();	
			$("#m_dm").toggle();
			$("#img_stat_pls, #img_stat_mn").toggle();
		});
	});
	$('#ukr_che').click(function(){
		$('.chk_sub_zone').each(function(){this.checked = !this.checked && !this.disabled;});
	})
});