var links = new Array()
links[0] = '<a href="kindergarten/virtual/addition.htm" class="two">virtual</a><br><font style="margin-left:4cm"><a href="http://mathebook.net/kindergarten/eworkbook/add1dg.pdf" class="two">eWorkBook</a></font>'
links[1] = '<a href="kindergarten/virtual/subtraction.htm" class="two">virtual</a><br><font style="margin-left:5cm"><a href="http://mathebook.net/kindergarten/eworkbook/sub1dg.pdf" class="two">eWorkBook</a></font>'
links[2] = '<a href="kindergarten/virtual/count.htm" class="two">virtual</a><br><font style="margin-left:8.9cm"><a href="http://mathebook.net/kindergarten/eworkbook/count.pdf" class="two">eWorkBook</a></font>'
links[3] = '<a href="kindergarten/virtual/time.htm" class="two">virtual</a><br><font style="margin-left:7.5cm"><a href="http://mathebook.net/kindergarten/eworkbook/time.pdf" class="two">eWorkBook</a></font>'
links[4] = '<a href="kindergarten/virtual/shapes.htm" class="two">virtual</a><br><font style="margin-left:7.5cm"><a href="http://mathebook.net/kindergarten/eworkbook/shapes.pdf" class="two">eWorkBook</a></font>'
links[5] = '<a href="kindergarten/virtual/countadd.htm" class="two">virtual</a><br><font style="margin-left:6cm"><a href="kindergarten/eworkbook/countandadd.pdf" class="two">eWorkBook</a></font>'
links[6] = '<a href="kindergarten/virtual/countsub.htm" class="two">virtual</a><br><font style="margin-left:7cm"><a href="kindergarten/eworkbook/countandsubtract.pdf" class="two">eWorkBook</a></font>'
links[7] = '<a href="kindergarten/virtual/msnum.htm" class="two">virtual</a><br><font style="margin-left:6.1cm"><a href="kindergarten/eworkbook/missingnos.pdf" class="two">eWorkBook</a></font>'
links[8] = '<a href="kindergarten/virtual/odd1out.htm" class="two">virtual</a><br><font style="margin-left:5.5cm"><a href="kindergarten/eworkbook/oddoneout.pdf" class="two">eWorkBook</a></font>'
links[9] = ""

var ns6=document.getElementById&&!document.all
var ie=document.all
var timer = window.setTimeout("hideLinks()",10000)
timer = window.clearTimeout(timer)

function showLinks(indx,opr)
{
	var other = "span"
	timer = window.clearTimeout(timer)
	if (ie) eval("document.all."+opr).innerHTML = links[indx]
	else if (ns6) document.getElementById(opr).innerHTML=links[indx]
	
	for(i=0;i<10;i++)
	{
		other = "span" + (i + 1)
		if(i != indx)
		{	eval("document.all."+other).innerHTML = links[9]	}
	}
}

function startTimer()
{
	timer = window.setTimeout("hideLinks()",10000)
}

function hideLinks()
{	
	var allLinks
	for(i=1;i<10;i++)
	{
		allLinks = "span" + i
		{	eval("document.all."+allLinks).innerHTML = links[9]	}
	}
}

