// JavaScript Document

///////////////////////////////////////////////////////
// Script:Gerard.Ferrandez - Jan 2001 - Ge-1-doot -
// news://news.leibowitz.org/nzn.fr.html
// http://www.dhteumeuleu.com
///////////////////////////////////////////////////////
window.onerror = new Function("return true")
document.onselectstart = new Function("return false")
screen.bufferDepth = 16

object = new Array()
function chtOnk(i)
{
	with (this) {
		with (obj.children[i].style) {
			visibility="visible"
			pixelLeft=pixelLeft/1.1
			if(pixelLeft!=0)setTimeout("object["+N+"].chtOnk("+i+")",32);
			else{
				if(i==0){
					MT[i].style.visibility="visible"
					setTimeout("object["+N+"].zOOm(0)",1000)
				}
			}
		}
	}
}

function dEc(i)
{
	with (this){
		with(MT[i].style){
			if(pixelLeft>0)pixelLeft--
			setTimeout("object["+N+"].dEc("+i+")",32)
		}
	}
}
function zOOm(i)
{
	with (this){
		with(MT[i].style){
			color="RGB("+(cR*(P-K)*P2)+","+(cG*(P-K)*P2)+","+(cB*(P-K)*P2)+")"
			top=-3*K*(K/2)+1
			left=-(1.5*K*(K/2))+(FS/5)
			fontSize=FS+(4*K*(K/2))
			K--
			if(K==P-2)if(i<NL-1)setTimeout("object["+N+"].zOOm("+(i+1)+")",32)
			if(K>=0)setTimeout("object["+N+"].zOOm("+i+")",32);
			else {
				K=P
				if(i==NL-1)setTimeout("object["+N+"].zOOm(0)",1000)
			}
		}
	}
}

function CObj(N,obj,cR,cG,cB,TXT,P,E,FS)
{
	this.P=P
	this.P2=255/P
	this.cR=cR
	this.cG=cG
	this.cB=cB
	this.FS=FS
	this.N=N
	this.obj=obj
	this.MT = new Array()
	MM = TXT.split(" ")
	for(i=0;i<MM.length;i++){
 		L = MM[i]
		o="<span style='visibility:hidden;position:relative;z-index:"+(-i)+";color:RGB("+(((cR*P)*this.P2)+","+((cG*P)*this.P2)+","+((cB*P)*this.P2))+");font-size:"+FS+"'>"+L
		o+="<div style='FILTER:alpha(opacity=50);K="+P+";position:absolute;font-size:1pt;color:#000000'>"+L+"</div><span>"
		obj.insertAdjacentHTML("BeforeEnd",o)
		this.MT[i]=obj.children[i].children[0]
	}
	this.NL=i
	this.zOOm=zOOm
	this.chtOnk=chtOnk
	this.dEc=dEc
	if(E) {
		esp=0;for(i=0;i<this.NL;i++)esp-=i
		for(i=0;i<this.NL;i++) {
			obj.children[i].style.left=esp*2
			esp+=this.NL
			setTimeout("object["+N+"].chtOnk("+i+")",300)
		}
	}
	else {
		for(i=0;i<this.NL;i++)
			obj.children[i].style.visibility="visible"
		setTimeout("object["+N+"].zOOm(0)",100)
	}
	for(i=0;i<this.NL;i++) {
		setTimeout("object["+N+"].dEc("+i+")",100)
	}
	
	
	setTimeout("stop_zyva()",8000)
}

function zyva()
{
//	document.body.style.cursor="crosshair"
//	document.body.style.cursor="hand"
	document.getElementById("T0").style.cursor = "hand";
// 	CObj(N,obj,cR,cG,cB,TXT,P,E,FS)
	object[0] = new CObj(0,T0,1,1,2,'w w w . l i n e - d e s i g n . e u',14,1,48);
	//object[1] = new CObj(1,T1,1,1,2,'w w w . e u r o p a - d e s i g n . e u',14,1,48)
}

function stop_zyva() {
	window.location = 'main.php'
}
