<!-- // HIDE THIS FROM ANCIENT BROWSERS

/*******************************************************************************
*  philipreynolds.com/js/main.js                                               *
*                                                                              *
*  Scripts for all the 'main' pages                                            *
*                                                                              *
*  May 2005 PJR                                                                *
*******************************************************************************/

// ****************
// NO CONTEXT MENU!
// ****************
IE4plus = (document.all) ? true : false;
NS4 = (document.layers) ? true : false;

function clickIE() {
  return false;
}

function clickNS(e) {
  if (e.which==2 || e.which==3) {
     return false;
  }
}

if (!IE4plus) {
   document.captureEvents(Event.MOUSEDOWN || Event.MOUSEUP);
   document.onmousedown=clickNS;
   document.onmouseup= clickNS;
   document.oncontextmenu=clickIE; // For NS 6+
}

else{
   document.onmouseup=clickIE;
   document.oncontextmenu=clickIE;
}



// ************************
// PRINT LAST-MODIFIED DATE
// ************************


function printModDate() {

// Get date and convert to English format
var tempDate = document.lastModified;
newDay = tempDate.substring(3, 6);
newMonth = tempDate.substring(0, 3);
newYear = tempDate.substring(6, 10);
newDate = newDay + newMonth + newYear

// Display formatted date
document.write("Last updated " + newDate + " ");
}



// ****************************
// OPEN A NEW RE-SIZABLE WINDOW
// ****************************
function pdfWindow(url) {
  newWindow = window.open(url, 'pdfWindow', config='width=700,height=600,scrollbars,resizable');
  newWindow .focus();
}


// -->        