what causes q p0740 an a p1582 code to pop up on 2000 Volkswagen Jetta

i changed tranny fluid an filter both o2 sensors new cat new temp sensor new plugs an wires new mass air flow sensor cleaned throttle body all new hoses on entire motor

by in Algoma, WI on February 17, 2012
Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
ANSWER by , February 17, 2012
Here is a link to information on P0740 http://engine-codes.com/p0740_volkswagen.html This link has an answer that makes the best sense for the code P1582 http://www.vwforum.com/forums/f14/rough-idle-p1582-what-check-49494/