The Beach Boys are an American rock band formed in Hawthorne, California, in 1961.
 The group's original lineup consisted of brothers Brian, Dennis, and Carl Wilson; their cousin Mike Love; and their friend Al Jardine.
 Distinguished by their vocal harmonies and early surf songs, they are one of the most influential acts of the rock era.
 The group, led by their principal songwriter and producer Brian, pioneered novel approaches to popular music form and production, combining their affinities for jazz-based vocal groups, 1950s rock and roll, and black R&B to create their unique sound.
 He later arranged his compositions for studio orchestras and explored a variety of other styles, often incorporating classical or jazz elements and unconventional recording techniques in innovative ways.
Jacoby Dakota Shaddix (born July 28, 1976) is an American musician, singer-songwriter, sporadic actor and former television presenter.
 He is best known as being the founding member and the continuous lead singer of the California-based rock band Papa Roach since the band's formation in 1993.
Raymond Louis "Ray" Kennedy (November 26, 1946 – February 16, 2014) was an American singer, songwriter, musician and record producer, based in Los Angeles.
 His works span multiple genres including R&B, pop, rock, jazz, fusion, acid rock, country and many others.
 He co-wrote "Sail On, Sailor", one of The Beach Boys' mid-career hits as well as two hits for The Babys: "Everytime I Think of You" and "Isn't It Time".
"Every Time I Think of You" is a song written by Jack Conrad and Ray Kennedy and released in 1979 as the lead single from The Babys' third studio album ""Head First""; John Waite provided lead vocals featuring female vocals by Myrna Matthews.
 The track was a worldwide hit, and became their last top 20 in the United States.
Ray Kennedy (born May 13, 1954)) is an American country music artist.
 He has recorded two albums for Atlantic Records.
 His two Atlantic albums produced a total of four singles on the Hot Country Songs charts, with 1991's "What a Way to Go" being his only top 40 country hit, peaking at No. 10.
Lokomotiv was a Southern California-based rock band which counted among its line-up, the key members of some of the most successful hard rock bands in the Philippines during the 1990s – Wolfgang and Razorback.
"Sail On, Sailor" is a song by American rock band the Beach Boys from their 1973 album "Holland".
 It was written by Brian Wilson, Ray Kennedy, Tandyn Almer, Jack Rieley, and Van Dyke Parks.
 It was released as a single in 1973, backed with "Only with You", and peaked at number 79 on the American singles charts.
 A 1975 reissue (also backed with "Only with You") charted higher, at number 49.
 According to Jon Stebbins, "It is perhaps the only perennial Beach Boys favorite to still thrive in the classic rock and album rock FM radio formats of the present."
Ghost of the Robot (GOTR) are a California-based rock band.
 The band's sound ranges from driving rock to upbeat pop, soulful blues and jazz to foot-stomping country.
 Live shows have certain surprises like a Queen/Super Mario Bros. mash-up.
 Among the original band members are James Marsters (vocals/guitar), Charlie De Mars (guitar/vocals) and Kevin McPherson (bass).
 Rounding out the group are Sullivan Marsters (guitar/vocals) and Jordan Latham (drums).
Bullet Train To Vegas was a Southern California-based rock band.
 The band put out their debut EP "Profile This" in 2003, then a self-titled two-song 7" in 2004.
 They signed with Nitro Records the following year and released their debut full-length, "We Put Scissors Where Our Mouths Are", in 2005.
 They named themselves after a song by Drive Like Jehu, and have been compared to At The Drive In, Fugazi, Pretty Girls Make Graves and Sparta.
 They broke up shortly after recording their second full length album "The City and None of the Above".
Time is the 16th studio album by British-American rock band Fleetwood Mac, released in 1995.
 This album features a unique line-up for the band featuring the addition of former Traffic guitarist Dave Mason and country vocalist Bekka Bramlett (daughter of Delaney and Bonnie).
 Lindsey Buckingham, who had left Fleetwood Mac in 1987, makes an appearance as a backing vocalist on one track, but "Time" is the first and only Fleetwood Mac album since 1974's "Heroes Are Hard to Find" not to feature any contribution from Stevie Nicks.
 The album also featured drummer Mick Fleetwood's first lead vocal on the seven-minute "These Strange Times", produced by Duran Duran producer John Jones, and written with Beach Boys co-writer Ray Kennedy.
 The band did not tour following the album's release in October 1995, but had (without Christine McVie) toured from July to December 1994, and again from April to September 1995.

Question: What mid-career hit of a Hawthorne, California-based rock band was co-written by Ray Kennedy?
Answer: "Sail On, Sailor"