/* Show/Hide blocks */
function showHideId(nID) {
	var elt = document.getElementById(nID);
	elt.style.display = (elt.style.display != 'none' ? 'none' : '');
}

function showHideRange(nStart, nEnd) {
	for (i=nStart;i<=nEnd;i++)
		showHideId("x"+i+"x");
}

/* Display a picture */
function showpic(szImg,iWidth,iHeight) {
	//showModelessDialog
  wndWindow = window.open(szImg,'','toolbar=0,menubar=0,status=0,location=0,scrollbars=0,links=0,resizable=yes,width='+(iWidth+15)+',height='+(iHeight+15));
  wndWindow.focus();
};

/* Last modification date */
function showDate() {
	var months = new Array(12);
	months[0] = "January";
	months[1] = "February";
	months[2] = "March";
	months[3] = "April";
	months[4] = "May";
	months[5] = "June";
	months[6] = "July";
	months[7] = "August";
	months[8] = "September";
	months[9] = "October";
	months[10]= "November";
	months[11]= "December";

	var dateDoc = new Date(document.fileModifiedDate)
	var szMonth= months[dateDoc.getMonth()]

  document.writeln("Last update " + szMonth + " " + dateDoc.getDate() + ", " + dateDoc.getYear() );
}
