// setTimeout ("changePage()", 1000);
// function changePage() {
// 	if (self.parent.frames.length != 0)
//		self.parent.location=document.location;
//		}

function popWindow(theLink) {
			var initialX =	100;
			var initialY = 100;
			//theLink = escape(theLink);
			//alert(theLink);
			if (navigator.appName == "Netscape")
			{
				//theWindow = open(theLink,'Lookup', 'width=560,height=500,' + 'screenX=' + initialX + ',screenY=' + initialY + ',scrollbars');
				theWindow = window.open(theLink,'Lookup', 'width=560,height=500,' + ',scrollbars');
			}
			else
			{
				theWindow = open(theLink, 'Lookup', 'width=560,height=500' + ',left=' + initialX + ',top=' + initialY + ',scrollbars');
			}
			theWindow.focus();
		}

function popWindow(theLink,xwidth,xheight) {
			var initialX =	100;
			var initialY = 100;
			var defwidth = 560;
			var defheight = 500;
			if (xwidth > 0) defwidth = xwidth;
			if (xheight > 0) defheight = xheight;
			
			//theLink = escape(theLink);
			//alert(theLink);
			if (navigator.appName == "Netscape")
			{
				//theWindow = open(theLink,'popup02', 'width=560,height=500,' + 'screenX=' + initialX + ',screenY=' + initialY + ',scrollbars');
				theWindow = window.open(theLink,'popup02', 'width=' + defwidth + ',height=' + defheight + ',' + ',scrollbars');
			}
			else
			{
				theWindow = open(theLink, 'popup02', 'width=' + defwidth + ',height=' + defheight + '' + ',left=' + initialX + ',top=' + initialY + ',scrollbars');
			}
			theWindow.focus();
		}
		
function popWindow2(theLink) {
		var initialX =	100;
		var initialY = 100;
		if (navigator.appName == "Netscape") {
			theWindow = open( theLink, "Lookup", "width=500,height=560," +
					"screenX=" + initialX + ",screenY=" + initialY +
					",scrollbars,resizable");
			theLink.focus(); // make sure our new window is in front
		} else {
			theWindow = open( theLink, "Lookup", "width=500,height=560" +
				",left=" + initialX + ",top=" + initialY +
				",scrollbars,resizable");
		}
		theWindow.opener = self;
}
