last but not least, please indent when you are in a function, 4 spaces would be consistent.  Please do that on all 3 onload functions!