Insert a div before another DIV http://api.jquery.com/insertBefore/
<script> $(document).ready(function(){ //Change DIVCLASS to DIV Names $('.DIVCLASS').insertBefore('.DIVCLASS'); }); </script>