// JavaScript Document

function writemenu(which)	{
	
  		document.write(
			'<table width="520" border="0" cellspacing="0" cellpadding="0" onMouseOver="document.getElementById(\'botm_bg\').style.display=\'block\';" onMouseOut="document.getElementById(\'botm_bg\').style.display=\'none\';">'+
			'<tr>'+
			'<td width="130" height="23"><table width="100%" border="0" cellpadding="0" cellspacing="0" onMouseOver="document.getElementById(\'mhc\').style.display=\'\';document.getElementById(\'mlc\').style.display=\'none\';document.getElementById(\'mpc\').style.display=\'none\';document.getElementById(\'mcc\').style.display=\'none\'" class="'+((which=='hc')?'selectedTable':'UnselectedTable')+'">'+
			'<tr>'+
			'<td width="20" height="23">&nbsp;</td>'+
			'<td width="16" valign="bottom" style="padding-bottom:2px;"></td>'+
			'<td width="5"></td>'+
			'<td valign="bottom" class="icontext" style="padding-bottom:2px;">TAB 1</td>'+
			'</tr>'+
			'</table></td>'+
			'<td width="130"><table width="100%" border="0" cellpadding="0" cellspacing="0" onMouseOver="document.getElementById(\'mhc\').style.display=\'none\';document.getElementById(\'mlc\').style.display=\'\';document.getElementById(\'mpc\').style.display=\'none\';document.getElementById(\'mcc\').style.display=\'none\'" class="'+((which=='lc')?'selectedTable':'UnselectedTable')+'">'+
			'<tr>'+
			'<td width="20" height="23">&nbsp;</td>'+
			'<td width="16" valign="bottom" style="padding-bottom:2px;"></td>'+
			'<td width="5"></td>'+
			'<td valign="bottom" class="icontext" style="padding-bottom:2px;">TAB 2</td>'+
			'</tr>'+
			'</table></td>'+
			'<td width="130"><table width="100%" border="0" cellpadding="0" cellspacing="0" onMouseOver="document.getElementById(\'mhc\').style.display=\'none\';document.getElementById(\'mlc\').style.display=\'none\';document.getElementById(\'mpc\').style.display=\'\';document.getElementById(\'mcc\').style.display=\'none\'" class="'+((which=='pc')?'selectedTable':'UnselectedTable')+'">'+
			'<tr>'+
			'<td width="20" height="23">&nbsp;</td>'+
			'<td width="16" valign="bottom" style="padding-bottom:2px;"></td>'+
			'<td width="5"></td>'+
			'<td valign="bottom" class="icontext" style="padding-bottom:2px;">TAB 3</td>'+
			'</tr>'+
			'</table></td>'+
			'<td width="130"><table width="100%" border="0" cellpadding="0" cellspacing="0" onMouseOver="document.getElementById(\'mhc\').style.display=\'none\';document.getElementById(\'mlc\').style.display=\'none\';document.getElementById(\'mpc\').style.display=\'none\';document.getElementById(\'mcc\').style.display=\'\'" class="'+((which=='cc')?'selectedTable':'UnselectedTable')+'">'+
			'<tr>'+
			'<td width="20" height="23">&nbsp;</td>'+
			'<td width="16" valign="bottom" style="padding-bottom:2px;"></td>'+
			'<td width="5"></td>'+
			'<td valign="bottom" class="icontext" style="padding-bottom:2px;">TAB 4</td>'+
			'</tr>'+
			'</table></td>'+
			'</tr>'+
			'<tr>'+
			'<td height="42" colspan="7"><table width="520" border="0" cellpadding="0" cellspacing="0" id="botm_bg" style="display:none">'+
			'<tr>'+
			'<td width="22" height="42" background="../_IMG/BotM_L.png">&nbsp;</td>'+
			'<td valign="top" width="476" background="../_IMG/BotM_M.png"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="mhc" style="display:none">'+
			'<tr>'+
			'<td align="center" valign="middle" height="23"></td>'+
			'</tr>'+
			'</table>'+
			'<table width="100%" border="0" cellpadding="0" cellspacing="0" id="mlc" style="display:none">'+
			'<tr>'+
			'<td align="center" valign="middle" height="23"> </td>'+
			'</tr>'+
			'</table>'+
			'<table width="100%" border="0" cellpadding="0" cellspacing="0" id="mpc" style="display:none">'+
			'<tr>'+
			'<td align="center" valign="middle" height="23"></td>'+
			'</tr>'+
			'</table>'+
			'<table width="100%" border="0" cellpadding="0" cellspacing="0" id="mcc" style="display:none">'+
			'<tr>'+
			'<td align="center" valign="middle" height="23"></td>'+
			'</tr>'+
			'</table>&nbsp;</td>'+
			'<td width="22" background="../_IMG/BotM_R.png">&nbsp;</td>'+
			'</tr>'+
			'</table></td>'+
			'</tr>'+
			'</table>');
}
