function writeEmail(emailAddress_array, displayName) {

      var emailAddress = "";

      for (var i=0; i<emailAddress_array.length - 1; i++)

            emailAddress += "&#" + emailAddress_array[i] + ";";


      if (typeof(displayName) == "undefined" || displayName == "" || displayName == "email me")

            displayName = emailAddress;

 document.write("<a href='#' title='Click to email " + emailAddress.replace("'", "&#39;") + "<" + emailAddress + ">' onclick='document.location.href=\"mail\u0074o\u003a" + emailAddress + "\"; return false;'>" + displayName.replace("'", "&#39;") + "</a>");

}

var popup = null;


function goto_url(form) {
    if (form.search_text.value === "")     {
        alert("Please enter some text and then press Search");
        return false;
    }
    var url = form.search_select[form.search_select.selectedIndex].value +
    escape(form.search_text.value);
    // Uncomment this lines if you want the current window to change
    document.location = url;
    return false;
}


// For the Quick links pulldown-menu of the left hand side menu of the site
function changepage(formObject) {
    var url;
    url = formObject.options[formObject.options.selectedIndex].value;
    if(url != "empty")    {
          // window.location = url;
	   window.open(url);
        url = "";
        }
}   



var popup = null;

function ShowPopup(page,name,options){
popup = window.open(page,name,options);
if (window.focus) {popup.focus();}
}





var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));


try {
var pageTracker = _gat._getTracker("UA-8949204-1");
pageTracker._trackPageview();
} catch(err) {}