function redirect()
{
bname=navigator.appName;
if ((bname.indexOf("Microsoft")!=-1)||(navigator.userAgent.indexOf("opera")!=-1))
	{
	fade();	
}  
if (bname.indexOf("Netscape")!=-1)
	{
	mfade();	
}  
if ((navigator.userAgent.indexOf("Safari")!=-1)||(bname.indexOf("Mozilla")!=-1))
             {
                fadeIn();
}}
//---------------------------------------------------------------------------------------------IE functions

el_to_fade = new Array('fade'), a=0, op=75;
	
	function fade() {
		
		var to_fade = document.getElementById(el_to_fade[a]);

		if (op > 25) {
			
			to_fade.style.filter="alpha(opacity=" +  op + ")";
			op-=.3;
                           		} 
			else {
		if (up <= 100) {

			to_fade.style.filter="alpha(opacity=" +  up + ")";
			up+=.3;
                           		} 
			else {

			op = 100;
			up = 25;

			}
			}
			
		if (a < 1) {
			setTimeout("fade()",10);
			}
			}

//-------------------------------------------------------------------------------------Mozilla functions

var  i=75;
var  h=25;
function mfade() {
if(i>25)         {   
                 window.document.getElementById("fade").style.MozOpacity=(i/100);
                       i-=.3; setTimeout('mfade()', 0);     
                    }
  else        { mfade2();  }

}
function mfade2() {
if(i<100)        {
		 window.document.getElementById("fade").style.MozOpacity=(i/100);
		       i+=.3;   setTimeout('mfade2()', 0);
			}
	else { i=100; mfade();}

}

function mfade5()   {

if(i<100)         {  
                       window.document.getElementById("fade5").style.MozOpacity= (i/100);
                       i+=1;   setTimeout('mfade5()', 0);
                      }  }

//------------------------------------------------------------------------------------------Safari functions

el_to_fade = new Array('fade'), a=0, op=75, up=25;
	
	function fadeIn() {
		
		var to_fade = document.getElementById(el_to_fade[a]);

		if (op > 15) {

			to_fade.style.opacity = op/100;
			op-=.05;

		}

		else {
                if (up < 100) {
			to_fade.style.opacity = up/100;
			up+=.05;
		}
		else {
			op = 100;
			up = 15;
		}
		}
		if ((a < 1)) {
			
			setTimeout("fadeIn()",0);
			
		}
              }  
			
	
