  var cloud1="Images/cloud1.gif"
  var cloud2="Images/cloud2.gif"
  var cloud3="Images/cloud3.gif"
  var cloud4="Images/cloud4.gif"
  var cloud5="Images/cloud5.gif"
  
  var flower="Images/flower_2.gif"

  var no = 5;
  var cloudwidth=160;
  var topmargin=20;

  var ns4up = (document.layers) ? 1 : 0;  // browser sniffer
  var ie4up = (document.all) ? 1 : 0;
  var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
  
  if (ns6up) cloudwidth=cloudwidth+30;    //adjust for Firefox etc.

  var dx, xp, yp;    // coordinate and position variables
  var am, stx, sty;  // amplitude and step variables
  var i, doc_width = 800, doc_height = 600;
  var gap=80;
  var drop=60;
  var mgap=0-gap;
  var recalc;
  var speed=0.5;
  
  if (ns4up||ns6up) {
    doc_width = self.innerWidth;
    doc_height = self.innerHeight;
  } else if (ie4up) {
    doc_width = document.body.clientWidth;
    doc_height = document.body.clientHeight;
  }

  dx = new Array();
  xp = new Array();
  yp = new Array();
  am = new Array();
  stx = new Array();
  sty = new Array();
  
  if (ns4up) {                              // set the flower layer now..
    document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\">");
    document.write("<map name='FPMap0'><area target='_top' alt='More information...' coords='75, 72, 69' ");
    document.write("shape='circle' href='index.htm?pn=more.htm&pd=More Information'></map>");
    document.write("<img src='"+flower+"' border=\"0\" usemap='#FPMap0'><\/layer>");
  } else if (ie4up||ns6up) {
    document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: 99; VISIBILITY: visible;\">");
    document.write("<map name='FPMap0'><area target='_top' alt='More information...' coords='75, 72, 69' ");
    document.write("shape='circle' href='index.htm?pn=more.htm&pd=More Information'></map>");
    document.write("<img src='"+flower+"' border=\"0\" usemap='#FPMap0'>");
    document.write("<\/div>");
  }

  if (run!="hide") {                        // do not show the clouds... but do show the flower..

  for (i = 0; i < no; ++ i) {  
    dx[i] = 0;                              // set coordinate variables
    xp[i] = (Math.random()*drop)+topmargin; // set position variables
    yp[i] = 0;

    recalc=true;
    while (recalc==true) {
      yp[i] = Math.random()*(doc_width-cloudwidth);
      recalc=false;
      if (i>0) {
        for (j=0;j<i;++j) {
          if ((yp[i]-yp[j-1]>0 && yp[i]-yp[j-1]<gap) || (yp[i]-yp[j-1]<0 && yp[i]-yp[j-1]>mgap)) {
            recalc=true;
          }
        }
      }
    }

    am[i] = 0;                        // set amplitude variables
    stx[i] = 0;                       // set step variables
    sty[i] = speed+(Math.random()*speed); // set step variables

    cloud=cloud1;
    if (i==1) cloud=cloud2;
    if (i==2) cloud=cloud3;
    if (i==3) cloud=cloud4;
    if (i==4) cloud=cloud5;

    if (ns4up) {                      // set layers
      document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src='"+cloud+"' border=\"0\"><\/layer>");
    } else if (ie4up||ns6up) {
      document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible;\"><img src='"+cloud+"' border=\"0\"><\/div>");
    }
  }
  
  function cloudNS() {  // Netscape main animation function
    for (i = 0; i < no; ++ i) {  // iterate for every dot
      yp[i] += sty[i];
      if (yp[i] > doc_width-cloudwidth) {
        xp[i] = (Math.random()*100)+topmargin;
        yp[i] = 0;
        stx[i] = 0;
        sty[i] = speed+(Math.random()*speed);
        doc_width = self.innerWidth;
        doc_height = self.innerHeight;
      }
      dx[i] += stx[i];
      document.layers["dot"+i].top = yp[i] + am[i];
      document.layers["dot"+i].left = xp[i];
    }
    if (run=="yes") setTimeout("cloudNS()", 50);
  }

  function cloudIE_NS6() {  // IE and NS6 main animation function
    for (i = 0; i < no; ++ i) {  // iterate for every dot
      yp[i] += sty[i];
      if (yp[i] > doc_width-cloudwidth) {
        xp[i] = (Math.random()*100)+topmargin; // set position variables
        yp[i] = 0;
        stx[i] = 0;
        sty[i] = speed+(Math.random()*speed);
        doc_width = ns6up?window.innerWidth : document.body.clientWidth;
        doc_height = ns6up?window.innerHeight : document.body.clientHeight;
      }
      dx[i] += stx[i];
      if (ie4up){
        document.all["dot"+i].style.pixelLeft = yp[i] + am[i];
        document.all["dot"+i].style.pixelTop = xp[i];
      }
      else if (ns6up){
      document.getElementById("dot"+i).style.left=yp[i] + am[i]+'px';
      document.getElementById("dot"+i).style.top=xp[i]+'px';
      }   
    }
    if (run=="yes") setTimeout("cloudIE_NS6()", 50);
  }

  if (ns4up) {
    cloudNS();
  } else if (ie4up||ns6up) {
    cloudIE_NS6();
  }
  
  }