</head>
<body>
-<div id="tab_bar"></div>
-<hr>
+<div id="spacer1" style="background: #aaaaaa"><br></div>
+<div id="tab_bar" style="background: #aaaaaa"> </div>
+<div id="spacer2" style="background: #aaaaaa"><br></div>
<div id="main"></div>
<script type="text/javascript">
function TabSelect(which_div) {
if (shown_div != '') {
$(shown_div).style.display = 'none' ;
- if ($('select_'+shown_div)) $('select_'+shown_div).style.fontWeight='normal';
+ if ($('select_'+shown_div)) {
+ $('select_'+shown_div).style.fontWeight = 'normal';
+ $('select_'+shown_div).style.backgroundColor = '#cccccc';
+ }
}
shown_div = 'tab_' + which_div;
$(shown_div).style.display = 'block' ;
- if ($('select_'+shown_div)) $('select_'+shown_div).style.fontWeight='bold';
+ if ($('select_'+shown_div)) {
+ $('select_'+shown_div).style.fontWeight='bold';
+ $('select_'+shown_div).style.backgroundColor = '#ffffff';
+ }
}
++num_gexp_divs;
$('main').innerHTML =
$('main').innerHTML
- + '<div id=\"tab_' + which_div + '\" style=\"display:none\">'
+ + '<div id=\"tab_' + which_div + '\" style=\"display:none;cursor:pointer\">'
+ '<div id=\"' + which_div + '\"></div>'
+ '<div id=\"response_' + which_div + '\">'
+ '<br><form method=\"post\" action=\"null\" name=\"sendform_' + which_div + '\" '
$('tab_bar').innerHTML =
$('tab_bar').innerHTML
+ '<span id=\"select_tab_' + which_div + '\" onClick=\"TabSelect(\'' + which_div + '\');\">'
- + sender
+ + ' ' + sender + ' '
+ '</span> ';
// Raise the window in case it was buried