<!--

function getObjectBW(name) {
  if(!name || name == null) return null;
  else if(document.getElementById) return document.getElementById(name);
  else if(document.all) return document.all[name];
  else return null;
}



var dis = new onDisplay();
var flag=0;
function onDisplay(){
        var elem_id = null;
        this.check=function(id){
                if((elem_id = getObjectBW(id))!= null){
                        if((elem_id.style.display !="none")) return true;
                }
                return false;
        }
        this.set=function(id, viz){
                if((elem_id = getObjectBW(id))!= null) {
                        elem_id.style.position = 'absolute';
                  if (navigator.userAgent.indexOf('Opera')!=-1)
                          elem_id.style.display = 'table';
                  else elem_id.style.display = 'block';
                        elem_id.style.visibility = viz;
                        }
                return;
        }
}

function email(user, domain, suffix,txt){
   if (txt==1)
        document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
        else document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + txt + '</a>');
}

function check_srch_form(){
    	if (srchform.srchtext.value.length<4) {window.alert('В запросе должно быть не менее 4 символов');return false;}
    	return true;
    	}

$(function() {
	$('.menu_normal').hover(
	function(){ 
		$(this).find('.sub_menu').show();
		$(this).css("backgroundColor","#fd9b00");
	},
	function(){ 
		$(this).find('.sub_menu').hide();
		$(this).css("backgroundColor","");
	});
});

  var uvOptions = {};
  (function() {
    var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
    uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/czV7x6H0tatKi5yETnRFXA.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
  })();

-->

