


function EvalStar(stars){
  for (i=0;i<stars;i++) document.getElementById('s'+i).src = '/style/mstar.jpg';
  for (i=4;i>stars-1;i--) document.getElementById('s'+i).src = '/style/mstar_g.jpg';
  document.getElementById('ival').value = stars;
}

function EvalNow(dir){
  if (dir){
    document.getElementById('gstars').style.display = 'block';
    document.getElementById('stars').style.display = 'none';
    document.getElementById('nowval').className = 'focus';
  }
  else {
    document.getElementById('gstars').style.display = 'none';
    document.getElementById('stars').style.display = 'block';
    document.getElementById('nowval').className = '';
    for (i=0;i<5;i++) document.getElementById('bs'+i).className = 'gstarinp';
  }
}

function EvalStarBig(stars){
  for (i=0;i<stars;i++) document.getElementById('bs'+i).className = 'starinp';
  for (i=4;i>stars-1;i--) document.getElementById('bs'+i).className = 'gstarinp';
}

