OK, i figured out myself. Not very beautiful code but works
Code:
<script src="http://ajax.googleapis.com/ajax/
libs/jquery/1.3.0/jquery.min.js"></script>
<script>
var auto_refresh = setInterval(
function()
{
$('#loaddiv').fadeOut('slow').load('reload.php').fadeIn("slow");
}, 20000);
$(document).ready(function(){
$('#loaddiv').load('reload.php')
})
</script>

<?php
$ua = $_SERVER["HTTP_USER_AGENT"];
$msie_6 = strpos($ua, 'MSIE 6.0') ? true : false;
$msie_7 = strpos($ua, 'MSIE 7.0') ? true : false;
$msie_8 = strpos($ua, 'MSIE 8.0') ? true : false;
if ($msie_7) {
include 'reload.php';
}
elseif ($msie_6) { 
include 'reload.php';
}
elseif ($msie_8) {
include 'reload.php';
}
else {
  echo '<div id="loaddiv"></div>';
  }
?>