// JavaScript Document

//
// To display an important message at the top of the "Daltons in History" Front Page, 
// Insert the message between single quotes ON ONE LINE.
//
//example: 
//dgs_newsletter_message = 'Please note that the November 2007 issue of "Daltons in History" will not be posted here until Saturday 3 November.';										
//
dgs_newsletter_message = '';

dih_volume					= "11";			// example: dih_volume = "10";	
dih_no						= "9";			// example: dih_no = "10";
dih_month					= "September";			// example: dih_month = "October";
dih_year					= "2008";			// example: dih_year = "2007";

// The example below shows a Newsletter with 10 Sections (Articles). 
// The first is normally "Notes from the Chairman of the DGS",
// The sixth is "Dalton Strays",
// The next to last is "Notes from your American Secretary" and
// The last is usually "Editor's Message".
// Please arrange the 'dgs_document_contents' sequentially (without gaps) in the order you want each article to appear.

dgs_document_contents		=  new Array();
dgs_document_contents[0]	= "Contents";												//			DO NOT CHANGE!
dgs_document_contents[1]	= "Notes from the Chairman of the DGS";						//keywords: CHAIRMAN-DGS-NOTE
dgs_document_contents[2]	= "Chairman's Diary of Birr 2008";							//keywords: DIARY-OF-BIRR
dgs_document_contents[3]	= "Reminiscences of Birr";									//keywords: REMINISCENCES-OF-BIRR
dgs_document_contents[4]	= "2008 AGM Minutes";										//keywords: 2008-AGM-MINUTES
dgs_document_contents[5]	= "Countdown to Orange 2009";								//keywords: ORANGE-2009
dgs_document_contents[6]	= "Sergeant James Dalton";									//keywords: SERGEANT-JAMES-DALTON
dgs_document_contents[7]	= "Dalton Knights cont'd";									//keywords: DALTON-KNIGHTS
dgs_document_contents[8]	= "Dalton Strays";											//keywords: DALTON-STRAYS
dgs_document_contents[9]	= "Notes from your American Secretary";						//keywords: AMERICAN-SECRETARY-NOTE
dgs_document_contents[10]	= "Editor's Message";										//keywords: EDITOR-MESSAGE

// For each article, up to three 'Keywords' should be selected to form the 'Filename' of the 'Contents Bar Image'.
// Please look in the folder 'images/conbar' for images that have ALREADY BEEN CREATED and may be used again.
// For each 'dgs_document_group', the first item in the array is the 'Filename' and the next three are the 'Keywords' in CAPITALS.
// The first four Images below are prepared for you. If they do not appear in the articles above, it will not cause an error.
//
// Add new 'Images' to the 'Contents Bar' as follows:
// a)In Fireworks, Open 'png_images/conbar/down/template.png', Select the 'Vector Text Tool A', 
//   Double Click and Highlight 'phraseupto180pixelshere'. Replace by 'New Phrase'.
//   Select the 'Pointer Tool', click on the 'New Phrase' and
//   In the 'Properties Bar' note the width of the 'New Phrase' (eg. W: 89) and 
//   Subtract from '180' (eg. 93), divide by '2' (eg. 46.5) and round down to the nearest whole number to give value 'x' (eg. x=46).
//   In the 'Properties Bar' Set Values as follows X:x H:21 Y:5 (eg. W:89 X:46 H:21 Y:5).
//   In Fireworks, 'File Export Preview' (Ctrl+Shift+X), Saved Settings 'GIF WebSnap 128'. 
//     Click 'Export' with Filename 'images/conbar/down/newphrasekeywords.gif' where Keywords are NEW and PHRASE and KEYWORDS.
//   In Fireworks, 'File Save As' with Filename 'png_images/conbar/down/newphrasekeywords.png' where Keywords are NEW and PHRASE and KEYWORDS.
// b)In Fireworks, Open 'png_images/conbar/over/template.png', Select the 'Vector Text Tool A', 
//   Double Click and Highlight 'phraseupto180pixelshere'. Replace by 'New Phrase'.
//   Select the 'Pointer Tool', click on the 'New Phrase' and
//   In the 'Properties Bar' note the width of the 'New Phrase' (eg. W: 89) and 
//   Subtract from '180' (eg. 93), divide by '2' (eg. 46.5) and round down to the nearest whole number to give value 'x' (eg. x=46).
//   In the 'Properties Bar' Set Values as follows X:x H:21 Y:5 (eg. W:89 X:46 H:21 Y:5).
//   In Fireworks, 'File Export Preview' (Ctrl+Shift+X), Saved Settings 'GIF WebSnap 128'. 
//     Click 'Export' with Filename 'images/conbar/over/newphrasekeywords.gif' where Keywords are NEW and PHRASE and KEYWORDS.
//   In Fireworks, 'File Save As' with Filename 'png_images/conbar/over/newphrasekeywords.png' where Keywords are NEW and PHRASE and KEYWORDS.
// c)In Fireworks, Open 'png_images/conbar/up/template.png', Select the 'Vector Text Tool A', 
//   Double Click and Highlight 'phraseupto180pixelshere'. Replace by 'New Phrase'.
//   Select the 'Pointer Tool', click on the 'New Phrase' and
//   In the 'Properties Bar' note the width of the 'New Phrase' (eg. W: 89) and 
//   Subtract from '180' (eg. 93), divide by '2' (eg. 46.5) and round down to the nearest whole number to give value 'x' (eg. x=46).
//   In the 'Properties Bar' Set Values as follows X:x H:21 Y:5 (eg. W:89 X:46 H:21 Y:5).
//   In Fireworks, 'File Export Preview' (Ctrl+Shift+X), Saved Settings 'GIF WebSnap 128'. 
//     Click 'Export' with Filename 'images/conbar/up/newphrasekeywords.gif' where Keywords are NEW and PHRASE and KEYWORDS.
//   In Fireworks, 'File Save As' with Filename 'png_images/conbar/up/newphrasekeywords.png' where Keywords are NEW and PHRASE and KEYWORDS.
// d)The next blank 'dgs_document_group' entry below should be amended as follows:
//   dgs_document_group[5] = new Array("newphrasekeywords","NEW","PHRASE","KEYWORDS");
//
// Please remove any unused blanks below before putting this javascript on the site.
// The last 'dgs_document_group' MUST BE THE DEFAULT. Do not leave any gaps or duplicates.
//
// If the 'Keywords' are not found the default will be an image of 'Article nn', where 'nn' is the number of the Article (Section).
// Repeat above until all 'Article nn' entries have been eliminated.
//
// Note: a 'dgs_document_group' number does not necessarily correspond to its 'dgs_document_contents' Article/Section number.
//       The most common error is to leave gaps or duplicates. You may have more 'dgs_document_group' entries than Articles.
						
dgs_document_group = new Array();
dgs_document_group[0] = new Array("content","CONTENT","","");								//contents: DO NOT CHANGE!
dgs_document_group[1] = new Array("chairmandgsnote","CHAIRMAN","DGS","NOTE");				//keywords: CHAIRMAN-DGS-NOTE
dgs_document_group[2] = new Array("daltonstrays","DALTON","STRAYS","");						//keywords: DALTON-STRAYS
dgs_document_group[3] = new Array("americansecretarynote","AMERICAN","SECRETARY","NOTE");	//keywords: AMERICAN-SECRETARY-NOTE
dgs_document_group[4] = new Array("editormessage","EDITOR","MESSAGE","");					//keywords: EDITOR-MESSAGE
dgs_document_group[5] = new Array("diaryofbirr","DIARY","OF","BIRR");						//keywords: DIARY-OF-BIRR
dgs_document_group[6] = new Array("reminiscences","REMINISCENCES","","");		//keywords: REMINISCENCES-OF-BIRR	
dgs_document_group[7] = new Array("minutes","2008","AGM","MINUTES");					//keywords: 2008-AGM-MINUTES
dgs_document_group[8] = new Array("ourdaltonknights","DALTON","KNIGHTS","");		//keywords: DALTON-KNIGHTS-CONT'D
dgs_document_group[9] = new Array("gathering2009","ORANGE","2009","");							//keywords: ORANGE-2009
dgs_document_group[10] = new Array("sergeantjamesdalton","SERGEANT","JAMES","DALTON");		//keywords: SERGEANT-JAMES-DALTON
dgs_document_group[13] = new Array("default","default","","");								//default : DO NOT CHANGE!

//
// If you have filled in the above, SEQUENTIALLY, with NO DUPLICATES and with NO GAPS, 
// please upload this javascript with Filename 'newsletter/latest/dih_content.js'
// to the 'DGS Test Update' site.
//
// DO NOT CHANGE BELOW THIS POINT
//

if (window.location.href.indexOf("newsletter") >= 0) {pageFilename = "newsletter.gif";}
else if (window.location.href.indexOf("diharchive") >= 0) {pageFilename = "diharchive.gif";}

dgs_document_name			=  new Array();
if ( typeof( window[ 'pageFilename' ] ) == "undefined" ) {
pageFilename = "diharchive.gif";}
if (pageFilename == "newsletter.gif") {
dgs_document_name[0]		= "Daltons in History";
dgs_document_name[1]		= "The DGS monthly newsletter";
}
else if (pageFilename == "diharchive.gif") {
dgs_document_name[0]		= "Daltons in History Archive";
dgs_document_name[1]		= "";
}
dgs_document_name[2]		= "Volume "+dih_volume+" No "+dih_no;
dgs_document_name[3]		= dih_month+" "+dih_year;
dgs_document_name[4]		= "Contents";

dgs_bar_header				=  new Array();
dgs_bar_header[0]			= dgs_document_name[0];
dgs_bar_header[1]			= dgs_document_name[2];
dgs_bar_header[2]			= dgs_document_name[3];

dgs_bar_header_style		=	"p";

