First problem I can see is: jQuery selectors are wrong. You are using the syntax of
element selectors but there are no such elements as "divME", "divDE", etc. Did you mean "#divME" (id) or something else? Please see to fix it:
http://api.jquery.com/category/selectors/[
^].
Also I would advise to use more complex layout and CSS instead of JavaScript. Then the width will be adjusted without any scripting. You need to read about CSS
box model and related topics. As I don't know your layout requirements, I cannot help you in more detail at this moment.
—SA