
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= 460;
var offX= 10;	
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('/3rd/pix/ns1.1.jpg','  Count, read, and write whole numbers to 10,000');
messages[1] = new Array('/3rd/pix/ns1.2.jpg','  Compare and order whole numbers to 10,000');
messages[2] = new Array('/3rd/pix/ns1.2a.jpg','  Compare and order whole numbers to 10,000');
messages[3] = new Array('/3rd/pix/ns1.3a.jpg','  Identify the place value for each digit in numbers to 10,000');
messages[4] = new Array('/3rd/pix/ns1.3b.jpg','  Understanding place value to 10,000');
messages[5] = new Array('/3rd/pix/ns1.3c.jpg','  Understanding place value to 10,000');
messages[6] = new Array('/3rd/pix/ns1.4.jpg','  Round off numbers to 10,000 to nearest ten, hundred, and thousand ');
messages[7] = new Array('/3rd/pix/ns1.4a.jpg','  Round off numbers to 10,000 to nearest ten, hundred, and thousand ');
messages[8] = new Array('/3rd/pix/ns1.4b.jpg','  Round off numbers to 10,000 to nearest ten, hundred, and thousand ');
messages[9] = new Array('/3rd/pix/ns1.5.jpg','  Use expanded notation to represent numbers (e.g., 3,206 = 3,000 + 200 + 6)');
messages[10] = new Array('/3rd/pix/ns1.5a.jpg','  Use expanded notation to represent numbers (e.g., 3,206 = 3,000 + 200 + 6)');
messages[11] = new Array('/3rd/pix/ns1.5b.jpg','  Use expanded notation to represent numbers (e.g., 3,206 = 3,000 + 200 + 6)');
messages[12] = new Array('/3rd/pix/ns2.1a.jpg','  Find the sum or difference of 2 whole numbers between 0 and 10,000');
messages[13] = new Array('/3rd/pix/ns2.1b.jpg','  Find the sum or difference of 2 whole numbers between 0 and 10,000');
messages[14] = new Array('/3rd/pix/ns2.1c.jpg','  Find the sum or difference of 2 whole numbers between 0 and 10,000');
messages[15] = new Array('/3rd/pix/ns2.1d.jpg','  Find the sum or difference of 2 whole numbers between 0 and 10,000');
messages[16] = new Array('/3rd/pix/ns2.1e.jpg','  Find the sum or difference of 2 whole numbers between 0 and 10,000');
messages[17] = new Array('/3rd/pix/ns2.1f.jpg','  Find the sum or difference of 2 whole numbers between 0 and 10,000');
messages[18] = new Array('/3rd/pix/ns2.1g.jpg','  Find the sum or difference of 2 whole numbers between 0 and 10,000');
messages[19] = new Array('/3rd/pix/ns2.3.jpg','  Use the inverse relationship of multiplication or division to compute or check results');
messages[20] = new Array('/3rd/pix/ns2.3a.jpg','  Use the inverse relationship of multiplication or division to compute or check results');
messages[21] = new Array('/3rd/pix/ns2.3b.jpg','  Use the inverse relationship of multiplication or division to compute or check results');
messages[22] = new Array('/3rd/pix/ns2.4.jpg','  Solve simple problems involving multiplication of multi-digit numbers by one-digit numbers (e.g., 3,671 x 3 = ____)');
messages[23] = new Array('/3rd/pix/ns2.4a.jpg','  Solve simple problems involving multiplication of multi-digit numbers by one-digit numbers (e.g., 3,671 x 3 = ____)');
messages[24] = new Array('/3rd/pix/ns2.4b.jpg','  Solve simple problems involving multiplication of multi-digit numbers by one-digit numbers (e.g., 3,671 x 3 = ____)');
messages[25] = new Array('/3rd/pix/ns2.5.jpg','  NS 2.5');
messages[26] = new Array('/3rd/pix/ns2.5a.jpg','  NS 2.5');
messages[27] = new Array('/3rd/pix/ns2.6.jpg','  Understand the special properties of 0 and 1 in multiplication and division');
messages[28] = new Array('/3rd/pix/ns2.7.jpg','  Determine the unit cost when given the total cost and number of units');
messages[29] = new Array('/3rd/pix/ns3.2.jpg','  Add and subtract simple fractions (e.g., determine that 1/8 + 3/8 is the same as 1/2)');
messages[30] = new Array('/3rd/pix/ns3.2a.jpg','  Add and subtract simple fractions (e.g., determine that 1/8 + 3/8 is the same as 1/2)');
messages[31] = new Array('/3rd/pix/ns3.3.jpg','  Solve problems involving addition, subtraction, multiplication, and division of money amounts in decimal notation and multiply and divide money amounts in decimal notation by using whole-number multipliers and divisors');
messages[32] = new Array('/3rd/pix/ns3.3a.jpg','  Solve problems involving addition, subtraction, multiplication, and division of money amounts in decimal notation and multiply and divide money amounts in decimal notation by using whole-number multipliers and divisors');
messages[33] = new Array('/3rd/pix/ns3.3b.jpg','  Solve problems involving addition, subtraction, multiplication, and division of money amounts in decimal notation and multiply and divide money amounts in decimal notation by using whole-number multipliers and divisors');
messages[34] = new Array('/3rd/pix/ns3.4c.jpg','  Know and understand that fractions and decimals are two different representations of the same concept (e.g., 50 cents ia 1/2 of a dollar, 75 cents is 3/4 of a dollar)');
messages[35] = new Array('/3rd/pix/af1.1.jpg','  Represent relationships of quantities in the form of  mathematical expressions, equations, or inequalities');
messages[36] = new Array('/3rd/pix/af1.1a.jpg','  Represent relationships of quantities in the form of  mathematical expressions, equations, or inequalities');
messages[37] = new Array('/3rd/pix/af1.1b.jpg','  Represent relationships of quantities in the form of  mathematical expressions, equations, or inequalities');
messages[38] = new Array('/3rd/pix/af1.2.jpg','  Solve problems involving numeric equations or inequalities');
messages[39] = new Array('/3rd/pix/af1.3.jpg','  AF 1.3');
messages[40] = new Array('/3rd/pix/af1.5.jpg','  Recognize and use the commutative and associtive properties of multiplication (e.g., if 5 x 7 = 35, then what is 7 x 5? and if 5 x 7 x 3 = 105, then what is 7 x 3 x 5?)');
messages[41] = new Array('/3rd/pix/af2.1.jpg','  Solve simple problems involving a fuctional relationship between two quantities (e.g., find the total cost of multiple items given the cost per unit)');
messages[42] = new Array('/3rd/pix/af2.1a.jpg','  Solve simple problems involving a fuctional relationship between two quantities (e.g., find the total cost of multiple items given the cost per unit)');
messages[43] = new Array('/3rd/pix/af2.1b.jpg','  Solve simple problems involving a fuctional relationship between two quantities (e.g., find the total cost of multiple items given the cost per unit)');
messages[44] = new Array('/3rd/pix/af2.2.jpg','  Extend and recognize a linear pattern by its rules (e.g., the number of legs on a given number of horses may be calculated by counting by 4s or by multiplying the number of horses by 4)');
messages[45] = new Array('/3rd/pix/mg1.2.jpg','  Estimate or determine the area and volume of solid figures by covering them with squares or by counting the number of cubes that would fill them');
messages[46] = new Array('/3rd/pix/mg1.2a.jpg','  Estimate or determine the area and volume of solid figures by covering them with squares or by counting the number of cubes that would fill them');
messages[47] = new Array('/3rd/pix/mg1.2b.jpg','  Estimate or determine the area and volume of solid figures by covering them with squares or by counting the number of cubes that would fill them');
messages[48] = new Array('/3rd/pix/mg1.3.jpg','  Find the perimeter of a polygon with integer sides');
messages[49] = new Array('/3rd/pix/mg1.3a.jpg','  Find the perimeter of a polygon with integer sides');
messages[50] = new Array('/3rd/pix/mg1.3b.jpg','  Find the perimeter of a polygon with integer sides');
messages[51] = new Array('/3rd/pix/mg1.3c.jpg','  Find the perimeter of a polygon with integer sides');
messages[52] = new Array('/3rd/pix/mg1.4.jpg','  Carry out simple unit conversions within a system of measurement (e.g., centimeters and meters, hours and minutes)');
messages[53] = new Array('/3rd/pix/mg2.2a.jpg','  Identify attributes of triangles (e.g., two equal sides for the isosceles triangle, three equal sides for the equilateral triangle, right angle for the right triangle)');
messages[54] = new Array('/3rd/pix/mg2.3.jpg','  Identify attributes of quadrilaterals (e.g., parallel sides for the parallelogram, right angles for the rectangle, equal sides and right angles for the square)');


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>')



