var prevTool2 = "tabPrimary";
function changeTool2(curTool)
{
	var h2 = new Array("tabPrimary", "tabElementary", "tabSecondary","tabAligned");
	
	for (var i=0;i<h2.length;i++){
		if(h2[i] == curTool){
		 	document.getElementById(h2[i]).style.display = "block";
			prevTool2 = h2[i];
		} else {
			document.getElementById(h2[i]).style.display = "none";
		}
	}
}

var prevTool1 = "tabAccountable";
function changeTool1(curTool)
{
	var h1 = new Array("tabAccountable", "tabEasytoImplement", "tabHighQuality");
	
	for (var i=0;i<h1.length;i++){
		if(h1[i] == curTool){
		 	document.getElementById(h1[i]).style.display = "block";
			prevTool1 = h1[i];
		} else {
			document.getElementById(h1[i]).style.display = "none";
		}
	}
}

function pickStream(file) {
	document.location.href = "http://easylink.playstream.com/scholasticred/WinMedia/" + file + ctype + ".wvx";
}