// ----------------------------------------------------------------------
// Javascript that controls the alerts on the investorkit.cfm page
// Expand/Collapse when user selects Annual Report, Proxy or Investor Kit
// ----------------------------------------------------------------------

window.onload = function(){

for(i = 0; i < document.forms[0].elements.length; i++) 
		{
			elm = document.forms[0].elements[i];
			if (elm.type == 'checkbox') 
			{
				elm.checked = false;
			}
		}
}

function toggle_ikit(section,parentsection)
  {
    objDisp = document.getElementById(section).style.display;
	parentobject = document.getElementById(parentsection);
	window.status = objDisp;
	if(parentobject.checked==true)
	{
		    if (objDisp == 'none') {
      			document.getElementById(section).style.display = '';
			} else {
      document.getElementById(section).style.display = 'none';
    		}
	}
	else if(parentobject.checked==false)
  	{
			document.getElementById(section).style.display = 'none';
	  }	  
  }
