	function popup(url, name, width, height) {
		var n;

		// uncomment for global popup size control -- specify size here

				w = width;
				h = height;

				if (w == 0) { w = 560; }
				if (h == 0) { h = 365; }

		// END OF SIZE CONTROL SETTINGS
		
		if (name == "") {
			n = "popupWindow"; 
		}

		// use for customisable dimensions

			if (url == "inventory.html") {
				details = window.open(url,n,"toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes,width="+w+",height="+h);
			}
			else {
				details = window.open(url,n,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+w+",height="+h);
			}

		if (navigator.appName.indexOf('Netscape') != -1) {
			details.opener = self;
		}
		
		setTimeout("details.focus()",500);
	}