// JavaScript Document

/* To use this file, add this line to the html page, in the <head> section,
	before any function scripts.
<script type='text/javascript' src="javascript/jsHeadPictDept-MusicVars.js"></script>
*/

/* The variables in this file are used in displaying the randomly chosen pictures
	in the left-hand border.
	
	Since the deptFolderNames and deptFolderLen arrays determine which folders the
	pictures will be pulled from, they need to be customized for each department 
	page.
	
	This file is therefore NOT included via the page templates. It must be customized though
	(that is, the deptFolderNames and deptFolderLen arrays must be set), and then the file 
	must be added into the page created from the template, e.g. jsHeadPictDept-HistoryVars.js or
	jsHeadPictDept-ArtVars.js 
*/

// These variables are for getting pictures onto the left border.
// First, we define the folder name. The companion
// variable is deptFolderLen, which holds the number of pictures actually in the folder.
//
// Note that, by convention, the folders are in a 'departement' folder in the 'images'
// folder, and each contain two folders - 'small' and 'large'. Files in the 'small'
// folder should be jpg format, ~113 pixels high and 150 pixels wide. The format should
// be landscape, and the 150px width is important since that is width of the blue border
// on the left side of the page.
var deptFolderNames = "world_lang";
var deptFolderLen = 6;
var picNum = Math.round (Math.random() * deptFolderLen);
