/**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(10);
pictureArray[1] = new Array( "Greendragon Plant", "grdragon.jpg", "y3p10.htm" );
pictureArray[2] = new Array( "Greendragon Plant", "grdragon.jpg", "y5p2.htm" );
pictureArray[3]  = new Array( "Sabal Minor Palm", "sableminor.jpg", "y5p1.htm" );
pictureArray[4]  = new Array( "Sabal Minor Palm", "sableminor.jpg", "y3p7.htm" );
pictureArray[5]  = new Array( "Morning Glory", "mornglory.jpg", "y5p4.htm" );
pictureArray[6]  = new Array( "Morning Glory", "mornglory.jpg", "y5p3.htm" );
pictureArray[7]  = new Array( "Sinkhole", "sinkhole.jpg", "y3p11.htm" );
pictureArray[8]  = new Array( "Greendragon Plant", "grdragon.jpg", "y3p8.htm" );
pictureArray[9] = new Array( "Greendragon Plant", "grdragon.jpg", "y3p9.htm" );
pictureArray[10]  = new Array( "Sinkhole", "sinkhole.jpg", "y5p5.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();
}
