function openImg(imgTag,imgW,imgH){	// These varibles get the exact pixel height and width for YOUR computer's resolution.	var iMyWidth;	var iMyHeight;		//this formula takes half the total screen width and subtracts half the new window width (plus 5 pixel borders for your browser window).	iMyWidth = (window.screen.width/2) - ((imgW/2) + 10); 		//this formula does the same thing but for the height, but also accomodates for the title bar and a small border on the bottom.	iMyHeight = (window.screen.height/2) - ((imgH/2) + 40);	var newH = imgH + 30;		var winopts = "status=0,toolbar=0,scrollbars=0,directories=0,location=0,menubar=0,width="+imgW+",height="+newH+",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",channelmode=0,dependent=0,fullscreen=0,resizable=0";	var newOne = window.open("", "newOne",winopts);	var result= doText(imgTag,imgW,imgH);	newOne.document.write(result);	newOne.document.close();	newOne.focus();}function doText(imgTag,imgW,imgH){	result = '<HTML><HEAD><TITLE>SPIRE</TITLE><link rel="STYLESHEET" type="text/css" href="include/style.css"></HEAD>';	result += '<body bgcolor="#666660" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onBlur="javascript:window.close(self);"><center>';	result += '<IMG SRC="images/'+ imgTag +'" WIDTH='+imgW+' HEIGHT='+imgH+' ALT="" ><br>';	result += '<div id="obj_popwin" nowrap class="fp-nav-r" onMouseOver="this.className=\'fp-nav-o\'" onMouseOut="this.className=\'fp-nav-r\'" onMouseDown="this.className=\'fp-nav-d\';javascript:window.close(self);">';	result += '<IMG SRC="images/spacer.gif" WIDTH="330" HEIGHT="4" ALT="" ><br>Close Window</div>';	result += '</center></BODY></HTML>';		return (result);}function openWin(winURL,winW,winH,winS){	// These varibles get the exact pixel height and width for YOUR computer's resolution.	var iMyWidth;	var iMyHeight;		//this formula takes half the total screen width and subtracts half the new window width (plus 5 pixel borders for your browser window).	iMyWidth = (window.screen.width/2) - ((winW/2) + 10); 		//this formula does the same thing but for the height, but also accomodates for the title bar and a small border on the bottom.	iMyHeight = (window.screen.height/2) - ((winH/2) + 10);	var newH = winH + 30;		var winopts = "toolbar=0,scrollbars="+winS+",directories=0,location=0,menubar=0,status=0,width="+winW+",height="+newH+",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",channelmode=0,dependent=0,fullscreen=0,resizable=0";	var newOne = window.open(winURL, "newOne",winopts);	//newOne.document.close();	newOne.focus();}//end