- wprintf("<div id=\"tabdiv%d\" style=\"display:%s\">",
- tabnum,
- ( (tabnum == 0) ? "block" : "none" )
- );
+
+ if (tabnum == num_tabs) {
+ wprintf("<!-- begin tab-common epilogue -->\n");
+ wprintf("<div class=\"tabcontent_submit\">");
+ }
+
+ else {
+ wprintf("<!-- begin tab %d of %d -->\n", tabnum, num_tabs);
+ wprintf("<div id=\"tabdiv%d\" style=\"display:%s\" class=\"tabcontent\" >",
+ tabnum,
+ ( (tabnum == 0) ? "block" : "none" )
+ );
+ }