function detectBrowser()
{
	var BrowserName = navigator.appName; 
	var BrowserVersion = parseInt(navigator.appVersion); 
	if(BrowserName == "Netscape" && BrowserVersion >= 4) version = "n4"; 
	else if (BrowserName == "Netscape" && BrowserVersion == 3) version = "n3"; 
	else if (BrowserName == "Netscape" && BrowserVersion == 2) version = "n2"; 
	else if (BrowserName == "Microsoft Internet Explorer" && BrowserVersion >= 
	2) version = "e3";
	
	//alert("Browser: " + BrowserName + "  .... and Version: " + BrowserVersion);
}

function showcq(thisQuote)
{

	var thisDiv, divSource;	
	
	for(var i=16;i>0;i--)
		{
			thisDiv = "cq" + i;
			divSource = document.getElementById(thisDiv);
			
			if(i != thisQuote)
				{
					divSource.style.display = "none";
				}
			else
				{
					divSource.style.display = "block";
				}
	
		}	

}

function showAlpa(thisAlpha)
{

	var thisDiv, divSource;	
	var thisImg, imgSource;
	
	thisImg = "imgAlpha";
	imgSource = document.getElementById(thisImg);
	
	for(var i=26;i>0;i--)
		{
			thisDiv = "alpha" + i;
			divSource = document.getElementById(thisDiv);
			
			if(i != thisAlpha)
				{
					divSource.style.display = "none";
				}
			else
				{
					divSource.style.display = "block";
					imgSource.src = "images/alpha-" + thisAlpha + ".jpg";
				}
	
		}	

}
	
	

function showThis(thisDiv)
{

var totDiv;
totDiv = 3;

var whichDiv, divSource;
var whichDivLarge, divLSource;
var whichDivSmall, divSSource

for(var i=totDiv;i>=0;i--)
	{			
		if(i != thisDiv)
			{
				hideThis(i);
			}	
		else
			{
				//get the div info
				whichDiv = "Div" + thisDiv;
				whichDivLarge = "largeText" + thisDiv;
				whichDivSmall = "smallText" + thisDiv;
				
				divSource = document.getElementById(whichDiv);
				divLSource = document.getElementById(whichDivLarge);
				divSSource = document.getElementById(whichDivSmall);
				
				if(thisDiv == "1")
					{
						divSource.className = "menuHover1";		
						//hideLogo();				
					}
				else if(thisDiv == "2")
					{
						divSource.className = "menuHover2";
						//hideLogo();
					}
				else if(thisDiv == "3")
					{
						divSource.className = "menuHover3";
						//hideLogo();
					}
				
				divLSource.className = "LargeText";
				divSSource.className = "SmallText";
				
				hideLogo();
				
			}						
	}
}

function showLogo()
{

	var whichDivSmall, divSSource;
	whichDivSmall = "smallText0";
	
	divSSource = document.getElementById(whichDivSmall);
	divSSource.className = "SmallPic";
	
}


function hideLogo()
{

	var whichDivSmall, divSSource;
	whichDivSmall = "smallText0";
	
	divSSource = document.getElementById(whichDivSmall);
	divSSource.className = "SmallPicNone";
	
}

function hideThis(thisDiv)
{
	var whichDiv, divSource;
	var whichDivLarge, divLSource;
	var whichDivSmall, divSSource
	
	//get the div info
	whichDiv = "Div" + thisDiv;
	whichDivLarge = "largeText" + thisDiv;
	whichDivSmall = "smallText" + thisDiv;
	
	try
		{
			divSource = document.getElementById(whichDiv);				
			divSource.className = "menuNoHover";
			
			divLSource = document.getElementById(whichDivLarge);
			divLSource.className = "LargeTextNone";
			
			divSSource = document.getElementById(whichDivSmall);
			divSSource.className = "smallTextNone";
		}
	catch(e)
		{
		
		}					

}

function hideAll()
{
hideThis(1);
hideThis(2);
hideThis(3);

}


function showThis2(thisDiv)
{

var totDiv;
totDiv = 3;

var whichDiv, divSource;

for(var i=totDiv;i>=0;i--)
	{			
		if(i != thisDiv)
			{
				hideThis(i);
			}	
		else
			{
				//get the div info
				whichDiv = "Div" + thisDiv;
						
				divSource = document.getElementById(whichDiv);
				
				if(thisDiv == "1")
					{
						divSource.className = "menuHover1";						
					}
				else if(thisDiv == "2")
					{
						divSource.className = "menuHover2";
					}
				else if(thisDiv == "3")
					{
						divSource.className = "menuHover3";
					}
				
			}						
	}
}





