function fSafeAddOnload(func){v = 'v3.1.0 2006-11-22; like:; req:;';if(!window.__load_events){var init=function(){if(arguments.callee.done)return;arguments.callee.done=true;if(window.__load_timer){clearInterval(window.__load_timer);window.__load_timer=null;/*@cc_on @*//*@if (@_win32) document.getElementById("__ie_onload").onreadystatechange = "";/*@end @*/}for(var i=0;i<window.__load_events.length;i++){window.__load_events[i]()}window.__load_events=null};if(document.addEventListener){document.addEventListener("DOMContentLoaded",init,false)}/*@cc_on @*//*@if (@_win32) var proto = "src='javascript:void(0)'";if (location.protocol == "https:") proto = "src=http://www.bctia.org/0";document.write("<scr"+"ipt id=__ie_onload defer " + proto + "><\/scr"+"ipt>");var script=document.getElementById("__ie_onload");script.onreadystatechange=function(){if(this.readyState=="complete"){init()}};/*@end @*/if(/WebKit/i.test(navigator.userAgent)){window.__load_timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){init()}},10)}window.onload=init;window.__load_events=[]}window.__load_events.push(func)}


fSafeAddOnload(BuildEmails);

			function BuildEmails() {
				AddressReplacer();
				var span = document.getElementsByTagName('span');
				for(i=0;i < span.length;i++) {
					if(span[i].hasChildNodes()) {
						  if (span[i].firstChild && span[i].firstChild.nodeValue)
						  {
							if (span[i].firstChild.nodeValue.indexOf(']') > 0)
							{
							  var emailAddress = span[i].firstChild.nodeValue.substr(1, span[i].firstChild.nodeValue.indexOf(']') - 1);
							  var emailText = span[i].firstChild.nodeValue.substr(span[i].firstChild.nodeValue.indexOf(']') + 1);
							  emailAddress = emailAddress.replace('#', '@'); // Replace the hash sign for an at sight
							  var commaRegExp = new RegExp(',', 'gi'); // Create a RegExp to replace any commas for periods
							  emailAddress = emailAddress.replace(commaRegExp, '.');
							  span[i].removeChild(span[i].firstChild);
							  var emailLink = document.createElement('a');
							  emailLink.href = 'mailto:' + emailAddress;
							  emailLink.appendChild(document.createTextNode(emailText));
							  span[i].appendChild(emailLink);
							}
						  }
					}
				}
			}

			function AddressReplacer(){
				var elem = document.getElementsByTagName("address");
				for (num = elem.length - 1; num >= 0; num--) {
					var et = document.createElement('span');
					et.appendChild(document.createTextNode(elem[num].innerHTML));
					elem[num].parentNode.replaceChild(et, elem[num]);
				}
			}



function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function fFreshFormField(oFormField) { // v1.0.0 2004-10-04; like:; req:;
	if (oFormField.value == oFormField.defaultValue) oFormField.value = "";
}