
			//*** Frame Control - Change the top frame to Basic ***
			function ChangeHeader() {
			  if (parent.header.document.title != "FDIC: Initial Header")
				parent.header.document.location.replace("header.asp")
			}
			
			//*** Calculate second reporting period based on the first ***
			function SecondDate(val) {
				var slashPos1 = val.indexOf("/")
				var slashPos2 = val.lastIndexOf("/")
				var mm = val.substring(0,slashPos1);
				var dd = val.substring(slashPos1 + 1, slashPos2);
				var yyyy = val.substring(slashPos2 + 1, val.length);
				if (parseInt(yyyy,10) <= 1996){
					yyyy = parseInt(yyyy) - 1
					mm = '12'}
				else
					yyyy = parseInt(yyyy) - 1;
				SecondDte = mm + '/' + dd + '/' + yyyy;
				return SecondDte
			} 
			//*** Set the second reporting period as hidden text field ***
			function setSecondDate(val) {
				if (val == "False") {
					var List = document.ReportSelection.ReportDate1
					var FirstDate = List.options[List.selectedIndex].value
					if (document.ReportSelection.ReportDate1) {
					self.document.ReportSelection.ReportDate2.value = SecondDate(FirstDate)
					}
					
				}
			}
		function gotoCRA()
		{
			document.CRA.submit();
		}

