// JavaScript Document

	function startLoading() {
	  Element.show('mainAreaLoading');
	  Element.hide('mainAreaInternal');
	}
	function finishLoading() {
	  Element.show('mainAreaInternal');
	  setTimeout("Effect.toggle('mainAreaLoading');", 1000);
	}

	function loadContent(id) {
	  startLoading();
	  new Ajax.Updater('mainAreaInternal', 'rpc.php', {method: 'post', postBody:'content='+ id +''});
	  finishLoading();
	}

	function startLoading() {
	  Element.show('mainAreaLoading2');
	  Element.hide('mainAreaInternal2');
	}
	function finishLoading() {
	  Element.show('mainAreaInternal2');
	  setTimeout("Effect.toggle('mainAreaLoading2');", 1000);
	}

	function loadContent2(id) {
	  startLoading();
	  new Ajax.Updater('mainAreaInternal2', 'rpc.php', {method: 'post', postBody:'content='+ id +''});
	  finishLoading();
	}

	function startLoading() {
	  Element.show('mainAreaLoading3');
	  Element.hide('mainAreaInternal3');
	}
	function finishLoading() {
	  Element.show('mainAreaInternal3');
	  setTimeout("Effect.toggle('mainAreaLoading3');", 1000);
	}

	function loadContent3(id) {
	  startLoading();
	  new Ajax.Updater('mainAreaInternal3', 'rpc.php', {method: 'post', postBody:'content='+ id +''});
	  finishLoading();
	}

	function startLoading() {
	  Element.show('mainAreaLoading4');
	  Element.hide('mainAreaInternal4');
	}
	function finishLoading() {
	  Element.show('mainAreaInternal4');
	  setTimeout("Effect.toggle('mainAreaLoading4');", 1000);
	}

	function loadContent4(id) {
	  startLoading();
	  new Ajax.Updater('mainAreaInternal4', 'rpc.php', {method: 'post', postBody:'content='+ id +''});
	  finishLoading();
	}
	function startLoading() {
	  Element.show('mainAreaLoading5');
	  Element.hide('mainAreaInternal5');
	}
	function finishLoading() {
	  Element.show('mainAreaInternal5');
	  setTimeout("Effect.toggle('mainAreaLoading5');", 1000);
	}

	function loadContent5(id) {
	  startLoading();
	  new Ajax.Updater('mainAreaInternal5', 'rpc.php', {method: 'post', postBody:'content='+ id +''});
	  finishLoading();
	}
	
		function startLoading() {
	  Element.show('mainAreaLoading6');
	  Element.hide('mainAreaInternal6');
	}
	function finishLoading() {
	  Element.show('mainAreaInternal6');
	  setTimeout("Effect.toggle('mainAreaLoading6');", 1000);
	}

	function loadContent6(id) {
	  startLoading();
	  new Ajax.Updater('mainAreaInternal6', 'rpc.php', {method: 'post', postBody:'content='+ id +''});
	  finishLoading();
	}
