var timer2;
var gg = 1;
var gi = 1;
var dc = document.getElementById('glogo');
function stopfadetimer(){
	clearTimeout(timer2);
	if ((navigator.appName=="Microsoft Internet Explorer")){
		dc.filters.alpha.opacity=100;
	}
	else{
		dc.style.opacity=1;
	}	
	gg=100;
	gi=-1;
}
 
function fadeinout() {
	if ((navigator.appName=="Microsoft Internet Explorer")){
		dc.filters.alpha.opacity=gg;
	}
	else{
		dc.style.opacity=gg/100;
	}	
	gg=gg+gi;
	if (gg > 99){gi = -1};
	if (gg < 1){gi = 1};

	timer2=setTimeout('fadeinout()', 300);
}

timer2=setTimeout('fadeinout()', 5000);


function wow(){
	dc.onmouseout='';
	dc.onmouseover='';
	hideTip(dc);
	stopfadetimer();
	if (typeof scrollTitleTimer != 'undefined') {clearTimeout(scrollTitleTimer);}
	setTimeout('location="http://geol.com"', 60000);
	document.title='Boom!';
	R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200;
	//DI=document.getElementsByClassName("menutest2");
	DI=document.getElementsByTagName("div");
	DIL=DI.length;
	setInterval('wowA()',50);
	void(0);
	ooops();

}
function wowA(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; 
	DIS.position='absolute'; 
	DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; 
	DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++;
}
function ooops(){
	TINY.box.show('<img src="http://www.geol.com/oops3.jpg" height="398px" width="255px">',0,0,0,0,30);
}





