<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="com.novell.webaccess.common.JSPConduit, com.novell.emframe.dev.eMFrameUtils" %>
<%   JSPConduit c = JSPConduit.getJSPConduit(request); 
  /* --------------------------------------------  */ 
  /* Use this to show one or more divs at a time.  */ 
  /* --------------------------------------------  */%> 
function showDivs( div01 )
{
	<%/* Add more divs here and below as needed.  */%> 
	if ( IE )
	{
		for( var i=0; i<arguments.length; i++ )
			if ( eval("<%= c.var("ActivityBanner.Name") %>"+arguments[i]) ) 
				eval( "document.all['" + "<%= c.var("ActivityBanner.Name") %>" + arguments[i] + "'].style.visibility = \"visible\"" );
	
	}
	else if ( NS4 )
	{
		for( var i=0; i<arguments.length; i++ )
			if (eval("<%= c.var("ActivityBanner.Name") %>"+arguments[i]) ) 
				eval( "document.layers['" + "<%= c.var("ActivityBanner.Name") %>" +arguments[i] + "'].visibility = \"show\"" );
		
	}
	else if ( NN6 )
	{
		for( var i=0; i<arguments.length; i++ )
			if (arguments[i]) 
			{
				var layer = document.getElementById( "<%= c.var("ActivityBanner.Name") %>" + arguments[i] );
				if ( layer != null )
				{
					layer.style.visibility = "visible";
				}
			}
	}
} <%/* showDivs  */ 


  /* --------------------------------------------  */ 
  /* Use this to hide one or more divs at a time.  */ 
  /* --------------------------------------------  */%> 
function hideDivs( div01 )
{
	if ( IE )
	{
		for( var i=0; i<arguments.length; i++ )
			if (eval("<%= c.var("ActivityBanner.Name") %>"+arguments[i])) document.all[eval("<%= c.var("ActivityBanner.Name") %>"+arguments[i])].style.visibility = "hidden";
	
	}
	else if ( NS4 )
	{
		for( var i=0; i<arguments.length; i++ )
			if (eval("<%= c.var("ActivityBanner.Name") %>"+arguments[i])) document.layers[eval("<%= c.var("ActivityBanner.Name") %>"+arguments[i])].visibility = "hide";
		
	}
	else if ( NN6 )
	{
		for( var i=0; i<arguments.length; i++ )
			if (arguments[i]) 
			{
				var layer = document.getElementById( "<%= c.var("ActivityBanner.Name") %>" + arguments[i] );
				if ( layer != null && layer != "unknown" && layer != "undefined" )
				{
					layer.style.visibility = "hidden";
				}
			}
	}
} <%/* hideDivs  */%> 
