SkyLaGer,
менять надо checkURL
Возможный вариант
function checkURL(hash, search)
{
if(!hash) hash=window.location.hash;
if(!search) search=window.location.search;
if(hash != lasturl)
{
lasturl=hash;
if(hash=="")
$('#pageContent').html(default_content);
else
{
hash = hash.replace('#','');
search = hash.replace('?name=','');
loadPage(hash,search);
}
}
}
function loadPage(url,url2)
{
ShowLoading();
$('#progress').css('none','inline');
$("html, body").animate({ scrollTop: 0 }, "slow");
$.ajax({
type: "POST",
url: "load_module.php",
data: 'mod='+url+'&name='+url2,
dataType: "html",
success: function(msg){
if(parseInt(msg)!=0)
{
$('#pageContent').html(msg);
HideLoading();
}
}
});
}