function openImageWindow(path, w, h) {

	w = w + 30;
	var param = "?";
	if (path.indexOf("?") != -1) {
		param = "&";
	}
	var imgWin = window.open(path + param + "popup=true", "imagewindow", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width="+w+",height="+h);
	imgWin.focus();	
}