I assume that you have to use a
js script for this as php can't affect the divs as they don't exist until after the data has left the server.
You can use jQuery's $('document').ready() to alter the div classes or apply an inline style/css attribute, e.g. style="display:none;" or $('.classname').css("display","none");
Of course, as you'll guess, you have to reference the first or second of the two divs as they have the same class. If they have ids, you could reference them directly like that, e.g. $('#idname').css("display","none");
If not, say it's only the first div:
or for last:
You can then use
to show the div - link this to an event, e.g. click.
Anyway, I'm a duffer at js/jQuery, so you may get a better response over at the js forum.