<!-- Begin
for (i = 0; i < no; ++ i)
{
   dx[i] = 0;                             // set coordinate variables
  amy[i] = Math.random() * 10;            // set amplitude variables
  amx[i] = 10;
  resetall();
  amx[i] = Math.random() * 120;
  var fnames=fname, flocations=flocation;
  if (i==1){
    var fnames=fname1, flocations=flocation1;
  } else if (i==2){
    var fnames=fname2, flocations=flocation2;
  }
  if (ns4up)
  {                                       // set layers
    document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
    document.write("top=\"15\" visibility=\"show\"><a href=\"");
    document.write(flocation+ "\" target=\"new\" onMouseOver=\"window.status=\'"+fnames+"\';popup(\'"+fnames+"\',\'#EEEEEE\',\'3\'); return true;\" onMouseOut=\"window.status=\'Make u Selection\';kill()\">");
    document.write("<img src=\""+floating+ "\" border=\"0\"></layer>");
  } else if (ie4up) {
    document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
    document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
    document.write("visible; TOP: 15px; LEFT: 15px;\"><a CLASS=\"COM\" href=\"");
    document.write(flocations+ "\" target=\"new\" onMouseOver=\"window.status=\'"+fnames+"\';popup(\'"+fnames+"\',\'#EEEEEE\',\'3\'); return true;\" onMouseOut=\"window.status=\'Make u Selection\';kill()\">");
    document.write("<img src=\""+floating+ "\" border=\"0\"></div>");
  }
}

function snowNS()
{                                         // Netscape main animation function
 for (i = 0; i < no; ++ i)
 {
   snowall();
   document.layers["dot"+i].top = yp[i] + amy[i]*(Math.abs(Math.sin(dx[i])+dx[i]));
   document.layers["dot"+i].left = xp[i] + amx[i]*dx[i];
 }
setTimeout("snowNS()", speed);
}

function snowIE()
{                                         // IE main animation function
 for (i = 0; i < no; ++ i)
 {
   snowall()
   document.all["dot"+i].style.pixelTop = yp[i] + amy[i]*(Math.abs(Math.sin(dx[i])+dx[i]));
   document.all["dot"+i].style.pixelLeft = xp[i] + amx[i]*dx[i];
 }
setTimeout("snowIE()", speed);
}

function snowall()
{
 if (xp[i] < -100)
 {
   resetall();
 }
 dx[i] -= stx[i];
 if (Math.abs(dx[i]) > Math.PI)
 {
   yp[i]+=Math.abs(amy[i]*dx[i]);
   xp[i]+=amx[i]*dx[i];
   dx[i]=0;
 flag[i]=!flag[i];
 }
}

function resetall()
{
  xp[i] = doc_width-75;
  yp[i] = Math.random()*(doc_height-amy[i]-40);
 stx[i] =(Math.random()+.02)/10;
 sty[i] = Math.random()+.05;
flag[i] =(Math.random()<0.5)?1:0;
 pageset();
}

function pageset()
{
 ns4up=(document.layers)?1:0;        // browser sniffer
 ie4up=(document.all)?1:0;
 if (ns4up)
 {
   doc_width = self.innerWidth;
   doc_height = self.innerHeight;
 } else if (ie4up) {
   doc_width = document.body.clientWidth;
   doc_height = document.body.clientHeight;
 }
}

if (ns4up) {snowNS();} else if (ie4up) {snowIE();}
// End -->

