can my load() function be more precise and better?
<pre><code>    //custom load, spinner
    function customload(){
        $("body&gt;div").prepend("&lt;div id='customload'&gt;&lt;/div&gt;");
        $("#customload").load("custom.html #loadfullscreen",
            function(){
                var opts = {
                    lines: 13, // The number of lines to draw
                    length: 7, // The length of each line
                    width: 4, // The line thickness
                    radius: 10, // The radius of the inner circle
                    corners: 1, // Corner roundness (0..1)
                    rotate: 0, // The rotation offset
                    color: '#FFF', // #rgb or #rrggbb
                    speed: 1, // Rounds per second
                    trail: 60, // Afterglow percentage
                    shadow: false, // Whether to render a shadow
                    hwaccel: false, // Whether to use hardware acceleration
                    className: 'spinner', // The CSS class to assign to the spinner
                    zIndex: 2e9, // The z-index (defaults to 2000000000)
                    top: 'auto', // Top position relative to parent in px
                    left: 'auto' // Left position relative to parent in px
            };
        var target = document.getElementById("loadspinner");
        var spinner = new Spinner(opts).spin(target);});
        }


    //create shorthand
    function repo(loadrespectiverepo,linksite){$("#for"+loadrespectiverepo).html("&lt;object class='mirror' data='http://"+linksite+"'/&gt;&lt;/object&gt;"); }


function loadrepo(){
        //load repo into respective spaces      
        repo("thebigboss","thebigboss.org");    repo("modmyi","modmyi.com");        repo("cydia","cydia.saurik.com");
        repo("zodttd","www.zodttd.com");        repo("macciti","www.macciti.com");  repo("ihacksrepo","www.ihacksrepo.com");
        repo("xsellize","www.xsellize.com");}


    $(function(){
        var clicked = false;
        $("body").on("click","#buttonOK", function() {if (!clicked){ clicked = true; customload(); loadrepo();} return false;});//mouse click
        $(document).one("keydown",function(e){if (!clicked){clicked = true; if(e.which == 13){customload(); loadrepo();}} return false;});//enter key
    });


    $(window).load (function(){$("body").ajaxStop(function() {$("#customload", this).fadeOut(5000);});});    // slow fade out of 5 second
</code></pre>

<p>I want to make my load() to be precise and functional. As of now it works but if it can be improved it will be of great help... I want the <code>html()</code> to load the contents, followed by when window loads and thus hiding the spinner.</p>
