// JScript File
    
//function MouseOver( id )
//{
//    var table_cell = document.getElementById(id); 
//    if ( table_cell.style.backgroundColor != '#666666' )
//    {
//        table_cell.style.backgroundColor = '#8c9ece';
//        table_cell.style.color = '#FFFFFF';
//    }
//    window.status = table_cell.getAttribute( "urlhelp" );
//}

//function MouseOut( id )
//{
//    var table_cell = document.getElementById(id); 
//    if ( table_cell.style.backgroundColor != '#666666' )
//    {
//        table_cell.style.backgroundColor = '#84b2d6';
//        table_cell.style.color = '#000000';
//    }
//}

//function MouseClick( id ) 
//{
//    var table_row = document.getElementById('TableMenuRow')
//    for(var i=0; i < table_row.cells.length; i++) 
//    {
//        table_row.cells( i ).style.backgroundColor = '#84b2d6';
//        table_row.cells( i ).style.color = '#000000';
//    }

//    var table_cell = document.getElementById(id); 
//    {
//    
//        table_cell.style.backgroundColor = '#666666';
//        table_cell.style.color = '#FFFFFF';
//        
//        var frame_ref = document.getElementById("FrameReportParam")
//        frame_ref.src = table_cell.getAttribute( "urlref" );
//    }
//}

function ToggleDisplay(id)
{ 
	var elemd = document.getElementById('d' + id);
	var elemtoggle = document.getElementById('toggle' + id);
	
	if ( elemd )
	{
	if (elemd.style.display != 'block')
	{
		elemd.style.display = 'block';
		elemd.style.visibility = 'visible';
		if ( elemtoggle ) 
		{
			elemtoggle.setAttribute('SRC','images/Minimize1.gif',0);
		}
	}
	else
	{
	//    elemh.style.border-bottom = 'ridge';
		elemd.style.display = 'none';
		elemd.style.visibility = 'hidden';
		if ( elemtoggle ) 
		{
			elemtoggle.setAttribute('SRC','images/Restore1.gif',0);
		}				
	}
	}
}

function GetCookie(sName)
{
	var aCookie = document.cookie.split("; ");
	for (var i=0; i < aCookie.length; i++)
	{
		// a name/value pair (a crumb) is separated by an equal sign
		var aCrumb = aCookie[i].split("=");
		if (sName == aCrumb[0]) 
		return unescape(aCrumb[1]);
	}

	// a cookie with the requested name does not exist
	return null;
}

