// JavaScript PopUp Window Document by Fleishman-Hillard
<!--
function popWinOld(url, name, w, h, scrollBarBar, toolBar) {
	// Sample call: onClick="popWin(this.href,'Test', '400', '600', 'yes', '', ''); return false;"
	var scrnh = (screen.height - h)/2;
	var scrnw = (screen.width - w)/2;
	winSet = 'width='+w+',height='+h+',top='+scrnh+',left='+scrnw+',scrollBarbars='+scrollBarBar+',dependent=yes,resizeable';

	var win;	
	if ( toolbar )
		win = window.open(url, name, winSet + ',toolbar=yes');
	else
		win = window.open(url, name, winSet );	
		

    if (parseInt(navigator.appVersion) >= 4)
    {
            win.window.focus();
    }
}

function popWin(url, name, w, h, scrollBar, toolBar) {
	// Sample call: onClick="popWin(this.href,'Test', '400', '600', 'yes', '', ''); return false;"
	var scrnh = (screen.height - h)/2;
	var scrnw = (screen.width - w)/2;
    winprop  = 'height='+h+',width='+w+',top='+scrnh+',left='+scrnw+',scrollbars='+scrollBar+',resizable,dependent=yes';
    var win;

	if(window.win && window.win.open && !window.win.closed){
		win.moveTo(scrnh,scrnw);
		win.window.focus();
	}
	else {
		if (toolBar)
			win = window.open(url, name, winprop + ',toolbar=yes');
		else
			win = window.open(url, name, winprop);
			
		win.window.focus();
	}
}
//-->