/**slave.js*********************************************
*  Creator: Zach Kramer                                *
*  Date: September 7, 2000                             *
*  To aid in the dynamic creation of the sally ward    *
*  field walk image frames                             *
*******************************************************/

// Create an array of all of the pictures and their names for the 
// creation of the URL for the picture Window

var pictureArray = new Array(8);
pictureArray[1] = new Array( "Greendragon Plant", "grdragon.jpg", "back.htm" );
pictureArray[2] = new Array( "Greendragon Plant", "grdragon.jpg", "6th.htm" );
pictureArray[3]  = new Array( "Sabal Minor Palm", "sableminor.jpg", "soccer.htm" );
pictureArray[4]  = new Array( "Sabal Minor Palm", "sableminor.jpg", "gym.htm" );
pictureArray[5]  = new Array( "Morning Glory", "mornglory.jpg", "front.htm" );
pictureArray[6]  = new Array( "Morning Glory", "mornglory.jpg", "courtyard.htm" );
pictureArray[7]  = new Array( "Morning Glory", "mornglory.jpg", "parking.htm" );

var pictureWindow

function updateWindow( pictureNumber ) {
   pictureWindow = window.open("","pictureWindow","height=550,width=480,scrollbars=yes,resizeable=no,toolbar=no,statu=no,menubar=no");
   pictureWindow.location =  pictureArray[pictureNumber][2];
   pictureWindow.focus();
}
