function LoadPage(url,dest) {
  //showLoadingCursor(true);
  //var loadobj = document.getElementById("load-cursor");
  //loadobj.style.visibility = "visible";
  $("#load-cursor").fadeIn("fast");
  $("#"+dest).fadeOut("fast", function () {
	if ( url.indexOf("?") > 0 ) url = "s_" + url.replace("?",".php?");
		else url = "s_" + url + ".php";
	$.post(url, function(data) {
			$("#"+dest).html(data);
			$("a.zoomin").lightBox();
			$("#"+dest).fadeIn("fast");
			$("#load-cursor").fadeOut("fast");
		});							
	});
 }


	function IWantToBelieve () {
		frmobj = document.forms[0];
		if ( frmobj.who.value == "" ) {
			alert("Come on, tell me who you are! :)");
			frmobj.who.focus();
			return false;
		}
		if ( frmobj.themessage.value == "" ) {
			alert("Would you really post an empty message? Don\'t be shy, I promise I won\'t bite! :)");
			frmobj.themessage.focus();
			return false;
		}
		var postdata = "who="+encodeURI(document.forms[0].who.value)+"&themessage="+encodeURI(document.forms[0].themessage.value);
		makePOSTRequest('aj_shout_this.php',postdata,'shoutbox-messages');
		document.getElementById("ShoutIt").style.visibility = "hidden";
		document.getElementById("unleash2").style.visibility = "hidden";
		alert('Your shouting will be heard. Thanks.');
		return true;
	}
 
function getPageSize() {
	var xScroll, yScroll, windowWidth, windowHeight;
	
	if (window.innerHeight && window.scrollMaxY) {
		xScroll = document.scrollWidth;
		yScroll = (this.isFrame ? parent.innerHeight : self.innerHeight) + (this.isFrame ? parent.scrollMaxY : self.scrollMaxY);
	} else if (document.body.scrollHeight > document.body.offsetHeight){
		xScroll = document.body.scrollWidth;
		yScroll = document.body.scrollHeight;
	} else {
		xScroll = document.getElementsByTagName("html").item(0).offsetWidth;
		yScroll = document.getElementsByTagName("html").item(0).offsetHeight;
		xScroll = (xScroll < document.body.offsetWidth) ? document.body.offsetWidth : xScroll;
		yScroll = (yScroll < document.body.offsetHeight) ? document.body.offsetHeight : yScroll;
	}
	
	if (self.innerHeight) {
		windowWidth = (this.isFrame) ? parent.innerWidth : self.innerWidth;
		windowHeight = (this.isFrame) ? parent.innerHeight : self.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) {
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	} else if (document.body) {
		windowWidth = document.getElementsByTagName("html").item(0).clientWidth;
		windowHeight = document.getElementsByTagName("html").item(0).clientHeight;
		windowWidth = (windowWidth == 0) ? document.body.clientWidth : windowWidth;
		windowHeight = (windowHeight == 0) ? document.body.clientHeight : windowHeight;
	}
	
	var pageHeight = (yScroll < windowHeight) ? windowHeight : yScroll;
	var pageWidth = (xScroll < windowWidth) ? windowWidth : xScroll;
	
	alert(pageWidth + ' ' + pageHeight + ' ' + windowWidth + ' ' + windowHeight);
	return new Array(pageWidth, pageHeight, windowWidth, windowHeight);
}
