var wwwBasePath = '';      // init default path to root level

var sURL = window.location.pathname.toLowerCase();
var sHost = window.location.href.toLowerCase();

wwwBasePath = countslash(sURL);


function ExtractDate() {
var tmpDate, DocDateObj;
var mymonths = new Array();
	mymonths[0] = "Jan.";
	mymonths[1] = "Feb.";
	mymonths[2] = "Mar.";
	mymonths[3] = "Apr.";
	mymonths[4] = "May";
	mymonths[5] = "Jun.";
	mymonths[6] = "Jul.";
	mymonths[7] = "Aug";
	mymonths[8] = "Sep.";
	mymonths[9] = "Oct.";
	mymonths[10] = "Nov.";
	mymonths[11] = "Dec.";


	 if (Date.parse(document.lastModified) !=0) {
	 	
	   DocDateObj = new Date(document.lastModified);
	   
	   var d = DocDateObj.getDate();
	   var m = mymonths[DocDateObj.getMonth()];
	   var y = DocDateObj.getYear();      
	   if (y < 90) {
	       y += 2000;
	   } else {
	       if (y <= 1000) {
	       	y += 1900;
	       }
	   }

	   tmpDate = 'This page last updated ' + m + ' ' + d + ', ' + y + '.';
	   
	 } else {
	   var tmpDate = " ";
	 } 
	 
	 return tmpDate;
 }
////////////////

function countslash(mypath) {
        p0 = mypath.indexOf("/");	
	len = mypath.length;
        wwwBasePath = "";
        while (p0 > -1) {
           p0++;   
           p0 = mypath.indexOf("/", p0);           
           if (p0 > -1) {
              wwwBasePath = wwwBasePath + "../";                      	
           }
        }  
        
        if (sHost.indexOf("c:") != -1) {
              wwwBasePath = wwwBasePath.substring(0, wwwBasePath.length-3);
        }        
        
	return wwwBasePath;
}



///////////
function DrawFooter(){

tmpDate = ExtractDate();

document.write('<span class=contents><P>&nbsp;<font size=-1><center>&copy; 1995-2002, Samantha Copeland ');

document.write("<P>" + tmpDate + "<P></FONT></span>");


}

if (top != self){
	//top.location.href=location.href;
}