i need to make a variable that can set the width of a div

var width=object.st yle.width
width=100

should change the objects width
is there a function that can do this??