/**
*
*/
var perfix;
$(document).ready(function() {
//var currentPage = location.pathname.substr(location.pathname.lastIndexOf("/")+1,location.pathname.length);
function load(num) {
perfix = num.substr(0,2);
var flg = parseInt(num.substring(2));
if(perfix=="AA"){
usedNewBookView(flg);
focusNewBookView(1);
}else if(perfix=="AB"){
focusNewBookView(flg);
usedNewBookView(1);
}else if(perfix=="ZZ"){
//if(currentPage="index.html"){
focusNewBookView(flg);
usedNewBookView(flg);
//}
}
}
$.history.init(function(url) {
load(url == "" ? "ZZ1" : url);
});
});

