// JavaScript Documentwindow.onload=montre;function montre(id) {function getURL(uri) {uri.dir = location.href.substring(0,location.href.lastIndexOf('\/'));uri.dom = uri.dir; if (uri.dom.substr(0,7) == 'http:\/\/') uri.dom = uri.dom.substr(7);uri.path = ''; var pos = uri.dom.indexOf('\/'); if (pos > -1) {uri.path = uri.dom.substr(pos+1); uri.dom = uri.dom.substr(0,pos);}return uri;}var uri = new Object();getURL(uri);var x = new Array(7);x[1] = "aac/universityexperience";x[2] = "aac/tutoring";x[3] = "http://www.k-state.edu/testing/index.htm";x[4] = "aac/mathcourses";x[5] = "aac/pilotsprogram";x[6] = "aac/atp";x[7] = "aac/helpfullinks"var d = document.getElementById(id);	for (var i = 1; i<=7; i++) {		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}				if ((x[i]) == uri.path)	{document.getElementById('smenu'+i).style.display='block';}	}if (d) {d.style.display='block';}}