function removeFilter() {
  $('.menu li .submenu ').removeAttr("filter");
  };
  
$(document).ready(function() {
 
 
//SOTTOMENU
$('.menu li').hover(function(){
$(this).find('ul').show(0,removeFilter());
}, function(){
$(this).find('ul').hide();
});
		
 
//lighbox
$("a[rel^='prettyPhoto']").prettyPhoto();

  // tabs
if($("#tabs").length>0){
$("#tabs").tabs().show();
}


$('.slide-news').cycle({ 
   fx:     'scrollUp', 
    timeout: 9000,
	 speed: 1000,
	 cleartype: 1, 
	cleartypeNoBg:  true,
	 fit:1
}); 


 //language  
$('#lang').change(function(){
 var lang = $('#lang').val();
 window.location.href = "http://www.highfacing.eu/"+lang;
})

});
