$(document.width).bind(onchange,...)?
<p>Will this work? </p>

<p>The reason I ask is because I want to animate two elements that calculate their end location based on the width of the document. If the window or document size is changed I want to reset the animation. </p>

<p>Any suggestions or other methods that might work?</p>
