// JavaScript Document
function popItUp(urlLink, windowName, height, width) {
	if (! window.focus)
		return true;
		var href;
	if (typeof(urlLink) == 'string')
	   	href=urlLink;
	else
	  	href=urlLink.href;
	var w = 100, h = 100;
	if (document.all || document.layers) {
		w = screen.availWidth;
		h = screen.availHeight;
		}
	var popW = height, popH = width;
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var calWin = window.open(href, windowName, 'width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
	calWin.focus();
}