function readCookie(name){var nameEQ=name+"=";var ca=document.cookie.split(';');for(var i=0;i < ca.length;i++){var c=ca[i];while (c.charAt(0)==' ') c=c.substring(1,c.length);if (c.indexOf(nameEQ)==0) return c.substring(nameEQ.length,c.length);}return null;}function raster(){document.cookie='width='+screen.availWidth;document.cookie='height='+screen.availHeight;}function showMap(src){window.open(src, 'map', 'height=400,width=600');return true;}function showPhoto(id){var tgt='pixPages/'+id+'.shtml';window.open(tgt, 'photo');return true;}function showSlides(id){var tgt='/cgi-bin/'+id;window.open(tgt, 'slideShow');return true;}function clearStatus(){window.status="";return true;}function anniversary(){var today=new Date();var day=today.getDate();var month=today.getMonth();var year=today.getYear();month=month+1;if (year < 1900){year=year+1900;};if ( day < 10 ){day="0"+day;}day=day.toString();var date=month+day;date=date * 1;var event=new Array(1232);event[101]="1945: New Year&rsquo;s Day in the Pacific.";event[107]="1945: Lingayen Gulf landings, Philippines.";event[110]="1944: Training in the Funafuti, Tuvalu, area.";event[118]="1793: Joel Abbot born in Westford, Massachusetts";event[128]="1965: John Patrick Derr became the final skipper.";event[210]="1945: Supported landings in Manila Bay.";event[215]="1945: Supported invasion of Corregidor in Manila Bay.";event[217]="1943: Launched at Bath Iron Works, Maine.";event[219]="1945: Anchored at Subic Bay, Philippines.";event[224]="1945: Supported landings at Palawan.";event[225]="1945: Supported landings at Palawan.";event[226]="1951: Recommissioned in San Diego.";event[228]="1945: Bombarded Puerto Princesa Bay, Philippines.";event[305]="1945: Supported landings at Zamboanga, Philippines.";event[308]="1945: Supported landings at Zamboanga, Philippines.";event[311]="1945: Destroyed enemy barges in the Philippines.";event[315]="1944: Convoy escort duty in southern Solomon Islands.";event[326]="1965: Decommissioned in Philadelphia.";event[404]="1945: Entered Manila Bay, Philippines.";event[419]="1958: Robert McHenry Pond became skipper.";event[412]="1944: Arrived at Guadalcanal.";event[421]="1943: Final shipyard tests before commissioning.";event[422]="1944: Invasion of Hollandia.";event[423]="1943: Commissioned at Boston Navy Yard.";event[501]="1959: Became flagship of Escort Squadron 14.";event[505]="1961: Supported Project Mercury space flight of astronaut Alan Shepard.";event[508]="1945: Supported landings at Macalajar Bay, Philippines.";event[510]="1945: Supported Magalajar Bay landings, Philippines.";event[513]="1943: Reported for duty with Atlantic Fleet.";event[521]="1946: Decommissioned in San Diego.";event[601]="1954: Started seven-month world cruise.";event[605]="1956: Cruised off Cuba.";event[606]="1944: Covered attacks during strikes against Saipan.";event[607]="1954: Transited Panama Canal westbound in world cruise.";event[609]="1954: Visited Balboa, Canal Zone (Panama), on world cruise.";event[612]="1944: Departed Kwajalein with 3 aircraft carriers.";event[618]="1945: Departed San Pedro Bay, Philippines.";event[620]="1945: Arrived Iloilo City, Panay, Philippines.";event[626]="1944: Shot down a Mitsubishi G4M bomber.";event[629]="1954: Visited Midway Island on world cruise.";event[701]="1945: Departed Philippines, heading for Japan.";event[702]="1945: Rescued downed pilot from U.S.S. Monterey (CVL-26).";event[703]="1961: Allan Hamilton Craig became skipper.";event[704]="1945: Fourth of July in the Western Pacific.";event[706]="1959: Robert James Norman became skipper.";event[711]="1958: Start of four-month Mediterranean cruise.";event[714]="1945: Raid on Kamaishi Steel Works, Japan.";event[729]="1945: Raid on Honshu, Japan.";event[731]="1975: Sold as scrap to Boston Metal Works of Baltimore.";event[801]="1958: Depart Puerto Rico en route to Mediterranean.";event[808]="1945: Propeller shaft seriously damaged off Japan.";event[809]="1945: Assisted destroyer U.S.S. Borie after kamikaze attack off Japan.";event[813]="1944: Lt. Commander Marshall Dornin became skipper.";event[814]="1944: Francis Walford Ingling became skipper.";event[817]="1945: Drydocked in Saipan for propeller shaft repairs.";event[818]="1945: Drydocked in Saipan for propeller shaft repairs.";event[822]="1963: Commander John M. Pirro became skipper.";event[827]="1954: Visited Subic Bay, Philippines.";event[901]="1945: Returned to Pearl Harbor en route to Puget Sound.";event[902]="1945: Japan surrenders.";event[906]="1960: Starts 3-month Mediterranean and Asian cruise.";event[907]="1945: Entered Strait of Juan de Fuca near Seattle;war cruise ended.";event[908]="1943: Departed Boston;war cruise began.";event[910]="1943: Sailed for war cruise in the Pacific.";event[916]="1944: En route to Seeadler Harbor from Eniwetok.";event[917]="1944: En route to Seeadler Harbor from Eniwetok.";event[918]="1960: Operation Long Ears. Mediterranean and Asian cruise.";event[919]="1944: En route to Seeadler Harbor from Eniwetok.";event[920]="1944: En route to Seeadler Harbor from Eniwetok.";event[922]="1954: Visited Manila, Philippines.";event[924]="1942: Keel laid at Bath Iron Works, Maine.";event[1003]="1944: Arrived at the fleet anchorage, Seeadler Harbor, Manus Island, Admiralty Islands.";event[1010]="1944: Arrived at the fleet anchorage, Seeadler Harbor, Manus Island, Admiralty Islands.";event[1018]="1943: Collided with aircraft carrier Cowpens (CV-25).";event[1019]="1943: Sailed to Pearl Harbor after collision with aircraft carrier Cowpens (CV-25).";event[1020]="1944: Supported invasion of Leyte, Philippines.";event[1021]="1944: Escorted transports to Hollandia from Leyte.";event[1027]="1945: Celebrated Navy Day while docked at Anacortes, Washington.";event[1028]="1954: Crossed the equator near Singapore.";event[1029]="1954: Visited Singapore on world cruise.";event[1105]="1954: Visited Colombo, Ceylon (Sri Lanka), on world cruise.";event[1111]=year+": Honoring all Abboteers on Veterans Day.";event[1113]="1958: Official end of four-month Mediterranean Sea cruise.";event[1114]="1954: Transited the Suez Canal northbound on world cruise.";event[1115]="1954: Transited the Suez Canal northbound on world cruise.";event[1116]="1954: Transited the Suez Canal northbound on world cruise.";event[1117]="1954: Visited Port Said, Egypt, on world cruise.";event[1120]="1954: Visited Naples, Italy, on world cruise";event[1123]="1944: Thanksgiving dinner postponed;crew at battle stations all day.";event[1124]="1944: Thanksgiving a day late because of enemy action.";event[1201]="1974: Stricken from the Navy List prior to scrapping.";event[1202]="1954: Visited Barcelona, Spain, on world cruise.";event[1207]="1943: Repairs at Pearl Harbor on the 2nd anniversary of the Japanese attack.";event[1210]="1943: Rejoined fleet after collision with aircraft carrier Cowpens (CV-25).";event[1211]="1954: Visited Pont del Gada, Azores.";event[1214]="1855: Commodore Joel Abbot died of malaria in Hong Kong.";event[1216]="1960: Ended 3-month Mediterranean and Asian cruise.";event[1218]="1954: Seven-month world cruise ended in Newport, R.I.";event[1224]="1944: Escorted convoy to Leyte, Philippines, on Christmas Eve";event[1225]="1943: Crossed the equator on Christmas Day.";event[1231]="1944: New Year&rsquo;s Eve in the Pacific.";if (event[date]){var bulletin="<h4 class=\"anniversary\" title=\"Events from Abbot\'s history\">U.S.S. Abbot on this day in "+event[date]+"</h4>";}else{var age=year - 1943;if ( date < 217 ){age=age - 1;}var bulletin="<h4 class=\"anniversary\">Commemorating "+age+" years since the launch of U.S.S. Abbot</h4>";}bulletin="<!-- Today: "+today+"  Date: "+date+"  Year: "+year+" -->"+bulletin;document.write(bulletin);}
