
// pre-load images

var preloadFlag = false;
function preloadImages() {
	if (document.images) {      
	
	preloadFlag = true;
	}
}

// block right mouse click
msg='All artwork is copyrighted     ';

if (window.Event)
document.captureEvents(Event.MOUSEDOWN);
function noRightClick(e) {
if (window.Event) {
if (e.which > 1) {
ermsg();
return false;
}
return true;
}
return true;
}
document.onmousedown = noRightClick;
function noContextMenu() {
event.cancelBubble = true;
event.returnValue = false;
ermsg();
return false;
}
document.oncontextmenu = noContextMenu;
function ermsg() {
if(msg) alert(msg);
}


// Update copyright year
function updateYear() {
var curDate = new Date();
var curYear = curDate.getYear();
if (curYear < 1000) {
curYear+=1900;}
document.write("<class=baseline>"+curYear+"</font>");
}	
