function openImage(url)
			{
				// preload image so we have dimensions
				myImage = new Image();
				myImage.src = url;
				myImage.onLoad = openWin(myImage, url)
				}
				function openWin(myImage, url)
				{
				winWidth = myImage.width;
				winHeight = myImage.height;
				
				// open window
				myNewWin = window.open('', '', 'resizable=no,width=500,height=641,screenX=0,screenY=400,top=0,left=0');
				myDoc = myNewWin.document;
				myDoc.write("<html><head></head><body marginheight='0' marginwidth='0' topmargin='0' leftmargin='0'>");
				myDoc.write("<p><img src='" + url + "'></p>");
				myDoc.write("</body></html>");
			}
			
			

<!--- rightclick disable --->
<!-- Begin
function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("All Text, Code, Images, and Information is Property and Copyright © of Classic Wall Works LLC 2005 and cannot be copied, duplicated in any form or images saved as wallpaper without written consent of Classic Wall Works LLC!");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;
//  End -->

<!--

// canManipulateImages - check if the browser we're using can do
// clever stuff with document images.

function canManipulateImages() {
	if (document.images)
		return true;
	else
		return false;
}

// loadPosterImage

function loadPosterImage(imageURL) {
	if (gImageCapableBrowser) {
		document.imagePoster.src = imageURL;
		return false;
	}
	else {
		return true;
	}
}

// gImageCapableBrowser - is this browser hip to images? Set up
// a global variable so that we don't have to keep calling a function
// (useful if the function becomes costly to compute).

gImageCapableBrowser = canManipulateImages();

// -->


function swap_image(img,capt)
{
	//alert(capt.value);
	//alert(document.forms[0].main_pic_caption.value);

	
	
	document.main_pic.src = img;
	document.forms[0].main_pic_caption.value = capt;
	
	//alert(document.forms[0].main_pic_caption.value);
}