window.onload = function() {
	//do the text replacement for the search boxes
	var texts = document.getElementsByTagName('INPUT');
	for (i=0; i<texts.length ; i++ )
	{
		if(texts[i].getAttribute('type') == "text") {
			texts[i].onfocus = clearField;
		}
	}

}

function clearField() {
	this.value="";
	this.onfocus = "";

}

function writeEmails() {
	var texts = document.getElementsByTagName('A');
	for (i=0; i<texts.length ; i++ )
	{
		if(texts[i].getAttribute('class') == "email") {
			splitStr = texts[i].href.split("#");
			texts[i].href = "mailto:"+splitStr[1]+"@bostock"+"a"+"ndpollitt"+"."+"com";
		}
	}

}


function nlaGo(theSelect)
{
var mySelect=document.getElementById(theSelect);
theIndx=mySelect.selectedIndex;
var myUrl=mySelect.options[theIndx].value;
var myPop=window.open([myUrl]);
{
if
(mySelect.options[theIndx].value != "#")
(myPop)
}
}