// all enclosed by a single row table

document.write('<table border="0" cellpadding="0" cellspacing="6" align="center"><tr>');

// Create blank space on the left side to balance extra buttons on the right
// based on button settings in the myshow.js file

leftw =  24*close_button + 24*help_button + 48*resize_button + 24*auto_button;
if (leftw > 0) document.write('<td width="' + leftw  + '">&nbsp;</td>');

/*
	Note- you can customize the left to write order of the slide buttons
	by cutting/pasting each section below noted by (*). You may run into
	JavaScript issues if you are not careful! And if your text editor inserts
	RETURN characters where they do not belong.
	
	Default order is:
	  1. previous slide
	  2. drop down menu
	  3. auto play check box (#)
	  4. next slide
	  5. image resize  (#)
	  6. close window  (#)
	  7. pop up help   (#)
	 
	     
   (#) buttons visibility is controlled by settings in the myshow.js file
*/

// (*) previous slide button
document.write('<td valign="top"><a href="#" onClick="slideClick(-1); return false" onMouseOver="window.status=\'go to previous slide\'; return true" OnMouseOut="clear_msg()"><img src="buttons/left.gif" alt="previous (button)" width="50" height="50" border=0 name="leftb"></a></td>\n');


// (*) drop down menu for slide selection
document.write('<td valign="bottom" align="center"><select name="gomenu" onChange="goSlide()">');
document.write('<option>slide show...</option>');
for (i=1; i<menus.length; i++) {	
	document.write('<option>' + i + '. ' + menus[i] + '</option>');
}
document.write('</select><br><img src="buttons/loading_blink.gif" alt="loading..." align="left" width="64" height="12" name="lstat"></td>\n');




// (*) check box for the auto play 
if (auto_button) {

// (*) start show in auto play mode
	if (auto_start) {
		document.write('<td valign="bottom" bgcolor="#333333" class="label"><input type="checkbox" name="auto" VALUE="on" onClick="autoShow()" checked="checked"><br>auto</td>\n');
	} else {
		document.write('<td valign="bottom" bgcolor="#333333" class="label"><input type="checkbox" name="auto" VALUE="0" onClick="autoShow()"><br>auto</td>\n');
	}
}



// (*) next slide button
document.write('<td valign="top"><a href="#" onClick="slideClick(1); return false" onMouseOver="window.status=\'go to next slide\'; return true" OnMouseOut="clear_msg()"><img src="buttons/right.gif" alt="next (button)" width="50" height="50" border=0 name="rightb"></a></td>\n');





// close the table
document.write('</tr></table>\n');

