/**** javascript functions for owners page ****/

function confirmBikeDelete(OwnerModelID) {
	if(confirm("Are you sure you wish to remove this bike from your gallery?"))
		document.location = "home.asp?event=doDeleteBike&OwnerModelID=" + OwnerModelID;
}

function confirmPartDelete(OwnerModelPartID,ownerID,modelID) {
	if(confirm("Are you sure you wish to remove this accessory from your list?"))
		document.location = "home.asp?event=deletePart&view=ownerAccessories&OwnerModelPartID="+OwnerModelPartID+"&OwnerID="+ownerID+"&BikeModelID=" + modelID;
}

function confirmWishlistPartDelete(OwnerWishListID,ownerID,modelID) {
	if(confirm("Are you sure you wish to remove this accessory from your wishlist?"))
		document.location = "home.asp?event=deleteWishlistPart&view=ownerWishlist&OwnerWishListID="+OwnerWishListID+"&OwnerID="+ownerID+"&BikeModelID=" + modelID;
}
