// E-mail Hiders
function eme() {
    var name = "webmaster";
    var host = "homefrontstudios";
				var ext = ".com";
    var delim = "\@";
				var br = "<br>";
    var href = "mailto:";
    var text = "\<a href='" + href + name + delim + host + ext + "'>" + name + delim + br + host + br + ext + "</a>";
document.write(text);
}

// wide display (without line breaks)
function eme_w() {
    var name = "webmaster";
    var host = "homefrontstudios";
				var ext = ".com";
    var delim = "\@";
    var href = "mailto:";
    var text = "\<a href='" + href + name + delim + host + ext + "'>" + name + delim + host + ext + "</a>";
document.write(text);
}
// Greeting specific to portion of the day
function SayHi() {
RightNow = new Date();
 if (RightNow.getHours() >=0 && RightNow.getHours() < 12){
  var phase = "morning";
		var x = 154;
		var alttxt = "Good morning!";
  }
 if (RightNow.getHours() >= 12 && RightNow.getHours() < 18){
  var phase = "noon";
		var x = 141;
		var alttxt = "Good afternoon!";
  }
 if (RightNow.getHours() >= 18 && RightNow.getHours() < 21){
  var phase = "evening";
		var x = 123;
		var alttxt = "Good evening!";
  }
 if (RightNow.getHours() >= 21 && RightNow.getHours() < 24){
  var phase = "night";
		var x = 143;
		var alttxt = "Good evening!";
  }
 document.write("<img src='graphics/" + phase + ".gif' width='" + x + "' height='40' alt='" + alttxt + "' border='0'>");
 }
 
function NoBlanks(form) {
 if (form.unm.value == "") {
  alert("Please supply a name.");
  form.unm.focus();
  return (false);
  }
 if (form.uml.value == "") {
  alert("Please supply an email address.");
  form.uml.focus();
  return (false);
  }
 if (form.subject.value == "") {
  alert("Please supply a subject for the message.");
  form.subject.focus();
  return (false);
  }
 if (form.body.value == "") {
  alert("Please fill in the body of the message.");
  form.body.focus();
  return (false);
  }
 return (true);
 }

function GetTitle(pgnm) {
/* var pgtitle= new Array(14) 
 pgtitle[0]="design", "shtml"; 
 pgtitle[1]="dev.shtml"; 
 pgtitle[2]="consult.shtml"; 
 pgtitle[3]="admin.shtml"; 
 pgtitle[4]="maint.shtml"; 
 pgtitle[5]="host.shtml"; 
 pgtitle[6]="promote.shtml"; 
 pgtitle[7]="portfolio.shtml"; 
 pgtitle[8]="tut.shtml"; 
 pgtitle[9]="free.shtml"; 
 pgtitle[10]="sw.shtml"; 
 pgtitle[11]="about.shtml"; 
 pgtitle[12]="eme.asp"; 
 pgtitle[13]="thx.asp"; 
*/
document.write ("<img src='graphics/" + pgnm + ".gif' width='335' height='40' alt='' border='0'>");
}

