function rootinit() {
    if (window.location.hash == '')
	{
		window.location.hash = '#/home';
		var placemark = getCookie("placemark");
		if(placemark)	window.location.hash = placemark;
	}
	if(!getCookie('textmark')){textmark('lehites/1');}
	if(!getCookie('audio')){setCookie("audio",1,365);}
	if(!getCookie('notes')){setCookie("notes",1,365);}
    page(window.location.hash.substr(1).substr(1), document.getElementById('container'));
	
	
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-2678075']);
	_gaq.push(['_trackPageview']);
	(function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
	
	var timezone = jstz.determine_timezone();
	setCookie("timezone",timezone.name(),365);
	
	if(readerswf != "") { document.getElementById("wimpyButtonBridgeTarget").innerHTML = readerswf}
	
}
