

function dox(){
	var mySmoothScroll = new SmoothScroll({
	wait: false,
	duration: 1500,
/*	offset: {'x': -200, 'y': -50},
*/	transition: Fx.Transitions.Quad.easeInOut,										  
	links: '.smoothAnchors',
	wheelStops: false
	});
	
	loadPageComponents();
	
}
function loadPageComponents(){
		var tempurl = "get_team_data.php?tid="+tid;
		var xhrFunc = new function(){     
			new XHR({  
				method:'get' ,
				onSuccess: function(req){$("team_data").innerHTML = req;},
				onFailure: function(req){$(tempdiv).innerHTML = loadingFailed;}
				}).send(tempurl ); 
		}; 
		
		
		
		tempurl = "get_team_schedule.php?tid="+tid;
		var xhrFunc = new function(){     
			new XHR({  
				method:'get' ,
				onSuccess: function(req){$("team_schedule").innerHTML = req;},
				onFailure: function(req){$(tempdiv).innerHTML = loadingFailed;}
				}).send(tempurl); 
		};
	
	}



