function getForm(fid) {
	var f = document.getElementById(fid);
	return f;
}

function makeEl(fid, n,v) {
	f = getForm(fid);
	var el = document.createElement("input");
	el.type = "hidden";
	el.name = n;
	el.value = v;
	f.appendChild(el);
	return el;
}

function get(title) {
	var f = getForm("listing");
	var t = makeEl("listing","e",title);
	f.submit();
}

function dopop(str) {
	window.open("http://"+location.hostname+"/"+str,"menubar=0,status=0");
}


/*
function del() {
document.eform.a.value = "d";
document.eform.submit();
//document.galForm.a.value = "show";
//f = getForm("galForm");
//f.submit();
}
*/
function edit() {
document.eform.a.value = "e";
document.eform.submit();
}