General Motors Co and eBay Inc are launching a test program in California that will allow consumers to negotiate with dealers and buy new vehicles online, the companies said on Monday.

The car shopping website -- gm.ebay.com -- marks a departure from the way new vehicles have traditionally been sold in the United States and is aimed at helping GM recapture lost market share a month after it emerged from bankruptcy.

The online marketplace provides the No. 1 U.S. automaker with a new venue to sell new vehicles as it cuts the number of U.S. dealerships by more than 40 percent to 3,600 by the end of 2010 as part of its efforts to return to profitability.

It also expands an existing partnership covering GM's certified used vehicles sold through eBay. Most of the vehicles sold on eBay Motors -- a site that sells various types of vehicles and auto parts -- have been used.

More than 225 GM dealers in California are participating in the program, which will run from August 11 through September 8. GM said it intends to expand the program nationwide if the pilot helps it reach new customers and gain market share.

The website allows consumers to compare pricing across models and participating dealerships, negotiate prices, and arrange financing and payment. Consumers can agree to pay the advertised price or indicate the price they are willing to pay and can negotiate online with the dealer for the vehicle.

More than 20,000 new Chevrolet, Buick, GMC and Pontiac vehicles will be listed initially on the site.

California, which has been dominated by import brands over the past several years, is the most populous U.S. state and the single largest market for new vehicles. Car sales have been hit harder in California than in other states over the past quarter because of the severity of the housing market slump there.

It's a critical market for us and critical time for the company. Anything we can do to provide exposure to the products where we are underserved is clearly good news, GM U.S. sales chief Mark LaNeve said on a conference call.

It's been incredibly hit by the recession. We think it really needs a shot in the arm, he said.

GM's market share in California is hovering in the 13 percent to 13.5 percent range, trailing its national average of 19.5 percent.

GM, which lost $82 billion over the past four years, is trying to revamp its image and win back consumer trust after completing a bankruptcy restructuring steered by the Obama administration.

GM has lost market share for years to import brands led by Toyota Motor Corp, now No. 2 in the U.S. market with a 17 percent share.

A recent J.D. Power & Associates study said more than 75 percent of new vehicle buyers in 2008 used the Internet during their shopping and research process, compared with 70 percent in 2007.

The decline in U.S. auto sales to their lowest level in nearly three decades this year has hurt automakers, parts suppliers, dealers and virtually every company in the automotive sector, including eBay.

The online auction company's gross merchandise volume -- a data point closely watched by analysts that measures the total value of goods sold on eBay -- has been hit in recent years as the downturn in auto sales continued.

In the second quarter ended June 30, the company posted a 32 percent drop in vehicles gross merchandise volume compared to the year-ago quarter.

(Additional reporting by Alexandria Sage in San Francisco; Editing by Gerald E. McCormick, John Wallace, Phil Berlowitz)