<!--

//	window.onresize = resizeCheck;

	var g_bDHTML, g_bIE, g_bIEMac;

	if(document.all)
	{
		g_bDHTML = g_bIE = true;
		g_bIEMac = (navigator.appVersion.indexOf("Mac")>-1)
	}

	if(document.layers) 
	{
		g_bDHTML = true;
		g_bIE = g_bIEMac = false;
	}



function resizeCheck() 
{
	if(!g_bIE)
		if(navigator.appVersion.substring(0,1) == 4 && navigator.appVersion.substring(3,4) <= 3)
			location.href = location.href; 
}

function cancelEventBubble()
{
	if(window.event)
		window.event.cancelBubble = true;
}

function cancelEventAll()
{
	if(window.event)
	{
		window.event.cancelBubble = true;
		window.event.returnValue = false;
	}
}

////////////////////////////////////////////////////////////////////////////////
//  Popper Code

var bPoppersLoaded = false;
var nPoppersDisplayed = 0;

var nLeftBound = 0;
var nRightBound = 10000;

function initPoppers() 
{
	bPoppersLoaded = true;
	document.onmouseup = cancelAllPoppers;
}

function isPoppersReady()
{
	// For Netscape we need the abstraction layer to be loaded
	if(g_bIE)
		return bPoppersLoaded;
	else
		return bPoppersLoaded && (document.readyState == "complete");
}

function animPopper(popperName, nIncrement) 
{
	// Get the poppout
	var popper = document.all[popperName];
	var bContinue = false;

	// Direction to animate
	if(popper._dir) 
	{
		popper._pos += nIncrement;
		bContinue = (popper._pos < popper.offsetHeight);
	}
	else 
	{
		popper._pos -= nIncrement;
		bContinue = (popper._pos > 0);
	}

	// Do the actual jazz
	popper.style.clip = "rect(0 " + popper.offsetWidth + " " + popper._pos + " " + 0 + ")";

	// Are we done?
	if (bContinue)
		setTimeout("animPopper('" + popperName + "'," + nIncrement + ")", 20);
	else 
		if(!popper._dir)
			popper.style.clip = "rect(0 0 0 0)";
}

function showPopper(popperName, sPosGuide) 
{
	// Try again in 1 second
	if(!isPoppersReady())
	{
		setTimeout("showPopper('" + popperName + "');", 1000);
		return;
	}

	var popper = document.all[popperName];

	if(!popper)
		return;

	// Already animating
	if (popper._dir) 
		return;
		
	// Set dir to null before cancelling so we don't get canceled
	popper._dir = null;
	cancelAllPoppers();

	if (g_bIEMac) 
	{
		popper.style.visibility = "visible";
		nPoppersDisplayed++;
		return;
	}

	// Only init if not moving yet
	if(popper._dir == null)
	{ 
		popper._pos = 0;
		popper.style.clip = "rect(0 " + popper.offsetWidth + " " + 0 + " " + 0 + ")";
		
		if(sPosGuide) 
		{
			if(sPosGuide.length > 0) 
			{
				var posGuide = document.all[sPosGuide];
				
				if(posGuide)
				{
					var nLeftPos = posGuide.offsetLeft - 10;
					
					popper.style.top = posGuide.offsetTop;
					
					// Check to make sure we're in the boundaries
					if(nLeftPos + popper.offsetWidth > nRightBound)
						// If not then move so right side aligns
						nLeftPos = posGuide.offsetLeft + posGuide.offsetWidth - popper.offsetWidth + 10;
		
					// Check to make sure the left didn't go out
	 				// alert(nLeftPos);
					if(nLeftPos < nLeftBound)
						// Move back on screen
						nLeftPos = nLeftBound;

					popper.style.left = nLeftPos;
								
				}
			}
		}
	}

	popper.style.visibility = "visible";
	popper.style.zorder = 10;
	popper._dir = true;
	popper.onmouseup = cancelEventBubble;
	nPoppersDisplayed++;
	
	animPopper(popperName, Math.ceil(popper.offsetHeight / 7));
}

function setBoundaries(boundLeftName, boundRightName)
{
	if(!isPoppersReady())
		return;
				
	var bound = document.all[boundLeftName];

	if(bound)
		nLeftBound = bound.offsetLeft;

	bound = document.all[boundRightName];

	if(bound)
		nRightBound = bound.offsetLeft + bound.offsetWidth;

}

function hidePopper(popperName) 
{

	if (!isPoppersReady()) 
		return;

	var popper = document.all[popperName];

	// Already animating away
	if ((popper._dir == null) || (!popper._dir)) 
		return;

	popper._dir = false;
	nPoppersDisplayed--;
	popper.style.zorder = 2;

	if (g_bIEMac) 
		popper.style.visibility = "hidden";
	else
		animPopper(popperName, Math.ceil(popper.offsetHeight / 7));
}	

function cancelAllPoppers() 
{

	if (!isPoppersReady()) 
		return;
		
	if(nPoppersDisplayed <= 0)
		return;

	// Cycle through collections and see if any poppers are out
	if(g_bIE)
		var nElements = document.all.length;
	else
		var nElements = document.layers.length;

	for(nCnt = 0; nCnt < nElements; nCnt++){
		if(g_bIE){
			if(document.all[nCnt]._dir != null){
				hidePopper(document.all[nCnt].id);
			}
		}
		else {
			if(document.all[document.layers[nCnt].id]._dir != null) {
				hidePopper(document.layers[nCnt].id);
			}
		}
	}

}	

//: -->