function showPic(pic) {
w = 450;
h = 338;
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=0,resizable=0,location=0,status=0,menubar=0,toolbar=0';
win = window.open('/popups/pic.php?p=' + pic , "picView", winprops);
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function showCal(url) {

	w = 725;

	h = 425;

	var winl = (screen.width - w) / 2;

	var wint = (screen.height - h) / 2;

	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=0,resizable=0,location=0,status=0,menubar=0,toolbar=0';

	win = window.open(url , "calView", winprops);

	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }

}