var qsParm = new Array();
function showArtist(num){
	hideall();
	var statement = document.getElementById("artist" + num);
	statement.style.display = "block";
}
function hideall(){
	for(var i=1;i<17;i++){
		var statement = document.getElementById("artist" + i);
		statement.style.display = "none";
	}
}
function rollOver(){
	var queue = document.getElementById('sidepictures2');
	var lastElement = queue.lastChild;	
	var firstElement = queue.firstChild;
		
	queue.removeChild(queue.firstChild);
	queue.appendChild(firstElement);
	movement = setTimeout("rollOver()",1000);
}
function qs() {
	var query = window.location.search.substring(1);
	var parms = query.split('&');
	for (var i=0; i<parms.length; i++) {
		var pos = parms[i].indexOf('=');
		if (pos > 0) {
			var key = parms[i].substring(0,pos);
			var val = parms[i].substring(pos+1);
			qsParm[key] = val;
		}
	}
}

startList = function() {
	if (document.all && document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="li") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
	rollOver();
}
window.onload=startList;