


/* menu mouse over */
function cell_color(idnaam,actie)
{
  opkleur = '#FFFFFF';
  afkleur = '#D9E1F0';
  eval(idnaam+'.style.backgroundColor='+actie+'kleur');
}

/* laadt de tip popup */
function loadTip() 
{
  tip = new uberToolTip( null , 10 );
  tip.init();
}

function mailVriend(id)
{
   window.open('mailvriend.php?id='+id,'MailVriend','width=320,height=275');
}
function nieuwsbrief()
{
   window.open('popup/mailing.php','nieuwsbrief','width=320,height=275');
}

function plaatsReactie(id)
{
   window.open('reactie.php?action=vulin&id='+id,'reacties','width=400,height=350');
}
function bekijkReactie(id)
{
   window.open('reactie.php?id='+id,'reacties','width=400,height=350');
}

/* geef commentaar bij een game weer */
function gt(tekst,ster)
{
  stertxt = '<table width="60" border="0" cellpadding="0" cellspacing="0"><tr>';
  for(i=5;i>0;i--)
  {
    if(ster >= 0.9)
    {
      image = 'star-full.gif';
    }
    else if(ster >= 0.5)
    {
      image = 'star-half.gif';
    }
    else
    {
      image = 'star-empty.gif';
    }
    stertxt += '<td><img src="images/'+image+'" name="sterren" width="8" height="8" border="0" id="sterren"></a></td>';
	ster = ster-1;
  }
  stertxt += '</tr></table>';
  tekst += '<br><table border="0" cellpadding="0" cellspacing="0"><tr><td class="normaal"></td><td>'+stertxt+'</td></tr></table>';
  tip.show(tekst);
}

