NEWARK - (AP) - A state Superior Court judge has dismissed alawsuit by police and firefighter unions that sought to blockplanned layoffs of hundreds of workers in New Jersey's largestcity.

After Tuesday's ruling, the unions' lawyer said he will take thecase to a state appeals court.

The layoffs are scheduled to take effect Friday.

The Star-Ledger of Newark reports that 167 police officers, 24firefighters and several hundred civilian employees would losetheir jobs.

Union lawyer David Fox told the newspaper that he hoped to getan appeals court ruling by Thursday. He called the planned layoffs"massive and dangerous."

Mayor Cory Booker has said the layoffs are necessary becausethere is an $11 million gap in the city's budget.