Function set up to load divs