
function change( id )
{
  if ( activeId == id ) foo = "invisible";
  else foo = "visible";
  document.getElementById( "horoscopeA" ).className = foo;

  document.getElementById( "horoscopeImg" ).src = "images/" + arr[id][0] + "/big.png";
  document.getElementById( "horoscopeH1" ).innerHTML = arr[id][1];
  document.getElementById( "horoscopeH1date" ).innerHTML = arr[id][2];
  if ( activeId != id ) document.getElementById( "horoscopeD" ).innerHTML = arr[id][3];
  document.getElementById( "horoscopeA" ).href = arr[id][4];
  document.getElementById( "pointer" ).style.marginLeft = (20+(id-1)*57)+"px";

  for ( var x = 1; x < arr.length; x++ )
    document.getElementById( arr[x][0] ).className = arr[x][0];
  document.getElementById( arr[id][0] ).className = arr[id][0]+"Active";
}

