// JScript source code
// a general utility file
    //this is the home directory relative to root
        var home = "/";
	document.writeln("<script type='text/javascript' src='" + home + "scripts/smisc.php'></script>");
	 
	 //use to include scripts files. 'folder' is the directory
	 //where the script resides relative to 'home' directory
	 //usage:  getSource("scripts", "footer.js");
	  function getSource( folder,  file){
	    var source;
	     source = home + folder + "/" + file;
	    //alert(source);
	     document.writeln("<script language='javascript' src='" + source+ "'></script>");
	  }
  //this function creates email address. 
  // usage:  makeEmail("John", "yahoo.com", "webmaster")
  //   
	    function makeEmail( name,  server, text){
		//change the font face, color and size below 
		document.write("<font face='Trebuchet MS,Arial,Helvetica'>"); 
		document.write("<a href='mailto:" + name + "@" + server + "'>"); 
		document.write("<font color='660000'>"); 
		document.write( text); 
				document.write("</a>"); 
		document.write("</font>"); 
  }		

	function Email(name, text){
	  makeEmail(name, "stmoritzisc.org", text);
	}  
