function popupWin(uri, winWidth, winHeight) {
	var posCode = ''
	var winName = 'win' + Math.floor(Math.random()*1000)
	var wdt = ( winWidth ) ? winWidth : 700
	var hgt = ( winHeight ) ? winHeight : screen.height-100

    posX = Math.round((screen.width - wdt) / 2);
    posY = Math.round((screen.height - hgt) / 2) - 35;

    if ( (screen.height < 481) && (hgt > 450) ) { hgt = 450 }

    posCode = ",left="+posX+",top="+posY;

    popupedWin = window.open( uri, winName, 'status=yes,menubar=no,toolbar=no,resizable=yes,scrollbars=yes,location=no,width='+wdt+',height='+hgt+posCode);
    popupedWin.focus();

    return false;
}