var IE = false;
var FF = false;

if (document.all) 
	{
	IE = true
	}
else
	{
	FF = true
	}
	

function editPhotoList()
	{
	this.location = "editphotolist.asp?tag=" + sTag
	}

function browsePhoto(sPath, subdir)
	{
	if (arguments.length < 1) sPath = ""
		else sPath += "/"
	if (arguments.length < 2) subdir = ""
		else subdir = "?subdir=" + subdir
		
	window.open(sPath + "photolist.asp" + subdir,"browsewin","width=500,height=400,scrollbars")
	}

function dumpTable(oTable)
	{
	var sBuffer = "<table cellspacing='0' cellpadding='0' border='1'>"
	for (var a=0;a<oTable.length;a++)
		{
		sBuffer += "<tr><td bgcolor='dddddd'>" + a + "</td><td>"
		sBuffer += oTable[a].join("</td><td>");
		sBuffer += "</td></tr>"
		}
	sBuffer += "</table>"
	return sBuffer;
	}
