//Version 1.6 - 10/11/2000
  if (window.location != top.location)
     top.location = window.location;

/** change width and height vars to change size of new window **/
width=640;
height=400;

bVer = parseFloat(navigator.appVersion);
bName = navigator.appName;


/* opens a new popup window */
//var popObj;
function openPop(strFile,name,nWidth,nHeight,bStatus,bscroll,resize){
	//only allow one popup window
	//if (popObj && popObj.location)popObj.close();
	var at="";
	if (screen.width<=800) at=",left=0,top=16";
	window.open(strFile, name, "toolbar=0,location=0,directories=0,status="+bStatus+",menubar=0,scrollbars="+bscroll+",resizable="+resize+",width="+nWidth+",height="+nHeight+at);
}

/*opens new window for service
*/
function openNewService(location){
	openPop(location,'NEW_WIN',width,height,1,1,1);
}

function showHiRes(id) {
	location2 = "/large_image.php?imageid="+id;
	openPop(location2,'HI_RES_WIN2',width,height,1,1,1);
}