function getImage() {
var idx,showImage;
var lth=20
idx = [Math.floor(Math.random()*lth)];
showImage="images/\pic" + idx + ".jpg";

if(document.layers) {
pict.src=showImage;}
else {
document.getElementById("pict").src=showImage;}
}


function jumpTo(gotoForm) {
		if (gotoForm.pageToGo.options[gotoForm.pageToGo.selectedIndex].value != "#") {
			top.location.href = gotoForm.pageToGo.options[gotoForm.pageToGo.selectedIndex].value;
		}	}	


var ename,edomain,etld,sname,cname;

function mailShow(ename)  {
edomain = "plainfieldchartertwp";
etld = "org";
document.write("<a href= " + '"' + "mailto:" + ename + "@" + edomain + "." + etld + '"' + ">");
}

function mailOther(ename,edomain,etld)  {
document.write("<a class= " + '"' + "pglink " + '"' + "href=" + '"' + "mailto:" + ename + "@" + edomain + "." + etld + '"' + ">");
}

function mailShowA(ename,sname,cname)  {
edomain = "plainfieldchartertwp";
etld = "org";
document.write("<a class= "+ "'" + cname + "'" + " href= " + '"' + "mailto:" + ename + "&#64;" + edomain + "." + etld + '"' + ">" + sname + "<\/a>");
}

function mailOtherA(ename,edomain,etld,sname)  {
if(!etld){etld="com"}
document.write("<a class= " + '"' + "pglink " + '"' + "href=" + '"' + "mailto:" + ename + "@" + edomain + "." + etld + '"' + ">" + sname + "<\/a>");
}

