//This function updates the content of the page without loading the entire page.
		//url: The content to be placed in the document. Ex. see sliderC.html
		//divId: The div to be updated. Ex: 'container'
		function ajaxPageLoad(url, divId){

			//Test to see if IE or FF
			var httpRequest = false;
			
			//Test for FF
			if (window.XMLHttpRequest)
				httpRequest = new XMLHttpRequest();
			//Test for IE
			else if (window.ActiveXObject){ 
				try {
					httpRequest = new ActiveXObject("Msxml2.XMLHTTP");
				} 
				catch (e){
					try{
						httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
					}
					catch (e){
						alert("Error: Page unable to load");
					}	
				}
			}
			else
				return false

			//Load the page info to be updated
			httpRequest.onreadystatechange = function() {
				loadPage(httpRequest, divId)
			}

			//Update the page
			httpRequest.open('GET', url, true)
			httpRequest.send(null)
		}


		//Get the page info to be loaded
		function loadPage(httpRequest, divId){
			if (httpRequest.readyState == 4 && (httpRequest.status==200 || window.location.href.indexOf("http")==-1)){
				document.getElementById(divId).innerHTML=httpRequest.responseText; 
				
				//Check to see if it is the calendar page
				if (document.getElementById('calendar')){	
					loadCalendar();
				}

				//Check to see if it is the comments page
				if (document.getElementById('form')){
					setupForm();
				}

				//Check to see if slider page
				if (document.getElementById('slider')){
																	//document.getElementById(divId).innerHTML="";
					
					// Get styled slider code
					var sliderFragment = getSliderFragment();
					
					// Append to page
					document.getElementById(divId).appendChild(sliderFragment);
					
					// Apply timer code
					loadSlider();
					loadCount++;
					bottomLoaded = false;
					getBottomContent('history', 0);

					//Reset story loaded back to false
					storyLoaded = false;
					
				}
				
				//Check to see if it is the member page
				if(document.getElementById('members')) {
					membersLoaded = false;
					getMembers();
				}
			}
		}