if (typeof(test) == 'undefined') test = {};test = "";if (typeof(test.onload) == 'function') { test.onload(test) }