function upWin(imgType,id) { 	var upWin = window.open("image_upload.php?type="+imgType+"&id="+id,"upWin","width=470,height=340,scrollbars=0,toolbar=0,menubar=0,statusbar=0");	upWin.focus();}function layoutWin() { 	var layoutWin = window.open("layout.html","layoutWin","width=440,height=400,scrollbars=0,toolbar=0,menubar=0,statusbar=0");	layoutWin.focus();}function delConfirm() { 	var conf = window.confirm("Are you sure you want to delete this member?");	return conf;}function viewWin(page) { 	var viewWin = window.open(page,"viewWin","width=440,height=340,scrollbars=auto,toolbar=0,menubar=1,statusbar=0");	viewWin.focus();}function check_list_form(theForm){	var err_mess = "";			if(theForm.biz_name.value.length < 3){		err_mess = err_mess + " - The name of the business is required\n";	}	if(theForm.email.value.length < 7){		err_mess = err_mess + " - An email address is required\n";	}	if(theForm.website.value.length < 8){		err_mess = err_mess + " - A web address is required\n";	}	if(theForm.street_1.value.length < 6){		err_mess = err_mess + " - A street address is required\n";	}	if(theForm.city.value.length < 1){		err_mess = err_mess + " - A city is required\n";	}	if(theForm.zip.value.length < 5){		err_mess = err_mess + " - A postal code is required\n";	}	if(theForm.img_id.value == ""){		err_mess = err_mess + " - Please upload an image for this listing\n";	}			if(err_mess == ""){		return true;	}else{		window.alert("Some required information is missing or incorrect:\n"+err_mess);		return false;	}}function check_event_form(theForm){	var err_mess = "";			if(theForm.title.value.length < 3){		err_mess = err_mess + " - The title of the event required\n";	}	if(theForm.presenter.value.length < 3){		err_mess = err_mess + " - The name of the presenter is required\n";	}	if(theForm.price.value.length < 2){		err_mess = err_mess + " - The price is required\n";	}	if(theForm.location.value.length < 8){		err_mess = err_mess + " - The location is required\n";	}	if(theForm.info_email.value.length < 8){		err_mess = err_mess + " - An email address\n";	}	if(theForm.description.value.length < 5 || theForm.description.value.length > 120){		err_mess = err_mess + " - A Description of less than 120 characters is required.\n";	}	if(theForm.img_id.value == ""){		err_mess = err_mess + " - Please upload an image for this listing\n";	}			if(err_mess == ""){		return true;	}else{		window.alert("Some required information is missing or incorrect:\n"+err_mess);		return false;	}}