// Script that controls the quick links box
// Array Function that creates dynamically number of links and stores it in variable 'args'
function makeArray() 
{
	var args = makeArray.arguments;
    for (var i = 0; i < args.length; i++) 
	{
    	this[i] = args[i];
    }
	this.length = args.length;
}

// This array holds the descriptions and names of the pages.
var urls = new makeArray("galleries.html",
			"abstracts.html",
			"landscapes.html",
			"sculpture.html",
			"still_life.html",
			"travel.html",
			"waterscapes.html");

// This function determines which page is selected and goes to it.
function goPage(form) 
{
	i = form.menu.selectedIndex;            
   	if(i!=0 || i!=9 ||i!=10)
	{
    	window.location.href = urls[i];  
	}
}
// End of sript that controls the quick links box