// javascript file
// alert("okie dokie!");
function store_poster() {
	author = getEl("author_field").value;
	Set_Cookie("author",author,1); // lasts 1000 days
	
	email = getEl("email_field").value;
	Set_Cookie("email",email,1); // lasts 1000 days
	
	hometown = getEl("city_field").value;
	Set_Cookie("hometown",hometown,1); // lasts 1000 days
	
}

function retrieve_poster() {
	author = Get_Cookie("author");
	a = getEl("author_field");
	if(a && author) a.value = author;
	
	email = Get_Cookie("email");
	e = getEl("email_field");
	if(e && email) e.value = email;
	
	hometown = Get_Cookie("hometown");
	h = getEl("city_field");
	if(h && hometown) h.value = hometown;
	
	if(getEl("subject_field")) {
		if(a.value && e.value && h.value) getEl("subject_field").focus();
	}
}
