function swapPic()
{
	window.status="Page is loaded";
	if(document.getElementById)
	{
		 
		var thePicture=document.getElementById("rotation");
		if (thePicture){
		var y = rnd(3);
		var picClass="rotate"+y;
		thePicture.className=picClass;
		}
	}
}
function rnd(n)
{
	return Math.floor(Math.random() * n) + 1;
}

/*function display_switch(id1, id2) {
       var e1 = document.getElementById(id1);
       var e2 = document.getElementById(id2);
          e1.style.display = 'none';
          e2.style.display = 'block';
}
function display_on(id) {
       var e = document.getElementById(id);
          e.style.display = 'block';
}
function display_off(id) {
       var e = document.getElementById(id);
          e.style.display = 'none';
}

/*function hoverOn(obj){
	obj.className="hover";
}

function hoverOff(obj){
	obj.className.replace (" hover", "")
}

function hoverIE(id, cmd){
	if (document.all&&document.getElementById){
		navRoot = document.getElementById(id);
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="UL") {
				if (cmd == "on"){
					hoverOn(node);
				}else{
					hoverOff(node);
				}
			}
		}
	}
} */