<!--

function hideemail(url)
				{
 	coded = "k37@3smrk3n5my77.myw"
		cipher = "aZbYcXdWeVfUgThSiRjQkPlOmNnMoLpKqJrIsHtGuFvEwDxCyBzA1234567890"
		shift=coded.length
		link=""
		for (i=0; i<coded.length; i++){
			if (cipher.indexOf(coded.charAt(i))==-1){
				ltr=coded.charAt(i)
				link+=(ltr)
			}
			else {     
				ltr = (cipher.indexOf(coded.charAt(i))-shift+cipher.length) % cipher.length
				link+=(cipher.charAt(ltr))
			}				
    }
			document.write("<a href='mailto:"+link+"' class='big4'>Email Richard</a>")
    }
				
				

 function viewPainting(url)
	{
    					
	window.open(url,'view1','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=650,height=650');
	}
	
	
 function viewDetail(url)
	{
    					
	window.open(url,'view2','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=650,height=650');
	}
	

	function randomjpg1(path, numPics) {
 var now = new Date()
 var sec = now.getSeconds()
 document.write("<img border=0 src=\"/bitmaps/random/williamkentridge/" + path + (sec%numPics+1) + ".jpg\">")
}

	function randomjpg2(path, numPics) {
 var now = new Date()
 var sec = now.getSeconds()
 document.write("<img border=0 src=\"/bitmaps/random/roberthodgins/" + path + (sec%numPics+1) + ".jpg\">")
}

	function randomjpg3(path, numPics) {
 var now = new Date()
 var sec = now.getSeconds()
 document.write("<img border=0 src=\"/bitmaps/random/richardscott/" + path + (sec%numPics+1) + ".jpg\">")
}

	function randomjpg4(path, numPics) {
 var now = new Date()
 var sec = now.getSeconds()
 document.write("<img border=0 src=\"/bitmaps/random/gavinrain/" + path + (sec%numPics+1) + ".jpg\">")
}




navHover = function() {
	var lis = document.getElementById("navmenu").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
//if (window.attachEvent) window.attachEvent("onload", navHover);


//-->

