function vIE(){return (navigator.appName=='Microsoft Internet Explorer')?parseFloat((new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})")).exec(navigator.userAgent)[1]):-1;}

$(document).ready(function(){
  var IEv = vIE();
						   
  if (IEv < 8 & IEv > 0) {
    $('#ir_ticker iframe').attr({allowTransparency : "true"});
	$('#ir_topNav > li.active > a').css({backgroundColor: '#1d676c', color: '#ffffff'});
  }
						   
  $('#ir_topNav > li').hover(function(){
	$('#ir_topNav li').removeClass('active');
    $(this).addClass('active');
	if (IEv < 8 & IEv > 0) {
	  $('#ir_topNav li > a').css({backgroundColor: '#ffffff', color: '#000000'});
	  $(this).children('a').css({backgroundColor: '#1d676c', color: '#ffffff'});
	}
  }, function(){
  });
});