function changePage(newLoc) //use with a drop-down menu - the select must be named and the function is called by changePage(this.form.'selectname')
{
	nextPage = newLoc.options[newLoc.selectedIndex].value		
	//alert(nextPage);
	
	if (nextPage != "none")
	{
		//window.open(nextPage,'_blank');
		document.location.href = nextPage;
	}
	
}

function spawnWindow(url,windowname,features) {

    window.open(url,windowname,features);
    
}

jQuery.fn.mailme = function() {
    var at = / at /;
    var dot = / dot /g;
    this.each( function() {
        var addr = jQuery(this).text().replace(at,"@").replace(dot,".");
        var title = jQuery(this).attr('title')
        $(this)
            .after('<a href="mailto:'+addr+'" title="'+title+'">'+ addr +'</a>')
            .remove();
    });
};

$(document).ready(function() {
						   
	$('span.mailme').mailme();
						   
});
	
