gn("./" + layout);
			})
			$('#saveas').on('click', function() {
				var prjname = prompt ("Project Name", project);
				if (prjname) {
					r2.cmd ("Ps "+prjname, function() {
						updateProjectList ();
					})
				}
			});
			$('#save').on('click', function(){
				var prjname = prompt ("Project Name");
				if (prjname) {
					r2.cmd ("Pl", function (x) {
						if (!x) {
							x = prompt ("Project Name");
						}
						if (x) {
							r2.cmd ("Ps "+x, function() {
								updateProjectList ();
							})