var CurActive="text_1";

var MaxAward=23;

function mActive()
{
  argv=mActive.arguments;
  var doActFor = argv[0];
  doActFor = "text_"+doActFor;

   if( document.getElementById(CurActive) != null)
	{
	   document.getElementById(CurActive).style.display = "none";

	     if( document.getElementById(doActFor) != null)
		 {
	       document.getElementById(doActFor).style.display="block";
		   CurActive = doActFor;
		 }
   }
}

function NumbersString(curAwards)
{	for (var i = 0; i < MaxAward; i++)   {
      if ((i+1)== curAwards)  {    	 document.writeln((i+1));
      } else {
    	 document.writeln('<a href="#tab" onClick="mActive('+(i+1)+');">'+(i+1)+'</a>');
      }
    }

}
