// get the last slash, find the length, determine the page
var begPg = location.href.lastIndexOf("/"); 
var endPg = location.href.length; 
var curPg = location.href.substring(begPg+1,endPg); 

var indexPg = "default.htm";
//var linksPg = "links.htm";
//var relaxprodPg = "relaxprod.htm";
//var ContactUsPg = "ContactUs.htm";
//var RequestInfoPg = "RequestInfo.htm";
//var MotivationPg = "Motivation.htm";

// set up today's date variable
var myDate = new Date();
var myDay = myDate.getDate(); //getDate returns 1 - 31
var myMonth = myDate.getMonth() + 1; //getMonth returns 0 - 11
var myYear = myDate.getFullYear();
var dd;
if(myDay < 10)  //add a "zero" to the day 
{
	dd = "0" + myDay;
}else{
	dd = myDay;
}

var mm;
if(myMonth < 10)  //add a "zero" to the month
{
	mm = "0" + myMonth;
}else{
	mm = myMonth;
}
var showDate = (mm + "/" + dd + "/" + myYear);

var myToday = "";


switch(curPg)
{
  case indexPg:
     myToday="<div align=left><h5><font color=black>Today's Date: " + showDate + "</h5></font></div>";
	break;
//  case linksPg:      
//    myToday="<div align=right><h3><font color=red>Today's Date: " + showDate + "</h3></font></div>";
//	break;
//  case relaxprodPg:   
//  myToday="<div align=right><h3><font color=green>Today's Date: " + showDate + "</h3></font></div>";
//	break;
//  case ContactUsPg: 
//    myToday="<div align=right><h3><font color=pink>Today's Date: " + showDate + "</h3></font></div>";
//	break;
//  case RequestInfoPg:
//    myToday="<div align=right><h3><font color=purple>Today's Date: " + showDate + "</h3></font></div>";
//	break;
// 	 case MotivationPg: 
//      myToday="<div align=right><h3><font color=black>Today's Date: " + showDate + "</h3></font></div>";
//	break;
}

