function newWindow(f,w,h,scrolling) {
	x=0;
	y=0;
	var speed=25;
	var isDOM = false;
	if (document.all) var isDOM = true;
if (screen){
		x=screen.width-(w+15);
		y=screen.height-(h+80);
	}
if (isDOM){
	nWindow = window.open(f,'nWindow','width=5,height=10,scrollbars='+scrolling+',left='+x+',top='+y);
	nWindow.focus();

	for (sizeheight = 10; sizeheight <= h+20; sizeheight += speed) {
nWindow.resizeTo(5, sizeheight);
	}
	nWindow.focus();
	for (sizewidth = 5; sizewidth < w+30; sizewidth += speed) {
nWindow.resizeTo(sizewidth, sizeheight);
	}
	}
else	{
	nWindow = window.open(f, 'nWindow', 'width='+w+',height='+h+',scrollbars='+scrolling+',left='+x+',top='+y);
	nWindow.focus();
	}
}