function jump(sel) {
	if (sel.options[sel.selectedIndex].value) document.location.href = sel.options[sel.selectedIndex].value;
}

function init() {
	if (document.forms['australian_art_nav'].elements['dropNav']) document.forms['australian_art_nav'].elements['dropNav'].selectedIndex = 0;
}

function zoom(img, title, price, size, full, sold) {
	var imgDir = "images/";
	img = imgDir += img;
	var zWidth = screen.width - 20;
	var zFullscreen = "fullscreen";
	var zHeight = screen.height - 40;
	var ns = (document.layers) ? 1 : 0;
	var zBGColour = "#000000";
	var zTextColour = "#FFFFFF";
	var zWin = "null";
	var htmlString = "";
	zWin = window.open("","","width=" + zWidth + ",height=" + zHeight + ",resizable=yes,scrollbars=yes,"+ zFullscreen);
	if (zWin != "null") {
		htmlString += "<HTML>\r\n<HEAD>\r\n<TITLE>Enlarged Image - " + title + "</TITLE>\r\n";
		htmlString += "</HEAD>\r\n";
		htmlString += "<BODY bgcolor=\"" + zBGColour + "\" text=\"" + zTextColour + "\">\r\n";
		htmlString += "<DIV align=\"center\">\r\n";
		if (ns) {
			htmlString += "<LAYER id=\"loadingText\" top=\"0\" left=\"" + ((zWidth / 2) - 50) + "\">\r\n";
		} else {
			htmlString += "<DIV id=\"loadingText\" style=\"visibility:visible; position:absolute; top:0; left:" + ((zWidth / 2) - 50) + ";\">\r\n";
		}
		htmlString += "<DIV align=\"center\"><FONT face=\"Verdana,Arial,Helvetica\" size=\"-2\" style=\"font-size:8pt;\"><B>Please wait, loading...</B></FONT></DIV>\r\n";
		if (ns) {
			htmlString += "</LAYER>\r\n";
		} else {
			htmlString += "</DIV>\r\n";
		}
		htmlString += "<BR><IMG name=\"pic\" src=\"" + img + "\" border=\"1\" alt=\"" + title + "\" onLoad=\"javascript:(document.layers) ? document.layers['loadingText'].visibility='hide' : document.all['loadingText'].style.visibility='hidden';\">";
		htmlString += "<BR>\r\n";
 		htmlString += "<FONT face=\"Verdana,Arial,Helvetica\" size=\"-2\" style=\"font-size:8pt;\">\r\n";
		if (title) htmlString += "<B>Title:</B> " + title + " &nbsp;&nbsp;\r\n";
/*
		if (price) {
			htmlString += "<B>Price:</B> ";
			htmlString += "AUD $" + price + " ";
		}
*/
		if (sold == 1) {
			htmlString += "<FONT color=\"#FF0000\"><B>Original Sold</B></FONT>";
		}
		htmlString += "&nbsp;&nbsp;\r\n";
		if (size) htmlString += "<B>Size:</B> " + size + " mm\r\n";
		htmlString += "<BR><BR><B><A style=\"color:#FFFFCC;\" href=\"javascript:window.close();\">close window</A></B>\r\n";
		htmlString += "</FONT>\r\n";		
 		htmlString += "</DIV>\r\n</BODY>\r\n</HTML>";
		zWin.document.write(htmlString);
		if (ns) zWin.window.moveTo(0,0);
		zWin.document.close();
		zWin.focus();
	}
}