function popup_window(target,w,h) {
	leftPos = 0;
	if (screen) {
  		leftPos = screen.width-650;
	}
  	myWindow = window.open( target , 'popupWin', 'width=' + w + ',height=' + h + ',left='+leftPos+',top=25,toolbar=no,location=no,status=no,directories=no,menubar=no,scrollbars=yes,resizable=no');
	if (window.focus) {myWindow.focus()}
}