$(document).ready(function() {
$('#back').click(function(){
if( history.length > 1 ) {
history.go(-1);
return false;
}
});
});
