<!--
	var ns4=document.layers?1:0
	var ie4=document.all?1:0
	var ns6=document.getElementById&&!document.all?1:0
	var win;
	function testanchor(anchorname)
	{
	var anchorexists
	if (ns4)
		{
		anchorexists = eval('document.anchors["' + anchorname + '"]')
		}
	if (ie4)
		{
		anchorexists = eval('document.anchors("' + anchorname + '")')
		}
	if (ns6)
		{
		anchorexists = eval('document.anchors["' + anchorname + '"]')
		}
	if (anchorexists==null) 
		{return false}
	else
		{return true}
	}
	function overcolor(item)
	{
	if (ns4)
		{
		this.captureEvents(Event.MOUSEUP)
		this.onmouseup=function(){nsclickhandler(item.name)};
		item.bgColor="FFAD00";
		}
	else
		{
		item.style.backgroundColor="FFAD00";
		}
	}
	function outcolor(item)
	{
	if (ns4)
		{
		this.releaseEvents(Event.MOUSEUP)
		item.bgColor="A0ADB5";
		}
	else
		{
		item.style.backgroundColor="A0ADB5";
		}
	}
	
	function openInPopup(url)
    {
        var scrWidth = window.screen.availWidth;
        var scrHeight = window.screen.availHeight;
        var winWidth = (scrWidth >= 800 ? 800 : scrWidth) - 200;
        var winHeight = (scrHeight >= 600 ? 600 : scrHeight) - 200;
        var win = window.open(url, '_blank', 'resizable=1,scrollbars=1,width='+winWidth+',height='+winHeight+',screenX='+(scrWidth - winWidth) / 2+',screenY='+(scrHeight - winHeight) / 2+',left='+(scrWidth - winWidth) / 2+',top='+(scrHeight - winHeight) / 2);
reloadImg();
    }
    
    	function openResultsInPopup(url)
    {
        var scrWidth = window.screen.availWidth;
        var scrHeight = window.screen.availHeight;
        var winWidth = (scrWidth >= 800 ? 800 : scrWidth) - 390;
        var winHeight = (scrHeight >= 600 ? 600 : scrHeight) - 320;
        var win = window.open(url, '_blank', 'resizable=0,scrollbars=0,width='+winWidth+',height='+winHeight+',screenX='+(scrWidth - winWidth) / 2+',screenY='+(scrHeight - winHeight) / 2+',left='+(scrWidth - winWidth) / 2+',top='+(scrHeight - winHeight) / 2);
reloadImg();
    }

	
	function NewSite(newurl)
	{
	win=window.open(newurl, 'newSite','toolbar=yes,menubar=yes,location=yes,status=yes,height=400,width=400,top=00,left=00,resizable,scrollbars');
	setTimeout('win.focus();',500);
        reloadImg();
	}
	function nsclickhandler(newLoc)
	{
		if (testanchor(newLoc))
			
			{			
			location.hash = newLoc;
			}
		else
			{
			alert("There are no entries for this section")
			}	}

	function swappageloc(newLoc)
	{
		if (testanchor(newLoc))
			
			{			
			location.hash = newLoc;
			}
		else
			{
			alert("There are no entries for this section")
			}
	}	
	function swaplocation(newLoc)
	{
	if (newLoc.indexOf("dest") > -1)
		{
		window.open(newLoc, 'destinfo','menubar=no,height=470,width=697,top=100,left=100,scrollbars');
		}
	else
		{
		if (newLoc.indexOf("datahome.oag.com") > -1)
			{
			NewSite('http://datahome.oag.com')
			}
		else
			{
			location.href = newLoc;
			}
		}
	}
	function writeMenuButton(buttontext, buttonlink, buttonnumber, hilite)
	{
	document.write("<tr><td width=138>")
	if (ns4)
		{
		if (hilite)
			document.write('<ilayer><layer onfocus=swaplocation("' + buttonlink + '") width="100%" bgcolor="#FFAD00">');
		else
			document.write('<ilayer><layer onfocus=swaplocation("' + buttonlink + '") onmouseover="overcolor(this)" onmouseout="outcolor(this)" width="100%" bgcolor="#A0ADB5">');
		document.write('<img src="/graphics/global/spacer.jpg" height=0><br>');
		document.write('<table background=""><tr><td class=menuitem width=118>' + buttontext + '</td><td width=20 class=menunumber valign=top>' + buttonnumber + '</td></tr></table>');
		document.write('</layer></ilayer>')
		}
	else
		{
		if (hilite)
			document.write('<div width=100% onclick=swaplocation("' + buttonlink + '") style="background-color:#FFAD00;cursor:hand">')
		else
			document.write('<div width=100% onclick=swaplocation("' + buttonlink + '") onmouseover="overcolor(this)" onmouseout="outcolor(this)" style="background-color:#A0ADB5;cursor:hand">')
		document.write('<table><tr><td class=menuitem width=118>' + buttontext + '</td><td width=20 class=menunumber valign=top>' + buttonnumber + '</td></tr></table>')
		document.write('</div>');
		}
	document.write('</td>');
	document.write('</tr>');
	document.write('<tr>');	
	document.write('<td height=1 background="/graphics/global/spacer.jpg"><img src="/graphics/global/spacer.jpg"><br>');
	document.write('</td>');
	document.write('</tr>');
	}

	function writeMenu()
	{
	document.write('<table cellpadding=0 cellspacing=0 border=0 width=138>');
	for (var x=0;x < menutextlist.length; x++)
		{
		if (x==hiliteItem)
			writeMenuButton(menutextlist[x], menulinklist[x],"0" + (x+1), 1);
		else
			writeMenuButton(menutextlist[x], menulinklist[x],"0" + (x+1), 0);
		}
	document.write('<tr><td height=20>&nbsp;</td></tr>');
	document.write('</table>');
	}

var alphaArray= new Array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z')

function writeAlphaCell(letter)
	{
	var cellwidth = 28
	if (letter=='A'||letter=='N')
		{ 
		cellwidth=30;
		}
	if (letter=='M'||letter=='Z')
		{ 
		cellwidth=30;
		}
	document.write("<td width=' + cellwidth + ' height=34>")
	if (ns4)
		{
		document.write('<ilayer><layer name="' + letter  +'" onclick=swappageloc("' + letter + '") onmouseover="overcolor(this)" onmouseout="outcolor(this)" width=' + cellwidth + ' height="34" bgcolor="#A0ADB5">');
		document.write('<img src="/graphics/global/1pxl_clear.gif" height=0 width=0>');
		document.write('<table background="" cellpadding="0" cellspacing="0" border=0><tr height=34><td class=menuitem width=' + cellwidth + ' height=34 align=center>' + letter + '</td></tr></table>');
		document.write('</layer></ilayer>')
		}
	else
		{
		document.write('<div height=100% width=100% onclick=swappageloc("' + letter + '") onmouseover="overcolor(this)" onmouseout="outcolor(this)" style="background-color:#A0ADB5;cursor:hand">')
		document.write('<table cellpadding=0 cellspacing=0 border=0><tr><td class=menuitem width=' + cellwidth + ' height=35 align=center>' + letter + '</td></tr></table>')
		document.write('</div>');
		}
	document.write('</td>');
	}
function writeAlphaTable(titleText)
	{
	document.write('<table cellpadding=0 cellspacing=0 border=0 width=380>');
	document.write('<TR><td width=20 class=contenttitle>&nbsp;</td><td class=contenttitle height=25 width=360>' + titleText + '</TD><td width=20 class=contenttitle>&nbsp;</td></TR></table>')
	document.write('<table cellpadding=0 cellspacing=0 border=0 width=380>');
	document.write('<tr><td height=1 colspan=25 background="/graphics/global/spacer.jpg"><img src="/graphics/global/spacer.jpg"></td></tr>');
	document.write('<tr>');

	for (var x=0;x < 13; x++)
		{
			writeAlphaCell(alphaArray[x]);
			if (x!=12)
			{
			document.write('<td height=34 width=1 background="/graphics/global/spacer.jpg"><img src="/graphics/global/spacer.jpg"><br></td>');
			}
		}
	document.write('</tr>');
	document.write('<tr><td height=1 colspan=25 background="/graphics/global/spacer.jpg"><img src="/graphics/global/spacer.jpg"></td></tr>');
	document.write('<tr>');
	for (var x=13;x < 26; x++)
		{
			writeAlphaCell(alphaArray[x]);
			if (x!=25)
			{
			document.write('<td height=34 width=1 background="/graphics/global/spacer.jpg"><img src="/graphics/global/spacer.jpg"><br></td>');
			}
		}
	document.write('</tr></table>');
	}
function loLite(name)
{
if (document.images&&document.images[name])
	{
	document.images[name].src=window[name+'off'].src;
	}
}

function hiLite(name)
{
	if (document.images&&document.images[name])
	{
		document.images[name].src=window[name+'on'].src;
	}
}

function ShowHideSub(menuName, menuNum, action)
{
	var layer;
	if (menuName=='Main'&& menuNum==1)
	{
		layer=GetLayer("subMenu1");
	}else if (menuName=='Main'&& menuNum==3){
		layer=GetLayer("subMenu2");
	}else if (menuName=='memberHome'&& menuNum==1){
		layer=GetLayer("subMenu3");
	}else if (menuName=='memberHome'&& menuNum==2){
		layer=GetLayer("subMenu4");
	}else if (menuName=='memberHome'&& menuNum==5){
		layer=GetLayer("subMenu5");
	}else if (menuName=='memberHome'&& menuNum==6){
		layer=GetLayer("subMenu6");
	}

	layer.visibility= (action == "h") ? "hidden" : "visible";

}

function GetLayer(name)
{
	var layer;
	if (ns4) 
	{
    return CSFindElement(name,0);
    }
    if (ie4)
    {   layer = eval('document.all.' + name + '.style');
        return(layer);
    }
    if (ns6)
    {   layer = eval('document.getElementById("' + name + '").style');
        return(layer);
    }     
}


function CSFindElement(n,ly) 
{ 
	CSAg = window.navigator.userAgent; 
	CSBVers = parseInt(CSAg.charAt(CSAg.indexOf("/")+1),10);
	if (CSBVers < 4) return document[n];
	var curDoc = ly ? ly.document : document; var elem = curDoc[n];
	if (!elem) 
	{  for (var i=0;i<curDoc.layers.length;i++) 
		{   elem = CSFindElement(n,curDoc.layers[i]); if (elem) return elem; 
		}
	}
	return elem;
}

function reloadImg()
{
	if (document.images['Image1']!=null)
		{
		document.Image1.src =  "/oagdata/graphics/layout/image1.gif";
		}
	if (document.images['Image2']!=null)
		{
		document.Image2.src ="/oagdata/graphics/layout/image2.gif";
		}

	if (document.images['Image3']!=null)
		{
		document.Image3.src =  "/oagdata/graphics/layout/image3.gif";
		}
	if (document.images['memberImage1']!=null)
		{
		document.memberImage1.src ="/oagdata/graphics/layout/memberimage1.gif";
		}
	if (document.images['memberImage2']!=null)
		{
		document.memberImage2.src = "/oagdata/graphics/layout/memberimage2.gif";
		}
	if (document.images['memberImage3']!=null)
		{
		document.memberImage3.src =  "/oagdata/graphics/layout/memberimage3.gif";
		}
	if (document.images['whatoagdo']!=null)
		{
		document.whatoagdo.src = "/oagdata/graphics/layout/whatoagdo.gif";
		}
}
// -->
