function snowIE() { // IE main animation function
setTimeout("snowNS()", speed);
document.layers["dot"+i].left = xp[i] + amx[i]*dx[i];
document.layers["dot"+i].top = yp[i] + amy[i]*(Math.abs(Math.sin(dx[i])+dx[i]));
yp[i]+=Math.abs(amy[i]*dx[i]);
flag[i]=(Math.random() Math.PI) {
xp[i] = 10+ Math.random()*(doc_width-amx[i]-30);
for (i = 0; i doc_height-50) {
function snowNS() { // Netscape main animation function
if (ns4up) { // set layers
doc_height = document.body.clientHeight;
doc_width = document.body.clientWidth;
doc_height = self.innerHeight;
var i, doc_width = 1000, doc_height = 600;
var am, stx, sty; // amplitude and step variables
var dx, xp, yp; // coordinate and position variables
var ie4up = (document.all) ? 1 : 0;
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var heart = "http://www.ld-tur.ru/main/snow.gif";
Отдых в Геленджике 2013 цены Туры в Геленджик
Комментариев нет:
Отправить комментарий