// This function is called by the GrpMedia page which is completely 
// different from all the other Report pages. It needs to have the 
// main frame shrunk to 0 px to allow the user to choose all the 
// options they want the report to encompass
function shrinkMainFrame()
{
	parent.frameset.rows = "111,0,*";
}

// This function will be called by all other pages to make sure
// the mian frame is visible.
function growMainFrame()
{
	parent.frameset.rows = "111,100,*";
}

// Check to make sure that at least one checkbox is selected
// you must pass the checkbox object as well as its id because
// this function is called onload of pages and in that case the
// checkbox object is null
function chkboxCheck( id ) {
	var numchks = document.getElementsByName( id );

	for (i=0; i<numchks.length; i++)
	{
		
		if( numchks[i].checked)
		{
			document.all( "btnContinue" ).disabled = false;
			return true;
		}
	}
	// hjs 9/11/02 Defect #1134
	if ( numchks.length > 0 ) 
	{
		document.all( "btnContinue" ).disabled = true;	
	}
}