var artworkArray = new Array("figure1","trio1","coaster","trio2","trio3","table1","table2","music");
var accessArray = new Array("Blu_gr_heart","way","red","upbeat","music","coaster","curves","sticks");
var sculptureArray = new Array("Dancer","Disk_3","abstract","pit","nolajpg","nosafepass","nacreus1","nacreus3","nacreus4f","unround","loud","sithere","onthehill");
var shovelsArray = new Array("Shovelesque","Shovelization","Trenchy","trio1","trio2","trio3");
var tablesArray = new Array("Squon_sq","Bluw_Shelf","Blu_steel","Web","Rndw_glass","Triangle_ish","table1","table2","rampedup");

var sculptureNames = new Array();
var sculptureDim = new Array();
var sculptureDesc = new Array();

sculptureNames[0]="Dancer";
sculptureDim[0]= "30\"x23\"x7\"";
sculptureDesc[0]= "steel construction";

sculptureNames[1]= "Disk 3";
sculptureDim[1]= "19\"x19\"x5\"";
sculptureDesc[1]= "steel and enamel";

sculptureNames[2]= "Abstract I";
sculptureDim[2]= "63\" Tall x 4\" Wide x 2\" Deep";
sculptureDesc[2]= "";

sculptureNames[3]= "Pit";
sculptureDim[3]= "steel 30\" x 5\"";
sculptureDesc[3]= "";

sculptureNames[4]= "NOLA";
sculptureDim[4]= "steel 36\"x30\"x6\"";
sculptureDesc[4]= "";

sculptureNames[5]= "NO Safe Passage";
sculptureDim[5]= "36\"x28\"x9\"";
sculptureDesc[5]= "stainless steel and steel";

sculptureNames[6]= "Nacreus1";
sculptureDim[6]= "15\"x6\"x4\"";
sculptureDesc[6]= "aluminum and enamel";

sculptureNames[7]= "Nacreus3";
sculptureDim[7]= "28\"x5\"x5\"";
sculptureDesc[7]= "aluminum and enamel";

sculptureNames[8]= "Nacreus4";
sculptureDim[8]= "30\"x5\"x4\"";
sculptureDesc[8]= "aluminum and enamel";

sculptureNames[9]= "UN-round";
sculptureDim[9]= "48\"x48\"x6\"";
sculptureDesc[9]= "aluminum";

sculptureNames[10]= "Loud as I wanna be";
sculptureDim[10]= "48\"x48\"x3/16\"";
sculptureDesc[10]= "enamel on aluminum";

sculptureNames[11]= "I'll just sit here and be quite";
sculptureDim[11]= "18\"x18\"x3/16\"";
sculptureDesc[11]= "enamel on aluminum";

sculptureNames[12]= "On the hill";
sculptureDim[12]= "48\"x48\"x4\"";
sculptureDesc[12]= "aluminum";

var shovelsNames = new Array();
var shovelsDim = new Array();
var shovelsDesc = new Array();

shovelsNames[0]= "Shovelesque";
shovelsDim[0]= "20\" tall on pedestal";
shovelsDesc[0]= "";

shovelsNames[1]= "Shovelization";
shovelsDim[1]= "13\"";
shovelsDesc[1]= "steel shovelheads on wall, dimensions vary";

shovelsNames[2]= "Trenchy";
shovelsDim[2]= "28\" tall on pedestal";
shovelsDesc[2]= "";

shovelsNames[3]= "Shoveltryptich";
shovelsDim[3]= "15\" tall steel on wall";
shovelsDesc[3]= "";

shovelsNames[4]= "Shoveltryptich";
shovelsDim[4]= "15\" tall steel on wall";
shovelsDesc[4]= "";

shovelsNames[5]= "Shoveltryptich";
shovelsDim[5]= "15\" tall steel on wall";
shovelsDesc[5]= "";

var tablesNames = new Array();
var tablesDim = new Array();
var tablesDesc = new Array();

tablesNames[0]= "Sq on sq";
tablesDim[0]= "40\"x40\"x16\"";
tablesDesc[0]= "1/8\" steelplate, enamel and lacquer";

tablesNames[1]= "Blue Rectangle";
tablesDim[1]= "17\"x15\"x22\"T";
tablesDesc[1]= "enamel on 3/16\" steel w/lacquer and shelf";

tablesNames[2]= "Blue Square";
tablesDim[2]= "20\"x20\"x19\"T";
tablesDesc[2]= "enamel on 1/8\" steel w/lacquer";

tablesNames[3]= "Web";
tablesDim[3]= "40\"x20\"x14\"T";
tablesDesc[3]= "stainless steel, steel, and glass";

tablesNames[4]= "Round w/glass";
tablesDim[4]= "22\"x20\"T";
tablesDesc[4]= "enamel on 1/8\" steel with removable glass";

tablesNames[5]= "Triangle-ish";
tablesDim[5]= "24\"x14\"x20\"";
tablesDesc[5]= "enamel on 3/16th plate steel w/lacquer";

tablesNames[6]= "Perfect Assemetry";
tablesDim[6]= "30\"x28\"x15\"";
tablesDesc[6]= "3/16\" steelplate, glass and bronze enamel with clear lacquer";

tablesNames[7]= "Organny";
tablesDim[7]= "38\"x24\"x15\"";
tablesDesc[7]= "3/16\" steelplate with removable glass. Enamel w/swirl pattern.";

tablesNames[8]= "rampedUP";
tablesDim[8]= "36\"T x 21\"W x 14\"D";
tablesDesc[8]= "table made from car ramps.";


var accessNames = new Array();
var accessDim = new Array();
var accessDesc = new Array();

accessNames[0]= "Heart";
accessDim[0]= "12";
accessDesc[0]= "enamel on aluminum";

accessNames[1]= "\"Way Tall\" Clock";
accessDim[1]= "19\" Tall x2\" Deep x4\" Wide";
accessDesc[1]= "enamel, aluminum";

accessNames[2]= "\"Red Stripe\" Coasters";
accessDim[2]= "4\" each";
accessDesc[2]= "enamel on aluminum";

accessNames[3]= "Upbeat";
accessDim[3]= "dimensions vary";
accessDesc[3]= "enamel, steel";

accessNames[4]= "Music is easy to read";
accessDim[4]= "29\" x 8\"";
accessDesc[4]= "enamel, steel & stainless steel";

accessNames[5]= "Coaster Tree (and 4 coasters)";
accessDim[5]= "22\" Tall x 4\" Wide";
accessDesc[5]= "enamel on aluminum";

accessNames[6]= "Curves";
accessDim[6]= "12\"x5\"x2\"";
accessDesc[6]= "aluminum and enamel";

accessNames[7]= "Sticks";
accessDim[7]= "dimensions vary";
accessDesc[7]= "enamel on aluminum";


function loadNav(whichNav) {
	var i=0;
	var my_images=new Array();
	my_images[i]="images/access_on.gif";
	my_images[i++]="images/sculpture_on.gif";
	my_images[i++]="images/tables_on.gif";
	my_images[i++]="images/shovels_on.gif";
	
	
	for (j=0;j<my_images.length;j++) {
		document.images[j]=new Image();
		document.images[j].src=my_images[j];
	}
}

function QueryString(key) {
	var value = null;
	for (var i=0;i<QueryString.keys.length;i++)
	{
		if (QueryString.keys[i]==key)
		{
			value = QueryString.values[i];
			break;
		}
	}
	return value;
}
QueryString.keys = new Array();
QueryString.values = new Array();

function QueryString_Parse() {
	var query = window.location.search.substring(1);
	var pairs = query.split("&");
	
	for (var i=0;i<pairs.length;i++)
	{
		var pos = pairs[i].indexOf('=');
		if (pos >= 0)
		{
			var argname = pairs[i].substring(0,pos);
			var value = pairs[i].substring(pos+1);
			QueryString.keys[QueryString.keys.length] = argname;
			QueryString.values[QueryString.values.length] = value;		
		}
	}

}

QueryString_Parse();

function turnOn(whichObj,whichDoc) {
	litObj=whichDoc;
	if (whichObj != litObj) {
		document[whichObj].src="images/" + whichObj + "_on.gif";
	}
}

function turnOff(whichObj,whichDoc) {
	litObj=whichDoc;
	if (whichObj != litObj) {
		document[whichObj].src="images/" + whichObj + "_off.gif";
	}
}

function getNav(whichDoc) {
	var mySections = new Array("sculpture","shovels","tables","access");

	for (j=0;j<mySections.length;j++) {
		if (mySections[j]==whichDoc) {
			mySections[j]=whichDoc + "_on";
		} else {
			mySections[j]=mySections[j] + "_off";		
		}
	}
	document.write('<IMG SRC="images/blank.gif" HEIGHT=40 WIDTH=186 BORDER=0>');
	document.write('<A HREF=\"sculpture.htm\"><IMG NAME="sculpture" SRC="images/' + mySections[0] + '.gif" HEIGHT=21 WIDTH=186 BORDER=0 onMouseOver="javascript:turnOn(this.name,\'' + whichDoc + '\')" onMouseOut="javascript:turnOff(this.name,\'' + whichDoc + '\')"></A>');
	document.write('<A HREF=\"shovels.htm\"><IMG NAME="shovels" SRC="images/' + mySections[1] + '.gif" HEIGHT=21 WIDTH=186 BORDER=0 onMouseOver="javascript:turnOn(this.name,\'' + whichDoc + '\')" onMouseOut="javascript:turnOff(this.name,\'' + whichDoc + '\')"></A>');
	document.write('<A HREF=\"tables.htm\"><IMG NAME="tables" SRC="images/' + mySections[2] + '.gif" HEIGHT=21 WIDTH=186 BORDER=0 onMouseOver="javascript:turnOn(this.name,\'' + whichDoc + '\')" onMouseOut="javascript:turnOff(this.name,\'' + whichDoc + '\')"></A>');
	document.write('<A HREF=\"access.htm\"><IMG NAME="access" SRC="images/' + mySections[3] + '.gif" HEIGHT=21 WIDTH=186 BORDER=0 onMouseOver="javascript:turnOn(this.name,\'' + whichDoc + '\')" onMouseOut="javascript:turnOff(this.name,\'' + whichDoc + '\')"></A>');
	document.write('<IMG SRC="images/blank.gif" HEIGHT=28 WIDTH=186 BORDER=0>');
	document.write('<IMG SRC="images/homelogo.gif" HEIGHT=69 WIDTH=186 BORDER=0>');
	document.write('<IMG SRC="images/homegrade.gif" HEIGHT=277 WIDTH=83 BORDER=0>');
}