Real Simple History [Please no jQuery]

So am trying to implement RSH on my ajax site but its not working i cannot even get the hashes in my url can anyone help my code is below

<script type="text/javascript">

	window.onload = function() 

	{

	dhtmlHistory.initialize();

	dhtmlHistory.addListener(historyChange);

	dhtmlHistory.add('index.html','link');

	newarticle();

	};

  </script>

<li id="articles"><a href="javascript:newarticle()" onclick="dhtmlHistory.add('newarticle.html','link')">Articles</a></li>

<li id="favourites"><a href="javascript:displaybookmarks()" onclick="dhtmlHistory.add('bookmarks.html','link')">Favourites</a></li>

<li id="archive"><a href="javascript:pagenation('Listing','1')" onclick="dhtmlHistory.add('archive.html','link')">Archive</a></li>

function historyChange(newLocation, historyData)

{



ShowOldContent(newLocation, historyData);



// OR to simplify



alert('hey I am going back to ' + newLocation);



}


I followed a tutorial but still no go. My back button is using the function javascript:history.back(). Anyone can point out where I am going wrong?