var butt
var text

function do_top(butt,text) { 
  document.write ('<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">');
  document.write ('<td valign="bottom" colspan="3" width="100%" >');
  document.write ('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" >');
  document.write ('<tr>');
  document.write ('<td><img border="0" src="game/img/ny_menubox_top_l.jpg" width="27" height="27"></td>');
  document.write ('<td width="100%" background="game/img/ny_menubox_top_m.jpg"> <p align="center">' + butt + '');
  document.write ('<font  color="#F6F7F2"><b> ' + text + '</b>&nbsp;</font></p></td>');
  document.write ('<td><img border="0" src="game/img/ny_menubox_top_r.jpg" width="27" height="27"></td>');
  document.write ('</tr>');
  document.write (' </table>');
  document.write (' </td>');
  document.write (' <tr>');
  document.write ('  <td background="game/img/ny_box_left.gif" ></td>');
  document.write ('<td  valign="top" background="game/img/ny_vback_r2.jpg" width="100%">');
}


function do_top2(butt,text) { 
  document.write ('<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">');
  document.write ('<td valign="bottom" colspan="3" width="100%" >&nbsp;');
  document.write ('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" >');
  document.write ('<tr>');
  document.write ('<td><img border="0" src="game/img/ny_menubox_top_l.gif" width="13" height="27"></td>');
  document.write ('<td width="100%" background="game/img/ny_menubox_top_m.gif"> <p align="center">' + butt + '');
  document.write ('<font  class="bglow" color="#F6F7F2"><b> ' + text + '</b>&nbsp;</font></p></td>');
  document.write ('<td><img border="0" src="game/img/ny_menubox_top_r.gif" width="13" height="27"></td>');
  document.write ('</tr>');
  document.write (' </table>');
  document.write (' </td>');
  document.write (' <tr>');
  document.write ('  <td background="game/img/ny_box_left.gif" width="8"></td>');
  document.write ('<td valign="top" background="game/img/ny_vback_r.jpg" width="100%">');
}
function odo_top2(butt,text) { 
  document.write ('<table border="0" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">');
  document.write ('<td valign="bottom" colspan="3" width="100%" >&nbsp;');
  document.write ('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" >');
  document.write ('<tr>');
  document.write ('<td><img border="0" src="game/img/menubox_top_l.jpg" width="13" height="27"></td>');
  document.write ('<td width="100%" background="game/img/menubox_top_m.jpg"> <p align="center">' + butt + '');
  document.write ('<font  class="bglow" color="#F6F7F2"><b> ' + text + '</b>&nbsp;</font></p></td>');
  document.write ('<td><img border="0" src="game/img/menubox_top_r.jpg" width="13" height="27"></td>');
  document.write ('</tr>');
  document.write (' </table>');
  document.write (' </td>');
  document.write (' <tr>');
  document.write ('  <td background="game/img/box_left.gif" width="8"></td>');
  document.write ('<td valign="top" background="game/img/vback_r.jpg" width="100%">');
}

function do_bottom() { 
  document.write ('</td>');
  document.write ('<td background="game/img/ny_box_right.gif" width="8">&nbsp;</td>');
  document.write ('</tr>');
  document.write ('<tr>');
  document.write ('<td height="13"><img src="game/img/ny_left_down.gif" ></td>');
  document.write ('<td width="100%">');
  document.write ('<table border="0" cellpadding="0" cellspacing="0" width="100%">');
  document.write ('<tr><td height="13"><img width="100%"  src="game/img/ny_middledown.gif" height="13"></td></tr>');
  document.write ('</table>');
  document.write ('</td>');
  document.write ('<td height="13"><img src="game/img/ny_right_down.gif" ></td>');
  document.write ('</tr>');
  document.write ('</table>');
}

function do_bluetop(butt,text) { 
  document.write ('<TABLE class="trans" cellSpacing=1 cellPadding=1  border=0  width="100%">');
  document.write ('<TBODY><TR><TD bgColor=#000000>');
  document.write ('<TABLE style="BORDER-TOP: #000000 0px solid; BORDER-BOTTOM: #000000 1px solid" cellSpacing=1 cellPadding=1 width="100%" bgColor=#c3d5f9 border=0>');
  document.write ('<TBODY><TR><TD height=7></TD></TR><TR><TD>');
}

                
function do_bluebottom() { 
  document.write ('</TD></TR><TR><TD height="2"></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>');
}