Linking function Object to Button



function car(seats,engine,theradio) {
this.seats=seats;
this.engine=engine;
this.theradio=theradio;
}
var work_car=new car ("cloth","V8","Tape Deck");
var engine_type=work_car.engine;



b1.onclick=work_car(){
document.write=("I want a car with +work_car.seats+ yeah");
};

var b1 = document.getElementById("car");

I want the button to get the id “car” then write “I want a car with …” and call up the function seats which is set to “cloth”.