	function jumpSelect(postField) {
		eval("document.location='" + postField.options[postField.selectedIndex].value + "'");
	}
	
	function popupWindow(popupURL, popupWidth, popupHeight) {
		var windowWidth = popupWidth;
		var windowHeight = popupHeight;
		
		var leftPosition = Math.ceil((screen.width - windowWidth) / 2);
		var topPosition = Math.ceil((screen.height - windowHeight) / 2);
		
		var tmpWindow = window.open(popupURL, "popup_window", "width=" + windowWidth + ", height=" + windowHeight + ", left=" + leftPosition + ", top=" + topPosition + ", channelmode=0, directories=0, fullscreen=0, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0");
		tmpWindow.focus();
	}
	
	function predictorWindow(predictorURL) {
		var windowWidth = "575";
		var windowHeight = "295";
		
		var leftPosition = Math.ceil((screen.width - windowWidth) / 2);
		var topPosition = Math.ceil((screen.height - windowHeight) / 2);
		
		var tmpWindow = window.open(predictorURL, "predictor_window", "width=" + windowWidth + ", height=" + windowHeight + ", left=" + leftPosition + ", top=" + topPosition + ", channelmode=0, directories=0, fullscreen=0, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0");
		tmpWindow.focus();
	}
	
	function reportWindow(reportURL) {
		var windowWidth = "575";
		var windowHeight = "295";
		
		var leftPosition = Math.ceil((screen.width - windowWidth) / 2);
		var topPosition = Math.ceil((screen.height - windowHeight) / 2);
		
		var tmpWindow = window.open(reportURL, "report_window", "width=" + windowWidth + ", height=" + windowHeight + ", left=" + leftPosition + ", top=" + topPosition + ", channelmode=0, directories=0, fullscreen=0, location=0, menubar=0, resizable=1, scrollbars=1, status=0, toolbar=0");
		tmpWindow.focus();
	}
	
	function setReplyId(postForm, postField, postValue, postAnchor, postFocus, postType, postText) {
		var x = document.forms[postForm].elements[postField];
		x.value = postValue;
		
		document.location = "#" + postAnchor;
		
		var y = document.forms[postForm].elements[postFocus];
		y.select();
		y.focus();
		
		var z = document.forms[postForm].elements[postType];
		z.value = postText;
	}