Source Code of: winonload.js
Date Last Modified: May 02, 2009 - 01:59:27 AM
Size: 311 Bytes  |  18 lines  |  311 characters

var init = new Array();
init[0] = new Function("{}");

function initBody()
{
    var i;
    for (i = 0; i < init.length; i++)
        init[i]();
    // end for
} // end function initBody

function addBodyOnload(funct)
{
    init[init.length] = funct;
} // end function addBodyOnload

window.onload = initBody;

A Derivative Work of: PHP Source Code Utility - Version 1.0.0 Copyright © 0php.com 2002.