function setBookLocation(id){
	window.location.href=window.location+"?add=" + id + "&inputMethod=add&inputorderQuantity=1&booktype=book";
}

function setEbookLocation(id){
	window.location.href=window.location+"?add=" + id + "&inputMethod=add&inputorderQuantity=1&booktype=ebook";
}

function CheckForm()
{
    var email = document.getElementById('txtEmail').value;
    var pass = document.getElementById('txtPassword').value;
    
    if(email == "" || pass=="")
    {
        alert('Please enter your email and password');
        return false;
    }
    
    return true;
}
