$("document").ready(function(){ $("
").appendTo("body"); $("
").appendTo("body"); init(); clickedAdd(window.location); });