<!--javascript page written by Tommy Thomas www.thisthatandathird.com 2004
imgs1 = new Array(2);
imgs1[0] = ("bas_thomas_9800.jpg");
imgs1[1] = ("eric williams (b), james seaberry (g), paul basa (tr.), george white(ds), robert helme (sx), steve thomas (p)What a difference a shower and a shave make!  BAS and friends play at Morgan Park Academy in the fall of 2004.");
imgs2 = new Array(2);
imgs2[0] = ("ezra1_big.jpg");
imgs2[1] = ("Ezra Powell has Georgia on his mind!");
imgs3 = new Array(2);
imgs3[0] = ("robert_helme1_big.jpg");
imgs3[1] = ("The other \"Saxophone Colossus\"; Robert Helme.");
imgs4 = new Array(2);
imgs4[0] = ("mr_thomas1_big.jpg");
imgs4[1] = ("Mr. Thomas at the keys.");
imgs5 = new Array(2);
imgs5[0] = ("eric1_big.jpg");
imgs5[1] = ("Eric, thinking about dinner and playing the big bass in Ridge Park.");
imgs6 = new Array(2);
imgs6[0] = ("leeanne_big.jpg");
imgs6[1] = ("Liane Williams");
imgs7 = new Array(2);
imgs7[0] = ("mr_thomas2_big.jpg");
imgs7[1] = ("Steve Thomas, deep in thought, at the keys.");
imgs8 = new Array(2);
imgs8[0] = ("robert_helme2_big.jpg");
imgs8[1] = ("The other saxophone colossus, Robert Helme.");
imgs9 = new Array(2);
imgs9[0] = ("seaberry1_big.jpg");
imgs9[1] = ("Mr. Seaberry works it out in Ridge Park.");

imgRows = new Array(9);
imgRows[0] = imgs1;
imgRows[1] = imgs2;
imgRows[2] = imgs3;
imgRows[3] = imgs4;
imgRows[4] = imgs5;
imgRows[5] = imgs6;
imgRows[6] = imgs7;
imgRows[7] = imgs8;
imgRows[8] = imgs9;




function clearField () {
	document.subscribe.email.value = "";
}


function nextImage(what){

   var iString = "?" + what;
 	document.location="display.html" + iString;
	//alert (iString);

   }
   
function writeImage () {
	
	var searchIMG = document.location.search;
	var imgNum = searchIMG.substring(1,searchIMG.length);
	
	myArray = new Array();
	myArray[imgNum] = imgRows[imgNum];
	
	// alert(imgName + "you are here!");
	document.write("<img src='../images/gallery/" + myArray[imgNum][0] + "'" + " border='1'><br><p>" + myArray[imgNum][1] + "</p>");
}

function returnDate () {
var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("January","Febuary","March","April","May","June","July","August","September","October","Novmber","December")
document.write(weekday[d.getDay()] + " ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getDate() + ", ")
document.write(d.getFullYear())
}

gallery = new Array(); 
y = 'false';
img = new Array();
	var x;
	
	function writeGallery() {
		j = 0;
		while (j < 30){
	num = j + 1;
	gallery[j] = 'images/vday_2001/dssa_' + num + '.jpg';
	j++;
	}
	x = gallery.length;
}
writeGallery();


function loadImages () {
			
		if (document.images) {
			for (i=0; i < x; i++) {
			img[i] = new Image();
			img[i].src = gallery[i];
			
			}
		}
	}
	

function startLoad () {

	window.setTimeout("loadImages()", 10000);

}


function scrollImg (which) {
		
		if (y == 'false'){		
			i = 0;
			y = 'true';
		}

		if ((which == 'up') && (i < x-1)){
		document.images['myPic'].src = gallery[++i];
		}
	
		if ((which == 'down') && (i != 0)){
		document.images['myPic'].src = gallery[--i];
		}		
	}


function newWin (page,name,tlB,loc,status,menu,scrL,rsz,width,height,scrnX,scrnY,top,left) {
	eval("window.open('" + page + "','" + name + "','toolbar=" + tlB + ",location=" + loc + ",status=" + status + ",menubar=" + menu + ",scrollbars=" + scrL + ",resizable=" + rsz + ",width=" + width + ",height=" + height + ",screenX=" + scrnX + ",screenY=" + scrnY + ",top=" + top + ",left=" + left + "');");
} 
	
function staffWin () {
window.open('ne_help.html','ne_staff','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=350,height=295,screenX=75,screenY=75,top=75,left=75');
	}
	

	
function printPage() {
if (window.print)
    window.print();
}


function bev_submit() {
isSubscribe = document.bev_subscribe.subscribe.checked;
notSubscribe = document.bev_subscribe.unsubscribe.checked;
isEmail = document.bev_subscribe.email.value;
checkEmail = isEmail.indexOf("@");
errorString ="Please check the following:\n";
notChecked = false;
noEmail = false;

    if (!isSubscribe && !notSubscribe) {
        errorString += "please check Subscribe or Unsubscribe\n";
		notChecked = true;
		}
		
       	if (checkEmail <= 0) {
        errorString += "please provide a valid email address";
		noEmail = true;
		}
		
      	if (notChecked == true || noEmail == true) {
			alert (errorString);
			return false;
		}
	

    else {
        alert('Submitting');
        return true;
    }
}

function unCheck (button) {

	
		if (button == '0') {
				document.bev_subscribe.subscribe.checked = true;
				 document.bev_subscribe.unsubscribe.checked = false;
			}
			
		if (button == '1') {
				document.bev_subscribe.unsubscribe.checked = true;
				 document.bev_subscribe.subscribe.checked = false;
			}
	
	}

function PlayerOpen(soundfiledesc,soundfilepath) { 
PlayWin = window.open('','audio','width=320,height=240,top=75,left=0,resizable=0,scrollbars=0,titlebar=0,toolbar=0,menubar=0,status=0,directories=0,personalbar=0');
PlayWin.focus(); 


var winContent = "<HTML><HEAD><TITLE>" + soundfiledesc + "</TITLE></HEAD><BODY bgcolor='#FF9900'>"; 
winContent += "<link href=\"../styles/default.css\" rel=\"stylesheet\" type=\"text/css\">";
winContent += "<span class='boldHead'>" + soundfiledesc + "</span><br><br>";

winContent += "<OBJECT width='300' height='42'>"; 
winContent += "<param name='SRC' value='" + soundfilepath + "'>";
winContent += "<param name='AUTOPLAY' VALUE='true'>"; 
winContent += "<param name='CONTROLLER' VALUE='true'>";
winContent += "<param name='BGCOLOR' VALUE='#F76B08'>"; 
winContent += "<EMBED SRC='" + soundfilepath + "' AUTOSTART='TRUE' LOOP='FALSE' WIDTH='300' HEIGHT='42' CONTROLLER='TRUE' BGCOLOR='#FF9900'></EMBED>";
winContent += "</OBJECT>"; 

winContent += "<p class='well'><a href='" + soundfilepath +"'>Click here to play this file.</a> <SPAN class='boldWell'>";
winContent += "<br>(right-click or Option-click to download)</SPAN></p>";
winContent += "<FORM><DIV align='center'><INPUT type='button' value='Close this window' onclick='javascript:window.close();'></DIV></FORM>"; 
winContent += "</BODY></HTML>"; 

PlayWin.document.write(winContent); 
PlayWin.document.close();// "Finalizes" new window 
//UniqueID = UniqueID + 1 newWinOffset = newWinOffset + 20  subsequent pop-ups will be this many pixels lower 
} 
 


<!-- old .js for new window function newWin () {window.open('gallery.html','gallery','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=350,height=295,screenX=75,screenY=75,top=75,left=75');} //-->
//-->
