function First(topimage,tophtm,dirhtm,dirimg)
{
	//topimage full path name file of the top image
	//tophtm if none no link else full pathname file votc.hml
	//dirhtm path for Belgium.htm
	//dirimg path for general images
	document.writeln('<table cellspacing="4" cellpadding="0" border="0" width=100%>');
	document.writeln(' <tr> <td bgcolor=#4400ED>&nbsp;</td>');
	document.writeln('<td valign=bottom>');
	if (tophtm != "none")
		document.write('<a href="'+tophtm+'">');
	document.write('<img src="'+topimage+'" border="0">');
	if (tophtm != "none")
		document.write('</a>');
	document.writeln('</td></tr>');
	document.writeln('<tr><td valign="TOP" align=center bgcolor=#4400ED width=50 ><a href="http://www.new-smart.com"><img src="'+dirimg+'smartvertical.gif" border="0"></a></td>');
	document.writeln('<td valign=top><br>');
}

function Last(dirhtm,dirimg,fprevious,fnext)
{
	//dirhtm path for Belgium.htm
	//dirimg path for general images
	//fprevious,fnext : none or full path name of next/previous stages
	document.writeln('</td></tr><tr><td  bgcolor=#4400ED></td><td><table width=100%><tr>');
	document.writeln(' <td align="left" nowrap width=50%>');
	
	if (fprevious != "none")
		{
		document.writeln(' <a href="'+fprevious+'">');
		document.writeln('<img src="'+dirimg+'but_previous.gif" border="0" alt="previous stage"></a>&nbsp;&nbsp;&nbsp;&nbsp;');
		}
	if (fnext != "none")
		{
		document.writeln(' <a href="'+fnext+'">');
		document.writeln('<img src="'+dirimg+'but_next.gif" border="0" alt="next stage"></a>');
		}
	document.writeln('</td>');
	document.writeln('<td align="right" width=50%><a href="#top"><img src="'+dirimg+'but_top.gif" border="0" alt="to top of the page"></a></td>');
	document.writeln('</tr></table></td></tr>');
	document.writeln('</table>');
}
function LastNoVO(dirhtm,dirimg,fprevious,fnext)
{
	//dirhtm path for Belgium.htm
	//dirimg path for general images
	//fprevious,fnext : none or full path name of next/previous stages
	document.writeln('</td></tr><tr><td bgcolor=#4400ED></td><td><table width=100%><tr>');
	document.writeln(' <td align="left" nowrap width=50%>');
	if (fprevious != "none")
		{
		document.writeln(' <a href="'+fprevious+'">');
		document.writeln('<img src="'+dirimg+'but_previous.gif" border="0" alt="previous stage"></a>');
		}
	if (fnext != "none")
		{
		document.writeln(' <a href="'+fnext+'">');
		document.writeln('<img src="'+dirimg+'but_next.gif" border="0" alt="next stage"></a>');
		}
	document.writeln('</td>');
	document.writeln('<td align="right" width=50%><a href="#top"><img src="'+dirimg+'but_top.gif" border="0" alt="to top of the page"></a></td>');
	document.writeln('</tr></table></td></tr>');
	document.writeln('</table>');
	
}

function toplink(dirimg)
{
	document.writeln('<p align=right><a href="#top"><img src="'+dirimg+'but_top.gif" border="0" alt="to top of the page"></a></p>');
}
function txtlink(dirhtm,txthtm)
{
	document.writeln('<a   href="'+dirhtm+'"><font color="darkgreen">'+txthtm+'</font></a>');
}
function txtlink20(dirhtm,txthtm)
{
	document.writeln('<a   href="'+dirhtm+'"><font color="#4400ED">'+txthtm+'</font></a>');
}

function imglink(dirhtm,imgfile)
{
	document.writeln('<a  href="'+dirhtm+'" ><img src="'+imgfile+'" border=0 hspace=2></a>'); 
}
function imglinkpar(dirhtm,imgfile,imgpar)
{
	document.writeln('<a  href="'+dirhtm+'" ><img src="'+imgfile+'" '+imgpar+'></a>'); 
}
