var n = (document.layers) ? 1:0;
var ie = (document.all) ? 1:0;

if (n) timelogo = 90
else timelogo = 70

function makePageCoords(){

this.x=0;this.x2=(n)?innerWidth:document.body.offsetWidth;
this.y=0;this.y2=(n)?innerHeight:document.body.offsetHeight;

this.x50=300;	this.y50=160;
}

function makeObj(obj,nest,x,y)
{
nest=(!nest) ? '':'document.'+nest+'.'										
this.css=(n) ? eval(nest+'document.'+obj):eval('document.all.'+obj+'.style')		
this.evnt=(n)? eval(nest+'document.'+obj):eval(obj);	
this.ref=(n) ? eval(nest+'document.'+obj+'.document'):eval('document');		
if(x && y) { this.pagex=x; this.pagey=y; this.place=b_place;}
this.scrollHeight=n?this.ref.height:this.evnt.offsetHeight
this.scrollWidth=n?this.ref.width:this.evnt.offsetWidth
this.x=(n)? this.css.left:this.css.pixelLeft;
this.y=(n)? this.css.top:this.css.pixelTop;							
this.moveIt=b_moveIt;
this.hideIt=b_hideIt;
this.showIt=b_showIt;
this.clipTo=b_clipTo;				
this.obj = obj + "Object"; 	eval(this.obj + "=this"); 
return this
}
function b_moveIt(x,y){this.x=x; this.y=y;
this.css.left=this.x;this.css.top=this.y}
function b_hideIt(){this.css.visibility="hidden"}
function b_showIt(){this.css.visibility="visible"}
function b_clipTo(t,r,b,l){
if(n){this.css.clip.top=t;this.css.clip.right=r
this.css.clip.bottom=b;this.css.clip.left=l
}
else
{this.css.clip="rect("+t+","+r+","+b+","+l+")";}}

function intro_init(){
	oEnter=new Array()
	for(i=30;i<=34;i++){
		oEnter[i]=new makeObj('divEnter'+i,'')
			}
		ocapital = makeButton('capital','',0)
		introend(15)
}

function hidivs2(num){
if(num<35){
	oEnter[num].showIt();
	num++;
action = setTimeout("hidivs2("+num+")",timelogo)
}
else{
	for(i=30;i<=33;i++){
		oEnter[i].hideIt();
	}
		action= setTimeout("init()",100);
	}
}

function introend(){

clearTimeout (action);
ocapital.hideIt()
action= setTimeout("hidivs2(30)",100);
}


