/*
if (document.images) {
	nav_on = new Image();
	nav_off = new Image();
	nav_on.src = "../images/bullet_on.gif";
	nav_off.src = "../images/bullet_off.gif";
}
function iOn(imgIn) {
	if (document.images) {
		document[imgIn].src = nav_on.src;
	}
}    
function iOff(imgIn) {
	if (document.images) {
		document[imgIn].src = nav_off.src;
	}
}
*/
function popWin(popURL, popName, popWidth, popHeight, popScroll) {
	if (popWidth == null) popWidth = 300;
	if (popHeight == null) popHeight = 200;
	var px = (window.screen.width/2) - (popWidth/2);
	var py = (window.screen.height/2) - (popHeight/2);
	var scl = 0;
	if (popScroll) scl = 1;
	ps = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+ scl +',resizable=0,innerWidth'+ popWidth +',innerHeight'+ popHeight +',Width='+ popWidth +',Height='+ popHeight +',left='+ px +',screenX='+ px +',top='+ py +',screenY='+ py;
	window.open(popURL,popName,ps);
}
function bfcklT(strIn) {
	document.write(bfcklx(strIn));
}
function bfcklM(strIn) {
	document.location.href = bfckl(strIn);
}
function bfcklSN(strIn) {
	window.status = bfckl(strIn);
	return true;
}
function bfcklSF(strIn) {
	window.status = '';
	return true;
}
function bfckl(strIn) {
	var strOut = 'ma' + 'ilt' + 'o:' + bfcklx(strIn);
	return strOut;
}
function bfcklx(strIn) {
	var strOut = '';
	for (i=strIn.length-1; i>-1; i--) {
		if (strIn.charAt(i) == ':') {
			strOut += '@';
		} else if (strIn.charAt(i) == '!') {
			strOut += '.';
		} else {
			strOut += strIn.charAt(i);
		}
	}
	return strOut;
}
