<!--
function popup(myname){
	w = 422;
	h = 451;
	myname = 'popup/' + myname + '.php';
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition;
	win = window.open(myname,'popup',settings)
}

function popup_mw(myname){
	w = 422;
	h = 621;
	myname = '/' + myname + '';
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'toolbar=0,location=0,directories=0,menubar=0,scrollbars=0,height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition;
	win = window.open(myname,'popup',settings)
}
//-->