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[118]="1793: Joel Abbot born in Westford, Mass.";event[128]="1965: John Patrick Derr becomes skipper.";event[210]="1945: Support landings in Manila Bay.";event[215]="1945: Support 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: Support landings at Palawan.";event[225]="1945: Support landings at Palawan.";event[226]="1951: Recommissioned in San Diego.";event[228]="1945: Bombards Puerto Princesa Bay, Philippines.";event[305]="1945: Support landings at Zamboanga, Philippines.";event[308]="1945: Support landings at Zamboanga, Philippines.";event[311]="1945: Destroys enemy barges in the Philippines.";event[315]="1944: Convoy escort duty in southern Solomon Islands.";event[326]="1965: Decommissioned in Philadelphia.";event[404]="1945: Enters Manila Bay, Philippines.";event[419]="1958: Robert McHenry Pond becomes skipper.";event[412]="1944: Arrival 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: Becomes flagship of Escort Squadron 14.";event[505]="1961: Support Project Mercury space flight of astronaut Alan Shepard.";event[508]="1945: Support landings at Macalajar Bay, Philippines.";event[510]="1945: Support Magalajar Bay landings, Philippines.";event[513]="1943: Reports for duty with Atlantic Fleet.";event[521]="1946: Decommissioned in San Diego.";event[601]="1954: Start seven-month world cruise.";event[605]="1956: Cruising off Cuba.";event[606]="1944: Covers attacks during strikes against Saipan.";event[612]="1944: Departs Kwajalein with 3 aircraft carriers.";event[618]="1945: Departs San Pedro Bay, Philippines.";event[620]="1945: Arrives Iloilo City, Panay, Philippines.";event[626]="1944: Shoots down a Mitsubishi G4M bomber.";event[701]="1945: Departs Philippines, heading for Japan.";event[702]="1945: Rescues downed pilot from USS Monterey.";event[703]="1961: Allan Hamilton Craig becomes skipper.";event[704]="1945: Fourth of July in the Western Pacific.";event[706]="1959: Robert James Norman becomes 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: Assists destroyer Borie after kamikaze attack off Japan.";event[813]="1944: Lt. Commander Marshall Dornin becomes skipper.";event[814]="1944: Francis Walford Ingling becomes 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 becomes skipper.";event[901]="1945: Returns 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: Enters Strait of Juan de Fuca near Seattle;war cruise ends.";event[908]="1943: Departs Boston;war cruise begins.";event[910]="1943: Sails 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[924]="1942: Keel laid at Bath Iron Works, Maine.";event[1003]="1944: Arrives at the fleet anchorage, Seeadler Harbor, Manus Island, Admiralty Islands.";event[1010]="1944: Arrives at the fleet anchorage, Seeadler Harbor, Manus Island, Admiralty Islands.";event[1018]="1943: Collides with aircraft carrier Cowpens.";event[1019]="1943: Sails to Pearl Harbor after collision with aircraft carrier Cowpens.";event[1020]="1944: Supports invasion of Leyte, Philippines.";event[1021]="1944: Escorts transports to Hollandia from Leyte.";event[1027]="1945: Celebrates Navy Day while docked at Anacortes, Washington.";event[1111]="1958: Veterans Day homecoming near end of Mediterranean Sea cruise.";event[1113]="1958: Official end of four-month Mediterranean Sea 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[1210]="1943: Rejoins fleet after collision with aircraft carrier Cowpens.";event[1214]="1855: Commodore Joel Abbot dies of malaria in Hong Kong.";event[1216]="1960: Ends 3-month Mediterranean and Asian cruise.";event[1218]="1954: Seven-month world cruise ends in Newport, R.I.";event[1225]="1943: Crosses 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);}