/*
The following code is used to hide the summary div on Load
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~hide_summary.js_~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'Description        :   This file will hide the object named hiddensummary, hiddenheader, hiddenfooter when the page loads.  
			as of 20060829-1120 this works in IE (6.5/7) and Firefox (1.5)
			this is used so that the objects display in Contribute but not live on the site.  
			requires the css class 'collapse' to be in the stype sheet
'Author             :   CNH - documented CNH
'Date               :  Tuesday, August 29, 2006 - 11:20 AM
'Change Control     :   N/A
'^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*/
	if (window.addEventListener)
	window.addEventListener("load", initfunction, false)
	else if (window.attachEvent)
		window.attachEvent("onload", initfunction)
	else if (document.getElementById)
		window.onload=initfunction


function initfunction ()
{
	if (document.getElementById('hiddensummary'))
	{
		document.getElementById('hiddensummary').className='collapse';
	}
	if (document.getElementById('hiddenheader'))
	{
		document.getElementById('hiddenheader').className='collapse';
	}
	if (document.getElementById('hiddenfooter'))
	{
		document.getElementById('hiddenfooter').className='collapse';
	}		

}
