4 functionaliities use 1 function now

Hi,
Now submitduplicate, submitbug, submittbpl & updatestatus uses a single function instead of 4 different functions. Please review.
Thank You
the right idea, but instead of type=1, how about type=duplicate