   <!--

var sun      = "images/sun.gif";
var earth    = "images/earth.gif"
var moon     = "images/moon.gif";
var merkur   = "images/venus.gif";
var venus    = "images/mars.gif";
var mars     = "images/saturn.gif"


var ns4up = (document.layers) ? 1 : 0;  // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var plan_dx, x,y,x2,y2,x3,y3,y4,x4;    // coordinate and position variables

if (ie4up) 
{

  plan_width = document.body.clientWidth;
  plan_height = document.body.clientHeight;
  plan_dx=0
  document.write("<div id=\"sun"+"\" style=\"POSITION: ");
  document.write("absolute; Z-INDEX: "+"; VISIBILITY: ");
  document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
  document.write(sun + "\" border=\"0\"></div>");

  document.write("<div id=\"venus"+"\" style=\"POSITION: ");
  document.write("absolute; Z-INDEX: "+"; VISIBILITY: ");
  document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
  document.write(merkur + "\" border=\"0\"></div>");

  document.write("<div id=\"earth"+"\" style=\"POSITION: ");
  document.write("absolute; Z-INDEX: "+"; VISIBILITY: ");
  document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
  document.write(earth + "\" border=\"0\"></div>");

  document.write("<div id=\"moon"+"\" style=\"POSITION: ");
  document.write("absolute; Z-INDEX: "+"; VISIBILITY: ");
  document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
  document.write(moon + "\" border=\"0\"></div>");
  
  document.write("<div id=\"mars"+"\" style=\"POSITION: ");
  document.write("absolute; Z-INDEX: "+"; VISIBILITY: ");
  document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
  document.write(venus + "\" border=\"0\"></div>");

  document.write("<div id=\"saturn"+"\" style=\"POSITION: ");
  document.write("absolute; Z-INDEX: "+"; VISIBILITY: ");
  document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
  document.write(mars + "\" border=\"0\"></div>");

   

  
}

document.all["sun"].style.pixelTop = 35;
document.all["sun"].style.pixelLeft = plan_width/2-20;


function show_planets() {  // IE main animation function
  
   plan_width = document.body.clientWidth;
   plan_height = document.body.clientHeight;

   document.all["sun"].style.pixelTop = 35;
   document.all["sun"].style.pixelLeft = plan_width/2-20;

   plan_dx += 1;

    y = 50+40*Math.cos(plan_dx/30);
    x = plan_width/2 + 150*Math.sin(plan_dx/30);
    
    y2 = 50+20*Math.cos(plan_dx/25);
    x2 = plan_width/2 + 130*Math.sin(plan_dx/25);
    
    y3 = 50+17*Math.cos(plan_dx/20);
    x3 = plan_width/2 + 80*Math.sin(plan_dx/20);

    y4 = 40+40*Math.cos(plan_dx/35);
    x4 = plan_width/2 + 170*Math.sin(plan_dx/35);

    
    
    document.all["earth"].style.pixelTop = y;
    document.all["earth"].style.pixelLeft = x;
    
    document.all["moon"].style.pixelTop = y+10*Math.sin(plan_dx/30);
    document.all["moon"].style.pixelLeft = x + 10*Math.cos(plan_dx/30);
    
    document.all["mars"].style.pixelTop = y2;
    document.all["mars"].style.pixelLeft = x2;
   
    document.all["venus"].style.pixelTop = y3;
    document.all["venus"].style.pixelLeft = x3;

    document.all["saturn"].style.pixelTop = y4;
    document.all["saturn"].style.pixelLeft = x4;
    
        
    setTimeout("show_planets()", 45);
}

show_planets();
