$('#yardi').attr('src', theme == "slate" || theme == "cyborg" ? "/img/yardi-white.png" : "/img/yardi-blue.png");
})
}
+
+$( document ).ready(function() {
+ var sb=$('#sidebar').detach();
+ sb.appendTo($('#sponsors'));
+ console.log( "inside!" );
+});
</div>
</div>
-<script type="text/javascript">
-$( init );
-function init() {
- var sb=$('#sidebar').detach();
- sb.appendTo($('#sponsors'));
-}
-</script>
<div id="sponsors" class="col-md-4 column">
<a class="thumbnail" href="https://www.facebook.com/YardiRomania"><img id="yardi" src="/img/yardi-blue.png"></a>
</div>