<!--

/* User Agent (Browserkennung) auf einen bestimmten Browsertyp prüfen */  
function checkBrowserName(name){  
  var agent = navigator.userAgent.toLowerCase();  
  if (agent.indexOf(name.toLowerCase())>-1) {  
    return true;  
  }  
  return false;  
}

function celldance() {
  var num=Math.floor(Math.random()*23);
  var numx=Math.floor(Math.random()*200);
  var numy=Math.floor(Math.random()*200);
  if(checkBrowserName('safari')) {
      document.writeln('<body style="background-image: url(incubator/safaricells'+num+'.gif); background-position: -'+numx+'px -'+numy+'px;">');
    } else {
      document.writeln('<body style="background-image: url(incubator/cells'+num+'.gif); background-position: -'+numx+'px -'+numy+'px;">');
    }
}
// -->
