// JavaScript Document
var myloc = window.location.href;
var locarray = myloc.split("/");
var lastloc = locarray.length;
var directory = new Array("bber","data","research","resources","publications","about")
var dirTitle = new Array(" Bureau Home "," Collecting Data "," Providing Research "," Connecting Resources "," Publishing Research "," About Us ")
var newDirArray = new Array()
	newDirArray["beta"] = "Bureau Home";
	newDirArray["data"] = "Collecting Data";
	newDirArray["research"] = "Providing Research";
	newDirArray["resources"] = "Connecting Resources";
	newDirArray["publications"] = "Publishing Research";
	newDirArray["about"] = "About Us";

var gfx=new Array()
	gfx[0]="rot_01.jpg"
	gfx[1]="rot_02.jpg"
	gfx[2]="rot_03.jpg"
	gfx[3]="rot_04.jpg"
	gfx[4]="rot_05.jpg"
	gfx[5]="rot_06.jpg"
	gfx[6]="rot_07.jpg"
var rnd = Math.round(Math.random()*6);
var randomImg = '<img src="http://www.murraystate.edu/qacd/cbpa/bber/images/' + gfx[rnd] + '" width="200" height="60">'
