/* 
credit goes to Rincewind for this tutorial and his code
http://www.splodgy.com/modules/news/article.php?storyid=7
the JavaScript below is his:
*/

<!--
function makeitVisible(id){
	myGetElementById(id).style.visibility = "visible";
}

function makeitHidden(id){
	myGetElementById(id).style.visibility = "hidden";
}

function myGetElementById(id){
	if (document.getElementById) {
  return (document.getElementById(id));
	} else if (document.all) {
  return (document.all[id]);
	} else {
  if ((navigator.appname.indexOf("Netscape") != -1) && parseInt(navigator.appversion ==
4)) {
  	return (document.layers[id]);
  }
	}
}

/*
simple e-mail masking
*/
function maskMail(username,text) {
	if(text == '') {
	text = username + '@indiana.edu';
		}
		document.write('<a href=\"mailto:'+username+'@indiana.edu\">'+text+'</a>');
	}
//-->
