/*-------------------------------------------------------------
 function webPage: 

 This function is used to set up a web page by:
   a. Maximising the window.
   b  Setting up the  status line. 
--------------------------------------------------------------*/
function webPage(title)
{
self.status= title ;
}


/*-------------------------------------------------------------
 function closeWindow: 

 This function is used to close the current window and return  
 to the parent window.
 It is used throughout the system.
--------------------------------------------------------------*/
function closeWindow(type)

{
var url = '..\/Home\/window-close.htm';
window.open(url, '_self')
}


/*-------------------------------------------------------------
 function changeClass:

 This function is used to change the class of an element.
 It is called in the Biographies and Family Anniversaries. 
--------------------------------------------------------------*/

function changeClass(id, newClass)

{
  identity=document.getElementById(id);
  identity.className=newClass;
}


/*-------------------------------------------------------------
 function showCollectionDate: 

 This function is used to convert today's date into a suitable 
 format and display it in the header.
--------------------------------------------------------------*/
function showCollectionDate()

{
months = new Array("January","February","March","April","May","June","July","August",
"September","October","November","December")

d = new Date()

dMonth = months[d.getMonth()]
dyearY2K = d.getYear()

if (dyearY2K < 2000) dyearY2K = dyearY2K + 1900

dateToday = dMonth + " " + dyearY2K + " Collection"

document.write(dateToday)
}

