|
<SCRIPT>
var
abject = new Object(), nb_pic = 0
function zigo() {
var lezimages = document.all.tags("IMG")
nb_pic = lezimages.length
for(nique = 0; nique < lezimages.length; nique++)
abject[nique] = new a(nique, lezimages[nique])
}
function a(my,
gdale){
this.er = my
this.o = gdale
this.obj = gdale.style
this.ww = gdale.offsetWidth
this.hh = gdale.offsetHeight
this.idT = 0
this.raz = raZ
this.grow = groW
this.slideUp = slid3
this.slideLeft = slid4
this.shrink = shrinK
if(my==0) this.raz()
}
function raZ() {
this.dy = 4
this.dx = 1 + this.dy * this.ww / this.hh
this.dw = this.dy
this.dz = this.dx * this.ww / this.hh
this.obj.pixelTop = document.body.offsetHeight - Math.round(Math.random()
* 16)
this.obj.pixelLeft = Math.round(Math.random() * 32 - 16)
this.obj.pixelHeight = 0
this.obj.zIndex = -1
this.grow()
}
function groW(){
with (this) {
obj.pixelHeight += dw
obj.pixelTop -= dw
if (obj.pixelHeight >= hh){
var re = (er + 1) % nb_pic
clearTimeout("abject[" + re + "].idT")
abject[re].raz()
slideUp()
} else idT = setTimeout("abject[" + er +
"].grow()",33)
}
}
function slid3(){
with (this) {
obj.pixelTop -= dy
if (obj.pixelTop < dy) slideLeft(); else idT =
setTimeout("abject[" + er + "].slideUp()",33)
}
}
function slid4(){
with (this) {
obj.pixelLeft += dx
if (obj.pixelLeft > document.body.offsetWidth - ww)
shrink(); else idT =
setTimeout("abject[" + er + "].slideLeft()",
33)
}
}
function shrinK(){
with (this) {
obj.pixelHeight -= dw
obj.pixelLeft += dz
if (obj.pixelHeight > dw) idT = setTimeout("abject["
+ er + "].shrink()", 33); else obj.pixelHeight = 0
}
}
//-->
</SCRIPT>
<STYLE>BODY
{
BACKGROUND-POSITION: 100% 100%; MARGIN-TOP: 120px;
FONT-WEIGHT: normal; FONT-SIZE: 13px; BACKGROUND-ATTACHMENT:
fixed; MARGIN-LEFT: 140px; CURSOR: hand; COLOR: red;
MARGIN-RIGHT: 6em; BACKGROUND-REPEAT: no-repeat; FONT-STYLE:
normal; FONT-FAMILY: Bradley Hand ITC; BACKGROUND-COLOR: black;
FONT-VARIANT: normal
}
BLOCKQUOTE {
PADDING-RIGHT: 0.75em; PADDING-LEFT: 0.75em;
PADDING-BOTTOM: 0.75em; MARGIN: 0.5em; BORDER-LEFT: peru 4px
outset; COLOR: red; PADDING-TOP: 0.75em; FONT-STYLE: italic
}
IMG {
POSITION: absolute; TOP: -1200px
}
A {
COLOR: white; TEXT-DECORATION: none
}
A:hover {
COLOR: white; TEXT-DECORATION: none
}
</STYLE><IMG src="endereço
da figura aqui">
<IMG src="endereço
da figura aqui">
<IMG src="endereço
da figura aqui">
<IMG src="endereço
da figura aqui">
<IMG src="endereço
da figura aqui">
<IMG src="endereço
da figura aqui">
<DIV> </DIV>
<SCRIPT>
setTimeout('zigo()', 200, 'JAVASCRIPT')
</SCRIPT>
|