var global_hasTwoCols = true;

function hide(s)
{
	t = document.all ? document.all[s] : document.getElementById(s);
	if (t) t.style.display = "none";
}
function unhide(s)
{
	t = document.all ? document.all[s] : document.getElementById(s);
	if (t) t.style.display = "block";
}

function writeLink(nr, title, url, selectedItemNr)
{
   document.write('<tr height="25">');
   document.write('<td align="right" valign="top" width="154" height="25">');
	if(nr == selectedItemNr)
	{
	document.write('<span class="link_off">'+title+'</span>');
	} else {
	document.write('<a href="'+url+'">'+title+'</a>');
	}
   document.write('<img src="pix/nopixel.gif" alt="" height="25" width="4" align="top" border="0"></td>');
   document.write('<td align="right" valign="bottom" width="46" height="25">');
	if(nr == selectedItemNr)
	{
	document.write('<img src="pix/bullet_current.gif" alt="" height="19" width="46" border="0">');
	} else {
	document.write('<img src="pix/bullet_link.gif" alt="" height="18" width="46" border="0">');
	}
   document.write('</td>');
   document.write('</tr>');

}

function showNav(selectedItemNr)
{

document.write('<table width="1" border="0" cellspacing="0" cellpadding="0" height="500"><tr><td valign="top">');

document.write('<table width="200" border="0" cellspacing="0" cellpadding="0" background="pix/leftbar_back.jpg" height="600">');
document.write('<tr height="47"><td colspan="2" align="right" valign="top" height="47"><img src="pix/nopixel.gif" alt="" height="47" width="200" border="0"></td></tr>');
// repeat these as often as necessary for the whole navigation
// {
writeLinks(selectedItemNr);
   
// }
document.write('<tr><td colspan="2" align="right" valign="top"><img src="pix/nopixel.gif" alt="" height="10" width="200" border="0"></td></tr>');
document.write('</table>');


document.write('<td valign="top"><img src="pix/nopixel.gif" alt="" height="500" width="1" border="0"></td>');
document.write('</td></tr></table>');

}



function showLeft(selectedItemNr, hasTwoCols)
{
    //alert('g=' + global_hasTwoCols + ' h=' + hasTwoCols);
	global_hasTwoCols = hasTwoCols;
	document.write('	\
		<table width="100%" border="0" cellspacing="0" cellpadding="0" height="47">	\
			<tr height="47">	\
				<td align="left" valign="top" width="200" height="47"><img src="pix/ravero_logo.gif" alt="" height="47" width="200" border="0"></td>	\
				<td align="left" valign="middle" bgcolor="#d8ece3" height="47"><img src="pix/nopixel.gif" alt="" height="47" width="5" align="absmiddle" border="0"><!--span class="date">donderdag, 8 oktober 2003</span--></td>	\
				<td width="174" height="47"><img src="pix/plaatje_topright.gif" alt="" height="47" width="174"	border="0"></td>	\
			</tr>	\
		</table>	\
		<table width="100%" border="0" cellspacing="0" cellpadding="0">	\
			<tr>	\
				<td align="left" valign="top" width="200">');
	showNav(selectedItemNr);
	document.write('</td>	\
				<td align="left" valign="top" width="5"><img src="pix/nopixel.gif" alt="" height="10" width="5" border="0"></td>	\
				<td align="left" valign="top">	\
				<table width="100%" border="0" cellspacing="0" cellpadding="0">	\
					<tr>	\
						<td align="left" valign="top" width="100%"><img src="pix/nopixel.gif" alt="" height="47" width="10" border="0">	\
						</td>	\
						<td valign="top" width="174"><img src="pix/plaatje_toprightg.jpg" alt="" height="47" width="174" border="0">	\
						</td>	\
					</tr>	\
					<tr>');
	if(global_hasTwoCols){
						document.write('<td align="left" valign="top">');
	} else {
						document.write('<td align="left" valign="top" colspan="2">');
	}
}

function showRight()
{
    //alert('g2=' + global_hasTwoCols);
document.write('		</td>	');
	if(global_hasTwoCols){
document.write('		<td>	\
						</td>	');
	}
document.write('	</tr>	\
				</table>	\
				</td>	\
			</tr>	\
		</table>');

}