function AddBookToBasket(bookId)
{
        var hidBookId = document.getElementById( 'hidBookId' );
        if ( hidBookId == null )
        {
            return;
        }
        
        hidBookId.value = bookId;
        
        var theForm = document.forms['aspnetForm'];
        if ( !theForm )
        {
            theForm = document.form;
        }
        
        if ( !theForm.onsubmit || (theForm.onsubmit() != false) )
        {
            theForm.submit();
        }
}