<!--
//This controls the buttons for the Surf Your Watershed Introduction Page
//Original script created: 11/2/99  Jeff Kiess (for bay monitoring pages)
//Script modified: 03/03/2000  Kevin J. Coyne for Surf Your Watershed Pages

out = new array(6)   //change these numbers to reflect the number of javascript
over = new array(6)  //elements you will be using. (ie, # of buttons, etc)
out[1].src = "images/introbut.gif"  //place the names of the original images here
out[2].src = "images/indicbut.gif"
out[3].src = "images/profbut.gif"
out[4].src = "images/bibliobut.gif"
out[5].src = "images/projbut.gif"
out[6].src = "images/orgbut.gif"

over[1].src = "images/introbut-glow.gif"  //place the names of the images to appear
over[2].src = "images/indicbut-glow.gif"  //on mouseover here
over[3].src = "images/profbut-glow.gif"
over[4].src = "images/bibliobut-glow.gif"
over[5].src = "images/projbut-glow.gif"
over[6].src = "images/orgbut-glow.gif"

function array(n)
        {
        this.length = n
        for (var x = 1; x<=n; x++)
                {
                this[x] = new Image()
                }
        return this
        }
	
function mouse_over(num)
{
	if ((parseInt(navigator.appVersion)) >= 4) 
	//will not work on browsers before NAV4, IE4
		{
			document.images[num+1].src = over[num].src
                        //"+1" added since there are 2 images at the beginning  
		}
}	

function mouse_out(num)
{
	if ((parseInt(navigator.appVersion)) >= 4)
		{
			document.images[num+1].src = out[num].src
                        //"+1" added since there are 2 images at the beginning  
		}
}

// -->
