You also do not need to use var six times, you can do:
var divarray = document.getElementById("yui-main").getElementsByTagName("div"), articleHTML = [], absHTML = [], keyHTML = [], bodyHTML = [], i = 0;
It works just as well as your six vars, but it looks a lot nicer.
There are also a number of compelling reasons not to use new in an array instance (other than []; much shorter than the new Array ();)
source share