var newWindow
function openPic (url,name,wide,high) {
	var window_top = (screen.height-high)/2;
	var window_left = (screen.width-wide)/2;
	newWindow = window.open('' + url + '',''+ name +'','height=' + high +',width=' + wide + ',top=' + window_top + ',left=' + window_left + ', scrollbars');
	return newWindow;
}
