function mailpage2bn()
{
mail_str = "mailto:Writers@BanderasNews.com?subject=";
mail_str += "&body= Reference: " + parent.location.href;
location.href = mail_str;
}

//Another sneaky trojan-type thing: because we cannot risk global replace of billions of pages,
//this script edits the footer on all the pages that call this sendpage2bn script.
//NOTE: the jquery library is snuck in via the navstyle2.js.
//The function below is place here to give jquery time to completely load from within navstyle2.
$(document).ready(function() {
//Clean up footer
	oTDfooter = $(this).find('.cred1').last(); //the cred1 class is assumed to be usede only within the footer.
	TDfooterText = oTDfooter.text();
	var d = new Date();
	var curYear = d.getFullYear();
	oTDfooter.html(oTDfooter.html().replace(/m3 /ig, ""));	
	oTDfooter.html(oTDfooter.html().replace(/ • carpe aestus/ig, ""));	
	oTDfooter.html(oTDfooter.html().replace(/2008/ig, curYear));	
	
	//Not working
	var whereCopyright = TDfooterText.indexOf("BanderasNews");
	var WhatsInHere = TDfooterText.substring(whereCopyright, 4);
//alert(WhatsInHere);

//Remove right-margin classifieds block
	var ClassifiedsRealestateLinkRow = $('a[href$="classifieds/realestate.htm"]').closest('tr')
	var rowIndex = ClassifiedsRealestateLinkRow.prevAll().length-4; //Get the index number 4 rows above this one.
	var parentTbl = ClassifiedsRealestateLinkRow.closest('table');
	parentTbl.find('tr').slice(rowIndex, rowIndex+11).remove(); //assuming the exact same content setup.

 });

