// Show/Hide HoverText commands adapted from www.biblegateway.com

function ShowHoverText(text1) {
	var newtext = text1;
        document.getElementById('hovertext').innerHTML = newtext;
}
function HideHoverText() {
	document.getElementById('hovertext').innerHTML = '&nbsp;';
}

// This is the footer text for every page on the site. Make sure that the page calls the function with an onload command in the body tag.


function FooterText() {
	document.getElementById('footer').innerHTML = '<a href="../index.html">SVNYC Home Page</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../students/index.html">Students</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../parents/index.html">Parents</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../donors/index.html">Donors</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../opportunities/index.html">Opportunities</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="../administrators/index.html">Administrators</a><br />&copy; Student Venture, New York City';
}


// This is the e-mail scrambler I devised. The title is split into two different variables, just cut it up as you please so as to throw off robots.

function mailscramble(username,domain,title1,title2) {
	var nameprint = username;
	var domainprint = domain;
	var title1print = title1;
	var title2print = title2;
	document.write('<a href="mailto:',nameprint,'@',domainprint,'">',title1print,title2print,'</a>')
}


