function mover(a) 
{
  a.style.backgroundColor='#ffcc00';
  return true; 
}

function mout(a) 
{
  a.style.backgroundColor='#ddd';
  return true;
}

function unhideToolTip ()
{
  var a = document.getElementsByTagName('div');
  var toolTip = "";
  for(i=0;i<a.length;i++) 
    {
      if(a[i].id.indexOf('tooltip') != -1) 
        {
	  toolTip = document.getElementById(a[i].id);
	  toolTip.style.display="block";
        }
    }
  return true;
}

function help(a) {
  window.open('help.php?no=' + a,'_blank','width=300,height=340,scrollbars=no');
  return false;
}

function setTooltip(tt,a) {
  var tooltip = document.getElementById(tt);
  tooltip.innerHTML = a;
}

function resetTooltip(tt) {
  var tooltip = document.getElementById(tt);
  tooltip.innerHTML = 'The histogram below shows the distribution of matches along the query. A fragment of the query sequence may be selected for resubmission by moving the small red squares on the axis. Click first on one of the red squares, then click on the position you want it to move to. Details about each match are shown when the mouse is moved over the line representing a matching database sequence. The color of the lines indicate the significance of the matches.';
}

