<!--
dojo.addOnLoad(function(){
	page = 'calendar.back.php';
	if(window.location.hash.substring(1) != '') {
		page = window.location.hash.substring(1)
	}
	var appState = new ApplicationState(page, "output", "dataOutput");
	appState.showStateData();
	dojo.back.setInitialState(appState);
	var contentNode = dojo.byId("content");
	dojo.xhrGet({
		url: urldecode(page),
		handleAs: "text",
		load: function(data,args){
			// fade out the node we're modifying
			contentNode.innerHTML = data;
			/*dojo.fadeOut({
				//delay:1000,
				node: contentNode,
				onEnd: function(){
				// set the data, fade it back in 
				dojo.fadeIn({node: contentNode}).play();    
				}
			}).play();*/
		},
		// if any error occurs, it goes here:
		error: function(error,args){
			console.warn("error!",error);
		}
	});
});
-->