function setFontSize(newSize) {
	if(e = document.getElementsByTagName("body")[0]) {
		e.style.fontSize=newSize;
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function popup(URL,width,height) {
	if (!width) {
		width = 500;
	}
	if (!height) {
		height = 500;
	}
	MM_openBrWindow(URL,'','scrollbars=no,toolbar=no,location=no,status=no,menubar=no,resizable=no,left='+((screen.width-width) / 2)+',top='+((screen.height-height) / 2)+',width=' + width + ',height=' + height);
	return false;
}





var _tmpIntroductionData = null;
function reloadIntroduction(ignoreId) {
	var ajaxRequest = new Ajax.Request('/ajax/loadRandomIntroduction.php?ignoreId=' + ignoreId, {
		method: 'get',
		onSuccess: function(transport) {
			_tmpIntroductionData = transport.responseText;
			if(transport.responseText) {
				Effect.Fade('_userBlending', {
					duration: 2.0,
					afterFinish: function () {
						_tmpIntroductionData.evalScripts();
						$('_userReload').innerHTML = _tmpIntroductionData.stripScripts();
						Effect.Appear('_userBlending', {duration: 2.0});
					}
				});
			}
		},
		onFailure: function() {
			// nothing to do
		}
	});
}