
function openwin(href,name,width,height,scroll) 
	{
	width = width + 100;
	height = height + 90;

	if (width < 600)
		{
		width=600;
		}

	window.open('popphoto.asp?'+href, name, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable=no,copyhistory=yes,top=30,left=30,width=' + width +',height=' + height);
	}

function openwinXC(href,name,width,height,scroll) 
	{
	window.open(href, name, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable=no,copyhistory=yes,top=30,left=30,width=' + width +',height=' + height);
	}

function openWindow(url,name,scroll,width,height,top,left) 
{
	var objwin = window.open(url,name, 'scrollbars='+scroll+',width='+width+',height='+height+',top='+top+',left='+left)
	objwin.focus()
}

function openVanillaWindow(href,name,width,height,scroll) {
	window.open(href, name, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable=yes,copyhistory=yes,top=30,left=30,width=' + width +',height=' + height);
}