var currentImage = "";
var newView = "";

function popPainting(sImage){
	currentImage = sImage;
	newView = window.open("paintingPop.htm","Painting","width=100,height=100,resizable=1,scrollbars=0,toolbar=0,menubar=0,location=0")
	newView.focus();	
}

function ResizePainting()
{
	newView.ResizeWindow(currentImage);
}