I am trying to organize this script according to my need, the thing is that I need the script to load only when the whole page loads and for this we have the onload .. good, but when I enter the onload does not work. .. another question, I'm trying to make the Facebook button appear at the end of the count in case the code will show the 00 but I would like to insert an iframe I tried to insert somehow however without success. Taking advantage of the opportunity if someone can explain to me why the count starts at 2 instead of the determined 3.
This is the code I'm working on: link