function hemiPop(strURL,strName,numWidth,numHeight,strPosition, numGap, strScroll)
{
	// alert(strURL + "\n" + strName + "\n" + numWidth + "\n" + numHeight + "\n" + strPosition + "\n" + numGap + "\n" + strScroll)

	if (strPosition == 'top-left') {
		numLeft = numGap;
		numTop = numGap;
	} else if (strPosition == 'top-center') {
		numLeft = (screen.availWidth/2) - (numWidth/2);
		numTop = numGap;
	} else if (strPosition == 'top-right') {
		numLeft = (screen.availWidth - numWidth - numGap - 10);
		numTop = numGap;
	} else if (strPosition == 'left') {
		numLeft = numGap;
		numTop = (screen.availHeight/2) - (numHeight/2);
	} else if (strPosition == 'center') {
		numLeft = (screen.availWidth/2) - (numWidth/2);
		numTop = (screen.availHeight/2) - (numHeight/2);
	} else if (strPosition == 'right') {
		numLeft = (screen.availWidth - numWidth - numGap - 10);
		numTop = (screen.availHeight/2) - (numHeight/2);
	} else if (strPosition == 'bottom-left') {
		numLeft = numGap;
		numTop = (screen.availHeight - numHeight - numGap - 28);
	} else if (strPosition == 'bottom-center') {
		numLeft = (screen.availWidth/2) - (numWidth/2);
		numTop = (screen.availHeight - numHeight - numGap - 28);
	} else if (strPosition == 'bottom-right') {
		numLeft = (screen.availWidth - numWidth - numGap - 10);
		numTop = (screen.availHeight - numHeight - numGap - 28);
	}

	window.open(strURL,strName,
		'toolbar=no,' +
		'location=no,' +
		'directories=no,' +
		'status=no,' +
		'menubar=no,' +
		'scrollbars=' + strScroll + ',' +
		'resizable=no,' +
		'copyhistory=no,' +
		'titlebar=no,' +
		'width=' + numWidth + ',' +
		'height=' + numHeight + ',' +
		'left=' + numLeft + ',' +
		'top=' + numTop);
}