I have a really simple external css stylesheet that has the following :
div.hideBox { display:none; }
So when the html page loads, the div
try setting the display to block in your javascript instead of a blank value.