var screenshot;

function wshot(pUrl, pW, pH)
{
	if (pW==null) pW=640;
	if (pH==null) pH=480;
	if (screenshot!=null && !screenshot.closed) screenshot.close();
	screenshot = window.open(pUrl, 'screenshot', 'width='+(pW+20)+',height='+(pH+20));
	return false;
} //wshot

