currentPage = "none";

function cOver(td) {
	if (document.getElementById || (document.all && !(document.getElementById))) {
		td.style.backgroundColor="#cccccc";
	}
}

function showImage(image,title,description) {
	var site="scratch2.html?src=" + image + "&height=400&alt=" + description;
	var whparams="width=800,height=800,";
	var parameters= whparams + "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no, resizable=yes";
	OpenWindow=window.open("",'mywindow', parameters);
	OpenWindow.document.write("<title>" + title + "</title>")
	OpenWindow.document.write("<body bgcolor=\"#ffffff\">")
	OpenWindow.document.write("<img src=\"" + image + "\" alt=\"" + description + "\" /><br />\n");
	OpenWindow.document.write("<h1>" + description + "</h1>");
	OpenWindow.document.write("</body>")
	OpenWindow.document.write("</html>")
}

function cClick(td) {
	currentPage = td;

	if (document.getElementById || (document.all && !(document.getElementById))) {
		if (td != currentPage) {
			td.style.backgroundColor="#ccccc";
		}
	}
	

	fileName=findFirstFile("*.*");
	alert(fileName);
	while (fileName.length) { 
		alert(fileName);
		fileName=findNextFile();
	}
}

function cOut(td) {
	if (document.getElementById || (document.all && !(document.getElementById))) {
			td.style.backgroundColor="#ffffff";
	}
}