  
function PopOut(sURL,sTitle,iHeight,iWidth,ynScroll,ynResize) {

var objWin;
  objWin = window.open(sURL, sTitle, "height="+iHeight+",width="+iWidth+",scrollbars="+ynScroll+",resizable="+ynResize+"");
  if (parseInt(navigator.appVersion) >=4) objWin.window.focus();

}


function setToolImage(tool, mode, prefix) {
	//Used by Graphical Button Clients.
	//prefix is an optional argument to the image file name.
	if (prefix == null) {
		prefix = "";
		}
	var imageFile = '../Catawba/images/' + prefix + tool + mode + '.gif';	

	// Dull all images first.
	document.ZOOMIN.src = '../Catawba/images/'+ prefix +'zoomin1.gif';
	document.ZOOMOUT.src = '../Catawba/images/'+ prefix +'zoomout1.gif';
	document.PAN.src = '../Catawba/images/'+ prefix +'pan1.gif';
//	document.IDENTIFY.src = 'images/'+ prefix +'identify1.gif';

	//Then brighten the passed tool.
	if (tool == "ZOOMIN") {
		document.ZOOMIN.src = imageFile;
		}
	if (tool == "ZOOMOUT") {
		document.ZOOMOUT.src = imageFile;
		}
	if (tool == "PAN") {
		document.PAN.src = imageFile;
		}
//	if (tool == "IDENTIFY") {
//		document.IDENTIFY.src = imageFile;
//		}
}

