// 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,4) == 'http:\/\/') uri.dom = uri.dom.substr(4);		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(5);	x[1] = "/www.k-state.edu/greek/confirmation/needtoknow";	x[2] = "/www.k-state.edu/greek/confirmation/events";	x[3] = "/www.k-state.edu/greek/confirmation/specialinfo";	x[4] = "/www.k-state.edu/greek/confirmation/parents";	var d = document.getElementById(id);	for (var i = 1; i<=4; 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';}	//		document.write(uri.path); 	//    	/www.k-state.edu/greek/confirmation/events}	