function e_mail() {self.location.href = recip + 'pot.com';}
function getID(objID) {
	sendObj = (isID) ? document.getElementById(objID) : 0;
	return (sendObj);
}
function siteNav() {
	if (dWidth) {
		establishPanels();swapPanels();self.focus();
		if (isNav.navID) {
			for (ix=0;ix<isNav.navID.length;ix++) isNav.document.getElementById('ch' + isNav.navID[ix]).className = (self.location.href.indexOf(isNav.navID[ix]) > 0) ? 'red' : '';
			objNav.className = 'hide';
			objNav.style.paddingBottom = isNav.nav_;
		}
	}
}
window.onload = function() {
	if (isNav) {
		if (objNav) objNav.className = 'nav';
		for (ix=0;ix<40;ix++) {
			if (ix) {
				xInt = ix.toString();
				chap = (ix > 9) ? xInt : '0' + xInt;
				navID.push(chap);
				if (ix < 2) navID.push('i' + xInt);
			} else navID = new Array('ome','links','p0');
		}
		for (ix=0;ix<navID.length;ix++) getID('ch' + navID[ix]).target = 'main';
		nav_ = Math.round(screen.availHeight - 480) + 'px';
	}
};
recip = 'mailto:spot@kings';
isID = (document.getElementById);
dWidth = (screen.width > 480);
isNav = (top.menu) ? top.menu : 0;
objNav = getID('nav');
