// Display date function
function today_is() {
  var Tanggal = new Date();
  return Tanggal;
}

var images = new Array(5);

images[0]='<a href="http://www.rbcamericas.org/pd/"><IMG SRC="images/center01.jpg" width="320" height="312" border="0"></a>';
images[1]='<a href="ebsd.htm"><IMG SRC="images/center02.jpg" width="320" height="312" border="0"></a>';
images[2]='<a href="http://www.rbcamericas.org/libritos/"><IMG SRC="images/center03.jpg" width="320" height="312" border="0"></a>';
images[3]='<a href="http://www.rbcamericas.org/libritos/"><IMG SRC="images/center04.jpg" width="320" height="312" border="0"></a>';
images[4]='<a href="http://www.rbcamericas.org/npd/"><IMG SRC="images/center06.jpg" width="320" height="312" border="0"></a>';

function writeImg()
{
  index = Math.floor(Math.random() * images.length);
  document.write(images[index]);
}

function foot1()
{
  document.write ('<table width=350 border=0 cellspacing=0 cellpadding=0 align=center><tr>');
  document.write ('<td valign="middle" align="center" width="283"><font size="-2" face="verdana">');
  document.write ('<b>Copyright &copy 2006 por Ministerios RBC</b></font><br>');
  document.write ('<font size="-2" face="Tahoma, Arial"> Para correspondencia general:<a href="mailto:literatura@rbc.org">&nbsp;literatura@rbc.org&nbsp;</a><br>');
  document.write ('Para problemas técnicos: <a href="mailto:rbclatino@rbc.org">rbclatino@rbc.org</a></font><br>');
  document.write ('</td></tr></table>');
}

function foot2()
{
  document.write ('<a href="http://www.gospelcom.net"><img src="images/gclogo.gif" border="0"></a></td></table>');
}

function foot3()
{
  document.write ('<a href="http://www.gospelcom.net"><img src="../images/gclogo.gif" border="0"></a></td></table>');
}

function writefooter()
{
  foot1();
  //foot2();
}
