      	$(document).ready(function() {
			$(".item-4 .level-2").hover(function() {
				$(".item-4").attr("id","active-4");
			}, 
		  function () {
			$(".item-4").attr("id","");
		  });

		  
		  $(".item-5 .level-2").hover(function() {
				$(".item-5").attr("id","active-5");
			}, 
		  function () {
			$(".item-5").attr("id","");
		  });
		});	
      
		$(document).ready(function () {
					$('.news').hide();
					$('#news0').show();
			});
			function changenews(x) {
				$('.news').slideUp('400');
				$('#news'+x).slideDown('400');
				for (i=0;i<10;i++){
					$('#changesnews'+i).css("font-weight","normal");
				}
				x= x+1;
				$('#changesnews'+x).css("font-weight","bold");
			}
			addLoadEvent(externalLinks);

function externalLinks() {
  if (!document.getElementsByTagName) return;
  var anchors = document.getElementsByTagName("a");
  for (var i=0; i<anchors.length; i++) {
    var anchor = anchors[i];
    if (anchor.getAttribute("href") &&
      anchor.getAttribute("rel") == "external")
      anchor.target = "_blank";
    }
}
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}