(function fun($){$.fn.customFile=function(options){var settings={inputFileBox:'input-file-box'};return this.each(function(){if(options){$.extend(settings,options);}var $this=$(this);var inputFileBox=settings.inputFileBox;var inputFileBoxClass='.'+inputFileBox;$this.wrap("<div class="+inputFileBox+"></div>");$this.after("<input placeholder='Файл не выбран' type='text'>");var inputFileBoxJq=$this.closest('.'+inputFileBox);var fileText=$this.closest(inputFileBoxClass).find(':text');$this.css({'position':'absolute','left':'-9999px'});inputFileBoxJq.on('click',function(event){var $target=$(event.target);if($target.is(':file')){}else{$(this).find(':file').trigger('click');}});$this.on('change',function(){var valFile=$(this).attr('value');fileText.attr('value',valFile).trigger('blur');});});};})(jQuery);$(document).ready(function(){function setEqualHeight(columns){var tallestcolumn=0;columns.each(function(){currentHeight=$(this).height();if(currentHeight>tallestcolumn){tallestcolumn=currentHeight;}});columns.height(tallestcolumn);}$(document).ready(function(){setEqualHeight($(".block-online, .block-job-russia"));});});