
var dom = (document.getElementById) ? true : false;
var ns5 = (!document.all && dom || window.opera) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ie4 && !ie5 && !dom) ? true : false;

var origWidth, origHeight;


if (nodyn) { event = "nope" }

var tipFollowMouse= true;	

var tipWidth= 470;
var offX= 20;	
var offY= 12; 
var tipFontFamily= "Verdana, arial, helvetica, sans-serif";
var tipFontSize= "8pt";

var tipFontColor= "#000000";
var tipBgColor= "#DDECFF"; 
var tipBorderColor= "#000080";
var tipBorderWidth= 3;
var tipBorderStyle= "ridge";
var tipPadding= 4;


var messages = new Array();



messages[0] = new Array('/5th/pix/ns1.1.jpg','  Estimate, round, and manipulate very large (e.g., millions) and very small (e.g., thousandths) numbers');
messages[1] = new Array('/5th/pix/ns1.1a.jpg','  Estimate, round, and manipulate very large (e.g., millions) and very small (e.g., thousandths) numbers');
messages[2] = new Array('/5th/pix/ns1.2.jpg','  Interpret percents as part of a hundred; find decimal and percent equivalents for common fractions and explain why they represent the same value; compute a given percent of a whole number');
messages[3] = new Array('/5th/pix/ns1.2a.jpg','  Interpret percents as part of a hundred; find decimal and percent equivalents for common fractions and explain why they represent the same value; compute a given percent of a whole number');
messages[4] = new Array('/5th/pix/ns1.2c.jpg','  Interpret percents as part of a hundred; find decimal and percent equivalents for common fractions and explain why they represent the same value; compute a given percent of a whole number');
messages[5] = new Array('/5th/pix/ns1.3.jpg','  Understand and compute positive integer powers of nonnegative integers; compute examples as repeated multiplication');
messages[6] = new Array('/5th/pix/ns1.3a.jpg','  Understand and compute positive integer powers of nonnegative integers; compute examples as repeated multiplication');
messages[7] = new Array('/5th/pix/ns1.4a.jpg','  Determine the prime factors of all numbers through 50 and write the numbers as the product of their prime factors by using exponents to show multiples of a factor (e.g., 24 = 2 x 2 x 2 x 3 = 2<sup>3</sup> x 3)');
messages[8] = new Array('/5th/pix/ns1.4b.jpg','  Determine the prime factors of all numbers through 50 and write the numbers as the product of their prime factors by using exponents to show multiples of a factor (e.g., 24 = 2 x 2 x 2 x 3 = 2<sup>3</sup> x 3)');
messages[9] = new Array('/5th/pix/ns1.4c.jpg','  Determine the prime factors of all numbers through 50 and write the numbers as the product of their prime factors by using exponents to show multiples of a factor (e.g., 24 = 2 x 2 x 2 x 3 = 2<sup>3</sup> x 3)');
messages[10] = new Array('/5th/pix/ns1.5a.jpg','  Identify and represent on a number line decimals, fractions, mixed numbers, and positive and   negative integers');
messages[11] = new Array('/5th/pix/ns1.5b.jpg','  Identify and represent on a number line decimals, fractions, mixed numbers, and positive and   negative integers');
messages[12] = new Array('/5th/pix/ns2.1.jpg','  Add, subtract, multiply, and divide with decimals; add with negative integers; subtract positive integers from negative integers; and verify the reasonableness of the results');
messages[13] = new Array('/5th/pix/ns2.1a.jpg','  Add, subtract, multiply, and divide with decimals; add with negative integers; subtract positive integers from negative integers; and verify the reasonableness of the results');
messages[14] = new Array('/5th/pix/ns2.1b.jpg','  Add, subtract, multiply, and divide with decimals; add with negative integers; subtract positive integers from negative integers; and verify the reasonableness of the results');
messages[15] = new Array('/5th/pix/ns2.1c.jpg','  Add, subtract, multiply, and divide with decimals; add with negative integers; subtract positive integers from negative integers; and verify the reasonableness of the results');
messages[16] = new Array('/5th/pix/ns2.1d.jpg','  Add, subtract, multiply, and divide with decimals; add with negative integers; subtract positive integers from negative integers; and verify the reasonableness of the results');
messages[17] = new Array('/5th/pix/ns2.1e.jpg',' Add, subtract, multiply, and divide with decimals; add with negative integers; subtract positive integers from negative integers; and verify the reasonableness of the results');
messages[18] = new Array('/5th/pix/ns2.1f.jpg','  Add, subtract, multiply, and divide with decimals; add with negative integers; subtract positive integers from negative integers; and verify the reasonableness of the results');
messages[19] = new Array('/5th/pix/ns2.2.jpg','  Demonstrate proficiency with division, including division with positive decimals and long division with multidigit divisors');
messages[20] = new Array('/5th/pix/ns2.2a.jpg','  Demonstrate proficiency with division, including division with positive decimals and long division with multidigit divisors');
messages[21] = new Array('/5th/pix/ns2.2b.jpg','  Demonstrate proficiency with division, including division with positive decimals and long division with multidigit divisors');
messages[22] = new Array('/5th/pix/ns2.3.jpg','  Solve simple problems, including ones arising in concrete situations, involving the addition and subtraction of fractions and mixed numbers (like and unlike denominators of 20 or less), and express answers in the simplest form');
messages[23] = new Array('/5th/pix/ns2.3a.jpg','  Solve simple problems, including ones arising in concrete situations, involving the addition and subtraction of fractions and mixed numbers (like and unlike denominators of 20 or less), and express answers in the simplest form');
messages[24] = new Array('/5th/pix/ns2.3b.jpg','  Solve simple problems, including ones arising in concrete situations, involving the addition and subtraction of fractions and mixed numbers (like and unlike denominators of 20 or less), and express answers in the simplest form');
messages[25] = new Array('/5th/pix/ns2.3c.jpg','  Solve simple problems, including ones arising in concrete situations, involving the addition and subtraction of fractions and mixed numbers (like and unlike denominators of 20 or less), and express answers in the simplest form');
messages[26] = new Array('/5th/pix/ns2.5.jpg','  Compute and perform simple multiplication and division of fractions and apply these procedures to solving problems');
messages[27] = new Array('/5th/pix/af1.2.jpg','  Use a letter to represent an unknown number; write and evaluate simple algebraic expressions in one variable by substitution');
messages[28] = new Array('/5th/pix/af1.2a.jpg','  Use a letter to represent an unknown number; write and evaluate simple algebraic expressions in one variable by substitution');
messages[29] = new Array('/5th/pix/af1.2b.jpg','  Use a letter to represent an unknown number; write and evaluate simple algebraic expressions in one variable by substitution');
messages[30] = new Array('/5th/pix/af1.2c.jpg','  Use a letter to represent an unknown number; write and evaluate simple algebraic expressions in one variable by substitution');
messages[31] = new Array('/5th/pix/af1.2d.jpg','  Use a letter to represent an unknown number; write and evaluate simple algebraic expressions in one variable by substitution');
messages[32] = new Array('/5th/pix/af1.3.jpg','  Know and use the distributive property in equations and expressions with variables');
messages[33] = new Array('/5th/pix/af1.3a.jpg','  Know and use the distributive property in equations and expressions with variables');
messages[34] = new Array('/5th/pix/af1.4.jpg','  Identify and graph ordered pairs in the four quadrants of the coordinate plane');
messages[35] = new Array('/5th/pix/af1.4a.jpg','  Identify and graph ordered pairs in the four quadrants of the coordinate plane');
messages[36] = new Array('/5th/pix/af1.4b.jpg','  Identify and graph ordered pairs in the four quadrants of the coordinate plane');
messages[37] = new Array('/5th/pix/af1.5b.jpg','  Solve problems involving linear functions with integer values; write the equation; and graph the resulting ordered pairs of integers on a grid');
messages[38] = new Array('/5th/pix/af1.5.jpg','  Solve problems involving linear functions with integer values; write the equation; and graph the resulting ordered pairs of integers on a grid');
messages[39] = new Array('/5th/pix/af1.5a.jpg','  Solve problems involving linear functions with integer values; write the equation; and graph the resulting ordered pairs of integers on a grid');
messages[40] = new Array('/5th/pix/af1.5c.jpg','  Solve problems involving linear functions with integer values; write the equation; and graph the resulting ordered pairs of integers on a grid');
messages[41] = new Array('/5th/pix/mg1.1.jpg','  Derive and use the formula for the area of a triangle and of a parallelogram by comparing it with the formula for the area of a rectangle (i.e., two of the same triangles make a parallelogram with twice the area; a parallelogram is compared with a rectangle of the same area by cutting and pasting a right triangle on the parallelogram)');
messages[42] = new Array('/5th/pix/mg1.1a.jpg','  Derive and use the formula for the area of a triangle and of a parallelogram by comparing it with the formula for the area of a rectangle (i.e., two of the same triangles make a parallelogram with twice the area; a parallelogram is compared with a rectangle of the same area by cutting and pasting a right triangle on the parallelogram)');
messages[43] = new Array('/5th/pix/mg1.1b.jpg','  Derive and use the formula for the area of a triangle and of a parallelogram by comparing it with the formula for the area of a rectangle (i.e., two of the same triangles make a parallelogram with twice the area; a parallelogram is compared with a rectangle of the same area by cutting and pasting a right triangle on the parallelogram)');
messages[44] = new Array('/5th/pix/mg1.1c.jpg','  Derive and use the formula for the area of a triangle and of a parallelogram by comparing it with the formula for the area of a rectangle (i.e., two of the same triangles make a parallelogram with twice the area; a parallelogram is compared with a rectangle of the same area by cutting and pasting a right triangle on the parallelogram)');
messages[45] = new Array('/5th/pix/mg1.2.jpg','  Construct a cube and rectangular box from two-dimensional patterns and use these patterns to compute the surfce area for these objects');
messages[46] = new Array('/5th/pix/mg1.3a.jpg',' Understand the concept of volume and use the appropriate units in common measuring systems (i.e., cubic centimeter [cm<sup>3</sup>], cubic meter [m<sup>3</sup>], cubic inch [in<sup>3</sup>], cubic yard [yd<sup>3</sup>]) to compute the volume of rectangular solids');
messages[47] = new Array('/5th/pix/mg1.3b.jpg','  Understand the concept of volume and use the appropriate units in common measuring systems (i.e., cubic centimeter [cm<sup>3</sup>], cubic meter [m<sup>3</sup>], cubic inch [in<sup>3</sup>], cubic yard [yd<sup>3</sup>]) to compute the volume of rectangular solids');
messages[48] = new Array('/5th/pix/mg1.3.jpg','  Understand the concept of volume and use the appropriate units in common measuring systems (i.e., cubic centimeter [cm<sup>3</sup>], cubic meter [m<sup>3</sup>], cubic inch [in<sup>3</sup>], cubic yard [yd<sup>3</sup>]) to compute the volume of rectangular solids');
messages[49] = new Array('/5th/pix/mg1.4.jpg','  Differentiate between, and use appropriate units of measures for, two- and three- dimensional objects (i.e., find the perimeter, area, volume)');
messages[50] = new Array('/5th/pix/mg2.1a.jpg','  Measure, identify, and draw angles, perpendicular and parallel lines, rectangles, and triangles by using appropriate tools (e.g., straight edge, ruler, compass, protractor, drawing software)');
messages[51] = new Array('/5th/pix/mg2.1.jpg','  Measure, identify, and draw angles, perpendicular and parallel lines, rectangles, and triangles by using appropriate tools (e.g., straight edge, ruler, compass, protractor, drawing software)');
messages[52] = new Array('/5th/pix/mg2.1b.jpg',' Measure, identify, and draw angles, perpendicular and parallel lines, rectangles, and triangles by using appropriate tools (e.g., straight edge, ruler, compass, protractor, drawing software)');
messages[53] = new Array('/5th/pix/mg2.2.jpg','  Know that the sum of the angles of any triangle is 180<sup>o</sup> and the sum of the angles of any quadrilateral is 360<sup>o</sup> and use this information to solve problems');
messages[54] = new Array('/5th/pix/mg2.2a.jpg','  Know that the sum of the angles of any triangle is 180<sup>o</sup> and the sum of the angles of any quadrilateral is 360<sup>o</sup> and use this information to solve problems');
messages[55] = new Array('/5th/pix/mg2.2b.jpg','  Know that the sum of the angles of any triangle is 180<sup>o</sup> and the sum of the angles of any quadrilateral is 360<sup>o</sup> and use this information to solve problems');

if (document.images) {
	var theImgs = new Array();
	for (var i=0; i<messages.length; i++) {
  	theImgs[i] = new Image();
		theImgs[i].src = messages[i][0];
  }
}


var startStr = '<table width="' + tipWidth + '"><tr><td align="center" width="100%"><img src="';
var midStr = '" border="0"></td></tr><tr><td valign="top">';
var endStr = '</td></tr></table>';


var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = tooltip.style;
	if (ie4||ie5||ns5) {	
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		document.onmousemove = trackMouse;
	}
}

window.onload = initTip;


var t1,t2;	
var tipOn = false;	
function doTooltip(evt,num) {
	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	
	if (messages[num][2])	var curBgColor = messages[num][2];
	else curBgColor = tipBgColor;
	if (messages[num][3])	var curFontColor = messages[num][3];
	else curFontColor = tipFontColor;
	if (ie4||ie5||ns5) {
		var tip = startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr;
		tipcss.backgroundColor = curBgColor;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
	else t1=setTimeout("tipcss.visibility='visible'",100);
}

var mouseX, mouseY;
function trackMouse(evt) {
	standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body 
	mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
	mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	if (tipOn) positionTip(evt);
}


function positionTip(evt) {
	if (!tipFollowMouse) {
		standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
		mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
		mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	}
	
	var tpWd = (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;

	var winWd = (ns5)? window.innerWidth-20+window.pageXOffset: standardbody.clientWidth+standardbody.scrollLeft;
	var winHt = (ns5)? window.innerHeight-20+window.pageYOffset: standardbody.clientHeight+standardbody.scrollTop;

	if ((mouseX+offX+tpWd)>winWd) 
		tipcss.left = mouseX-(tpWd+offX)+"px";
	else tipcss.left = mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt) 
		tipcss.top = winHt-(tpHt+offY)+"px";
	else tipcss.top = mouseY+offY+"px";
	if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}

document.write('<div id="tipDiv" style="position:absolute; visibility:hidden; z-index:100"></div>')



