What determines opening stock price

What factors go into setting the initial stock price at market open?