<!-- eredeti forráskód: http://www.internet.com, átdolgozta : Siklódi József *** http.sjh.uw.hu -->
  <center>
  <a href="http://sjh.uw.hu">további forráskódok</a>
</center>
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
var no = 50;
var speed = 1;
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
var s, x, y, sn, cs;
var a, r, cx, cy;
var I, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
else
if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
x = new Array();
y = new Array();
r = new Array();
cx = new Array();
cy = new Array();
s = 8;
for (I = 0; I < no; ++ I) { 
initRain();
if (ns4up) {
if (I == 0) {
document.write("<layer name=\"dot"+ I +"\" left=\"1\" ");
document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
document.write(",</font></layer>");
}
else {
document.write("<layer name=\"dot"+ I +"\" left=\"1\" ");
document.write("top=\"1\" visibility=\"show\"><font color=\"blue\">");
document.write("°</font></layer>");
   }
}
else
if (ie4up) {
if (I == 0) {
document.write("<div id=\"dot"+ I +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ I +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
document.write("°</font></div>");
}
else {
document.write("<div id=\"dot"+ I +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ I +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><font color=\"blue\">");
document.write("°</font></div>");
      }
   }
}
function initRain() {
a = 6;
r[I] = 1;
sn = Math.sin(a);
cs = Math.cos(a);
cx[I] = Math.random() * doc_width + 1;
cy[I] = Math.random() * doc_height + 1;
x[I] = r[I] * sn + cx[I];
y[I] = cy[I];
}
function makeRain() {
r[I] = 1;
cx[I] = Math.random() * doc_width + 1;
cy[I] = 1;
x[I] = r[I] * sn + cx[I];
y[I] = r[I] * cs + cy[I];
}
function updateRain() {
r[I] += s;
x[I] = r[I] * sn + cx[I];
y[I] = r[I] * cs + cy[I];
}
function raindropNS() {
for (I = 0; I < no; ++ I) {
updateRain();
if ((x[I] <= 1) || (x[I] >= (doc_width - 20)) || (y[I] >= (doc_height - 20))) {
makeRain();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
document.layers["dot"+I].top = y[I];
document.layers["dot"+I].left = x[I];
}
setTimeout("raindropNS()", speed);
}
function raindropIE() {
for (I = 0; I < no; ++ I) {
updateRain();
if ((x[I] <= 1) || (x[I] >= (doc_width - 20)) || (y[I] >= (doc_height - 20))) {
makeRain();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
document.all["dot"+I].style.pixelTop = y[I];
document.all["dot"+I].style.pixelLeft = x[I];
}
setTimeout("raindropIE()", speed);
}
if (ns4up) {
raindropNS();
}
else
if (ie4up) {
raindropIE();
}
//  End -->
</script>