change div variable based on div id