function showSample (theUrl, theType, theWidth, theHeight) {		if (theType == "image") {		theUrl = "samples/?image="+theUrl	} else theUrl = "samples/"+theUrl		topCoord  = 20;	leftCoord = 20;	theWidth = theWidth + 40;	theHeight = theHeight + 60 + 25; // extra 25px for credit	showScrollbars = false;	scrollbarSize = 20;	menuHeight = 50;	if (theWidth+leftCoord > screen.width) { 		showScrollbars = true;		theWidth = screen.width - (leftCoord * 2);		theHeight = theHeight + scrollbarSize;	}	if (theHeight+topCoord+50 > screen.height) {		showScrollbars = true;		theHeight = screen.height - (leftCoord * 2) - menuHeight;		if (theWidth < screen.width - (leftCoord * 2) && theWidth+scrollbarSize+leftCoord < screen.width) {			theWidth = theWidth + scrollbarSize;		}	}	if (window.imageWindow && !imageWindow.closed && imageWindow.open) {		imageWindow.resizeTo(theWidth,theHeight);		imageWindow.location = theUrl;		imageWindow.focus();	} else {				if (showScrollbars) {						imageWindow = window.open(theUrl,"tenseprint", "width="+theWidth+			",height="+theHeight+",top="+topCoord+",left="+leftCoord+			",menubar=no,toolbar=no,location=no,status=no,directories=no,resizeable,scrollbars");					} else {					imageWindow = window.open(theUrl,"tenseprint", "width="+theWidth+			",height="+theHeight+",top="+topCoord+",left="+leftCoord+			",menubar=no,toolbar=no,location=no,status=no,directories=no,resizeable=no,scrollbars=no");						}		imageWindow.resizeTo(theWidth,theHeight);		imageWindow.focus();	}}function showArrow(theTop,theLeft) {	var theObject = document.getElementById("arrow");	theObject.style.top = theTop + "px";	theObject.style.left = theLeft + "px";	theObject.style.display = "block";	}function hideArrow() {	var theObject = document.getElementById("arrow");	theObject.style.display = "none";			}
