<!-- Begin
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("mac") != -1)
var a="\r"; 
else
var a="\n";
var max=0;
function tlist() {
max=tlist.arguments.length;
for (i=0; i<max; i++)
this[i]=tlist.arguments[i];
}
tl = new tlist(
"  _ _ _ "+a+
"  _ _ _ "+a+
"  _ _ _ "+a,

"  three   "+a+
"  _ _ _       "+a+
"  _ _ _       "+a,

"  _ _ _    "+a+
"   four     "+a+
"  _ _ _      "+a,

"  _ _ _  "+a+
"  _ _ _   "+a+
"   five     "+a,

"    10   "+a+
"  numbers "+a+
"   total   "+a,

"    10   "+a+
"  numbers "+a+
"   total   "+a,

"  _ _ _ "+a+
"  _ _ _ "+a+
"  _ _ _ "+a,

"       "+a+
"       "+a+
"       "+a,

"     #s   "+a+
"  1 to 10 "+a+
"            "+a

);
var x=0;
function play() {
document.animation.cheerleader.value = " " + a +
tl[x];
x++;
if (x != max)
setTimeout("play()", 250);
else
x = 0;
}
//  End -->

function toggleCategoryVisibility ( theIdOfTheSubCategory ) {
  if ( document.all ) {
    object = document.all[theIdOfTheSubCategory];
  } else if ( document.getElementById ) {
    object = document.getElementById(theIdOfTheSubCategory);
  }

  if ( object.style ) {
    if ( object.style.display == "none" ) {
      object.style.display = "";
    } else {
      object.style.display = "none";
    }
  } else if ( object.display ) {
    if ( object.display == "none" ) {
      object.display = "";
    } else {
      object.display = "none";
    }
  }
}


//Default browsercheck, added to all scripts!
function checkBrowser(){
	this.ver=navigator.appVersion
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
	return this
}
bw=new checkBrowser()
//Set these variables:
fromLeft=10 // How much from the left of the cursor should the div be?
fromTop=2 // How much from the top of the cursor should the div be?

/********************************************************************
Initilizes the objects
*********************************************************************/
function cursorInit(){
	oCursor=new makeCursorObj('divCursor')
	scrolled=bw.ns4 || bw.ns5?"window.pageYOffset":"document.body.scrollTop"
	if(bw.ns4)document.captureEvents(Event.MOUSEMOVE)
	document.onmousemove=move;
}
/********************************************************************
Contructs the cursorobjects
*********************************************************************/
function makeCursorObj(obj,nest){
	nest=(!nest) ? '':'document.'+nest+'.'										
   	this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0;														
	this.moveIt=b_moveIt; 																	
	return this
}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}
/********************************************************************
Tracking the mousemove and moves the object along.
*********************************************************************/
function move(e){
	x=bw.ns4 || bw.ns5?e.pageX:event.x
	y=bw.ns4 || bw.ns5?e.pageY:event.y
	if(bw.ie4 || bw.ie5) y=y+eval(scrolled)
	oCursor.moveIt(x+fromLeft,y+fromTop)
}

function one() {
document.write("Mirror the midline. Start at the bottom left corner. Read up to the line, then down, repeating for each column.");
}

function two() {
document.write("Arrange #s 1 to 10 by the amount of letters in the spelling.");
}




