	function getPlatformInfo() {
		bName = navigator.appName;
        bVer = parseInt(navigator.appVersion);
	    if(bName=="Netscape") {
        	doc = "document";
       		sty = "";
		} else if(bName=="Microsoft Internet Explorer") {
 			doc = "document.all";
			sty = ".style";
		}
	}
	
	function openWindow(windowURL, windowWidth, windowHeight, windowName) {
		
		if (bName == "Netscape" && bVer > 3 ) {
			windowProperties = "scrollbars=no,status=yes,width=" + windowWidth + ",height=" + windowHeight + ",screenX=100,screenY=100";
			
		} else if (bName == "Microsoft Internet Explorer" && bVer > 3) {
			windowProperties = "scrollbars=yes,status=yes,width=" + windowWidth + ",height=" + windowHeight + ",top=100,left=100";
			
		}
		windowObj = window.open(windowURL, windowName, windowProperties);
		windowObj.focus();
	}
	
	
	function MakeArray(n) {
			this.length = n
			for (var i = 1; i<=n; i++) {
				this[i] = new Image();
			}
			return this;
	}