// Email decoder
// Copyright (c) 2009 by Dale M. Smith

function DecodeEmail(index, bEcho) 
{
	if (!emAddresses) {
		var emAddresses = new Array();

		emAddresses.push("dee#calab#rese@cha#rter#.#n#et");				/*  0: Dee Calibrese*/ 
		emAddresses.push("bg#riff#in@seac#han#ge#in#c##.c#om");		/*  1: Bill Griffin */ 
		emAddresses.push("k#r#obe#rts#@br#ook#epe#a.c#om");				/*  2: Kelly Roberts */ 
		emAddresses.push("p#m#cdo#nou#gh@#for#syt#h.o#rg");				/*  3: Paul McDonough */ 
		emAddresses.push("mk#er#wi#n#@m#f#a#.o#r#g");							/*  4: Mark Kerwin */ 
		emAddresses.push("todd#fab#er@#the#faber#grou#p.co#m");		/*  5: Todd Faber */ 
		emAddresses.push("co#ak#l#eyti#mothy#@gm#ail.#com");			/*  6: Tim Coakley */ 
		emAddresses.push("gco#ulte#r@cbi#zto#fias.c#om");					/*  7: George Coulter */ 
		emAddresses.push("a#ll#en.mal#tz@bc#bsm#a.co#m");					/*  8: Allen Maltz */ 
	}
	
	var codedString = emAddresses[index];
	var decodedString = codedString.replace(/#/g, '');
	
	if (codedString) {
		if (bEcho) {
			document.write(decodedString);
		}
		else {
			parent.location = "m" + "a" + "i" + "lto" + ":" + decodedString;
		}
	}
}
