
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('/8th/pix/2.0c.jpg','  Students understand and use such operations as taking the opposite, finding the reciprocal, taking a root, and raising to a fractional power. They understand and use the rules of exponents');
messages[1] = new Array('/8th/pix/2.0.jpg','  Students understand and use such operations as taking the opposite, finding the reciprocal, taking a root, and raising to a fractional power. They understand and use the rules of exponents');
messages[2] = new Array('/8th/pix/2.0b.jpg','  Students understand and use such operations as taking the opposite, finding the reciprocal, taking a root, and raising to a fractional power. They understand and use the rules of exponents');
messages[3] = new Array('/8th/pix/2.0a.jpg','  Students understand and use such operations as taking the opposite, finding the reciprocal, taking a root, and raising to a fractional power. They understand and use the rules of exponents');
messages[4] = new Array('/8th/pix/3.0.jpg','  Students solve equations and inequalities involving absolute values');
messages[5] = new Array('/8th/pix/3.0a.jpg','  Students solve equations and inequalities involving absolute values');
messages[6] = new Array('/8th/pix/4.0.jpg','  Students simplify expressions prior to solving linear equations and inequalities in one variable, such as 3(2x-5) + 4(x-2) = 12');
messages[7] = new Array('/8th/pix/4.0a.jpg','  Students simplify expressions prior to solving linear equations and inequalities in one variable, such as 3(2x-5) + 4(x-2) = 12');
messages[8] = new Array('/8th/pix/5.0b.jpg','  Students solve multistep problems, including word problems, involving linear equations and linear inequalities in one variable and provide justification for each step');
messages[9] = new Array('/8th/pix/5.0.jpg','  Students solve multistep problems, including word problems, involving linear equations and linear inequalities in one variable and provide justification for each step');
messages[10] = new Array('/8th/pix/5.0c.jpg','  Students solve multistep problems, including word problems, involving linear equations and linear inequalities in one variable and provide justification for each step');
messages[11] = new Array('/8th/pix/5.0a.jpg','  Students solve multistep problems, including word problems, involving linear equations and linear inequalities in one variable and provide justification for each step');
messages[12] = new Array('/8th/pix/5.0d.jpg','  Students solve multistep problems, including word problems, involving linear equations and linear inequalities in one variable and provide justification for each step');
messages[13] = new Array('/8th/pix/6.0.jpg','  Students graph a linear equation and compute the x- and y-intercepts (e.g., graph 2x + 6y = 4). They are also able to sketch the region defined by linear inequality (e.g., they sketch the region defined by 2x + 6y < 4');
messages[14] = new Array('/8th/pix/7.0.jpg','  Students verify that a point lies on a line, given an equation of the line. Students are able to derive linear equations using the point-slope formula');
messages[15] = new Array('/8th/pix/8.0.jpg','  Students understand the concepts of parallel lines and perpendicular lines and how those slopes are related. Students are able to find the equation of a line perpendicular to a given line that passes through a given point');
messages[16] = new Array('/8th/pix/9.0.jpg','  Students solve a system of two linear equations in two variables algebraically and are able to interpret the answer graphically. Students are able to solve a system of two linear inequalities in two variables and to sketch the solution sets');
messages[17] = new Array('/8th/pix/10.0.jpg','  Students add, subtract, multiply, and divide monomials polynomials. Students solve multistep problems, including word problems, by using these techniques');
messages[18] = new Array('/8th/pix/10.0a.jpg','  Students add, subtract, multiply, and divide monomials polynomials. Students solve multistep problems, including word problems, by using these techniques');
messages[19] = new Array('/8th/pix/10.0c.jpg','  Students add, subtract, multiply, and divide monomials polynomials. Students solve multistep problems, including word problems, by using these techniques');
messages[20] = new Array('/8th/pix/10.0d.jpg','  Students add, subtract, multiply, and divide monomials polynomials. Students solve multistep problems, including word problems, by using these techniques');
messages[21] = new Array('/8th/pix/11.0.jpg','  Students apply basic factoring techniques to second- and simple third-degree polynomials. These techniques include finding a common factor for all terms in a polynomial, recognizing the difference of two squares, and recognizing perfect squares of binomials');
messages[22] = new Array('/8th/pix/11.0b.jpg','  Students apply basic factoring techniques to second- and simple third-degree polynomials. These techniques include finding a common factor for all terms in a polynomial, recognizing the difference of two squares, and recognizing perfect squares of binomials');
messages[23] = new Array('/8th/pix/14.0.jpg','  Students solve a quadratic equation by factoring or completing the square');
messages[24] = new Array('/8th/pix/14.0a.jpg','  Students solve a quadratic equation by factoring or completing the square');
messages[25] = new Array('/8th/pix/14.0b.jpg','  Students solve a quadratic equation by factoring or completing the square');
messages[26] = new Array('/8th/pix/14.0c.jpg','  Students solve a quadratic equation by factoring or completing the square');
messages[27] = new Array('/8th/pix/15.0.jpg','  Students apply algebraic techniques to solve rate problems, work problems, and percent mixture problems');
messages[28] = new Array('/8th/pix/15.0a.jpg','  Students apply algebraic techniques to solve rate problems, work problems, and percent mixture problems');
messages[29] = new Array('/8th/pix/15.0b.jpg','  Students apply algebraic techniques to solve rate problems, work problems, and percent mixture problems');
messages[30] = new Array('/8th/pix/15.0d.jpg','  Students apply algebraic techniques to solve rate problems, work problems, and percent mixture problems');
messages[31] = new Array('/8th/pix/17.0.jpg','  Students determine the domain of independent variables and the range of dependent variables defined by a graph, a set of ordered pairs, or a symbolic expression');
messages[32] = new Array('/8th/pix/21.0.jpg','  Students graph quadratic functions and know that their roots are the x-intercepts');
messages[33] = new Array('/8th/pix/23.0.jpg','  Students apply quadratic equations to physical problems, such as the motion of an object under the force of gravity');
messages[34] = new Array('/8th/pix/24.2.jpg','  Students apply the hypothesis and conclusion in logical deduction');
messages[35] = new Array('/8th/pix/11.0c.jpg','  Students apply basic factoring techniques to second- and simple third-degree polynomials. These techniques include finding a common factor for all terms in a polynomial, recognizing the difference of two squares, and recognizing perfect squares of binomials');
messages[36] = new Array('/8th/pix/9.0a.jpg','  Students solve a system of two linear equations in two variables algebraically and are able to interpret the answer graphically. Students are able to solve a system of two linear inequalities in two variables and to sketch the solution sets');
messages[37] = new Array('/8th/pix/9.0b.jpg','  Students solve a system of two linear equations in two variables algebraically and are able to interpret the answer graphically. Students are able to solve a system of two linear inequalities in two variables and to sketch the solution sets');
messages[38] = new Array('/8th/pix/6.0a.jpg','  Students graph a linear equation and compute the x- and y-intercepts (e.g., graph 2x + 6y = 4). They are also able to sketch the region defined by linear inequality (e.g., they sketch the region defined by 2x + 6y < 4');
messages[39] = new Array('/8th/pix/6.0b.jpg','  Students graph a linear equation and compute the x- and y-intercepts (e.g., graph 2x + 6y = 4). They are also able to sketch the region defined by linear inequality (e.g., they sketch the region defined by 2x + 6y < 4');
messages[40] = new Array('/8th/pix/7.0a.jpg','  Students verify that a point lies on a line, given an equation of the line. Students are able to derive linear equations using the point-slope formula');
messages[41] = new Array('/8th/pix/12.0a.gif','  Students simplify fractions with polynomials in the numerator and denominator by factoring both and reducing them to the lowest terms. ');
messages[42] = new Array('/8th/pix/12.0b.gif','  Students simplify fractions with polynomials in the numerator and denominator by factoring both and reducing them to the lowest terms. ');
messages[43] = new Array('/8th/pix/12.0c.gif','  Students simplify fractions with polynomials in the numerator and denominator by factoring both and reducing them to the lowest terms. ');
messages[44] = new Array('/8th/pix/12.0d.gif','  Students simplify fractions with polynomials in the numerator and denominator by factoring both and reducing them to the lowest terms. ');
messages[45] = new Array('/8th/pix/12.0e.gif','  Students simplify fractions with polynomials in the numerator and denominator by factoring both and reducing them to the lowest terms. ');

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>')



